mylloon.fr/static/css/style.css

65 lines
985 B
CSS
Raw Normal View History

2023-10-09 20:43:56 +02:00
/* 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);
}
2023-10-13 17:36:33 +02:00
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 */
}
2023-10-09 20:43:56 +02:00
/* Navigation bar across all of the pages */
.navbar {
text-align: center;
}
2023-09-14 17:55:01 +02:00
.navbar li {
2023-04-11 01:51:49 +02:00
display: inline-block;
2023-02-09 10:45:59 +01:00
}
2023-10-09 20:43:56 +02:00
/* Maybe do this only with 'large' screens */
2023-09-14 17:55:01 +02:00
.navbar p::after {
content: "·";
padding: 10px;
2023-02-09 10:45:59 +01:00
}
2023-10-13 12:52:20 +02:00
@media only screen and (max-width: 640px) {
.navbar p::after {
2023-10-13 19:12:07 +02:00
padding: 6px;
2023-10-13 12:52:20 +02:00
}
}
2023-09-14 17:55:01 +02:00
.navbar li:last-child p::after {
content: "";
2023-02-09 10:45:59 +01:00
}
2023-09-14 23:50:21 +02:00
2023-10-09 20:43:56 +02:00
.navbar a {
text-decoration: none;
2023-10-13 17:38:43 +02:00
color: var(--link-color);
2023-10-09 20:43:56 +02:00
}
.navbar a:hover {
text-decoration: underline;
}
2023-09-14 23:50:21 +02:00
.bold {
font-weight: bold;
}