Skip to content

Commit e9d8dd4

Browse files
authored
Update main.scss
1 parent 118ab28 commit e9d8dd4

1 file changed

Lines changed: 29 additions & 11 deletions

File tree

assets/css/main.scss

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,58 @@
11
---
2-
# Only the main Sass file needs front matter (the dashes are enough)
2+
# Only the main Sass file needs front matter
33
search: false
44
---
55

66
@charset "utf-8";
77

8-
@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
9-
@import "minimal-mistakes"; // main partials
8+
/* === Theme === */
9+
@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}";
10+
@import "minimal-mistakes";
1011
@import "custom";
1112

12-
/* === Background === */
13+
/* =========================
14+
BASE BACKGROUND
15+
========================= */
16+
1317
body,
1418
.initial-content,
1519
.page__content {
1620
background-color: #f8f7f4;
1721
}
1822

19-
/* === Header (full override) === */
23+
/* =========================
24+
HEADER (FULL CONTROL)
25+
========================= */
26+
27+
/* Force ALL header layers */
2028
.masthead,
2129
.greedy-nav,
22-
.greedy-nav .visible-links {
23-
background-color: #c7a6a1 !important;
30+
.greedy-nav .visible-links,
31+
.greedy-nav .visible-links li,
32+
.greedy-nav .visible-links li a {
33+
background: #c7a6a1 !important;
2434
}
2535

26-
/* === Header text === */
27-
.masthead a,
36+
/* Header text */
2837
.greedy-nav a,
29-
.greedy-nav .visible-links a {
38+
.greedy-nav .visible-links li a,
39+
.masthead a {
3040
color: #2f2f2f !important;
3141
}
3242

33-
/* === Links (teal) === */
43+
/* =========================
44+
LINKS (TEAL SYSTEM)
45+
========================= */
46+
3447
a {
3548
color: #3f7f7a;
3649
}
3750

3851
a:hover {
3952
color: #2f5f5b;
4053
}
54+
55+
/* Optional: improve readability slightly */
56+
a:visited {
57+
color: #4f6f6b;
58+
}

0 commit comments

Comments
 (0)