mylloon.fr/static/css/style.css
2023-10-13 20:53:00 +02:00

65 lines
1,002 B
CSS

/* Theme of the pages */
html {
background-color: var(--background);
font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol";
}
p,
a {
color: var(--font-color);
font-size: var(--font-size);
}
a:hover {
opacity: 0.6;
transition: opacity 0.2s;
}
main {
color: var(--font-color);
font-size: var(--font-size);
padding: 2em 1em;
font-family: var(--font-family);
color: var(--font-color);
margin: 0 auto;
max-width: 640px; /* breakpoint */
}
/* Navigation bar across all of the pages */
.navbar {
text-align: center;
}
.navbar li {
display: inline-block;
}
/* Maybe do this only with 'large' screens */
.navbar p::after {
content: "·";
padding: 10px;
}
/* breakpoint */
@media only screen and (max-width: 640px) {
.navbar p::after {
padding: 6px;
}
}
.navbar li:last-child p::after {
content: "";
}
.navbar a {
text-decoration: none;
color: var(--link-color);
}
.navbar a:hover {
text-decoration: underline;
}
.bold {
font-weight: bold;
}