66 lines
1 KiB
CSS
66 lines
1 KiB
CSS
/* Theme of the pages */
|
|
html {
|
|
background-color: var(--background);
|
|
font-family: "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", system-ui;
|
|
}
|
|
|
|
p,
|
|
a {
|
|
color: var(--font-color);
|
|
font-size: var(--font-size);
|
|
}
|
|
|
|
a:hover {
|
|
opacity: 0.6;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
main {
|
|
position: relative;
|
|
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 */
|
|
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;
|
|
}
|