-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
126 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,125 +1,129 @@ | ||
/* || General setup */ | ||
|
||
html, body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html { | ||
font-size: 10px; | ||
background-color: #a9a9a9; | ||
} | ||
|
||
body { | ||
width: 70%; | ||
margin: 0 auto; | ||
} | ||
|
||
/* || typography */ | ||
|
||
h1, h2, h3 { | ||
font-family: 'Segoe UI', cursive; | ||
color: #2a2a2a; | ||
} | ||
|
||
p, input, li { | ||
font-family: 'Segoe UI', sans-serif; | ||
color: #2a2a2a; | ||
} | ||
|
||
h1 { | ||
font-size: 4rem; | ||
text-align: center; | ||
text-shadow: 2px 2px 10px ; | ||
} | ||
|
||
h2 { | ||
font-size: 3rem; | ||
} | ||
|
||
h3 { | ||
font-size: 2.2rem; | ||
} | ||
|
||
p, li { | ||
font-size: 1.6rem; | ||
line-height: 1.5; | ||
} | ||
|
||
/* || header layout */ | ||
|
||
nav, article, aside, footer { | ||
padding: 1%; | ||
} | ||
|
||
nav { | ||
height: 50px; | ||
display: flex; | ||
margin-bottom: 10px; | ||
} | ||
|
||
nav ul { | ||
padding: 0; | ||
list-style-type: none; | ||
flex: 2; | ||
display: flex; | ||
} | ||
|
||
nav li { | ||
display: inline; | ||
text-align: center; | ||
flex: 1; | ||
} | ||
|
||
nav a { | ||
display: inline-block; | ||
font-size: 2rem; | ||
text-transform: uppercase; | ||
text-decoration: none; | ||
} | ||
|
||
nav form { | ||
flex: 1; | ||
display: flex; | ||
align-items: center; | ||
height: 100%; | ||
padding: 0 2em; | ||
} | ||
|
||
input { | ||
font-size: 1.6rem; | ||
height: 32px; | ||
} | ||
|
||
input[type="search"] { | ||
flex: 3; | ||
} | ||
|
||
input[type="submit"] { | ||
flex: 1; | ||
margin-left: 1rem; | ||
border: 0; | ||
} | ||
|
||
/* || main layout */ | ||
|
||
main { | ||
display: flex; | ||
} | ||
|
||
article { | ||
flex: 4; | ||
} | ||
|
||
aside { | ||
flex: 1; | ||
margin-left: 10px; | ||
} | ||
|
||
aside li { | ||
padding-bottom: 10px; | ||
} | ||
|
||
footer { | ||
margin-top: 10px; | ||
} | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html { | ||
font-size: 10px; | ||
background-color: #a9a9a9 ; | ||
} | ||
|
||
body { | ||
width: 70%; | ||
margin: 0 auto; | ||
} | ||
|
||
/* || typography */ | ||
|
||
h1, h2, h3 { | ||
font-family: 'Segoe UI', cursive; | ||
color: #2a2a2a; | ||
} | ||
|
||
p, input, li { | ||
font-family: 'Segoe UI', sans-serif; | ||
color: #2a2a2a; | ||
} | ||
|
||
h1 { | ||
font-size: 4rem; | ||
text-align: center; | ||
text-shadow: 2px 2px 10px black; | ||
} | ||
|
||
h2 { | ||
font-size: 3rem; | ||
text-align: center; | ||
} | ||
|
||
h3 { | ||
font-size: 2.2rem; | ||
} | ||
|
||
p, li { | ||
font-size: 1.6rem; | ||
line-height: 1.5; | ||
} | ||
|
||
/* || header layout */ | ||
|
||
nav, article, aside, footer { | ||
padding: 1%; | ||
} | ||
|
||
nav { | ||
height: 50px; | ||
display: flex; | ||
margin-bottom: 10px; | ||
} | ||
|
||
nav ul { | ||
padding: 0; | ||
list-style-type: none; | ||
flex: 2; | ||
display: flex; | ||
} | ||
|
||
nav li { | ||
display: inline; | ||
text-align: center; | ||
flex: 1; | ||
} | ||
|
||
nav a { | ||
display: inline-block; | ||
font-size: 2rem; | ||
text-transform: uppercase; | ||
text-decoration: none; | ||
color: black; | ||
} | ||
|
||
nav form { | ||
flex: 1; | ||
display: flex; | ||
align-items: center; | ||
height: 100%; | ||
padding: 0 2em; | ||
} | ||
|
||
input { | ||
font-size: 1.6rem; | ||
height: 32px; | ||
} | ||
|
||
input[type="search"] { | ||
flex: 3; | ||
} | ||
|
||
input[type="submit"] { | ||
flex: 1; | ||
margin-left: 1rem; | ||
background: #333; | ||
border: 0; | ||
color: white; | ||
} | ||
|
||
/* || main layout */ | ||
|
||
main { | ||
display: flex; | ||
} | ||
|
||
article { | ||
flex: 4; | ||
} | ||
|
||
aside { | ||
flex: 1; | ||
margin-left: 10px; | ||
} | ||
|
||
aside li { | ||
padding-bottom: 10px; | ||
} | ||
|
||
footer { | ||
margin-top: 10px; | ||
} |