Mylloon
9f95eb2b6b
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Style rework - Update dependencies to latest Close #33 Close #34 Reviewed-on: #35 Co-authored-by: Mylloon <kennel.anri@tutanota.com> Co-committed-by: Mylloon <kennel.anri@tutanota.com>
67 lines
1,010 B
CSS
67 lines
1,010 B
CSS
/* Theme of the pages */
|
|
html {
|
|
background-color: var(--background);
|
|
font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", system-ui;
|
|
}
|
|
|
|
body,
|
|
a {
|
|
color: var(--font-color);
|
|
font-size: var(--font-size);
|
|
}
|
|
|
|
a {
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
a:hover {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
main {
|
|
position: relative;
|
|
font-size: var(--font-size);
|
|
padding: 2em 1em;
|
|
font-family: var(--font-family);
|
|
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;
|
|
}
|