/* 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);
hyphens: auto;
}
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;
}