Skip to content

Commit 33762e4

Browse files
committed
docs: change light theme to use gray header
This mimics ZX Spectrum boot BASIC cursor colors
1 parent fec3f92 commit 33762e4

1 file changed

Lines changed: 17 additions & 7 deletions

File tree

docs/overrides/stylesheets/extra.css

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,29 @@
99
/* Apply Sinclair Logo font to the main header */
1010
/* Light mode - very light yellow header */
1111
[data-md-color-scheme="default"] .md-header {
12-
background-color: #264eb2; /* Very light yellow background color */
12+
background-color: #d0d6da; /* Very light yellow background color */
13+
height: 8em;
1314
}
1415

1516

1617
[data-md-color-scheme="default"] .md-header__title {
17-
color: #ffde06;
18+
color: #23231c;
19+
padding-left: 2em;
1820
}
1921

2022
/* Dark mode - dark gray header */
2123
[data-md-color-scheme="slate"] .md-header {
2224
background-color: #333333; /* Dark gray background color */
25+
/*background-image: url('../img/boriel-basic-sinclair.png');*/
26+
/*background-repeat: no-repeat;*/
27+
/*background-position: center center;*/
28+
/*background-size: auto 90%;*/
29+
height: 8em;
2330
}
2431

2532
[data-md-color-scheme="slate"] .md-header__title {
2633
color: #af0d0d;
34+
padding-left: 2em;
2735
}
2836

2937
.md-header__title {
@@ -40,11 +48,13 @@
4048
background-repeat: no-repeat;
4149
background-position: left center;
4250
background-size: auto 100%;
51+
height: 100%;
4352
}
4453

4554
/*!* Make the logo size 100% of the header *!*/
4655
.md-header__button.md-logo {
4756
color: #ff000000;
57+
height: 100%;
4858
}
4959

5060
/* Increase font weight for headings */
@@ -54,11 +64,11 @@ h1, h2, h3, h4, h5, h6 {
5464
}
5565

5666
/* Target Material theme specific heading classes if any */
57-
.md-typeset h1,
58-
.md-typeset h2,
59-
.md-typeset h3,
60-
.md-typeset h4,
61-
.md-typeset h5,
67+
.md-typeset h1,
68+
.md-typeset h2,
69+
.md-typeset h3,
70+
.md-typeset h4,
71+
.md-typeset h5,
6272
.md-typeset h6 {
6373
font-weight: 600; /* Bold */
6474
}

0 commit comments

Comments
 (0)