Skip to content

Commit

Permalink
Merge pull request #227 from Piratenpartei/dev
Browse files Browse the repository at this point in the history
Bugfix #216
  • Loading branch information
xwolfde authored May 20, 2019
2 parents 6aa55f4 + 9c2097f commit 7d94c0c
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 85 deletions.
2 changes: 1 addition & 1 deletion css/sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Thene Version
$version: '1.4.5';
$version: '1.4.6';
// Theme Version
// First Digit: Manual
// Second Digit: Branch Version
Expand Down
6 changes: 1 addition & 5 deletions css/sass/elements/_colorsets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,6 @@ a {

.post-page-numbers a,
.author-bio a,
.featured-slider button.slick-arrow:focus::after,
.featured-slider button.slick-arrow:hover::after,
.front-section a.all-posts-link:focus,
#overlay-close:focus,
.widget-area .widget ul li a:focus,
Expand Down Expand Up @@ -1069,9 +1067,7 @@ blockquote {
main .entry-content .pagebreak-links a:hover,
.post-navigation .nav-links a:hover,
.pagination .nav-links span.page-numbers:hover,
.pagination .nav-links a.page-numbers:hover,
.featured-slider button.slick-arrow:focus::after,
.featured-slider button.slick-arrow:hover::after {
.pagination .nav-links a.page-numbers:hover {
color: $color;
}
}
Expand Down
59 changes: 0 additions & 59 deletions css/sass/elements/_galleries.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,62 +119,3 @@
.single .gallery .gallery-item .gallery-caption {
display: block;
}

/* --- Image Overlays, if text on image (Customizable im Theme Options) --- */

.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-thumbnail a:after,
.featured-slider .entry-thumbnail a:after,
.single-post .big-thumb .entry-thumbnail a:after,
.header-image:after, #front-section-four .entry-thumbnail a:after {
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
bottom: 0;
content: "";
}

.uku-serif {
#front-section-four .entry-thumbnail a .thumb-wrap:after,
.section-two-column-one .entry-thumbnail a:after {
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
bottom: 0;
content: "";
}
}

.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-thumbnail a:after,
.featured-slider .entry-thumbnail a:after,
.single-post .big-thumb .entry-thumbnail a:after, .header-image:after {
background-color: #000000;
opacity: 0;
}

#front-section-four .meta-main-wrap,
.featured-slider .meta-main-wrap,
.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .meta-main-wrap {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
}

.big-thumb .title-wrap {
position: absolute;
}

#front-section-four .meta-main-wrap, .featured-slider .meta-main-wrap,
.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .meta-main-wrap, .big-thumb .title-wrap {
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}


48 changes: 48 additions & 0 deletions css/sass/structure/_entries.scss
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,51 @@ article {
}
}
}


/* --- Image Overlays, if text on image (Customizable im Theme Options) --- */

.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-thumbnail a:after,
.featured-slider .entry-thumbnail a:after,
.single-post .big-thumb .entry-thumbnail a:after,
.header-image:after, #front-section-four .entry-thumbnail a:after {
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
bottom: 0;
content: "";
}


.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-thumbnail a:after,
.featured-slider .entry-thumbnail a:after,
.single-post .big-thumb .entry-thumbnail a:after, .header-image:after {
background-color: #000000;
opacity: 0;
}

#front-section-four .meta-main-wrap,
.featured-slider .meta-main-wrap,
.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .meta-main-wrap {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
}

.big-thumb .title-wrap {
position: absolute;
}

#front-section-four .meta-main-wrap, .featured-slider .meta-main-wrap,
.blog #primary .hentry.has-post-thumbnail:nth-child(4n+1) .meta-main-wrap, .big-thumb .title-wrap {
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}


7 changes: 5 additions & 2 deletions css/sass/structure/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@

main {
position: relative;
top: 59px;
top: 35px;

@media screen and (min-width: 1024px) {
top: 0;
top: -14px;
}
@media screen and (min-width: $breakpoint-1060) {
top: 0px;
}
}
16 changes: 0 additions & 16 deletions css/style.css

This file was deleted.

4 changes: 2 additions & 2 deletions style.css

Large diffs are not rendered by default.

0 comments on commit 7d94c0c

Please sign in to comment.