website_template/css/main.css
2014-06-29 12:46:19 +02:00

221 lines
4.3 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*----------------------------------------*\
Schwerkraftlabor.de | @Gehirnfussel
\*----------------------------------------*/
/* Imports
--------------------------*/
/* @import 'normalize'; */
/* @import 'font-awesome'; */
/* Vars
--------------------------*/
/* Reset
--------------------------*/
*, *::before, *::after {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0; }
html {
height: 100%; }
.fa {
margin-right: 0.3em;
speak: none;
/* Won't speak the symbol */ }
/* 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%; }
/* 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%; }
/* Content
--------------------------*/
body {
color: #000;
font-family: 'Open Sans', 'Calibri', 'Helvetica', 'Arial', sans-serif;
font-size: 12pt;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
h1, h2, h3 {
font-family: 'Open Sans', 'Calibri', 'Helvetica', 'Arial', sans-serif;
font-weight: 700;
line-height: 1.2em;
margin: 0.4em 0em; }
h1 {
font-size: 2em;
word-break: break-all; }
h2 {
font-size: 1.5em; }
h3 {
font-size: 1.25em; }
p {
line-height: 1.45em;
padding: 0.5em 0; }
ul li {
margin: 0.3em 0em 0.3em 0.5em;
list-style-position: inside;
list-style-type: square;
font-size: 1em; }
ul li p {
padding-left: 1em; }
a {
color: #660000;
-webkit-transition: color 0.2s ease;
transition: color 0.2s ease; }
a:hover, a:active, a:focus {
color: #b30000; }
a:active {
position: relative;
top: 1px; }
a.notdown:active {
position: inherit; }
@media screen {
a.external:after {
content: "\00A0" "[" "\2197" "]"; } }
/* Header
--------------------------*/
#instantclick-bar {
background: #f00; }
.logo {
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: auto;
margin: 1em;
font-size: 8pt;
font-weight: 700; }
.logo::before {
background: -webkit-linear-gradient(top, black 0%, black 33%, red 33%, red 66%, #ffd800 66%, #ffe100 100%);
background: linear-gradient(to bottom, black 0%, black 33%, red 33%, red 66%, #ffd800 66%, #ffe100 100%);
width: 4px;
float: left;
height: 7em;
content: " "; }
.logo::after {
clear: both;
display: table;
content: " "; }
.logo p {
padding-left: 1em;
padding-top: 0; }
/* Content
--------------------------*/
.about {
position: absolute;
top: 45%;
left: 45%;
font-weight: bold;
font-family: 'Open Sans', 'Calibri', 'Helvetica', 'Arial', sans-serif; }
.about::before {
content: "(#)";
padding-right: 0.2em; }
/* Footer
--------------------------*/
/* Responsive Stuff
--------------------------*/
@media screen and (max-width: 768px) {
.column.full, .column.three-fourth, .column.two-thirds, .column.half {
float: none;
margin: 0;
width: 100%; }
.column.one-third, .column.one-fourth {
float: left;
margin: 0;
width: 50%;
padding: 0.4em; } }
@media screen and (max-width: 568px) {
.column.one-third, .column.two-third {
float: none;
margin: 0;
width: 100%; }
.wr_topbar {
font-size: 10.5pt; }
.wr_infobar ul li {
width: 33%;
padding: 0.2em; }
.wr_infobar ul li a {
padding: 0.7em 0.5em; }
.wr_infobar img {
height: 70px;
width: 222px; } }
@media screen and (max-width: 480px) {
.column.one-third, .column.one-fourth, .column.full, .column.three-fourth, .column.two-thirds, .column.half, .column.full {
float: left;
margin: 0;
width: 100%; }
.wr_infobar ul li {
width: 50%;
padding: 0.1em;
text-transform: none; }
.wr_footer ul li {
width: 48%;
padding: 0.3em;
margin: 1%; } }