news page, font optimization

This commit is contained in:
Amber Zeller
2022-01-25 12:09:09 -05:00
parent 979fdb0a18
commit 7b6e6abdf7
10 changed files with 2083 additions and 10 deletions

View File

@@ -1,10 +1,26 @@
@font-face {
font-family: 'Open Sans';
src: local("Open Sans");
src: url('/fonts/opensans-regular-webfont.eot');
src: url('/fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/opensans-regular-webfont.woff2') format('woff2'),
url('/fonts/opensans-regular-webfont.woff') format('woff'),
url('/fonts/opensans-regular-webfont.ttf') format('truetype'),
url('/fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}
html {
max-width: 800px;
margin: auto;
}
body {
background-color: #111318;
color: #DDDDDD;
font-family: Open Sans;
padding: 32px;
max-width: 800px;
margin: auto;
font-family: 'Open Sans', Arial, sans-serif;
}
a:link {
@@ -40,7 +56,9 @@ h1 {
margin-top: 0;
}
:focus {
a:focus {
outline: 2px solid #86A3C1;
outline-offset: 2px;
}