Skip to content

Commit ce4bf8b

Browse files
author
committed
Deployed 0e8928b with MkDocs version: 1.6.1
1 parent 641b4e5 commit ce4bf8b

File tree

6 files changed

+35
-12
lines changed

6 files changed

+35
-12
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
55.9 KB
Loading

resource/dspy-code-banner.png

29 KB
Loading

resource/dspy-code-text.svg

Lines changed: 16 additions & 0 deletions
Loading

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

stylesheets/extra.css

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@
194194
margin-left: 0.4rem;
195195
}
196196

197-
/* Theme Toggle Button - Visible and styled */
197+
/* Theme Toggle Buttons - Show both light and dark mode toggles */
198+
/* Style all palette toggles */
198199
.md-header__button[for^="__palette"] {
199200
display: flex !important;
200201
align-items: center !important;
@@ -205,22 +206,21 @@
205206
margin: 0 0.2rem !important;
206207
border-radius: 0.25rem !important;
207208
transition: all 0.2s ease !important;
209+
cursor: pointer !important;
210+
z-index: 10 !important;
211+
pointer-events: auto !important;
208212
visibility: visible !important;
209213
opacity: 1 !important;
210214
}
211215

212-
/* Show ONLY the first theme toggle button - hide all others */
213-
.md-header__button[for^="__palette"] {
216+
/* Show both palette toggles (light and dark) */
217+
.md-header__button[for="__palette_0"],
218+
.md-header__button[for="__palette_1"] {
214219
display: flex !important;
215220
visibility: visible !important;
216221
opacity: 1 !important;
217222
}
218223

219-
/* Hide the second palette toggle (Material creates one per palette) */
220-
.md-header__button[for="__palette_1"] {
221-
display: none !important;
222-
}
223-
224224
/* Hide theme toggle in drawer/sidebar only (not in header) */
225225
.md-drawer .md-header__button[for^="__palette"],
226226
.md-sidebar .md-header__button[for^="__palette"],
@@ -965,23 +965,30 @@
965965
-webkit-background-clip: text;
966966
-webkit-text-fill-color: transparent;
967967
background-clip: text;
968-
display: inline-block;
968+
display: block;
969969
font-weight: 800;
970970
letter-spacing: -0.02em;
971971
text-align: center;
972+
width: 100%;
972973
}
973974

974975
.hero-title {
975976
font-size: 5.5em;
976-
margin: 0 0 0.5em 0;
977+
margin: 0.5em 0;
977978
line-height: 1.1;
979+
display: block;
980+
width: 100%;
981+
clear: both;
978982
}
979983

980984
.hero-subtitle {
981985
font-size: 4.5em;
982986
margin: 0.5em 0 0.3em 0;
983987
line-height: 1.2;
984988
font-weight: 700;
989+
display: block;
990+
width: 100%;
991+
clear: both;
985992
}
986993

987994
.hero-description {

0 commit comments

Comments
 (0)