Skip to content

Instantly share code, notes, and snippets.

@lucasreta
Created December 30, 2020 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasreta/2d5aea1bb40ffb2ecd6021fb80584eb2 to your computer and use it in GitHub Desktop.
Save lucasreta/2d5aea1bb40ffb2ecd6021fb80584eb2 to your computer and use it in GitHub Desktop.
vanilla-spa
* {
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