198 lines
2.9 KiB
SCSS
198 lines
2.9 KiB
SCSS
/*----------------------------------------*\
|
|
Schwerkraftlabor.de | @Gehirnfussel
|
|
\*----------------------------------------*/
|
|
|
|
/* Imports
|
|
--------------------------*/
|
|
|
|
@import 'normalize';
|
|
@import 'defaults';
|
|
@import 'mixins';
|
|
/* @import 'font-awesome'; */
|
|
|
|
/* Content
|
|
--------------------------*/
|
|
|
|
html {
|
|
font-size: 62.5%;
|
|
height: 100%;
|
|
}
|
|
|
|
$linkcolor: #660000;
|
|
|
|
body {
|
|
background-color: #c9c9c9;
|
|
height: 100%;
|
|
color: #000;
|
|
font-family: $font-sans-serif;
|
|
font-size: 1.4rem; /* =14px */
|
|
@include font-smoothing(off);
|
|
}
|
|
h1, h2, h3 {
|
|
font-family: $font-sans-serif;
|
|
font-weight: 700;
|
|
line-height: 1.2em;
|
|
margin: 0.4em 0.0em;
|
|
}
|
|
h1 {
|
|
font-size: 2.0em;
|
|
word-break: break-all;
|
|
}
|
|
h2 {
|
|
font-size: 1.5em;
|
|
}
|
|
h3 {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
|
|
.wrapper {
|
|
width: 960px;
|
|
border-left: 1px solid #a2a2a2;
|
|
border-right: 1px solid #a2a2a2;
|
|
margin: 0 auto;
|
|
height: 100%;
|
|
}
|
|
|
|
@media screen {
|
|
a.external:after {
|
|
content: "\00A0" "[" "\2197" "]";
|
|
}
|
|
}
|
|
@media print {
|
|
a[href]:after {
|
|
content: " (" attr(href) ")";
|
|
}
|
|
}
|
|
|
|
/* Header
|
|
--------------------------*/
|
|
|
|
$headercolor: #3498e4;
|
|
|
|
.oben {
|
|
background-color: #f4f4f4;
|
|
border-bottom: lighten($headercolor, 20%) 3px solid;
|
|
}
|
|
.oben--logo {
|
|
display: block;
|
|
margin: 0 auto;
|
|
padding: 10px 0;
|
|
}
|
|
.oben--menu {
|
|
margin: 0 auto;
|
|
padding-bottom: 16px;
|
|
list-style: none;
|
|
letter-spacing: -0.31em;
|
|
text-align: center;
|
|
}
|
|
.oben--menu--item {
|
|
display: inline-block;
|
|
letter-spacing: normal;
|
|
background-color: #fff;
|
|
border: 1px solid $headercolor;
|
|
font-size: 1.2rem;
|
|
|
|
a {
|
|
display: inline-block;
|
|
color: #3498e4;
|
|
padding: 4px 20px;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
background-color: lighten($headercolor, 35%);
|
|
border-radius: inherit;
|
|
}
|
|
}
|
|
|
|
&:first-child{
|
|
border-top-left-radius: 6px;
|
|
border-bottom-left-radius: 6px;
|
|
}
|
|
&:last-child{
|
|
border-top-right-radius: 6px;
|
|
border-bottom-right-radius: 6px;
|
|
}
|
|
}
|
|
.oben--menu--item__active a {
|
|
background-color: $headercolor;
|
|
color: #fff;
|
|
&:hover {
|
|
background-color: $headercolor;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Content
|
|
--------------------------*/
|
|
|
|
main {
|
|
background-color: #eee;
|
|
height: 100%;
|
|
}
|
|
|
|
|
|
|
|
.fa {
|
|
margin-right: 0.3em;
|
|
speak: none; /* Won't speak the symbol | badly supported by browsers */
|
|
}
|
|
|
|
.button {
|
|
text-overflow: ellipsis; // Overflow = "..."
|
|
}
|
|
|
|
|
|
|
|
/* 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%;
|
|
}
|
|
}
|
|
|
|
@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%;
|
|
}
|
|
|
|
}
|