news page, font optimization
This commit is contained in:
28
style.css
28
style.css
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user