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
0a0bbd82
Commit
0a0bbd82
authored
Mar 20, 2018
by
Yohan Jarosz
Browse files
add random overlay
parent
e42bf2a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
_layouts/default.html
View file @
0a0bbd82
...
...
@@ -5,16 +5,17 @@
<body>
{%- include header.html -%}
<div
class=
"main"
>
{%- include header.html -%}
<main
class=
"page-content"
aria-label=
"Content"
>
<div
class=
"wrapper"
>
{{ content }}
</div>
</main>
{%- include footer.html -%}
<main
class=
"page-content"
aria-label=
"Content"
>
<div
class=
"wrapper"
>
{{ content }}
</div>
</main>
{%- include footer.html -%}
</div>
</body>
</html>
_sass/minima/_base.scss
View file @
0a0bbd82
...
...
@@ -8,7 +8,9 @@ dl, dd, ol, ul, figure {
padding
:
0
;
}
html
,
body
{
height
:
100%
;
}
/**
* Basic styling
...
...
@@ -16,13 +18,13 @@ dl, dd, ol, ul, figure {
body
{
font
:
$base-font-weight
#{
$base-font-size
}
/
#{
$base-line-height
}
$base-font-family
;
color
:
$text-color
;
background-color
:
$background-color
;
-webkit-text-size-adjust
:
100%
;
-webkit-font-feature-settings
:
"kern"
1
;
-moz-font-feature-settings
:
"kern"
1
;
-o-font-feature-settings
:
"kern"
1
;
font-feature-settings
:
"kern"
1
;
font-kerning
:
normal
;
background
:
url('bg-overlay.svg')
}
...
...
@@ -167,6 +169,26 @@ pre {
}
.main
{
max-width
:
-webkit-calc
(
#{
$content-width
}
-
(
#{
$spacing-unit
}
*
2
));
max-width
:
calc
(
#{
$content-width
}
-
(
#{
$spacing-unit
}
*
2
));
margin-right
:
auto
;
margin-left
:
auto
;
height
:
100%
;
padding-right
:
$spacing-unit
;
padding-left
:
$spacing-unit
;
@extend
%clearfix
;
position
:
relative
;
background-color
:
$background-color
;
@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
;
}
}
/**
* Wrapper
...
...
@@ -250,3 +272,6 @@ table {
border
:
1px
solid
$grey-color-light
;
}
}
assets/bg-overlay.svg
0 → 100644
View file @
0a0bbd82
<svg
xmlns=
'http://www.w3.org/2000/svg'
width=
'20'
height=
'12'
viewBox=
'0 0 20 12'
><g
fill-rule=
'evenodd'
><g
id=
'charlie-brown'
fill=
'%239C92AC'
fill-opacity=
'0.07'
><path
d=
'M9.8 12L0 2.2V.8l10 10 10-10v1.4L10.2 12h-.4zm-4 0L0 6.2V4.8L7.2 12H5.8zm8.4 0L20 6.2V4.8L12.8 12h1.4zM9.8 0l.2.2.2-.2h-.4zm-4 0L10 4.2 14.2 0h-1.4L10 2.8 7.2 0H5.8z'
/></g></g></svg>
\ No newline at end of file
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