Website_Jastrow.me/css/main.scss

119 lines
1.6 KiB
SCSS
Raw Normal View History

2014-03-25 18:18:06 +01:00
/* Imports
--------------------------*/
@import 'normalize';
@import 'mixins';
/*@import 'font-awesome';*/
@import 'defaults';
/* Content
--------------------------*/
body {
background-color: #f3f3f3;
color: #505050;
font-family: $font-sans-serif;
}
h1, h2, h3 {
font-family: $font-sans-serif;
font-weight: 700;
line-height: 1.2em;
margin: 0.4em 0em;
}
p {
line-height: 1.4em;
padding: 0.5em 0;
}
ul {
li {
list-style: disc;
margin-left: 1.5em;
list-style-position: inside;
font-size: 1em;
}
}
$linkcolor: rgba(207, 0, 0, 1.0);
a {
color: $linkcolor;
@include transition(color 0.2s ease);
&:hover, &:active, &:focus{
color: lighten($linkcolor, 10%);
}
}
.red {
color: #ff0000;
}
.big {
font-size: 1.5em;
}
.bold {
font-weight: 700;
}
.small {
font-size: 0.8em;
}
/* Header
--------------------------*/
#instantclick-bar {
background: #ff0000;
}
h1, h2 {
font-family: $font-serif;
text-align: center;
}
h1 {
font-size: 3em;
}
h2 {
font-size: 1.7em;
}
h3 {
font-family: $font-mono;
}
/* Content
--------------------------*/
.container {
font-family: $font-mono;
}
table tbody {
td {
padding: 0.3em 0;
&:nth-child(odd) {
padding-right: 0.7em;
}
}
}
/* Responsive Stuff
--------------------------*/
@media screen and (max-width: 980px) {
.column.full,
.column.two-thirds,
.column.half {
float: none;
margin: 0;
width: 100%;
}
.column.one-third,
.column.one-fourth {
float: left;
margin: 0;
width: 50%;
}
}
@media screen and (max-width: 480px) {
.column.one-third,
.column.one-fourth {
float: left;
margin: 0;
width: 100%;
}
}