Improved pages style

This commit is contained in:
Pierre 2018-05-10 13:17:53 +02:00
parent 95b0ff36ec
commit 684242c3ca
3 changed files with 11 additions and 1 deletions

View File

@ -3,7 +3,7 @@ layout: default
--- ---
<!-- Post Header --> <!-- Post Header -->
<header id="header" class="intro-header bg-primary text-center" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')"> <header id="header" class="article-header intro-header bg-primary text-center" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">

9
_sass/_pages.scss Normal file
View File

@ -0,0 +1,9 @@
@media (min-width: 768px) {
.article-header {
min-height: 200px;
height: 100%;
max-height: 500px;
}
}

View File

@ -45,5 +45,6 @@ $theme-dark: #222;
"fonts", "fonts",
"mixins", "mixins",
"base", "base",
"pages",
"developer" "developer"
; ;