mylloon.fr/static/css/style.css

74 lines
1,013 B
CSS
Raw Normal View History

/* Theme of the pages */
2023-02-09 10:45:59 +01:00
html {
background-color: var(--background);
2023-10-16 09:19:35 +02:00
font-family: var(--font-family);
2023-02-09 10:45:59 +01:00
}
body,
a {
color: var(--font-color);
font-size: var(--font-size);
2023-10-15 21:47:30 +02:00
hyphens: auto;
2023-02-09 10:45:59 +01:00
}
a {
transition: opacity 0.2s;
2023-02-09 10:45:59 +01:00
}
a:hover {
opacity: 0.6;
2023-02-09 10:45:59 +01:00
}
main {
position: relative;
font-size: var(--font-size);
padding: 2em 1em;
margin: 0 auto;
max-width: 640px; /* breakpoint */
2023-02-09 10:45:59 +01:00
}
/* Navigation bar across all of the pages */
header nav {
2023-04-11 01:51:49 +02:00
text-align: center;
2023-02-09 10:45:59 +01:00
}
header nav li {
display: inline-block;
2023-02-09 10:45:59 +01:00
}
/* Maybe do this only with 'large' screens */
header nav p::after {
content: "·";
padding: 10px;
2023-02-09 10:45:59 +01:00
}
/* breakpoint */
@media only screen and (max-width: 640px) {
header nav p::after {
padding: 6px;
2023-04-11 01:51:49 +02:00
}
2023-02-09 10:45:59 +01:00
}
header nav li:last-child p::after {
2023-04-11 01:51:49 +02:00
content: "";
2023-02-09 10:45:59 +01:00
}
header nav a {
2023-04-11 01:51:49 +02:00
text-decoration: none;
color: var(--link-color);
2023-02-09 10:45:59 +01:00
}
header nav a:hover {
text-decoration: underline;
2023-02-09 10:45:59 +01:00
}
.bold {
font-weight: bold;
2023-02-09 10:45:59 +01:00
}
@media print {
header nav {
visibility: hidden;
}
}