App: add sensible fallback fonts

This commit is contained in:
rektdeckard
2020-08-24 01:06:12 -04:00
parent 970db16297
commit 727ae2d08e

View File

@@ -1,12 +1,8 @@
/* @font-face { body {
font-family: Manrope; margin: 0px;
src: url('https://fonts.googleapis.com/css2?family=Manrope') format('woff2');
} */
html {
font-variant-ligatures: common-ligatures; font-variant-ligatures: common-ligatures;
/* -webkit-font-smoothing: antialiased; */ font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
/* -moz-osx-font-smoothing: grayscale; */ Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
} }
::selection { ::selection {
@@ -14,18 +10,13 @@ html {
background-color: black; background-color: black;
} }
body {
margin: 0px;
font-family: "Manrope";
}
h2 { h2 {
font-weight: 400; font-weight: 400;
} }
pre, pre,
code { code {
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono", "Courier New", monospace;
font-size: 14px; font-size: 14px;
color: "black"; color: "black";
} }
@@ -36,11 +27,12 @@ pre {
margin: 12px 0px; margin: 12px 0px;
background-color: white; background-color: white;
border-radius: 6px; border-radius: 6px;
border: 1px solid #E1D4D7; border: 1px solid #e1d4d7;
} }
input { input {
font-family: "Manrope"; font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
} }
button { button {
@@ -56,7 +48,8 @@ button.main-button {
padding: 0 48px 0 40px; padding: 0 48px 0 40px;
background-color: white; background-color: white;
border-radius: 8px; border-radius: 8px;
font-family: "Manrope"; font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 600; font-weight: 600;
font-size: 20px; font-size: 20px;
line-height: 30px; line-height: 30px;
@@ -90,7 +83,7 @@ a.main-link {
} }
a.main-link:after { a.main-link:after {
content: ''; content: "";
position: absolute; position: absolute;
bottom: -2px; bottom: -2px;
left: 0; left: 0;