Skip to content

Commit d38a536

Browse files
authored
Merge pull request #987 from boriel-basic/docs
Docs
2 parents c35e7e9 + 0b2ff9a commit d38a536

File tree

2 files changed

+82
-13
lines changed

2 files changed

+82
-13
lines changed

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## General
1+
# General
22

33
* [About](about.md)
44
<br />About Boriel BASIC SDK
@@ -74,7 +74,7 @@ Boriel BASIC was designed from the base as a Retargeable Compiler, so it should
7474
it to other architectures. This is `work in progress`. See [other architectures](other_architectures.md) for more info.
7575

7676
## Contributing
77-
You can issue a Pull Request to the [GitHub repository](https://github.com/boriel/zxbasic), report bugs in the forum
77+
You can issue a Pull Request to the [GitHub repository](https://github.com/boriel-basic/zxbasic), report bugs in the forum
7878
when using the compiler, suggest new features...
7979

8080
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/H2H81J0OU)

docs/overrides/stylesheets/extra.css

Lines changed: 80 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
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 */
101
/* Light mode - very light yellow header */
112
[data-md-color-scheme="default"] .md-header {
123
background-color: #d0d6da; /* Very light yellow background color */
134
height: 4rem;
145
}
156

16-
177
[data-md-color-scheme="default"] .md-header__title {
188
color: #23231c;
199
padding-left: 2rem;
@@ -38,11 +28,51 @@
3828
font-family: 'Press Start 2P', cursive;
3929
}
4030

41-
/* Ensure the site name maintains its size */
31+
/* Make the site name responsive */
4232
.md-header__title .md-header__ellipsis {
4333
font-size: 1.2rem;
4434
}
4535

36+
/* Responsive adjustments for smaller screens */
37+
@media screen and (max-width: 768px) {
38+
[data-md-color-scheme="default"] .md-header {
39+
height: 3.5rem;
40+
}
41+
42+
[data-md-color-scheme="slate"] .md-header {
43+
height: 3.5rem;
44+
}
45+
46+
[data-md-color-scheme="default"] .md-header__title {
47+
padding-left: 3.0rem;
48+
}
49+
50+
[data-md-color-scheme="slate"] .md-header__title {
51+
padding-left: 3.0rem;
52+
}
53+
54+
.md-header__title .md-header__ellipsis {
55+
font-size: 1rem;
56+
}
57+
58+
.md-header__inner {
59+
display: flex;
60+
}
61+
62+
.md-header__button {
63+
margin: 0;
64+
padding: 0.5rem;
65+
}
66+
67+
.md-header__button[for="__drawer"] {
68+
order: 3;
69+
}
70+
71+
label[for="__search"] {
72+
order: 2;
73+
}
74+
}
75+
4676
.md-header__inner {
4777
background-image: url('../img/zxbasic_logo.png');
4878
background-repeat: no-repeat;
@@ -51,6 +81,45 @@
5181
height: 100%;
5282
}
5383

84+
@media screen and (max-width: 480px) {
85+
[data-md-color-scheme="default"] .md-header {
86+
height: 3rem;
87+
}
88+
89+
[data-md-color-scheme="slate"] .md-header {
90+
height: 3rem;
91+
}
92+
93+
[data-md-color-scheme="default"] .md-header__title {
94+
padding-left: 48px;
95+
}
96+
97+
[data-md-color-scheme="slate"] .md-header__title {
98+
padding-left: 48px;
99+
}
100+
101+
.md-header__title .md-header__ellipsis {
102+
font-size: 0.8rem;
103+
}
104+
105+
.md-header__inner {
106+
display: flex;
107+
}
108+
109+
.md-header__button {
110+
margin: 0;
111+
padding: 2px;
112+
}
113+
114+
.md-header__button[for="__drawer"] {
115+
order: 3; /* Ponlo al final (tras tema y búsqueda) */
116+
}
117+
118+
label[for="__search"] {
119+
order: 2;
120+
}
121+
}
122+
54123
/*!* Make the logo size 100% of the header *!*/
55124
.md-header__button.md-logo {
56125
color: #ff000000;

0 commit comments

Comments
 (0)