mirror of
https://github.com/sbrow/thor.git
synced 2026-10-25 10:11:55 -04:00
chore: Attempted to use pico css on the docs site.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
body>header {
|
||||
background: var(--pico-primary-background);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
nav>ul li a {
|
||||
color: var(--pico-primary-inverse);
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO: Should probaby use a container for the page content like Odin does */
|
||||
.toc {
|
||||
position: fixed;
|
||||
height: calc(100vh - 116px);
|
||||
width: 280px;
|
||||
top: 116px;
|
||||
left: 0;
|
||||
overflow-y: auto;
|
||||
|
||||
& ul {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
main>article {
|
||||
width: 60%;
|
||||
margin: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user