Website_Jastrow.me/css/main.scss

132 lines
1.7 KiB
SCSS

/* Imports
--------------------------*/
@import 'normalize';
@import 'mixins';
@import 'defaults';
/*
@import 'fluidity';
@import 'font-awesome';
*/
/* Content
--------------------------*/
body {
background-color: #ffd4a2;
color: #683800;
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: 0.3em 0em 0.3em 0.5em;
list-style-position: inside;
list-style-type:square;
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;
}
.bobble {
width: 100%;
text-align: center;
img {
margin: 10px auto 0;
width: 200px;
}
}
/* Content
--------------------------*/
.container {
font-family: $font-mono;
margin-bottom: 2em;
}
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%;
}
}