nixfox-reborn/sass/style.scss

121 lines
1.7 KiB
SCSS

// Setup stuff
* {
font-family: 'IBM Plex Mono', monospace;
transition: 0.3s;
top: 0;
}
[data-theme="light"] {
--bg-color: #DDE1E9;
--elm-bg-color: #EFF1F5;
--elm-inv-bg-color: #1F2223;
--text-color: #141414;
--text-inv-color: #DBD8D4;
--subtext-color: #6c7387;
--link-color: #b7162e;
}
[data-theme="dark"] {
--bg-color: #181A1B;
--elm-bg-color: #1F2223;
--elm-inv-bg-color: #EFF1F5;
--text-color: #DBD8D4;
--text-inv-color: #141414;
--subtext-color: #8991a5;
--link-color: #DB4E63;
}
.preload {
transition: none !important;
animation-duration: 0.001s !important;
}
body {
color: var(--text-color);
background-color: var(--bg-color);
padding-bottom: 5em;
min-height: 100%;
}
.subtitle {
color: var(--subtext-color);
font-size: 14px;
}
a {
color: var(--link-color);
cursor: crosshair;
outline: 1px solid transparent;
margin: 0;
text-decoration: none;
}
a:hover {
outline: 3px solid;
}
h1 {
font-weight: bold;
}
#main {
background-color: var(--elm-bg-color);
position: relative;
width: 60%;
max-width: 50em;
margin: auto;
top: 2em;
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;
}