mylloon.fr/static/css/style.css
Mylloon 2787450c0e
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
fix space
2024-05-29 22:56:35 +02:00

92 lines
1.3 KiB
CSS

/* Theme of the pages */
html {
background-color: var(--background);
font-family: var(--font-family);
}
body,
a {
color: var(--font-color);
font-size: var(--font-size);
hyphens: auto;
}
a {
transition: opacity 0.2s;
}
a:hover {
opacity: 0.6;
}
main {
position: relative;
font-size: var(--font-size);
padding: 2em 1em;
margin: 0 auto;
max-width: 640px; /* breakpoint */
}
/* Navigation bar across all of the pages */
header nav {
text-align: center;
}
header nav li {
display: inline-block;
}
/* Maybe do this only with 'large' screens */
header nav p::after {
content: "·";
padding: 10px;
}
/* breakpoint */
@media only screen and (max-width: 640px) {
header nav p::after {
padding: 6px;
}
}
header nav li:last-child p::after {
content: "";
}
header nav a {
text-decoration: none;
color: var(--link-color);
}
header nav a:hover {
text-decoration: underline;
}
.bold {
font-weight: bold;
}
@media print {
/* Hide navigation header */
header nav {
display: none;
}
/* Better colors for paper */
html {
color: black;
background-color: white;
}
/* Add links */
a:not(:where([href^="#"], [href^="/"])):not(:has(img))::after {
content: " (" attr(href) ")";
display: inline-block;
white-space: pre;
color: mediumblue;
}
a {
text-underline-position: under;
}
}