Created
July 22, 2014 15:39
-
-
Save JFernandoGomez/80ecb71013ce141b9138 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<!DOCTYPE html> | |
<head> | |
<link rel='stylesheet' href='' type=> | |
</head> | |
<body> | |
<section> | |
<header> | |
<nav> | |
<ul> | |
<li><a href="">Home</a></li> | |
<li><a href="http://google.com.mx">Google</a></li> | |
<li><a href="site.html">Site</a></li> | |
<li><a href="">Self</a></li> | |
</ul> | |
</nav> | |
</header> | |
</section> | |
</body> | |
</html> |
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
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
/* Welcome to Compass. | |
* In this file you should write your main styles. (or centralize your imports) | |
* Import this file using the following HTML or equivalent: | |
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */ | |
@import "compass/reset"; | |
$width: 980px; | |
$wrapper_width: 1010px; | |
body { | |
color: #FF0; | |
} | |
@mixin center_margin(){ | |
position: relative; | |
margin-left: auto; | |
margin-right: auto; | |
width: $wrapper_width; | |
} | |
section { | |
@include center_margin(); | |
} | |
header { | |
width: $width; | |
height: 80px; | |
nav { | |
ul { | |
list-style: none; | |
padding: none; | |
margin: none; | |
display: block; | |
} | |
li { | |
float: left; | |
margin: 0 5px; | |
a { | |
text-decoration: none; | |
} | |
a:hover{ | |
color:#F00; | |
} | |
} | |
} | |
} | |
@mixin border-radius($radius) { | |
-moz-border-radius: $radius; | |
-webkit-border-radius: $radius; | |
-ms-border-radius: $radius; | |
border-radius: $radius; | |
@if $width >= 980 { | |
background-color: #DEDE85; | |
} @else { | |
background-color: #ffffff; | |
} | |
} | |
li { | |
width: $width/5 - 10px; | |
padding: 20px; | |
@include border-radius(5px); | |
margin-top: 10px; | |
} | |
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
/* Welcome to Compass. | |
* In this file you should write your main styles. (or centralize your imports) | |
* Import this file using the following HTML or equivalent: | |
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, embed, | |
figure, figcaption, footer, header, hgroup, | |
menu, nav, output, ruby, section, summary, | |
time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
font: inherit; | |
font-size: 100%; | |
vertical-align: baseline; | |
} | |
html { | |
line-height: 1; | |
} | |
ol, ul { | |
list-style: none; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
caption, th, td { | |
text-align: left; | |
font-weight: normal; | |
vertical-align: middle; | |
} | |
q, blockquote { | |
quotes: none; | |
} | |
q:before, q:after, blockquote:before, blockquote:after { | |
content: ""; | |
content: none; | |
} | |
a img { | |
border: none; | |
} | |
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { | |
display: block; | |
} | |
body { | |
color: #FF0; | |
} | |
section { | |
position: relative; | |
margin-left: auto; | |
margin-right: auto; | |
width: 1010px; | |
} | |
header { | |
width: 980px; | |
height: 80px; | |
} | |
header nav ul { | |
list-style: none; | |
padding: none; | |
margin: none; | |
display: block; | |
} | |
header nav li { | |
float: left; | |
margin: 0 5px; | |
} | |
header nav li a { | |
text-decoration: none; | |
} | |
header nav li a:hover { | |
color: #F00; | |
} | |
li { | |
width: 186px; | |
padding: 20px; | |
-moz-border-radius: 5px; | |
-webkit-border-radius: 5px; | |
-ms-border-radius: 5px; | |
border-radius: 5px; | |
background-color: #DEDE85; | |
margin-top: 10px; | |
} |
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
<!DOCTYPE html> | |
<head> | |
<link rel='stylesheet' href='' type=> | |
</head> | |
<body> | |
<section> | |
<header> | |
<nav> | |
<ul> | |
<li><a href="">Home</a></li> | |
<li><a href="http://google.com.mx">Google</a></li> | |
<li><a href="site.html">Site</a></li> | |
<li><a href="">Self</a></li> | |
</ul> | |
</nav> | |
</header> | |
</section> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment