mylloon.fr/static/css/style.css

68 lines
1,010 B
CSS
Raw Normal View History

2023-10-09 20:43:56 +02:00
/* Theme of the pages */
html {
background-color: var(--background);
2023-10-14 17:58:22 +02:00
font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", system-ui;
2023-10-09 20:43:56 +02:00
}
2023-10-15 19:15:37 +02:00
body,
2023-10-09 20:43:56 +02:00
a {
color: var(--font-color);
font-size: var(--font-size);
}
2023-10-14 19:45:54 +02:00
a {
transition: opacity 0.2s;
}
2023-10-13 17:36:33 +02:00
a:hover {
opacity: 0.6;
}
main {
position: relative;
2023-10-13 17:36:33 +02:00
font-size: var(--font-size);
padding: 2em 1em;
font-family: var(--font-family);
margin: 0 auto;
max-width: 640px; /* breakpoint */
}
2023-10-09 20:43:56 +02:00
/* Navigation bar across all of the pages */
2023-10-14 18:39:29 +02:00
header nav {
2023-10-09 20:43:56 +02:00
text-align: center;
}
2023-10-14 18:39:29 +02:00
header nav 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-10-14 18:39:29 +02:00
header nav p::after {
2023-09-14 17:55:01 +02:00
content: "·";
padding: 10px;
2023-02-09 10:45:59 +01:00
}
2023-10-13 20:53:00 +02:00
/* breakpoint */
2023-10-13 12:52:20 +02:00
@media only screen and (max-width: 640px) {
2023-10-14 18:39:29 +02:00
header nav p::after {
2023-10-13 19:12:07 +02:00
padding: 6px;
2023-10-13 12:52:20 +02:00
}
}
2023-10-14 18:39:29 +02:00
header nav li:last-child p::after {
2023-09-14 17:55:01 +02:00
content: "";
2023-02-09 10:45:59 +01:00
}
2023-09-14 23:50:21 +02:00
2023-10-14 18:39:29 +02:00
header nav a {
2023-10-09 20:43:56 +02:00
text-decoration: none;
2023-10-13 17:38:43 +02:00
color: var(--link-color);
2023-10-09 20:43:56 +02:00
}
2023-10-14 18:39:29 +02:00
header nav a:hover {
2023-10-09 20:43:56 +02:00
text-decoration: underline;
}
2023-09-14 23:50:21 +02:00
.bold {
font-weight: bold;
}