Commit 8d0391fd authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

full width for page layout

parent 0a0bbd82
<header class="site-header" role="banner">
<div class="wrapper">
<div>
{%- assign default_paths = site.pages | map: "path" -%}
{%- assign page_paths = site.header_pages | default: default_paths -%}
<img src="{{ '/assets/banner-' | relative_url }}{{site.banner}}.svg" type="image/svg+xml"></img>
......@@ -19,7 +19,7 @@
</span>
</label>
<div class="trigger">
<div class="wrapper trigger">
{%- assign my_pages = site.pages | sort:"order" -%}
{%- for my_page in my_pages -%}
......
......@@ -175,8 +175,6 @@ pre {
margin-right: auto;
margin-left: auto;
height: 100%;
padding-right: $spacing-unit;
padding-left: $spacing-unit;
@extend %clearfix;
position: relative;
background-color: $background-color;
......@@ -189,30 +187,11 @@ pre {
}
}
/**
* Wrapper
*/
.wrapper {
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
margin-right: auto;
margin-left: auto;
padding-right: $spacing-unit;
padding-left: $spacing-unit;
@extend %clearfix;
position: relative;
@include media-query($on-laptop) {
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
max-width: calc(#{$content-width} - (#{$spacing-unit}));
padding-right: $spacing-unit / 2;
padding-left: $spacing-unit / 2;
}
}
/**
* Clearfix
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment