mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Start styling the new docs!
There's still loads of work to do though.
This commit is contained in:
parent
8cc5948eb7
commit
315f1984b1
1 changed files with 21 additions and 7 deletions
|
@ -1,12 +1,26 @@
|
|||
/* Title */
|
||||
.menu {
|
||||
background: url(https://sbrl.github.io/Pepperminty-Wiki/logo.svg) no-repeat top center/10em;
|
||||
margin-top: 0.5em;
|
||||
padding-top: 10em;
|
||||
}
|
||||
.menu > .menu-item:first-child > .submenu > .menu-item:first-child {
|
||||
.body {
|
||||
--background-colour-a: hsla(3, 100%, 70%, 0.3);
|
||||
--background-colour-b: hsla(3, 100%, 80%, 0.3);
|
||||
--background-size: 5em;
|
||||
|
||||
background: repeating-linear-gradient(-55deg,
|
||||
var(--background-colour-a), var(--background-colour-a) var(--background-size),
|
||||
var(--background-colour-b) var(--background-size), var(--background-colour-b) calc(var(--background-size) * 2));
|
||||
}
|
||||
|
||||
.menu {
|
||||
background-color: hsla(0, 100%, 100%, 0.5);
|
||||
}
|
||||
/* Title */
|
||||
.toc-menu .-level-1:first-child {
|
||||
background: url(https://sbrl.github.io/Pepperminty-Wiki/logo.svg) no-repeat top center/10em;
|
||||
margin-top: 0;
|
||||
padding-top: 10em;
|
||||
font-weight: bolder;
|
||||
font-size: 1.25em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.-menu-visible .menu-toggle {
|
||||
background: linear-gradient(to bottom, transparent, white);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue