This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/src/articles/static/public.css

84 lines
1 KiB
CSS

body {
/* Overriding so that it doesn't change even when updating the library. */
max-width: 64ch;
}
h1,
h2 {
font-weight: 900;
}
h1,
h2,
h3 {
border-bottom: unset;
}
h3 {
font-size: 1.35rem;
}
h4 {
font-size: 1.1rem;
}
h5 {
font-size: 0.9rem;
}
h6 {
font-size: 0.7rem;
}
img {
border-radius: 5px;
}
footer {
font-size: 80%;
color: var(--nc-tx-2);
}
footer > :first-child {
margin-top: 1em;
}
nav a:not(:first-child):before,
a.tag:not(:first-of-type):before {
content: "\00B7";
margin: 0 5px;
color: var(--nc-tx-1);
text-decoration: none;
display: inline-block;
}
#reply {
text-align: center;
margin-top: 2em;
}
#reply a button {
font-size: 1.2rem;
padding: 8px 16px;
}
.toclink {
color: var(--nc-tx-1);
text-decoration: none;
}
#metadata {
margin-bottom: 1.5rem;
}
#articles-list time {
display: inline-block;
min-width: 11ex;
}
@media (max-width: 720px) {
#articles-list time {
display: block;
}
}