SnapKit/css/main.scss

162 lines
3.0 KiB
SCSS
Executable File

---
---
@charset "utf-8";
@import "base";
body, html {
-webkit-font-smoothing: antialiased;
}
strong {
font-weight: 500;
}
pre {
border: rem-calc(1) solid #CCC;
border-radius: rem-calc(5);
background-color: #F7F7F7;
padding: rem-calc(8) rem-calc(12);
code {
color: #222;
background-color: transparent;
border: none;
margin: 0;
padding: 0;
}
}
#header {
width: 100%;
height: rem-calc(340);
text-align: center;
background-color: #444444;
@include background-image(linear-gradient(90deg, #00C7B5 0, #0056C7 100%));
#logo {
color: transparent;
text-indent: -99999px;
width: rem-calc(534);
height: rem-calc(128);
margin-top: rem-calc(90);
@include retina-image(/img/logo, rem-calc(534) rem-calc(128));
background-size: 100% 100%;
display: inline-block;
}
#nav {
margin-top: rem-calc(10);
ul {
list-style: none;
margin: 0;
padding: 0;
li {
display: inline-block;
margin: 0 rem-calc(5);
padding: rem-calc(6) rem-calc(24);
border: rem-calc(1) solid white;
border-radius: rem-calc(5);
min-width: rem-calc(80);
a {
color: white;
text-decoration: none;
text-transform: uppercase;
&:hover {
color: white;
}
}
}
}
}
}
#content-wrapper {
margin: rem-calc(40);
#content {
width: 100%;
max-width: rem-calc(960);
margin: 0 auto;
}
}
#page-home {
#top {
@include clearfix;
#info {
width: rem-calc(460);
margin-right: rem-calc(40);
float: left;
h2 {
font-weight: 300;
}
ul {
margin: rem-calc(20) 0;
li {
margin-bottom: rem-calc(20);
}
}
}
#example {
width: rem-calc(460);
float: left;
h6 {
margin: rem-calc(10) 0;
text-align: center;
font-size: rem-calc(11);
text-transform: uppercase;
font-weight: 300;
}
.box {
border: rem-calc(1) dashed black;
border-radius: rem-calc(5);
position: relative;
height: rem-calc(200);
span {
position: absolute;
display: block;
top: 1px;
left: 1px;
border-radius: rem-calc(5);
padding: rem-calc(3) rem-calc(7);
background-color: #EEE;
font-size: rem-calc(11);
line-height: rem-calc(11);
}
.box {
width: 50px;
height: 50px;
border-color: red;
position: absolute;
left: 50%;
top: 50%;
margin-left: -25px;
margin-top: -25px;
}
}
}
}
#get-started-btn {
margin: 0 auto;
margin-top: rem-calc(80);
padding: rem-calc(12) rem-calc(24);
display: block;
font-size: rem-calc(20);
font-weight: 300;
background: none;
border: 1px solid #444;
border-radius: rem-calc(5);
a {
text-decoration: none;
color: #444;
}
}
}