hippie/source/style/hippie/elements/_sections.scss
Stephan 8b81ed92e1 demo.5
* removed double underscore (__) separators in class names
* more LF CR to LF
* new scss config variables
* some little style changes
2018-10-01 21:10:58 +02:00

181 lines
2.2 KiB
SCSS

// Root
// -----------------------------------------------------------------------------
html {
height: 100%;
}
// Sections
// -----------------------------------------------------------------------------
// body
// article
// section
// nav
// aside
// h1-h6
// header
// footer
// Body
body {
position: relative;
box-sizing: $box_sizing;
font-family: $primary_font_family;
font-size: $basic_size;
line-height: $basic_line;
line-height: $text_line_basic;
color: $basic_font_color;
background-color: $basic_back_color;
*,
::before,
::after {
box-sizing: inherit;
}
&:hover {
.layer_hover {
background-color: transparent !important;
transition: background-color $double_duration $basic_timing 0s !important;
}
}
}
// Article
article {
}
// Section
section {
}
.sec_main_center {
width: $basic_width;
margin: 0 auto;
padding-top: $space_3;
@include forTabletPortraitUp {
width: $width_small;
}
@include forTabletLandscapeUp {
width: $width_medium;
}
@include forBigDesktopUp {
width: $width_large;
}
}
.sec_main_status {
border-top-width: $border_width_8;
border-top-style: solid;
border-color: $basic_border_color;
padding-top: $space_3;
}
// Navigation
nav {
}
// Aside element
aside {
width: $basic_aside_width;
&.right + .bside {
margin-right: calc(#{$basic_aside_width} + #{$basic_space});
}
&.left + .bside {
margin-left: calc(#{$basic_aside_width} + #{$basic_space});
}
&.left {
float: left;
}
&.right {
float: right;
}
*:first-child {
margin-top: 0;
}
}
// Headings
h1, h2, h3, h4, h5, h6 {
}
h1 {
@extend %head_1;
margin: $space_5 0 $space_3;
}
h1 + h1 {
margin-top: 0;
}
h2 {
@extend %head_2;
margin: $space_4 0 $space_3;
}
h2 + h2 {
margin-top: 0;
}
h3 {
@extend %head_3;
margin: $double_space 0;
text-transform: uppercase;
}
h4 {
@extend %head_3;
margin: $double_space 0;
text-transform: none;
}
h5 {
@extend %head_4;
margin: $double_space 0 $basic_space;
text-transform: none;
}
h6 {
@extend %basic;
margin: $basic_space 0;
text-transform: none;
font-weight: bold;
}
// Header
header {
}
.header_page {
overflow: auto;
}
.header_txt {
margin-bottom: $space_3;
border-bottom: $dotted_border;
h1 {
border-top: $basic_border;
}
}
// Footer
footer {
}