Created
December 30, 2020 14:00
-
-
Save lucasreta/2d5aea1bb40ffb2ecd6021fb80584eb2 to your computer and use it in GitHub Desktop.
vanilla-spa
This file contains hidden or 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
* { | |
font-family: sans-serif; | |
} | |
body { | |
background-color: #eee; | |
} | |
header, main { | |
background-color: #fff; | |
border: 1px solid #ababab; | |
box-shadow: 1px 1px 0 rgba(0,0,0,.2); | |
border-radius: 4px; | |
max-width: 800px; | |
margin: 15px auto; | |
padding: 15px; | |
} | |
nav ul { | |
padding: 0; | |
list-style-type: none; | |
} | |
nav ul li { | |
display: inline-block; | |
margin-right: 5px; | |
} | |
nav ul li a { | |
padding: 8px 15px; | |
border: 2px solid black; | |
border-radius: 5px; | |
background-color: cornflowerblue; | |
color: #fff; | |
text-decoration: none; | |
font-weight: bolder; | |
text-transform: uppercase; | |
} | |
nav ul li a:hover, nav ul li a:active, nav ul li a:focus { | |
background-color: #1f66e5; | |
} | |
hr { | |
border-top: 1px solid #aaa; | |
margin: 15px 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment