-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from Nevah5/develop
Release v0.7.6
- Loading branch information
Showing
18 changed files
with
508 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,19 @@ | ||
<?php | ||
|
||
/** | ||
* The template for displaying 404 page. | ||
* | ||
* @copyright Copyright (c) 2020, Danny Cooper | ||
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | ||
*/ | ||
|
||
get_header(); ?> | ||
<div class="site-content"> | ||
<article class="no-results"> | ||
<article class="not-found"> | ||
|
||
<header class="entry-header"> | ||
<h1 class="page-title"><?php esc_html_e('Nothing Found Here', 'huettenbau-oberi-theme'); ?></h1> | ||
</header><!-- .entry-header --> | ||
<h1 class="page-title">Nichts gefunden!</h1> | ||
</header> | ||
|
||
<div class="entry-content"> | ||
<p><?php esc_html_e('It looks like nothing was found at this location.', 'huettenbau-oberi-theme'); ?></p> | ||
</div><!-- .entry-content --> | ||
<p>Es scheint, als ob hier nicht zu finden ist.</p> | ||
<p>Hast du bereits <a class="link-internal" href="/">in den Hütten</a> nachgeschaut?</p> | ||
</div> | ||
|
||
</article><!-- .no-results --> | ||
</div><!-- .site-content --> | ||
</article> | ||
</div> | ||
<?php | ||
get_sidebar(); | ||
get_footer(); |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
.preview-overlay { | ||
display: none; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100vw; | ||
height: 100vh; | ||
background: rgba($color-secondary-light, 0.3); | ||
z-index: 9997; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
.preview-overlay__close { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
width: 100vw; | ||
height: 100vh; | ||
} | ||
.preview-overlay__close-icon { | ||
position: absolute; | ||
top: 1rem; | ||
right: 1rem; | ||
width: 2rem; | ||
height: 2rem; | ||
z-index: 9998; | ||
cursor: pointer; | ||
fill: $color-background; | ||
} | ||
img { | ||
max-width: 90%; | ||
max-height: 90%; | ||
z-index: 9999; | ||
} | ||
} | ||
.carousel { | ||
--carousel-width: 800px; | ||
width: var(--carousel-width); | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 1rem; | ||
|
||
@media only screen and (max-width: 991px) { | ||
--carousel-width: 90vw; | ||
.carousel__preview { | ||
width: 100% !important; | ||
flex-direction: column; | ||
align-items: center; | ||
|
||
img { | ||
height: 300px; | ||
max-width: 100%; | ||
} | ||
} | ||
} | ||
.carousel__preview { | ||
margin: 0; | ||
width: calc(100% - 1rem); | ||
gap: 1rem; | ||
display: flex; | ||
justify-content: flex-start; | ||
|
||
img { | ||
height: 450px; | ||
max-width: 100%; | ||
object-fit: cover; | ||
cursor: pointer; | ||
} | ||
figcaption { | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: flex-start; | ||
flex-direction: column; | ||
|
||
p { | ||
width: 100%; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
} | ||
} | ||
.carousel__nav { | ||
position: relative; | ||
display: flex; | ||
justify-content: flex-start; | ||
align-items: center; | ||
max-width: 100%; | ||
overflow: hidden; | ||
|
||
// &::before, | ||
// &::after { | ||
// z-index: 1; | ||
// position: absolute; | ||
// display: block; | ||
// content: ""; | ||
// top: 0; | ||
// height: 100%; | ||
// width: calc(var(--carousel-width) / var(--amount-carousel-images) / 4); | ||
// } | ||
// &::before { | ||
// left: 0; | ||
// background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)); | ||
// } | ||
// &::after { | ||
// right: 0; | ||
// background: linear-gradient(to left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)); | ||
// } | ||
.carousel__img { | ||
--image-sizing: calc( | ||
(var(--carousel-width) - (var(--amount-carousel-images) - 1) * 1rem) / var(--amount-carousel-images) | ||
); | ||
transform: translateX(calc(var(--carousel-width) * var(--slider-index) * -1 - var(--slider-index) * 1rem)); | ||
transition: transform 0.3s ease-in-out; | ||
width: var(--image-sizing); | ||
height: var(--image-sizing); | ||
aspect-ratio: 1 / 1; | ||
cursor: pointer; | ||
margin-right: 1rem; | ||
background-position: center; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
|
||
&.carousel__img--active::after { | ||
content: ""; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: calc(100% - 2 * 0.2rem); | ||
height: calc(100% - 2 * 0.2rem); | ||
border: 0.2rem solid $color-accent; | ||
} | ||
} | ||
.carousel__button { | ||
position: absolute; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
width: 2.5rem; | ||
height: 2.5rem; | ||
cursor: pointer; | ||
z-index: 10; | ||
outline: none; | ||
border: none; | ||
background-position: center; | ||
background-size: 50%; | ||
background-repeat: no-repeat; | ||
background-color: rgba($color-background, 0.3); | ||
filter: invert(1); | ||
|
||
&:hover { | ||
background-color: rgba($color-background, 0.6); | ||
} | ||
&.carousel__button--prev { | ||
left: 0; | ||
} | ||
&.carousel__button--next { | ||
right: 0; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.not-found { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
gap: $size-xxl; | ||
padding: 25vh 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.