Viewing file: demo.css (2.07 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
@font-face {
font-family: 'codropsicons';
src:url('../fonts/codropsicons/codropsicons.eot');
src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
url('../fonts/codropsicons/codropsicons.woff') format('woff'),
url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background: #fb887c;
color: #fff;
font-family: 'Lato', Arial, sans-serif;
}
a {
color: #fff;
opacity: 0.7;
text-decoration: none;
}
a:hover, a:focus {
opacity: 1;
}
.container > header {
margin: 0 auto;
padding: 4em 2em;
text-align: center;
background: rgba(0,0,0,.05);
}
.container > header h1 {
font-size: 2.625em;
line-height: 1.3;
margin: 0;
font-weight: 300;
}
.container > header span {
display: block;
font-size: 60%;
color: rgba(0,0,0,.2);
font-weight: 400;
padding: 0 0 0.6em 0.1em;
}
section {
padding: 7em 0;
}
section:nth-child(even) {
background: rgba(0,0,0,.05);
}
section.related {
text-align: center;
font-size: 1.6em;
}
.related p {
margin: 0;
padding: 1.1em;
}
/* To Navigation Style */
.codrops-top {
text-transform: uppercase;
width: 100%;
font-size: 0.69em;
line-height: 2.2;
font-weight: 700;
}
.codrops-top a {
text-decoration: none;
padding: 0 1em;
letter-spacing: 0.1em;
display: inline-block;
}
.codrops-top span.right {
float: right;
}
.codrops-top span.right a {
float: left;
display: block;
}
.codrops-icon:before {
font-family: 'codropsicons';
margin: 0 4px;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
.codrops-icon-drop:before {
content: "\e001";
}
.codrops-icon-prev:before {
content: "\e004";
}
@media screen and (max-width: 25em) {
.codrops-icon span {
display: none;
}
}
|