Skip to content

Instantly share code, notes, and snippets.

@ollien
Created November 14, 2015 00:58
Show Gist options
  • Select an option

  • Save ollien/cd3b660e0315e9e26678 to your computer and use it in GitHub Desktop.

Select an option

Save ollien/cd3b660e0315e9e26678 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$black-color: #191919;
$highlight-color: #469FB3;
html, body {
width: 100%;
height: 100%;
}
header {
display: block;
margin-top: 0;
margin-left: auto;
margin-right: auto;
width: 900px;
height: 100px;
ul#headerList {
$horizontal-padding: 40px;
@media (max-width: 960px){
$horizontal-padding: 25px;
}
list-style: none;
font-family: 'Open Sans', Helvetica, sans-serif;
font-weight: bold;
font-size: 25px;
margin-top: 4px;
margin-left: auto;
margin-right: auto;
a.header-item {
display: block;
float: left;
color: $black-color;
margin-top: 28px;
padding-left: $horizontal-padding;
padding-right: $horizontal-padding;
border-bottom: 4px $black-color solid;
text-decoration: none;
}
a.header-item:hover, #blog-item{
color: $highlight-color;
border-bottom: 4px $highlight-color solid;
}
}
}
ul#posts-list {
list-style: none;
border-top: 0px;
}
html, body {
width: 100%;
height: 100%;
}
header {
display: block;
margin-top: 0;
margin-left: auto;
margin-right: auto;
width: 900px;
height: 100px;
}
header ul#headerList {
list-style: none;
font-family: 'Open Sans', Helvetica, sans-serif;
font-weight: bold;
font-size: 25px;
margin-top: 4px;
margin-left: auto;
margin-right: auto;
}
header ul#headerList a.header-item {
display: block;
float: left;
color: #191919;
margin-top: 28px;
padding-left: 25px;
padding-right: 25px;
border-bottom: 4px #191919 solid;
text-decoration: none;
}
header ul#headerList a.header-item:hover, header ul#headerList #blog-item {
color: #469FB3;
border-bottom: 4px #469FB3 solid;
}
ul#posts-list {
list-style: none;
border-top: 0px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment