-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.scss
More file actions
71 lines (61 loc) · 1.83 KB
/
Copy pathcustom.scss
File metadata and controls
71 lines (61 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Apply Josefin Sans globally
body, h1, h2, h3, h4, h5, h6, .btn, .site-title, .nav-list {
font-family: "Josefin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
// Enhance main headings weight for geometric font readability
h1, h2, h3 {
font-weight: 600;
}
// Styled callout box matching OpenChain Orange
.note {
border-left-color: #E15829 !important;
}
// Adjust search highlight to OpenChain Bright Teal
.search-result-highlight {
background-color: rgba(0, 173, 187, 0.2);
}
// 1. Force the sidebar background to extend all the way to the top of the page
.side-bar {
background-color: #008286 !important;
top: 0 !important;
}
// 2. Keep the logo header background transparent so it blends seamlessly
.site-header {
background-color: transparent !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}
// 3. Navigation link colors and active/hover states
.nav-list {
.nav-list-item {
.nav-list-link {
color: #ffffff !important;
&:hover {
color: #ffffff !important;
background-color: rgba(255, 255, 255, 0.12) !important;
}
&.active {
color: #ffffff !important;
font-weight: 700;
background-color: rgba(255, 255, 255, 0.22) !important;
}
}
}
}
// 4. Fix contrast for the theme footer text at the bottom-left
.side-bar .site-footer {
color: rgba(255, 255, 255, 0.7) !important;
a {
color: #ffffff !important;
text-decoration: underline;
}
}
// Make the main content footer span full-width and align left
.main .site-footer,
.main-content .site-footer {
text-align: left !important;
width: 100% !important;
max-width: 100% !important;
margin-top: 3rem !important;
padding-top: 1.5rem !important;
border-top: 1px solid #e9ecef !important; // Clean separator line above the footer
}