website_template/src/scss/_defaults.scss

119 lines
1.5 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;
2015-07-27 12:25:14 +02:00
$font-serif: Droid Serif, Georgia, serif;
2014-07-29 02:02:33 +02:00
$font-mono: Courier, monospace;
2014-06-29 12:46:19 +02:00
/* Reset
--------------------------*/
2014-07-29 02:02:33 +02:00
*, *:before, *:after {
2014-08-19 03:36:43 +02:00
box-sizing: inherit;
padding: 0;
margin: 0;
2014-06-29 12:46:19 +02:00
}
html {
2014-08-19 03:36:43 +02:00
height: 100%;
box-sizing: border-box;
text-size-adjust: 100%;
2014-06-29 12:46:19 +02:00
}
2014-07-29 02:02:33 +02:00
/* Ideal Viewport-Fix for IE */
@-ms-viewport {
2014-08-19 03:36:43 +02:00
width: device-width;
2014-06-29 12:46:19 +02:00
}
/* Cleafix
--------------------------*/
.clearfix::before,
.clearfix::after {
2014-08-19 03:36:43 +02:00
content: " ";
display: table;
2014-06-29 12:46:19 +02:00
}
.clearfix::after {
2014-08-19 03:36:43 +02:00
clear: both;
2014-06-29 12:46:19 +02:00
}
.clearfix {
2014-08-19 03:36:43 +02:00
*zoom: 1;
2014-06-29 12:46:19 +02:00
}
2015-07-27 12:25:14 +02:00
/*
FLUIDITY v0.1.0
@mrmrs - http://mrmrs.cc
MIT
*/
2014-06-29 12:46:19 +02:00
2015-07-27 12:25:14 +02:00
@import "responsive-utilities";
2014-06-29 12:46:19 +02:00
/* Video-Container
--------------------------*/
.video {
2014-08-19 03:36:43 +02:00
position: relative;
height: 0;
padding-bottom: 56.25%;
2014-06-29 12:46:19 +02:00
2014-08-19 03:36:43 +02:00
& > * {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
2014-06-29 12:46:19 +02:00
}
/* Grid and stuff
--------------------------*/
.container {
2014-08-19 03:36:43 +02:00
margin: 0 auto;
/*max-width: 960px;
width: 90%;*/
2014-06-29 12:46:19 +02:00
}
.row {
2014-08-19 03:36:43 +02:00
overflow: hidden;
max-width: 960px;
margin: 0 auto;
2014-06-29 12:46:19 +02:00
}
.fullrow {
2014-08-19 03:36:43 +02:00
max-width: 100%;
2014-06-29 12:46:19 +02:00
}
.column {
2014-08-19 03:36:43 +02:00
float: left;
margin-left: 5%;
2014-06-29 12:46:19 +02:00
}
.column:first-child {
2014-08-19 03:36:43 +02:00
margin-left: 0;
2014-06-29 12:46:19 +02:00
}
.column.full {
2014-08-19 03:36:43 +02:00
width: 100%;
2014-06-29 12:46:19 +02:00
}
.column.three-fourth {
2014-08-19 03:36:43 +02:00
width: 63.75%;
2014-06-29 12:46:19 +02:00
}
.column.two-thirds {
2014-08-19 03:36:43 +02:00
width: 65%;
2014-06-29 12:46:19 +02:00
}
.column.half {
2014-08-19 03:36:43 +02:00
width: 47.5%;
2014-06-29 12:46:19 +02:00
}
.column.one-third {
2014-08-19 03:36:43 +02:00
width: 30%;
2014-06-29 12:46:19 +02:00
}
.column.one-fourth {
2014-08-19 03:36:43 +02:00
width: 21.25%;
2014-06-29 12:46:19 +02:00
}