Optimize font family integration #7
1 changed files with 6 additions and 7 deletions
|
@ -4,8 +4,7 @@
|
||||||
For more information, please refer to the README.md file located in the 'fonts' directory.
|
For more information, please refer to the README.md file located in the 'fonts' directory.
|
||||||
*/
|
*/
|
||||||
font-family: 'Departure Mono';
|
font-family: 'Departure Mono';
|
||||||
src: url('../fonts/DepartureMono-Regular.woff2') format('woff2'),
|
src: url('../fonts/DepartureMono-Regular.woff2') format('woff2');
|
||||||
url('../fonts/DepartureMono-Regular.woff') format('woff');
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
|
@ -30,7 +29,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Departure Mono';
|
font-family: 'Departure Mono', monospace;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 1.75;
|
line-height: 1.75;
|
||||||
background-color: var(--cyber-bg-color);
|
background-color: var(--cyber-bg-color);
|
||||||
|
@ -99,7 +98,7 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
font-family: 'Departure Mono';
|
font-family: inherit;
|
||||||
width: calc(100% - 20px);
|
width: calc(100% - 20px);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: 2px solid var(--cyber-primary-color);
|
border: 2px solid var(--cyber-primary-color);
|
||||||
|
@ -151,7 +150,7 @@ input[type="text"]:focus {
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
button {
|
button {
|
||||||
font-family: 'Departure Mono';
|
font-family: inherit;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: var(--cyber-bg-color);
|
background-color: var(--cyber-bg-color);
|
||||||
|
|
Loading…
Reference in a new issue