more global style

This commit is contained in:
Mylloon 2023-10-13 17:36:33 +02:00
parent 991495893a
commit f8a68933c5
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 15 additions and 13 deletions

View file

@ -20,17 +20,6 @@
--title-weight: 600; --title-weight: 600;
} }
/* Page theme */
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 */
}
/* Name header */ /* Name header */
.name { .name {
font-size: calc(var(--font-size) * 2.5); font-size: calc(var(--font-size) * 2.5);

View file

@ -10,6 +10,21 @@ a {
font-size: var(--font-size); font-size: var(--font-size);
} }
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 */
}
/* Navigation bar across all of the pages */ /* Navigation bar across all of the pages */
.navbar { .navbar {
text-align: center; text-align: center;
@ -42,8 +57,6 @@ a {
.navbar a:hover { .navbar a:hover {
text-decoration: underline; text-decoration: underline;
opacity: 0.6;
transition: opacity 0.2s;
} }
.bold { .bold {