ADD blocker for moving content lower when there is a header, CHANGE cover image display
This commit is contained in:
parent
e03ec741e6
commit
ee4ea66012
3 changed files with 8 additions and 17 deletions
|
@ -106,18 +106,6 @@ img {
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
|
||||||
align-self: center;
|
|
||||||
padding-top: 3rem;
|
|
||||||
width: 100%;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content p img {
|
|
||||||
width: 100%;
|
|
||||||
// height: 500px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.divider {
|
.divider {
|
||||||
height: 3px;
|
height: 3px;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
|
@ -174,7 +162,7 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding-top: 9rem;
|
padding-top: 2rem;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
padding-right: 1.5rem;
|
padding-right: 1.5rem;
|
||||||
padding-left: 1.5rem;
|
padding-left: 1.5rem;
|
||||||
|
@ -185,6 +173,10 @@ img {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content p img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.notfound {
|
.notfound {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-right: 1.5rem;
|
padding-right: 1.5rem;
|
||||||
|
@ -590,9 +582,9 @@ button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.coverimage {
|
.coverimage {
|
||||||
height: 60vh;
|
height: auto;
|
||||||
|
max-height: 80vh;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
padding-top: 68px;
|
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
</div>
|
</div>
|
||||||
{{ else if .Params.header.enabled }}
|
|
||||||
<div class="header-blocker"></div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- range $index, $page := .Pages }}
|
{{- range $index, $page := .Pages }}
|
||||||
{{ $odd := mod $index 2 }}
|
{{ $odd := mod $index 2 }}
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a href="javascript:void(0);" id="menu-icon" class="menu-icon" onclick="unfoldHeader()">☰</a>
|
<a href="javascript:void(0);" id="menu-icon" class="menu-icon" onclick="unfoldHeader()">☰</a>
|
||||||
</header>
|
</header>
|
||||||
|
<div class="header-blocker"></div>
|
||||||
<script src="/js/header.js"></script>
|
<script src="/js/header.js"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<script src="/js/progress.js"></script>
|
<script src="/js/progress.js"></script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue