forked from planex/defiance
use system fonts instead of hard-coding them
This commit is contained in:
parent
9d9e18fd2f
commit
f04e8e917f
1 changed files with 11 additions and 63 deletions
|
@ -115,7 +115,6 @@ footer {
|
|||
/* For header.html */
|
||||
#nav {
|
||||
background-color: #F14B25;
|
||||
font-family: 'Remingtoned Type';
|
||||
}
|
||||
|
||||
#nav-button {
|
||||
|
@ -125,7 +124,7 @@ footer {
|
|||
}
|
||||
|
||||
#nav-button:hover {
|
||||
background-color: #DB691A;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* For author.html */
|
||||
|
@ -148,74 +147,23 @@ footer {
|
|||
max-width: 60px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Fonts */
|
||||
/* Remingtoned Type - latin */
|
||||
@font-face {
|
||||
font-family: 'Remingtoned Type';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local(''),
|
||||
url('fonts/remingtonedtype.ttf');
|
||||
}
|
||||
/* Liberation Sans - latin */
|
||||
@font-face {
|
||||
font-family: 'Liberation Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local(''),
|
||||
url('fonts/LiberationSans-Regular.ttf');
|
||||
}
|
||||
/* Liberation Mono - latin */
|
||||
@font-face {
|
||||
font-family: 'Liberation Mono';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local(''),
|
||||
url('fonts/LiberationMono-Regular.ttf');
|
||||
}
|
||||
/* OpenDyslexic - latin */
|
||||
@font-face {
|
||||
font-family: 'OpenDyslexic';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local(''),
|
||||
url('fonts/OpenDyslexic-Regular.otf') format('opentype');
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
font-family: 'Remingtoned Type';
|
||||
}
|
||||
|
||||
body, p, h4, h5, tr, td {
|
||||
font-family: 'Liberation Sans';
|
||||
}
|
||||
|
||||
p {
|
||||
p {
|
||||
font-size: 16pt;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
body {
|
||||
font-size: 14pt;
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
nav {
|
||||
font-size: 20pt;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
font-family: 'Liberation Mono', monospace;
|
||||
}
|
||||
}
|
||||
|
||||
/* For Content Warnings */
|
||||
label {
|
||||
label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#cw:checked + label {
|
||||
#cw:checked + label {
|
||||
display: block;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue