Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Miroslav Kratochvil
jekyll-theme-lcsb-default
Commits
8d0391fd
Commit
8d0391fd
authored
Mar 20, 2018
by
Yohan Jarosz
Browse files
full width for page layout
parent
0a0bbd82
Changes
2
Hide whitespace changes
Inline
Side-by-side
_includes/header.html
View file @
8d0391fd
<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 -%}
...
...
_sass/minima/_base.scss
View file @
8d0391fd
...
...
@@ -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
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment