Skip to content

Commit 93a5714

Browse files
committed
docs: update header so the logo is a bg image
1 parent 2993363 commit 93a5714

2 files changed

Lines changed: 18 additions & 14 deletions

File tree

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
/* Apply Press Start 2P font to the main header */
1+
/* Import Sinclair Logo font */
2+
/*@font-face {*/
3+
/* font-family: 'Sinclair Logo';*/
4+
/* src: url('../fonts/sinclair-logo.otf.woff2') format('woff2');*/
5+
/* font-weight: normal;*/
6+
/* font-style: normal;*/
7+
/*}*/
8+
9+
/* Apply Sinclair Logo font to the main header */
10+
.md-header {
11+
background-color: #333333; /* Dark gray background color */
12+
}
13+
214
.md-header__title {
315
font-family: 'Press Start 2P', cursive;
16+
color: #af0d0d;
417
}
518

619
/* Ensure the site name maintains its size */
@@ -13,18 +26,9 @@
1326
background-repeat: no-repeat;
1427
background-position: left center;
1528
background-size: auto 100%;
16-
padding-left: 50px; /* Add some padding to prevent text overlapping with the logo */
1729
}
1830

1931
/*!* Make the logo size 100% of the header *!*/
20-
/*.md-header__button.md-logo {*/
21-
/* height: 100%;*/
22-
/* padding: 0;*/
23-
/*}*/
24-
25-
/*.md-header__button.md-logo img {*/
26-
/* padding: 0;*/
27-
/* height: 100%;*/
28-
/* margin: 0;*/
29-
/* width: auto;*/
30-
/*}*/
32+
.md-header__button.md-logo {
33+
color: #ff000000;
34+
}

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
site_name: Boriel Basic Docs
1+
site_name: Boriel BASIC
22
nav:
33
- Home: index.md
44
- Syntax: syntax.md

0 commit comments

Comments
 (0)