blog-theme/alchemy/static/css/theme.css

113 lines
1.4 KiB
CSS

:root {
--alchemy-border: rgba(0,0,0,.1);
}
::selection {
background: var(--primary);
color: var(--secondary);
text-shadow: none;
}
blockquote {
opacity: .7;
font-style: italic;
}
hr {
margin: 1.5rem 0;
}
/* ------------------------------------------------------------------------- */
.container {
max-width: 960px;
}
.header,
.footer {
padding: 1.5rem 0 .5rem;
}
.header {
border-bottom: 1px solid var(--alchemy-border);
}
.header img {
margin-bottom: 1rem;
}
.header .title {
font-weight: bold;
margin-bottom: 1rem;
}
.header ul,
.header li {
margin-bottom: .5rem;
}
.header ul {
font-size: 1.25rem;
font-weight: 300;
text-transform: lowercase;
}
.main {
padding: 1.5rem 0;
}
.footer {
border-top: 1px solid var(--alchemy-border);
}
.highlight pre {
border: 1px solid var(--alchemy-border);
padding: 1rem;
}
.teaser header ul {
list-style: none;
padding-left: 0;
}
.teaser header li {
margin-bottom: .5rem;
}
.teaser .content p {
margin-bottom: 0;
}
.article header ul,
.article header li {
margin-bottom: .5rem;
}
.article header li:not(:last-child) {
margin-right: 10px;
}
.article .content a {
text-decoration: underline
}
@media (min-width: 576px) {
.header .title {
font-size: 3rem;
}
}
@media (max-width: 576px) {
.header,
.footer {
text-align: center;
}
.teaser header li {
display: inline-block;
}
.teaser header li:not(:last-child) {
margin-right: 10px;
}
}