website_template/scss/_defaults.scss

116 lines
1.4 KiB
SCSS
Raw Normal View History

2014-06-29 12:46:19 +02:00
/* Vars
--------------------------*/
2014-07-29 02:02:33 +02:00
$font-sans-serif: Open Sans, Helvetica, Arial, sans-serif;
$font-serif: Georgia, serif;
$font-mono: Courier, monospace;
2014-06-29 12:46:19 +02:00
/* Reset
--------------------------*/
2014-07-29 02:02:33 +02:00
*, *:before, *:after {
box-sizing: inherit;
2014-06-29 12:46:19 +02:00
padding: 0;
margin: 0;
}
html {
height: 100%;
2014-07-29 02:02:33 +02:00
box-sizing: border-box;
2014-06-29 12:46:19 +02:00
}
2014-07-29 02:02:33 +02:00
/* Ideal Viewport-Fix for IE */
@-ms-viewport {
width: device-width;
2014-06-29 12:46:19 +02:00
}
/* Cleafix
--------------------------*/
.clearfix::before,
.clearfix::after {
content: " ";
display: table;
}
.clearfix::after {
clear: both;
}
.clearfix {
*zoom: 1;
}
/* FLUIDITY v0.1.0
@mrmrs - http://mrmrs.cc MIT
--------------------------*/
img, canvas, iframe, video, svg { max-width: 100%; }
/* Video-Container
--------------------------*/
.video {
position: relative;
height: 0;
padding-bottom: 56.25%;
& > * {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
}
/* Grid and stuff
--------------------------*/
.container {
margin: 0 auto;
/*max-width: 960px;
width: 90%;*/
}
.row {
overflow: hidden;
max-width: 960px;
margin: 0 auto;
}
.fullrow {
max-width: 100%;
}
.column {
float: left;
margin-left: 5%;
}
.column:first-child {
margin-left: 0;
}
.column.full {
width: 100%;
}
.column.three-fourth {
width: 63.75%;
}
.column.two-thirds {
width: 65%;
}
.column.half {
width: 47.5%;
}
.column.one-third {
width: 30%;
}
.column.one-fourth {
width: 21.25%;
}