Created
July 10, 2020 17:50
-
-
Save wesruv/6e5c9680711bc96a2a325a4cc0a4a3b8 to your computer and use it in GitHub Desktop.
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
body { | |
font: 400 1.125rem/1.3 'Titillium Web', Arial, sans-serif; | |
background: #888; | |
margin: 0; | |
padding: 0; | |
} | |
p { | |
line-height: 1.5; | |
} | |
/* Border box on main structural elements */ | |
header, | |
article, | |
aside, | |
footer, | |
div { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
a { | |
text-decoration: none; | |
} | |
a, | |
a:hover, | |
a:visited { | |
color: #1e32c8; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
h1 { | |
margin: 0; | |
padding: .5em 0 .8em; | |
font-size: 1.8em; | |
line-height: 1.2; | |
} | |
h3 { | |
margin: 0; | |
padding: .4em 0 0; | |
font-size: 1.1em; | |
} | |
header.main-header { | |
display: flex; | |
padding: 1em; | |
margin: 0 0 .8em; | |
background: #eee; | |
clear: both; | |
} | |
/** | |
* Header ------------------ | |
*/ | |
.header-logo { | |
display: flex; | |
background: white; | |
padding: 0; | |
border: 1px solid #aaa; | |
border-radius: .3em; | |
font-size: 1.5em; | |
} | |
.header-logo a { | |
display: flex; | |
align-items: center; | |
margin: 0; | |
padding: .5em .5em .5em; | |
font-size: 1.8em; | |
line-height: 1.2; | |
font-weight: bold; | |
line-height: 1; | |
color: #000; | |
text-shadow: 1px 1px 0 #fff, 2px 2px 0 #fff, 3px 3px 0 #ccc; | |
} | |
.header-logo img { | |
display: block; | |
width: 70px; | |
} | |
.main-header li { | |
font-size: 1.2em; | |
line-height: 1.8; | |
font-weight: 600; | |
} | |
.main-header .menu a { | |
color: black; | |
text-shadow: -2px -2px 0 #fff; | |
} | |
[id="primary"] { | |
display: flex; | |
} | |
[id="primary"] ul { | |
display: flex; | |
margin: 0; | |
padding: 0; | |
} | |
[id="primary"] li { | |
display: flex; | |
align-items: baseline; | |
margin: 2em 0 0; | |
padding: 0; | |
list-style: none; | |
} | |
[id="primary"] a { | |
padding: 0.5em 0.75em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment