adding custom fonts, adjusting text-styling

This commit is contained in:
emma 2024-12-14 12:23:34 -05:00
parent 88552564e2
commit a3e4633626
4 changed files with 24 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<header> <header>
<span> <span>
emma's place - a celebration of self-expression through the personal web <span class="logo">emma's place</span> - <span class="motto">a celebration of self-expression through the personal web</span>
</span> </span>
</header> </header>

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,13 @@
@font-face {
font-family: lato-regular;
src: url("../site-resources/fonts/lato-regular.woff2");
}
@font-face {
font-family: pacifico;
src: url("../site-resources/fonts/pacifico.woff2");
}
:root { :root {
--background-color: #e0ffcd; --background-color: #e0ffcd;
--body-background-color: #ffebbb; --body-background-color: #ffebbb;
@ -33,6 +43,7 @@ main, nav {
padding-top: 1rem; padding-top: 1rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
font-family: system-ui; font-family: system-ui;
letter-spacing: 0.05rem;
} }
@ -54,7 +65,6 @@ header {
grid-column: 1/3; grid-column: 1/3;
height: 5vh; height: 5vh;
width: 72vw; width: 72vw;
padding-top: 0.4rem;
border-top-left-radius: 15px; border-top-left-radius: 15px;
border-top-right-radius: 15px; border-top-right-radius: 15px;
border-bottom: 10px solid; border-bottom: 10px solid;
@ -74,6 +84,7 @@ footer {
border-bottom-left-radius: 15px; border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px; border-bottom-right-radius: 15px;
font-family: system-ui; font-family: system-ui;
letter-spacing: 0.05rem;
} }
header, footer { header, footer {
@ -82,7 +93,6 @@ header, footer {
} }
header span, footer span { header span, footer span {
height: 0;
font-size: 1.3rem; font-size: 1.3rem;
} }
@ -142,6 +152,17 @@ main section ul li {
padding-bottom: 0.25rem; padding-bottom: 0.25rem;
} }
.logo {
font-family: pacifico;
font-size: 1.35rem;
letter-spacing: .1rem;
}
.motto {
font-family: lato-regular;
letter-spacing: .05rem;
}
.status { .status {
height: 120px; height: 120px;
margin-top: 0.5rem; margin-top: 0.5rem;