Added image page stuff
This commit is contained in:
parent
8e47626282
commit
3ea46e6efa
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: "contentpage"
|
layout: "imgcontentpage"
|
||||||
title: "Blog"
|
title: "Blog"
|
||||||
icon: "pencil"
|
icon: "pencil"
|
||||||
order: 2
|
order: 2
|
||||||
|
@ -20,6 +20,7 @@ body{
|
|||||||
#header{
|
#header{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
#nav{
|
#nav{
|
||||||
|
margin-bottom: 10px;
|
||||||
>a{
|
>a{
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 2.7em;
|
font-size: 2.7em;
|
||||||
@ -53,12 +54,15 @@ body{
|
|||||||
transition: background-color 400ms, color 400ms;
|
transition: background-color 400ms, color 400ms;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
#lightcontent{
|
#lightcontent{
|
||||||
background-color: white;
|
background-color: white;
|
||||||
color: black;
|
color: black;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
margin-top: 20px;
|
box-shadow: 0px 20px 10px -10px #6d0000 inset, 0px -20px 10px -10px #6d0000 inset;
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 20px;
|
||||||
>div{
|
>div{
|
||||||
width: 80%;
|
width: 80%;
|
||||||
max-width: 1100px;
|
max-width: 1100px;
|
||||||
@ -67,6 +71,48 @@ body{
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#imgcontent{
|
||||||
|
>#headerimg{
|
||||||
|
width: 100%;
|
||||||
|
height: calc(100vh - 165px + 50px);
|
||||||
|
min-height: 350px;
|
||||||
|
box-shadow: 0px 50px 30px -30px #6d0000 inset, 0px -50px 30px -30px white inset;
|
||||||
|
@media(orientation: landscape), (min-width: 800px){
|
||||||
|
max-height: 50vh;
|
||||||
|
}
|
||||||
|
background:
|
||||||
|
linear-gradient(
|
||||||
|
rgba(0, 0, 0, 0.5),
|
||||||
|
rgba(0, 0, 0, 0.5)
|
||||||
|
),
|
||||||
|
url("/img/contact.jpg");
|
||||||
|
background-size: cover;
|
||||||
|
background-position: 50% 50%;
|
||||||
|
display: flex;
|
||||||
|
z-index: 10;
|
||||||
|
#headerdesc{
|
||||||
|
margin: auto;
|
||||||
|
color: white;
|
||||||
|
h1{
|
||||||
|
font-size: 3em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
>#maincontent{
|
||||||
|
width: 100%;
|
||||||
|
background-color: white;
|
||||||
|
color: black;
|
||||||
|
min-height: 100px;
|
||||||
|
display: block;
|
||||||
|
@media(min-width: 800px){
|
||||||
|
min-height: calc(50vh - 165px);
|
||||||
|
}
|
||||||
|
>div{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer{
|
#footer{
|
||||||
@ -93,10 +139,33 @@ body{
|
|||||||
|
|
||||||
.animations[data-slug="index"]{
|
.animations[data-slug="index"]{
|
||||||
>div{
|
>div{
|
||||||
animation-name: slideInRight;
|
animation-name: fadeIn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.animations #lightcontent{
|
.animations #lightcontent{
|
||||||
animation-name: slideInUp;
|
animation-name: slideInUp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.animations{
|
||||||
|
#headerimg{
|
||||||
|
//animation-name: fadeInUp;
|
||||||
|
}
|
||||||
|
#maincontent{
|
||||||
|
//animation-name: fadeInUpBig;
|
||||||
|
//animation-delay: 150ms;
|
||||||
|
}
|
||||||
|
#imgcontent{
|
||||||
|
animation-name: fadeInUp;
|
||||||
|
}
|
||||||
|
&.is-exiting{
|
||||||
|
#imgcontent{
|
||||||
|
animation-name: fadeOutDown;
|
||||||
|
animation-direction: normal;
|
||||||
|
}
|
||||||
|
#headerimg, #maincontent{
|
||||||
|
animation-name: none;
|
||||||
|
animation-duration: 0ms;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
BIN
src/files/img/contact.jpg
Normal file
BIN
src/files/img/contact.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
BIN
src/files/img/projects.jpg
Normal file
BIN
src/files/img/projects.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
@ -1,9 +1,13 @@
|
|||||||
---
|
---
|
||||||
layout: core.html
|
layout: core.html
|
||||||
---
|
---
|
||||||
|
<div id="imgcontent" class="animated">
|
||||||
<div id="lightcontent">
|
<div id="headerimg" class="animated">
|
||||||
<div>
|
<div id="headerdesc">
|
||||||
|
<h1><%- document.title %></h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="maincontent" class="animated">
|
||||||
<%- content %>
|
<%- content %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user