Used new font from google and local fallbacks

This commit is contained in:
Thoscellen 2021-04-29 16:40:22 +02:00
parent 7315d9243a
commit 706ff667e7

View File

@ -1,4 +1,6 @@
/* Faking a real website */ /* Faking a real website */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mallanna&display=swap');
html { html {
height: 100%; height: 100%;
@ -9,22 +11,20 @@ body {
margin: 0; margin: 0;
min-height: 100%; min-height: 100%;
box-sizing: border-box; box-sizing: border-box;
font-family: Calibri, "Segoe UI", sans-serif; font-family: Calibri, Mallanna, sans-serif;
} }
h1, h1,
h2, h2,
h3, h3,
h4,
button { button {
font-family: "Chalkboard", Candara, sans-serif; font-family: "Chalkboard", "Comic Neue", "Comic Sans MS", cursive;
letter-spacing: -0.5px; /* letter-spacing: -0.5px; */
text-transform: uppercase; text-transform: uppercase;
font-weight: normal; font-weight: 700;
} }
/* The body of the fake website consist of a scrollable big picture */ /* The body of the fake website consist of a scrollable big picture */
#fake { #fake {
/* background: url(./fake-home.jpg); */ /* background: url(./fake-home.jpg); */
z-index: 9; z-index: 9;
@ -100,9 +100,10 @@ button {
#tabs-container { #tabs-container {
display: flex; display: flex;
font-family: "Chalkboard", Candara, sans-serif; font-family: "Chalkboard", "Comic Neue", "Comic Sans MS", cursive;
letter-spacing: -0.5px; /* letter-spacing: -0.5px; */
overflow-x: auto; overflow-x: auto;
font-weight: 600;
} }
#tabs-container a { #tabs-container a {
@ -171,12 +172,7 @@ button {
grid-column: central; grid-column: central;
} }
input[type="text"], input {
input[type="password"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="date"] {
border-radius: 5px; border-radius: 5px;
border: 1px solid #c9ced5; border: 1px solid #c9ced5;
line-height: 25px; line-height: 25px;
@ -185,7 +181,7 @@ input[type="date"] {
height: 40px; height: 40px;
text-transform: initial; text-transform: initial;
font-size: initial; font-size: initial;
font-family: Calibri, "Segoe UI", sans-serif; font-family: Calibri, Mallanna, "Segoe UI", sans-serif;
} }
button { button {
@ -248,7 +244,9 @@ button {
.domino-item h4 { .domino-item h4 {
text-transform: initial; text-transform: initial;
font-family: Calibri, "Segoe UI", sans-serif; /* font-family: Calibri, "Segoe UI", sans-serif; */
font-weight: normal;
font-size: 11pt;
letter-spacing: initial; letter-spacing: initial;
margin: 6px 0 ; margin: 6px 0 ;
color: rgb(53, 53, 53); color: rgb(53, 53, 53);