Change website font

I think Work Sans was too harsh. Nunito looks better.
This commit is contained in:
Naman Sood 2020-01-04 20:47:31 -05:00
parent bddc0bd69f
commit 3ccca72bc6
3 changed files with 27 additions and 15 deletions

View file

@ -8,7 +8,7 @@ html {
body {
margin: 0;
font-family: "Work Sans", sans-serif;
font-family: "Nunito", sans-serif;
}
body.dark-mode {
@ -63,7 +63,7 @@ body.dark-mode footer {
}
.main h1 {
font-size: 4rem;
font-weight: 500;
font-weight: 600;
margin: 0 0 2rem;
color: #333;
}
@ -85,19 +85,24 @@ body.dark-mode footer {
white-space: nowrap;
position: relative;
}
.main a:before {
.main a:before, .main a:after {
content: "";
bottom: 0.2rem;
bottom: 0.4rem;
left: 0;
width: 100%;
height: 0.1rem;
background: rgba(51, 51, 51, 0.2);
position: absolute;
transform: scaleX(0);
transform-origin: center left;
opacity: 0.2;
transition: all 0.2s ease;
}
.main a:before {
transform: scaleX(0);
transform-origin: center left;
}
.main a:after {
opacity: 0.5;
}
.main a:hover:before {
transform: scaleX(1);
opacity: 1;
@ -304,7 +309,7 @@ body.dark-mode footer {
#contact .contact-info-container a.contact-method i.email:before {
content: "@";
font-style: normal;
font-weight: 500;
font-weight: bold;
line-height: 5.5rem;
top: 0;
left: 0;