Skip to content

Commit 7aad8c9

Browse files
fix coloring, credit
1 parent 8588304 commit 7aad8c9

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,53 @@ body {
1919
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
2020
}
2121

22+
/* Zensical's modern header uses default surface colors, so restore the
23+
original CALYPR blue treatment explicitly for the top nav. */
24+
.md-header,
25+
.md-tabs {
26+
background-color: var(--md-primary-fg-color);
27+
color: var(--md-primary-bg-color);
28+
}
29+
30+
.md-header {
31+
box-shadow: 0 10px 30px rgba(0, 36, 77, 0.16);
32+
}
33+
34+
.md-tabs {
35+
box-shadow: 0 -0.05rem 0 inset rgba(255, 255, 255, 0.18);
36+
}
37+
38+
.md-header__button,
39+
.md-header__title,
40+
.md-header__topic,
41+
.md-tabs__link {
42+
color: var(--md-primary-bg-color);
43+
}
44+
45+
.md-tabs__item--active {
46+
border-bottom-color: var(--md-primary-bg-color);
47+
}
48+
49+
.md-search__button {
50+
background-color: rgba(255, 255, 255, 0.94) !important;
51+
color: #0f172a !important;
52+
}
53+
54+
.md-search__button:focus,
55+
.md-search__button:hover {
56+
background-color: #ffffff !important;
57+
color: #0f172a !important;
58+
}
59+
60+
.md-search__button::before {
61+
background-color: #0f172a !important;
62+
}
63+
64+
.md-search__button::after {
65+
background: rgba(15, 23, 42, 0.08) !important;
66+
color: #475569 !important;
67+
}
68+
2269
h1,
2370
h2,
2471
h3 {

zensical.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,3 +241,6 @@ custom_fences = [
241241
]
242242
[project.markdown_extensions.pymdownx.tabbed]
243243
alternate_style = true
244+
245+
[project.extra]
246+
generator = false

0 commit comments

Comments
 (0)