hippie/source/style/elements/_sections.scss

164 lines
2.1 KiB
SCSS
Raw Normal View History

// Document
// -----------------------------------------------------------------------------
html {
height: 100%;
}
// Basic sections
// -----------------------------------------------------------------------------
body {
position: relative;
2017-08-17 19:47:06 +02:00
box-sizing: $box_sizing;
font-family: $primary_font_family;
font-size: $basic_size;
line-height: $basic_line;
color: $basic_font_color;
background-color: $basic_back_color;
2017-08-17 19:47:06 +02:00
2017-01-12 20:53:18 +01:00
*,
::before,
::after {
box-sizing: inherit;
}
2017-09-01 15:32:07 +02:00
&:hover {
2017-09-01 15:32:07 +02:00
.layer__hover {
background-color: transparent;
}
}
}
article {
}
section {
}
.sec__main_center {
width: $basic_width;
2017-09-01 15:32:07 +02:00
margin: 0 auto;
padding-top: $space_3;
2017-09-18 16:58:53 +02:00
@include forTabletPortraitUp {
width: $width_small;
}
2017-09-18 16:58:53 +02:00
@include forTabletLandscapeUp {
width: $width_medium;
}
@include forBigDesktopUp {
width: $width_large;
}
2016-12-09 10:39:49 +01:00
}
2017-09-28 01:12:52 +02:00
.sec__main_status {
@extend .sec__main_center;
position: relative;
border-top-width: $border_width_8;
border-top-style: solid;
border-color: $basic_border_color;
padding-top: $space_3;
}
aside {
2017-09-01 15:32:07 +02:00
&.right + section {
margin-right: calc(#{$basic_aside_width} + #{$basic_space});
}
&.left + section {
margin-left: calc(#{$basic_aside_width} + #{$basic_space});
}
2016-12-08 23:22:56 +01:00
}
nav {
}
aside {
2016-12-08 23:22:56 +01:00
width: $basic_aside_width;
2017-09-01 15:32:07 +02:00
2016-12-08 23:22:56 +01:00
&.left {
float: left;
}
2017-09-01 15:32:07 +02:00
2016-12-08 23:22:56 +01:00
&.right {
float: right;
}
2017-09-18 16:58:53 +02:00
2016-12-08 23:22:56 +01:00
*:first-child {
margin-top: 0;
}
}
header {
}
.header__page {
overflow: auto;
}
2017-09-29 00:28:56 +02:00
.header__txt {
margin-bottom: $space_3;
border-bottom: $dotted_border;
h1 {
border-top: $basic_border;
}
}
footer {
}
// Headings
// -----------------------------------------------------------------------------
2016-12-08 23:22:56 +01:00
h1, h2, h3, h4, h5, h6 {
}
h1 {
@extend %head_1;
margin: $space_5 0 $space_3;
}
h2 {
@extend %head_2;
margin: $space_4 0 $space_3;
}
h3 {
@extend %head_3;
2017-08-23 11:25:00 +02:00
margin: $double_space 0 $double_space;
text-transform: uppercase;
}
h4 {
@extend %head_3;
2017-08-23 11:25:00 +02:00
margin: $double_space 0 $double_space;
text-transform: none;
}
h5 {
@extend %head_4;
2017-08-23 11:25:00 +02:00
margin: $double_space 0 $basic_space;
text-transform: none;
}
h6 {
@extend %basic;
margin: $basic_space 0;
text-transform: none;
font-weight: bold;
}