153 lines
2.8 KiB
CSS
Executable File

/* General Demo Style */
@import url(https://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;
}
*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0;}
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
body {
font-family: 'Lato', Calibri, Arial, sans-serif;
color: #333;
background: #FFF;
font-weight: normal;
overflow-x: hidden;
}
a {
color: #888;
text-decoration: none;
}
a:hover,
a:active {
color: #333;
}
/* Header Style */
.main,
.container > header {
margin: 0 auto;
padding: 2em;
}
.container > header {
text-align: center;
background: rgba(0,0,0,0.01);
}
.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: #b14943;
padding: 0 0 0.6em 0.1em;
}
/* Main Content */
.main {
max-width: 50em;
}
/* To Navigation Style */
.codrops-top {
position: fixed;
left: 0;
right: 0;
z-index: 1;
display: block;
background-image: url('https://humanlink.files.wordpress.com/2008/10/picture-141.png');
width: 100%;
height: 100%;
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
-o-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
.codrops-top a {
padding: 0 1em;
letter-spacing: 0.1em;
color: #E96D65;
font-weight: 700;
display: inline-block;
}
.codrops-top a:hover {
background: rgba(255,255,255,0.5);
color: #bd4a43;
}
.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";
}
.codrops-icon-archive:before {
content: "\e002";
}
.codrops-icon-next:before {
content: "\e000";
}
.codrops-icon-about:before {
content: "\e003";
}
@media screen and (max-width: 25em) {
.codrops-icon span {
display: none;
}
}.no-js .nl-blurred .container.demo-1 .content p img {
font-size: 18%;
}