107 lines
1.4 KiB
SCSS
107 lines
1.4 KiB
SCSS
// Setup stuff
|
|
* {
|
|
font-family: 'IBM Plex Mono', monospace;
|
|
top: 0;
|
|
}
|
|
|
|
[data-theme="light"] {
|
|
--bg-color: #DDE1E9;
|
|
--elm-bg-color: #EFF1F5;
|
|
--text-color: #141414;
|
|
--link-color: #b7162e;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--bg-color: #181A1B;
|
|
--elm-bg-color: #1F2223;
|
|
--text-color: #DBD8D4;
|
|
--link-color: #DB4E63;
|
|
}
|
|
|
|
html {
|
|
background-color: var(--bg-color);
|
|
}
|
|
|
|
body {
|
|
color: var(--text-color);
|
|
padding-bottom: 5em;
|
|
}
|
|
|
|
a {
|
|
color: var(--link-color);
|
|
cursor: crosshair;
|
|
outline: 1px solid transparent;
|
|
margin: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
font-weight: bold;
|
|
outline: 3px solid;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#main {
|
|
background-color: var(--elm-bg-color);
|
|
|
|
position: relative;
|
|
width: 60%;
|
|
max-width: 50em;
|
|
margin: auto;
|
|
|
|
top: 3em;
|
|
left: 6.5em;
|
|
|
|
padding: 3em;
|
|
|
|
font-size: 16px;
|
|
}
|
|
|
|
.sidebar-toggle-button {
|
|
position: fixed;
|
|
bottom: 1rem;
|
|
right: .8rem;
|
|
z-index: 9;
|
|
width: 25px;
|
|
height: 25px;
|
|
|
|
cursor: crosshair;
|
|
z-index: 2;
|
|
|
|
font-size: 18px;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
html, body {
|
|
margin: 0;
|
|
padding: 1.5em;
|
|
}
|
|
|
|
#main {
|
|
width: 70%;
|
|
min-height: 100%;
|
|
padding: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.container {
|
|
max-width: 35em;
|
|
}
|
|
|
|
[data-theme="light"] {
|
|
--bg-color: #EFF1F5;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--bg-color: #1F2223;
|
|
}
|
|
}
|
|
|
|
li {
|
|
list-style-type: square;
|
|
padding-bottom: 2em;
|
|
}
|