114 lines
1.8 KiB
CSS
114 lines
1.8 KiB
CSS
/** BasePage **/
|
|
html {
|
|
font: 16px sans-serif;
|
|
background: #f1f5f9;
|
|
color: #111;
|
|
scrollbar-gutter: stable;
|
|
overflow: hidden auto;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-size: 1.25rem;
|
|
line-height: 125%;
|
|
--sanic: #ff0d68;
|
|
--sanic-blue: #0369a1;
|
|
--sanic-yellow: #FFE900;
|
|
--sanic-purple: #7e22ce;
|
|
--sanic-green: #4d7c0f;
|
|
--sanic-tab: #ffffff;
|
|
}
|
|
|
|
body>* {
|
|
padding: 1rem 2vw;
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
body>* {
|
|
padding: 0.5rem 1.5vw;
|
|
}
|
|
|
|
html {
|
|
/* Scale everything by rem of 6px-16px by viewport width */
|
|
font-size: calc(6px + 10 * 100vw / 1000);
|
|
}
|
|
}
|
|
main {
|
|
min-height: 70vh; /* Make sure the footer is closer to bottom */
|
|
padding: 1rem 2.5rem; /* Generous padding for readability */
|
|
}
|
|
.smalltext {
|
|
font-size: 1.0rem;
|
|
}
|
|
|
|
.container {
|
|
min-width: 600px;
|
|
max-width: 1600px;
|
|
}
|
|
|
|
header {
|
|
background: #111;
|
|
color: #e1e1e1;
|
|
border-bottom: 1px solid #272727;
|
|
text-align: center;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-size: 0.8rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
h1 {
|
|
text-align: left;
|
|
}
|
|
|
|
a:visited {
|
|
color: inherit;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #88f;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
text-decoration: underline;
|
|
outline: none;
|
|
}
|
|
|
|
|
|
span.icon {
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
#logo-simple {
|
|
height: 1.75rem;
|
|
padding: 0 0.25rem;
|
|
}
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
|
--sanic: #ef4444;
|
|
--sanic-blue: #38bdf8;
|
|
--sanic-yellow: #ffde41;
|
|
--sanic-purple: #b19bf8;
|
|
--sanic-green: #37d971;
|
|
--sanic-tab: #e8e3e3;
|
|
}
|
|
|
|
html {
|
|
background: #2b2f3b;
|
|
color: #ccc;
|
|
}
|
|
|
|
#logo-simple path:last-child {
|
|
fill: #e1e1e1;
|
|
}
|
|
}
|