265 lines
4.0 KiB
SCSS
265 lines
4.0 KiB
SCSS
|
/*----------------------------------------*\
|
||
|
Schwerkraftlabor.de | @Gehirnfussel
|
||
|
\*----------------------------------------*/
|
||
|
|
||
|
/* Imports
|
||
|
--------------------------*/
|
||
|
|
||
|
/* @import 'normalize'; */
|
||
|
/* @import 'font-awesome'; */
|
||
|
@import 'mixins';
|
||
|
@import 'defaults';
|
||
|
|
||
|
/* Content
|
||
|
--------------------------*/
|
||
|
|
||
|
$greybackground: #404040;
|
||
|
$whitebackground: #eeeeee;
|
||
|
$linkcolor: #8d3812;
|
||
|
|
||
|
body {
|
||
|
color: #1e1e1e;
|
||
|
background: $whitebackground;
|
||
|
font-family: $font-sans-serif;
|
||
|
font-size: 12pt;
|
||
|
@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;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
font-size: 1.7em;
|
||
|
}
|
||
|
}
|
||
|
h2 {
|
||
|
font-size: 1.5em;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
font-size: 1.4em;
|
||
|
}
|
||
|
}
|
||
|
h3 {
|
||
|
font-size: 1.25em;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
font-size: 1.2em;
|
||
|
}
|
||
|
}
|
||
|
p {
|
||
|
line-height: 1.6em;
|
||
|
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;
|
||
|
|
||
|
p {
|
||
|
padding-left: 1em;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
a {
|
||
|
color: $linkcolor;
|
||
|
@include transition(color 0.2s ease);
|
||
|
&:hover, &:active, &:focus{
|
||
|
color: lighten($linkcolor, 15%);
|
||
|
}
|
||
|
&:active {
|
||
|
position: relative;
|
||
|
top: 1px;
|
||
|
}
|
||
|
}
|
||
|
a.notdown {
|
||
|
&:active {
|
||
|
position: inherit;
|
||
|
}
|
||
|
}
|
||
|
/*
|
||
|
@media screen {
|
||
|
a.external:after {
|
||
|
content: "\00A0" "[" "\2197" "]";
|
||
|
}
|
||
|
}
|
||
|
*/
|
||
|
|
||
|
/* Header
|
||
|
--------------------------*/
|
||
|
|
||
|
.menu {
|
||
|
background: lighten($greybackground, 10%);
|
||
|
border-bottom: darken($greybackground, 30%) 1px solid;
|
||
|
font-size: 1.2em;
|
||
|
width: 100%;
|
||
|
padding: .6em;
|
||
|
color: #ddd;
|
||
|
z-index: 100;
|
||
|
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
font-size: 1em;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Content
|
||
|
--------------------------*/
|
||
|
|
||
|
.seperator {
|
||
|
position: relative;
|
||
|
.bg {
|
||
|
background-size: cover !important;
|
||
|
margin: 0 auto;
|
||
|
padding: 0;
|
||
|
position: absolute;
|
||
|
width: 100%;
|
||
|
|
||
|
@media only screen and (min-width: 980px) {
|
||
|
background-attachment: fixed !important;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.seperator1 {
|
||
|
height: 517px;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
height: 276px;
|
||
|
}
|
||
|
.bg {
|
||
|
height: 517px;
|
||
|
background: url(../img/trees.jpg) repeat center;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
height: 276px;
|
||
|
background-image: url(../img/trees_640.jpg);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.seperator2 {
|
||
|
height: 440px;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
height: 235px;
|
||
|
}
|
||
|
.bg {
|
||
|
height: 440px;
|
||
|
background: url(../img/code.jpg) repeat center;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
height: 235px;
|
||
|
background-image: url(../img/code_640.jpg);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.seperator3 {
|
||
|
height: 435px;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
height: 232px;
|
||
|
}
|
||
|
.bg {
|
||
|
height: 435px;
|
||
|
background: url(../img/breakfast.jpg) repeat center;
|
||
|
@media only screen and (max-width: 640px) {
|
||
|
height: 232px;
|
||
|
background-image: url(../img/breakfast_640.jpg);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
.text {
|
||
|
margin: 1em;
|
||
|
|
||
|
h1 {
|
||
|
font-family: 'Merriweather', serif;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
/* 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;
|
||
|
|
||
|
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%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|