mcmillian.us/html/style.css
Morgan McMillian a982e2c5f2
All checks were successful
dreamfall/mcmillian.us/pipeline/head This commit looks good
initial commit for site setup
2022-12-14 15:31:02 -08:00

82 lines
1,005 B
CSS

:root {
--bg: #ffffff;
--fg: #171a1f;
--link: #004cb8;
--active: #006aff;
--pre: #e9ecef;
}
body {
font-family: sans-serif;
background-color: var(--bg);
color: var(--fg);
padding: 2rem 1.25rem;
line-height: 1.5;
max-width: 600px;
margin: 0;
}
header {
margin-bottom: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
header h1 {
font-size: 1.2rem;
margin-top: 0;
margin-bottom: 0;
margin-right: 1rem;
}
a {
color: var(--link);
position: relative;
}
a:hover {
color: var(--active);
}
main h1 {
font-size: 1.6rem;
margin: 0;
}
h2 {
font-size: 1.35rem;
}
h3 {
font-size: 1.1rem;
}
ul {
padding: 0;
list-style: None;
}
pre {
display: block;
padding: .25rem;
margin: .25rem 0;
overflow-x: auto;
font-size: 1.2em;
background-color: var(--pre);
}
footer {
margin-top: 2rem;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #222222;
--fg: #efefef;
--link: #aaaaaa;
--active: #dddddd;
--pre: #555555;
}
}