Skip to content

Commit

Permalink
added a font and some text configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
sepsol committed Jun 6, 2020
1 parent abd5a9c commit 017d176
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
Binary file added assets/fonts/Rubik-Regular.ttf
Binary file not shown.
32 changes: 30 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ li {
body {
background-color: var(--secondary);
overflow-x: hidden;
font-family: 'Rubik Regular';
}
.button {
background-color: none;
Expand All @@ -42,6 +43,29 @@ input, textarea {
}

/* fonts */
@font-face {
font-family: 'Rubik Regular';
src: url('assets/fonts/Rubik-Regular.ttf');
}
h1, h2, h3, h4 {
color: #DDDBFF;
font-weight: normal;
}
p, a, li {
color: #9893D8;
}
h1, h3 {
font-size: 1.2em;
}
h2 {
font-size: 1.6em;
}
h4 {
font-size: 1.1em;
}
.leading {
font-size: 1.1em;
}

/* mobile styles */

Expand All @@ -52,10 +76,14 @@ input, textarea {

/* large tablet & laptop styles */
@media screen and (min-width: 960px) {

body {
font-size: 18px;
}
}

/* desktop styles */
@media screen and (min-width: 1200px) {

body {
font-size: 20px;
}
}

0 comments on commit 017d176

Please sign in to comment.