Move into wp-content path
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
142
wp-content/themes/Pirate-Rogue/css/sass/structure/_body.scss
Normal file
142
wp-content/themes/Pirate-Rogue/css/sass/structure/_body.scss
Normal file
@@ -0,0 +1,142 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Rahmen
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
html {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: $font-family-base;
|
||||
display: block;
|
||||
color: $color-text;
|
||||
background: #ffffff;
|
||||
font-size: 16px;
|
||||
font-size: 1rem;
|
||||
line-height: 1.35;
|
||||
|
||||
&.overlay-show {
|
||||
overflow: hidden;
|
||||
}
|
||||
// padding-top: 51px;
|
||||
// if main nav is fixed-positioned */
|
||||
&.blog {
|
||||
&.slider-on.slider-fullscreen,
|
||||
&.headerimg-on.header-fullscreen {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
html.overlay-show {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#site-branding,
|
||||
.blog-wrap,
|
||||
.singlepost-wrap,
|
||||
.recommended-posts-wrap,
|
||||
#colophon {
|
||||
padding-left: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
padding-right: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
}
|
||||
|
||||
.mobile-search {
|
||||
padding-left: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
padding-right: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
}
|
||||
|
||||
#overlay-nav ul {
|
||||
li a, ul li a {
|
||||
padding-left: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
padding-right: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
}
|
||||
}
|
||||
|
||||
#mobile-social,
|
||||
#sidebar-offcanvas .widget,
|
||||
.front-section {
|
||||
padding-left: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
padding-right: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
}
|
||||
|
||||
#offcanvas-widgets-open,
|
||||
.headerimg-on.header-boxed .header-image {
|
||||
margin-left: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
margin-right: 5.3125%;
|
||||
/* 17px at 320px */
|
||||
}
|
||||
|
||||
|
||||
#front-section-four .entry-thumbnail a {
|
||||
width: 130%;
|
||||
}
|
||||
|
||||
.featured-content,
|
||||
#front-section-four .type-post {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
.front-section:first-of-type,
|
||||
.page .content-wrap,
|
||||
.singlepost-wrap,
|
||||
.error404 .content-wrap {
|
||||
padding-top: 60px;
|
||||
}
|
||||
*/
|
||||
|
||||
.headerimg-on .front-section:first-of-type {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
||||
.front_section_twocolumn_excerpt {
|
||||
#front-section-twocolumn .entry-summary {display: block;}
|
||||
}
|
||||
.front_section_threecolumn_excerpt {
|
||||
#front-section-threecolumn .entry-summary {display: block;}
|
||||
}
|
||||
.front_section_fourcolumn_excerpt {
|
||||
#front-section-fourcolumn .entry-summary {display: block;}
|
||||
}
|
||||
.front_section_sixcolumn_excerpt {
|
||||
#front-section-sixcolumn .entry-summary {display: block;}
|
||||
}
|
||||
.front_hidedate {
|
||||
.blog .entry-date {display: none !important;}
|
||||
}
|
||||
.front_hidecomments {
|
||||
.blog .entry-comments {display: none !important;}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: $breakpoint-1024) {
|
||||
.page .content-wrap,
|
||||
.front-section:first-of-type,
|
||||
.page.has-thumb .blog-wrap,
|
||||
.search .blog-wrap,
|
||||
.archive .blog-wrap,
|
||||
.error404 .content-wrap {
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
.singlepost-wrap {
|
||||
padding-top: 20px;
|
||||
}
|
||||
}
|
||||
642
wp-content/themes/Pirate-Rogue/css/sass/structure/_entries.scss
Normal file
642
wp-content/themes/Pirate-Rogue/css/sass/structure/_entries.scss
Normal file
@@ -0,0 +1,642 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* 8.0 Blog Posts
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
.entry-thumbnail a {
|
||||
max-height: 900px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
.single-post .format-video .entry-thumbnail a:before,
|
||||
.featured-slider .entry-date:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.entry-thumbnail a {
|
||||
position: relative;
|
||||
line-height: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.format-video .entry-thumbnail {
|
||||
position: relative;
|
||||
a:before {
|
||||
content: '\25b6';
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 28px;
|
||||
padding: 15px 0 0 16px;
|
||||
font-size: 12px;
|
||||
color: #1a1a1a;
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
-moz-transform: translate(-50%, -50%);
|
||||
-ms-transform: translate(-50%, -50%);
|
||||
-o-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
#front-section-twocolumn .format-video .entry-thumbnail a:before,
|
||||
#front-section-threecolumn .format-video .entry-thumbnail a:before,
|
||||
.section-one-column-one .format-video .entry-thumbnail a:before,
|
||||
.blog #primary .hentry.format-video:nth-child(4n+1) .entry-thumbnail a:before,
|
||||
.section-two-column-one .format-video .entry-thumbnail a:before {
|
||||
width: 60px;
|
||||
height: 42px;
|
||||
padding: 22px 0 0 24px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.blog #primary .hentry.format-video:nth-child(4n+1) .entry-thumbnail a:before,
|
||||
#front-section-four .format-video .entry-thumbnail a:before {
|
||||
top: 30px;
|
||||
left: 5.3125%;
|
||||
-webkit-transform: translate(0, 0);
|
||||
-moz-transform: translate(0, 0);
|
||||
-ms-transform: translate(0, 0);
|
||||
-o-transform: translate(0, 0);
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.featured-slider .format-video .entry-thumbnail a:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sticky {}
|
||||
|
||||
|
||||
/* -- Attachment -- */
|
||||
.attachment {
|
||||
.entry-header {
|
||||
.entry-meta {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Single Post --- */
|
||||
|
||||
.singlepost-wrap,
|
||||
.recommended-posts-wrap {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.single-post {
|
||||
.hentry {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
.entry-header {
|
||||
display: block;
|
||||
margin: 0 0 35px;
|
||||
padding: 25px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Single Post - Header --- */
|
||||
.single-attachment .entry-header {
|
||||
display: block;
|
||||
margin: 0 0 35px;
|
||||
padding: 25px 0 0;
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
.single-post {
|
||||
.entry-header {
|
||||
|
||||
h1.entry-title {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding-top: 5px;
|
||||
}
|
||||
}
|
||||
.hentry .entry-meta {
|
||||
display: block;
|
||||
margin-top: 20px;
|
||||
padding-top: 15px;
|
||||
border-top: 3px solid #1a1a1a;
|
||||
line-height: 1.6;
|
||||
}
|
||||
}
|
||||
|
||||
.single-attachment .entry-meta {
|
||||
display: block;
|
||||
margin-top: 20px;
|
||||
padding-top: 15px;
|
||||
border-top: 3px solid #1a1a1a;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.entry-header p.intro {
|
||||
display: none;
|
||||
margin: 0;
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
|
||||
.meta-columnone {
|
||||
width: 60%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.meta-columntwo, .meta-columthree {
|
||||
width: 40%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.single-post .entry-comments-title {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.author-pic {
|
||||
width: 35px;
|
||||
float: left;
|
||||
margin: 0 10px 0 0;
|
||||
display: block;
|
||||
line-height: 0;
|
||||
img {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
-moz-border-radius: 50px;
|
||||
-webkit-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.single-post {
|
||||
.entry-author,
|
||||
.entry-tags span {
|
||||
font-weight: 600;
|
||||
}
|
||||
.entry-thumbnail {
|
||||
padding-bottom: 35px;
|
||||
}
|
||||
|
||||
.canonical-link {
|
||||
padding: 5px 0 0 0;
|
||||
letter-spacing: 1px;
|
||||
span {
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
}
|
||||
span:after {
|
||||
content: '\2022';
|
||||
padding: 0 7px;
|
||||
}
|
||||
}
|
||||
.entry-tags {
|
||||
padding: 30px 0 0 0;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
span:after {
|
||||
content: '\2022';
|
||||
padding: 0 7px;
|
||||
}
|
||||
}
|
||||
.authorbox {
|
||||
position: relative;
|
||||
margin: 40px 0 0 0;
|
||||
padding: 30px 0 0 0;
|
||||
clear: both;
|
||||
border-top: 1px solid #1a1a1a;
|
||||
}
|
||||
}
|
||||
.big-thumb {
|
||||
.entry-thumbnail {
|
||||
margin-left: -5.94405594405594%;
|
||||
/* 17px at 320px --- */
|
||||
margin-right: -5.94405594405594%;
|
||||
padding-bottom: 35px;
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.entry-meta {
|
||||
margin-top: 0;
|
||||
}
|
||||
.entry-header {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
.title-wrap {
|
||||
bottom: 88px;
|
||||
width: 111.88811188811188%;
|
||||
margin-left: -5.94405594405594%;
|
||||
/* 17px at 320px --- */
|
||||
margin-right: -5.94405594405594%;
|
||||
padding-bottom: 17px;
|
||||
.entry-cats {
|
||||
padding-left: 5.3125%;
|
||||
padding-right: 5.3125%;
|
||||
}
|
||||
}
|
||||
.entry-header {
|
||||
h1.entry-title, p.intro {
|
||||
padding-left: 5.3125%;
|
||||
padding-right: 5.3125%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.authorbox {
|
||||
.author-pic {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
float: left;
|
||||
img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
.author-heading {
|
||||
padding: 0 0 0 60px;
|
||||
}
|
||||
h3.author-title {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
span {
|
||||
padding: 0 5px 0 0;
|
||||
display: inline-block;
|
||||
font-style: normal;
|
||||
}
|
||||
&:after {
|
||||
content: ':';
|
||||
padding-left: 1px;
|
||||
}
|
||||
}
|
||||
p.author-bio {
|
||||
margin: 0;
|
||||
padding: 15px 0 0 60px;
|
||||
}
|
||||
.author-links {
|
||||
padding: 16px 0 0 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.author-links a {
|
||||
&.author-website {
|
||||
position: relative;
|
||||
padding: 0 0 0 20px;
|
||||
display: block;
|
||||
}
|
||||
&.author-twitter {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 4px 0 0 0;
|
||||
padding: 0 0 0 18px;
|
||||
}
|
||||
&.author-website:before,
|
||||
&.author-twitter:before {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: -4px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.single-post .hentry .entry-meta,
|
||||
.single-attachment .entry-meta {
|
||||
border-top: none !important;
|
||||
}
|
||||
|
||||
|
||||
article {
|
||||
header {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width:$breakpoint-sm) {
|
||||
/* --- Single Post --- */
|
||||
.single-post {
|
||||
.entry-header {
|
||||
margin: 0 0 20px;
|
||||
padding: 25px 0 0;
|
||||
.big-thumb & {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.entry-tags {
|
||||
padding: 30px 0 0 0;
|
||||
}
|
||||
|
||||
// .entry-thumbnail {
|
||||
// padding-bottom: 53px;
|
||||
// }
|
||||
.big-thumb .entry-thumbnail {
|
||||
padding-bottom: 60px;
|
||||
margin-left: -7.14285714285714%;
|
||||
/* 90px at 1440px */
|
||||
margin-right: -7.14285714285714%;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.big-thumb {
|
||||
.title-wrap {
|
||||
margin-left: -7.14285714285714%;
|
||||
/* 90px at 1440px */
|
||||
margin-right: -7.14285714285714%;
|
||||
bottom: 128px;
|
||||
padding-bottom: 35px;
|
||||
width: 114.28571428571428%;
|
||||
.entry-cats {
|
||||
padding-left: 6.25%;
|
||||
padding-right: 6.25%;
|
||||
}
|
||||
h1.entry-title, p.intro {
|
||||
padding-left: 6.25%;
|
||||
padding-right: 6.25%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.meta-columnone {
|
||||
display: block;
|
||||
width: 320px;
|
||||
}
|
||||
.meta-columntwo {
|
||||
display: block;
|
||||
width: 320px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.author-pic {
|
||||
width: 50px;
|
||||
|
||||
img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.authorbox & {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
img {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.authorbox {
|
||||
.author-heading,
|
||||
p.author-bio,
|
||||
.author-links {
|
||||
padding-left: 90px;
|
||||
}
|
||||
}
|
||||
.author-links a {
|
||||
&.author-website {
|
||||
display: inline-block;
|
||||
margin: 0 30px 0 0;
|
||||
}
|
||||
&.author-twitter {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
.single-post.no-sidebar {
|
||||
.contentwrap {
|
||||
width: 100%;
|
||||
max-width: 1260px;
|
||||
float: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
.entry-content,
|
||||
.entry-footer,
|
||||
#comments {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 80%;
|
||||
}
|
||||
.entry-content .wide-content {
|
||||
margin-left: -12.5%;
|
||||
margin-right: -12.5%;
|
||||
}
|
||||
}
|
||||
.big-thumb .entry-header p.intro {
|
||||
font-size: 26px;
|
||||
font-size: 1.625rem;
|
||||
}
|
||||
|
||||
.entry-meta,
|
||||
.entry-cats,
|
||||
.search-results a.post-edit-link,
|
||||
.archive a.post-edit-link {
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: normal;
|
||||
}
|
||||
/* --- Single Post --- */
|
||||
.singlepost-wrap {
|
||||
margin-top: 0;
|
||||
}
|
||||
.single-post .contentwrap,
|
||||
.single-attachment .contentwrap {
|
||||
width: 65.87301587301587%;
|
||||
float: left;
|
||||
}
|
||||
.single-post #colophon,
|
||||
.single-attachment #colophon {
|
||||
margin-top: 80px;
|
||||
}
|
||||
.entry-header p.intro {
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 85em) {
|
||||
.single-post #primary .hentry.has-post-thumbnail:nth-child(4n+1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.big-thumb .title-wrap {
|
||||
width: 114.28571428571428%;
|
||||
}
|
||||
.single-post {
|
||||
.entry-content {
|
||||
margin-top: -8px;
|
||||
}
|
||||
&.no-sidebar {
|
||||
.contentwrap {
|
||||
width: 100%;
|
||||
float: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
.entry-content,
|
||||
.entry-footer,
|
||||
#comments {
|
||||
width: 70%;
|
||||
margin-left: 100px;
|
||||
margin-right: auto;
|
||||
}
|
||||
.entry-content .wide-content {
|
||||
margin-left: 0;
|
||||
margin-right: -31.5%;
|
||||
}
|
||||
}
|
||||
#socialicons-sticky {
|
||||
position: relative;
|
||||
}
|
||||
.sharedaddy .sd-social-icon {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 0;
|
||||
z-index: 10000;
|
||||
}
|
||||
.sd-social-icon .sd-content ul {
|
||||
li {
|
||||
display: block;
|
||||
}
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 112.5em) {
|
||||
.singlepost-wrap,
|
||||
.recommended-posts-wrap {
|
||||
width: 70%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.big-instagram-wrap {
|
||||
width: 70%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.big-thumb {
|
||||
.title-wrap .entry-cats {
|
||||
padding-left: 15%;
|
||||
padding-right: 15%;
|
||||
}
|
||||
.entry-header {
|
||||
h1.entry-title, p.intro {
|
||||
padding-left: 15%;
|
||||
padding-right: 15%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.single-post .big-thumb {
|
||||
.entry-thumbnail {
|
||||
width: 142.85714285714286%;
|
||||
margin-left: -21.42857142857143%;
|
||||
}
|
||||
.title-wrap {
|
||||
width: 142.85714285714286%;
|
||||
margin-left: -21.42857142857143%;
|
||||
margin-right: -21.42857142857143%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Minimum width of 2200 pixels (larger desktop screens)
|
||||
------------------------------------------------------------------------------------ */
|
||||
@media screen and (min-width: 137.5em) {
|
||||
/* --- General --- */
|
||||
|
||||
.singlepost-wrap,
|
||||
.recommended-posts-wrap {
|
||||
width: 56%;
|
||||
}
|
||||
|
||||
.big-instagram-wrap {
|
||||
width: 56%;
|
||||
}
|
||||
|
||||
.big-thumb {
|
||||
.title-wrap .entry-cats {
|
||||
padding-left: 22%;
|
||||
padding-right: 22%;
|
||||
}
|
||||
.entry-header {
|
||||
h1.entry-title, p.intro {
|
||||
padding-left: 22%;
|
||||
padding-right: 22%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.single-post .big-thumb {
|
||||
.entry-thumbnail {
|
||||
width: 178.86178861788618%;
|
||||
margin-left: -39.43089430894309%;
|
||||
}
|
||||
.title-wrap {
|
||||
width: 178.86178861788618%;
|
||||
margin-left: -39.43089430894309%;
|
||||
margin-right: -39.43089430894309%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- 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 );
|
||||
}
|
||||
|
||||
|
||||
356
wp-content/themes/Pirate-Rogue/css/sass/structure/_footer.scss
Normal file
356
wp-content/themes/Pirate-Rogue/css/sass/structure/_footer.scss
Normal file
@@ -0,0 +1,356 @@
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Footer
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
#colophon {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
margin: 0 auto;
|
||||
background: $color-footer-background;
|
||||
border-top: 1px solid $color-footer-background;
|
||||
// seems useless, but in case someone changes the background via user style
|
||||
// this will make a line between main content and footer
|
||||
color: #fff;
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
|
||||
.no-sidebar & {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.footer-menu ul a {
|
||||
color: $color-footer-text-links;
|
||||
}
|
||||
p,
|
||||
#site-info {
|
||||
color: $color-footer-text;
|
||||
a {
|
||||
color: $color-footer-text-links;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-menu ul a:focus,
|
||||
#site-info a:focus,
|
||||
.footer-menu ul a:hover,
|
||||
#site-info a:hover {
|
||||
color: $color-footer-text-links-hover;
|
||||
}
|
||||
a {
|
||||
color: $color-footer-text-links;
|
||||
}
|
||||
|
||||
.custom-logo-wrap {
|
||||
text-align: left;
|
||||
display: block;
|
||||
padding-bottom: 45px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.page-template-shop-front #colophon {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#site-info {
|
||||
padding-top: 10px;
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
li {
|
||||
display: block;
|
||||
|
||||
&.copyright:after,
|
||||
&.wp-credit:after,
|
||||
&.theme-author:after {
|
||||
content: '\002E';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.title-footer {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding-bottom: 45px;
|
||||
font-size: 24px;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* --- Big Footer Featured Area --- */
|
||||
|
||||
.big-footer-feature {
|
||||
display: block;
|
||||
margin-bottom: 40px;
|
||||
padding-bottom: 40px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
#big-footer-feature h2.footer-feature-title,
|
||||
#big-footer-feature h3.footer-feature-title {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 8px 0 20px;
|
||||
}
|
||||
|
||||
.big-footer-feature p {
|
||||
margin-bottom: 0;
|
||||
&.text-small {
|
||||
padding: 10px 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-feature-textwrap {
|
||||
padding: 15px 0 0 50px;
|
||||
}
|
||||
|
||||
.footer-feature-image a {
|
||||
display: block;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
/* --- Big Instagram Footer Widget Area --- */
|
||||
|
||||
.big-instagram-wrap {
|
||||
.widget h2.widget-title {
|
||||
display: none;
|
||||
}
|
||||
.widget-area .widget {
|
||||
position: relative;
|
||||
padding: 35px 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.widget ul.instagram-pics li {
|
||||
a {
|
||||
width: 16.66666666666667%;
|
||||
}
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
a {
|
||||
display: block;
|
||||
float: left;
|
||||
line-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.null-instagram-feed {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.big-instagram-wrap .null-instagram-feed .clear {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* --- Footer Menus --- */
|
||||
|
||||
.footer-wrap {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.footer-menus-wrap {
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.footer-menu {
|
||||
h3.footer-menu-title {
|
||||
padding: 0 0 20px;
|
||||
}
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#footer-menu-one,
|
||||
#footer-menu-three {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
#footer-menu-two,
|
||||
#footer-menu-four {
|
||||
clear: right;
|
||||
}
|
||||
|
||||
.footer-menu ul {
|
||||
margin: 0;
|
||||
padding: 0 0 60px;
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
padding: 0 0 10px;
|
||||
}
|
||||
ul li:last-child {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Footer Search --- */
|
||||
|
||||
#footer-search {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* --- Footer Social --- */
|
||||
|
||||
#footer-social {
|
||||
padding-top: 30px;
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
h3.socialmedia,
|
||||
span {
|
||||
@extend .screen-reader-text;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media screen and (min-width: $breakpoint-600) {
|
||||
.footer-feature-image {
|
||||
width: 47.8134110787172%;
|
||||
float: left;
|
||||
margin-right: 2.1865889212828%;
|
||||
}
|
||||
.footer-feature-textwrap {
|
||||
width: 47.8134110787172%;
|
||||
float: right;
|
||||
padding-top: 0;
|
||||
margin-left: 2.1865889212828%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: $breakpoint-sm) {
|
||||
#colophon {
|
||||
padding-top: 70px;
|
||||
}
|
||||
#site-info {
|
||||
font-size: 14px;
|
||||
font-size: 0.875rem;
|
||||
ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
#footer-social {
|
||||
padding-top: 10px;
|
||||
}
|
||||
.big-footer-feature {
|
||||
margin-bottom: 70px;
|
||||
padding-bottom: 70px;
|
||||
|
||||
h3.footer-feature-title {
|
||||
padding: 8px 0 35px;
|
||||
}
|
||||
}
|
||||
.big-instagram-wrap .widget-area .widget {
|
||||
padding: 45px 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: $breakpoint-1024) {
|
||||
.footer-feature-btn {
|
||||
margin: 40px 0 0 0;
|
||||
padding: 18px 40px;
|
||||
}
|
||||
.big-footer-feature p.text-small {
|
||||
padding: 20px 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
.footer-feature-textwrap {
|
||||
p.text-big {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
p.text-small {
|
||||
font-size: .8rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
}
|
||||
.title-footer {
|
||||
width: 31.74603174603175%;
|
||||
/* -- 400px at 1440px ---*/
|
||||
margin-right: 2.38095238095238%;
|
||||
/* -- 30px at 1440px ---*/
|
||||
float: left;
|
||||
}
|
||||
#colophon {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
||||
.custom-logo-wrap {
|
||||
width: 31.74603174603175%;
|
||||
/* -- 400px at 1440px ---*/
|
||||
margin-right: 2.38095238095238%;
|
||||
/* -- 30px at 1440px ---*/
|
||||
float: left;
|
||||
.custom-logo-link img {
|
||||
max-width: 130px;
|
||||
max-height: 59px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#footer-menu-one,
|
||||
#footer-menu-two,
|
||||
#footer-menu-three,
|
||||
#footer-menu-four {
|
||||
clear: none;
|
||||
}
|
||||
.footer-menu {
|
||||
width: 14.68253968253968%;
|
||||
/* -- 185px at 1440px ---*/
|
||||
float: left;
|
||||
}
|
||||
#footer-menu-one,
|
||||
#footer-menu-two,
|
||||
#footer-menu-three {
|
||||
margin-right: 2.38095238095238%;
|
||||
/* -- 30px at 1440px ---*/
|
||||
}
|
||||
.title-footer {
|
||||
font-size: 36px;
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
#site-info {
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
#footer-social {
|
||||
padding-top: 23px;
|
||||
float: right;
|
||||
text-align: right;
|
||||
ul {
|
||||
float: left;
|
||||
}
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
padding: 8px 15px 0px 0px;
|
||||
}
|
||||
}
|
||||
.footer-feature-image {
|
||||
width: 31.74603174603175%;
|
||||
margin-right: 0;
|
||||
}
|
||||
.footer-feature-textwrap {
|
||||
width: 65.87301587301587%;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
193
wp-content/themes/Pirate-Rogue/css/sass/structure/_header.scss
Normal file
193
wp-content/themes/Pirate-Rogue/css/sass/structure/_header.scss
Normal file
@@ -0,0 +1,193 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Header
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
#desktop-navigation,
|
||||
.header-social,
|
||||
.search-open,
|
||||
.desktop-search,
|
||||
.sticky-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#site-branding {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: block;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
z-index: 21;
|
||||
background: #fff;
|
||||
|
||||
@media screen and (min-width: $breakpoint-sm) {
|
||||
min-height: 46px;
|
||||
}
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
position: relative;
|
||||
width: 87.5%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 17px 0 0;
|
||||
border-bottom: none;
|
||||
background: none;
|
||||
}
|
||||
.admin-bar & {
|
||||
position: absolute;
|
||||
top: 46px;
|
||||
@media screen and (min-width: 783px) {
|
||||
top: 32px;
|
||||
position: fixed;
|
||||
}
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
top: 0;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.home.blog {
|
||||
&.headerimg-on.header-fullscreen #site-branding {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
a.site-logo {
|
||||
display: none;
|
||||
line-height: 0;
|
||||
|
||||
.home & {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
p.site-description {
|
||||
display: none;
|
||||
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 4px 0 0 0;
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
|
||||
.hide-tagline & {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-image {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.custom-logo-wrap {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: left;
|
||||
display: block;
|
||||
|
||||
a.custom-logo-link {
|
||||
img {
|
||||
vertical-align: middle;
|
||||
width: auto;
|
||||
max-width: 300px;
|
||||
height: 49px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.no-header-text,
|
||||
.no-header-subtitle {
|
||||
p.site-description {
|
||||
@extend .unsichtbar;
|
||||
}
|
||||
}
|
||||
.no-header-text,
|
||||
.no-header-title {
|
||||
h1.site-title,
|
||||
p.site-title {
|
||||
@extend .unsichtbar;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
.sticky-header {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
min-height: 59px;
|
||||
transition: -webkit-transform .3s;
|
||||
transition: transform .3s;
|
||||
transition: transform .3s,-webkit-transform .3s;
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
|
||||
z-index: 100000;
|
||||
|
||||
&.hidden {
|
||||
-webkit-transform: translateY(-100%);
|
||||
transform: translateY(-100%);
|
||||
box-shadow: none;
|
||||
}
|
||||
p {
|
||||
display: none;
|
||||
font-size: 30px;
|
||||
font-size: 1.875rem;
|
||||
}
|
||||
|
||||
.hide-header-sticky & {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.header-stick {
|
||||
.sticky-header p {
|
||||
display: block;
|
||||
padding: 8px 0 0 0;
|
||||
}
|
||||
#overlay-open-sticky {
|
||||
top: 0px;
|
||||
z-index: 9999;
|
||||
}
|
||||
#overlay-open-sticky {
|
||||
width: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.custom-logo-wrap {
|
||||
text-align: center;
|
||||
|
||||
a.custom-logo-link img {
|
||||
width: auto;
|
||||
height: 100px;
|
||||
max-width: 360px;
|
||||
}
|
||||
|
||||
.sticky-header & {
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
.custom-logo-link img {
|
||||
max-width: 400px;
|
||||
width: auto;
|
||||
height: 59px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
15
wp-content/themes/Pirate-Rogue/css/sass/structure/_main.scss
Normal file
15
wp-content/themes/Pirate-Rogue/css/sass/structure/_main.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Main
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
main {
|
||||
position: relative;
|
||||
top: 35px;
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
top: -14px;
|
||||
}
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
top: 0px;
|
||||
}
|
||||
}
|
||||
317
wp-content/themes/Pirate-Rogue/css/sass/structure/_menus.scss
Normal file
317
wp-content/themes/Pirate-Rogue/css/sass/structure/_menus.scss
Normal file
@@ -0,0 +1,317 @@
|
||||
/*
|
||||
* Menu Settings
|
||||
*/
|
||||
|
||||
|
||||
/* --- Main Menu --- */
|
||||
|
||||
#overlay-nav {
|
||||
display: block;
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
li {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
ul li {
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
li a {
|
||||
display: block;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
ul {
|
||||
&.sub-menu,
|
||||
&.children {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
padding: 0 0 10px;
|
||||
}
|
||||
ul {
|
||||
&.sub-menu,
|
||||
&.children {
|
||||
margin: 0;
|
||||
border-top: none;
|
||||
}
|
||||
}
|
||||
li a {
|
||||
border-bottom: none;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
font-weight: normal;
|
||||
line-height: 1.5;
|
||||
text-transform: none;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Sub Menu Toggle --- */
|
||||
|
||||
.dropdown-toggle {
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#secondary .dropdown-toggle,
|
||||
#sidebar-offcanvas .widget-area .dropdown-toggle,
|
||||
#colophon .dropdown-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-item-has-children,
|
||||
.page_item_has_children {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropdown-toggle {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 5.3125%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: transparent;
|
||||
|
||||
&:after {
|
||||
vertical-align: top;
|
||||
position: absolute;
|
||||
|
||||
@extend .fa;
|
||||
content: $fa-var-chevron-down;
|
||||
top: 0;
|
||||
right: 5.3125%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
padding: 13px 0 0 0;
|
||||
text-align: inherit;
|
||||
margin-right: -10px;
|
||||
}
|
||||
&.toggle-on:after {
|
||||
content: $fa-var-chevron-up;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu .menu-item-has-children .dropdown-toggle,
|
||||
.children .page_item_has_childrenn .dropdown-toggle:after {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.sub-menu .menu-item-has-children .dropdown-toggle:after,
|
||||
.children .page_item_has_children .dropdown-toggle:after {
|
||||
padding: 4px 0 0 0;
|
||||
}
|
||||
|
||||
#overlay-nav ul {
|
||||
&.sub-menu.toggled-on,
|
||||
&.children.toggled-on {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Overlay - Mobile Social Menu --- */
|
||||
|
||||
.single-attachment .post-navigation a:focus,
|
||||
.single-attachment .post-navigation a:hover {
|
||||
border-bottom: 2px solid #51a8dd;
|
||||
}
|
||||
|
||||
|
||||
#desktop-navigation {
|
||||
ul.menu {
|
||||
font-family: $font-family-headlines;
|
||||
|
||||
li.menu-item-has-children {
|
||||
> a {
|
||||
margin-right: 0px;
|
||||
}
|
||||
> a::after {
|
||||
margin-left: 5px;
|
||||
@extend .fa;
|
||||
content: $fa-var-caret-down;
|
||||
}
|
||||
}
|
||||
li {
|
||||
a {
|
||||
color: $color-main-menu;
|
||||
|
||||
}
|
||||
.external {
|
||||
a::after {
|
||||
margin-left: 5px;
|
||||
@extend .fa;
|
||||
content: $fa-var-external-link-square;
|
||||
}
|
||||
}
|
||||
}
|
||||
li.current-menu-ancestor,
|
||||
li.focus,
|
||||
li:focus,
|
||||
li:hover {
|
||||
a {
|
||||
border-bottom: 3px solid $color-mainnav-active-border;
|
||||
color: $color-main-menu-hover;
|
||||
}
|
||||
li a {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Social Media Icons --- */
|
||||
|
||||
#mobile-social {
|
||||
border-bottom: 1px solid #ddd;
|
||||
li {
|
||||
padding: 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: $breakpoint-1024) {
|
||||
#desktop-navigation {
|
||||
display: block;
|
||||
padding: 0;
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
padding: 20px 15px 18px;
|
||||
}
|
||||
}
|
||||
.sub-menu,
|
||||
.children,
|
||||
.dropdown-toggle {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.focus {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
.sub-menu {
|
||||
.sub-menu {
|
||||
border-top: 1px solid #ccc;
|
||||
border-left: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ul {
|
||||
li > ul.focus,
|
||||
li.focus > ul,
|
||||
li:focus > ul,
|
||||
li:hover > ul {
|
||||
&.sub-menu,
|
||||
&.children {
|
||||
display: block;
|
||||
left: 0;
|
||||
li > ul.focus,
|
||||
li.focus > ul,
|
||||
li:focus > ul,
|
||||
li:hover > ul {
|
||||
top: 15px;
|
||||
left: 75px;
|
||||
|
||||
li > ul.focus,
|
||||
li.focus > ul,
|
||||
li:focus > ul,
|
||||
li:hover > ul {
|
||||
top: 15px;
|
||||
left: 75px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ul {
|
||||
&.sub-menu,
|
||||
&.children {
|
||||
position: absolute;
|
||||
margin: 18px 0 0 0;
|
||||
// top: 59px;
|
||||
|
||||
min-width: 230px;
|
||||
max-width: 300px;
|
||||
// margin: 0;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
color: #fff;
|
||||
background: #1a1a1a;
|
||||
z-index: 100000;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.sub-menu li a,
|
||||
.children li a {
|
||||
display: block;
|
||||
padding: 10px 15px;
|
||||
@include px2rem($font-size-men-childs);
|
||||
color: #fff !important;
|
||||
text-transform: none;
|
||||
font-weight: normal;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.sub-menu li,
|
||||
.children li {
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* --- Skiplinks --- */
|
||||
#skiplinks{
|
||||
position: relative;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
text-align: center;
|
||||
list-style: outside none;
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
}
|
||||
li {
|
||||
list-style-type: none;
|
||||
}
|
||||
a{
|
||||
position: absolute;
|
||||
left: -99999px;
|
||||
top: 150px;
|
||||
}
|
||||
a:focus,
|
||||
a:active{
|
||||
@include px2rem($font-size-base);
|
||||
position: relative;
|
||||
display: block;
|
||||
z-index:9999;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
background: $color-second;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,322 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Off Canvas Area
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
/* --- Overlay Buttons: Fix-positioning --- */
|
||||
#overlay-open,
|
||||
#overlay-close {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 5.3125%;
|
||||
width: 30px;
|
||||
height: 40px;
|
||||
|
||||
.no-js & {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (min-width: $breakpoint-sm) {
|
||||
top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
#overlay-open {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#overlay-close {
|
||||
z-index: 1000;
|
||||
// margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
.overlay-btn {
|
||||
border: none;
|
||||
outline: none;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
z-index: 9999;
|
||||
|
||||
background: transparent;
|
||||
line-height: 1;
|
||||
opacity: 1;
|
||||
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
&:before {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
#overlay-open:before,
|
||||
#overlay-open-sticky:before {
|
||||
@include px2rem($font-size-overlay-icon);
|
||||
@extend .fa;
|
||||
@extend .fa-2x;
|
||||
@extend .fa-bars;
|
||||
}
|
||||
|
||||
#overlay-close:before {
|
||||
@include px2rem($font-size-overlay-icon);
|
||||
@extend .fa;
|
||||
@extend .fa-2x;
|
||||
@extend .fa-close;
|
||||
}
|
||||
|
||||
.close-btn-wrap {
|
||||
height: 51px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* --- Sub Menu Toggle --- */
|
||||
.menu-item-has-children,
|
||||
.page_item_has_children {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
/* --- Overlay Widget Area --- */
|
||||
.overlay-title-wrap {
|
||||
padding: 15px 5.3125%;
|
||||
background: #f5f5f6;
|
||||
}
|
||||
.inner-offcanvas-wrap {
|
||||
width: 100%;
|
||||
display: block;
|
||||
position: fixed;
|
||||
left: -100%;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
z-index: 1000;
|
||||
background: #fff;
|
||||
-webkit-transition: left,.35s,ease-in-out;
|
||||
-moz-transition: left,.35s,ease-in-out;
|
||||
-o-transition: left,.35s,ease-in-out;
|
||||
transition: left,.35s,ease-in-out;
|
||||
|
||||
|
||||
.admin-bar & {
|
||||
top: 46px;
|
||||
}
|
||||
}
|
||||
|
||||
.overlay-show {
|
||||
.inner-offcanvas-wrap {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#offcanvas-wrap {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
#offcanvas-widgets-open {
|
||||
margin-bottom: 20px;
|
||||
outline: none;
|
||||
width: 89.375%;
|
||||
background: transparent;
|
||||
display: block;
|
||||
padding: 14px 0;
|
||||
border: 2px solid #2b2b2b;
|
||||
font-size: 15px;
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 3px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sidebar-offcanvas {
|
||||
display: none;
|
||||
padding: 0 0 30px;
|
||||
}
|
||||
|
||||
.offcanvas-widgets-show .sidebar-offcanvas,
|
||||
.mobilewidgets-show .sidebar-offcanvas {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* --- Mobile Search --- */
|
||||
|
||||
.mobile-search {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
background: #f5f5f6;
|
||||
border-bottom: 1px solid #ddd;
|
||||
.searchform #s {
|
||||
width: 100%;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.submit {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Off Canvas Media Query */
|
||||
|
||||
|
||||
|
||||
@media screen and (min-width: $breakpoint-790) {
|
||||
.admin-bar {
|
||||
.inner-offcanvas-wrap {
|
||||
top: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
/* --- Off Canvas Area --- */
|
||||
#overlay-nav .dropdown-toggle {
|
||||
display: none !important;
|
||||
}
|
||||
.overlay-show #overlay-wrap {
|
||||
width: 100%;
|
||||
/* -- 1010px at 1440px ---*/
|
||||
background: transparent;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -20px;
|
||||
z-index: 90000000;
|
||||
cursor: pointer;
|
||||
}
|
||||
.inner-offcanvas-wrap {
|
||||
position: fixed;
|
||||
left: -100%;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
display: block;
|
||||
background: #f4f4f4;
|
||||
width: 70.13888888888889%;
|
||||
/* -- 1010px at 1440px ---*/
|
||||
padding-left: 6.25%;
|
||||
/* -- 90px at 1440px ---*/
|
||||
padding-right: 6.25%;
|
||||
/* -- 90px at 1440px ---*/
|
||||
z-index: 100000000;
|
||||
pointer-events: auto;
|
||||
padding-bottom: 100px;
|
||||
-webkit-transition: left,.35s,ease-in-out;
|
||||
-moz-transition: left,.35s,ease-in-out;
|
||||
-o-transition: left,.35s,ease-in-out;
|
||||
transition: left,.35s,ease-in-out;
|
||||
}
|
||||
.offcanvas-widgets-off .inner-offcanvas-wrap {
|
||||
width: 40.27777777777778%;
|
||||
/* -- 580px at 1440px ---*/
|
||||
}
|
||||
.overlay-show .inner-offcanvas-wrap {
|
||||
left: 0;
|
||||
}
|
||||
#overlay-open {
|
||||
position: absolute;
|
||||
top: 34px;
|
||||
left: -17px;
|
||||
right: auto;
|
||||
width: 4.76190476190476%;
|
||||
height: 59px;
|
||||
text-align: center;
|
||||
}
|
||||
.close-btn-wrap {
|
||||
border: none;
|
||||
}
|
||||
.mobile-search,
|
||||
#mobile-social {
|
||||
display: none;
|
||||
}
|
||||
#overlay-nav {
|
||||
width: 48.19277108433735%;
|
||||
/* -- 400px at 1440px ---*/
|
||||
float: left;
|
||||
border-top: 1px solid #1a1a1a;
|
||||
}
|
||||
#sidebar-offcanvas {
|
||||
width: 48.19277108433735%;
|
||||
/* -- 400px at 1440px ---*/
|
||||
float: right;
|
||||
}
|
||||
.offcanvas-widgets-off #overlay-nav {
|
||||
width: 100%;
|
||||
}
|
||||
.close-btn-wrap {
|
||||
position: relative;
|
||||
height: 160px;
|
||||
}
|
||||
#overlay-close {
|
||||
position: absolute;
|
||||
top: 40px;
|
||||
left: -17px;
|
||||
right: auto;
|
||||
width: 59px;
|
||||
height: 59px;
|
||||
text-align: center;
|
||||
}
|
||||
#overlay-nav ul {
|
||||
margin: 0 0 50px;
|
||||
|
||||
li {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #1a1a1a;
|
||||
&.menu-item-has-children,
|
||||
&.page_item_has_children {
|
||||
padding-bottom: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
a {
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
}
|
||||
&.menu-item-has-children a,
|
||||
&.page_item_has_children a {
|
||||
border-bottom: none !important;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
ul {
|
||||
&.sub-menu,
|
||||
&.children {
|
||||
display: block;
|
||||
border-bottom: 1px solid #1a1a1a;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
ul {
|
||||
&.sub-menu,
|
||||
&.children {
|
||||
border-bottom: none;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
li a {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
#offcanvas-widgets-open {
|
||||
display: none;
|
||||
}
|
||||
#sidebar-offcanvas {
|
||||
display: block !important;
|
||||
.widget {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
.overlay-show .close-btn-wrap {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: auto;
|
||||
right: auto;
|
||||
background: transparent;
|
||||
height: 158px;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Pagination + Infinite Scroll
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
.pagination {
|
||||
position: relative;
|
||||
clear: both;
|
||||
padding: 18px 20px;
|
||||
border: 2px solid $color-border;
|
||||
@include px2rem( $font-size-smaller);
|
||||
|
||||
font-weight: 600;
|
||||
letter-spacing: 1px;
|
||||
color: $color-text;
|
||||
margin-bottom: 25px;
|
||||
|
||||
a {
|
||||
color: $color-second;
|
||||
}
|
||||
.nav-links {
|
||||
span,
|
||||
a {
|
||||
&.page-numbers {
|
||||
background: $color-page-background;
|
||||
color: $color-second;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
min-width: 25px;
|
||||
height: 25px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border-radius: 50%;
|
||||
padding-left: 2px;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: $color-main;
|
||||
color: #fff;
|
||||
|
||||
}
|
||||
}
|
||||
&.page-numbers.prev,
|
||||
&.page-numbers.next {
|
||||
padding: 0 5px;
|
||||
border-radius: inherit;
|
||||
&:hover, &:focus {
|
||||
color: $color-page-background;
|
||||
background: $color-main;
|
||||
}
|
||||
}
|
||||
&.next.page-numbers:focus,
|
||||
&.prev.page-numbers:focus,
|
||||
&.next.page-numbers:hover,
|
||||
&.prev.page-numbers:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.single-attachment {
|
||||
.post-navigation {
|
||||
overflow: hidden;
|
||||
clear: both;
|
||||
padding-top: 60px;
|
||||
}
|
||||
.nav-previous {
|
||||
float: left;
|
||||
}
|
||||
.nav-next {
|
||||
float: right;
|
||||
}
|
||||
.post-navigation a {
|
||||
position: relative;
|
||||
display: block;
|
||||
@include px2rem( $font-size-smaller);
|
||||
line-height: 1.15;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1.5px;
|
||||
border-bottom: 2px solid $color-text;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#nav-comments {
|
||||
padding: 10px 0;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
.nav-previous {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.page-links {
|
||||
font-weight: 600;
|
||||
letter-spacing: 1px;
|
||||
display: inline-block;
|
||||
margin-top: 20px;
|
||||
|
||||
.post-page-numbers {
|
||||
padding: 4px;
|
||||
text-decoration: none;
|
||||
|
||||
&.current {
|
||||
color: $color-second;
|
||||
}
|
||||
|
||||
a {
|
||||
.number {
|
||||
@include px2rem($font-size-small);
|
||||
}
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.single-post {
|
||||
.post-navigation {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin: 20px 0;
|
||||
|
||||
.nav-next,
|
||||
.nav-previous {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.nav-next {
|
||||
text-align: right;
|
||||
@media screen and (min-width:$breakpoint-sm) {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.pagebreak-links {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
|
||||
.post-navigation,
|
||||
.pagebreak-links {
|
||||
|
||||
a {
|
||||
padding: 5px;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
|
||||
|
||||
width: 100%;
|
||||
display: block;
|
||||
@media screen and (min-width:$breakpoint-sm) {
|
||||
width: inherit;
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
.next,
|
||||
.prev {
|
||||
padding: 2px 4px;
|
||||
|
||||
}
|
||||
.next {
|
||||
text-align: right;
|
||||
@media screen and (min-width:$breakpoint-sm) {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.next:after {
|
||||
margin-left: 5px;
|
||||
@extend .fa;
|
||||
content: $fa-var-chevron-circle-right;;
|
||||
}
|
||||
.prev:before {
|
||||
margin-right: 5px;
|
||||
@extend .fa;
|
||||
@extend .fa-chevron-circle-left;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Seitentypen: Default Page, Fullwidth / Archives / Search Results / 404
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
.page {
|
||||
h1.entry-title {
|
||||
display: block;
|
||||
margin: 0 0 20px;
|
||||
padding: 6px 0 20px;
|
||||
border-bottom: 1px solid #1a1a1a;
|
||||
}
|
||||
a.post-edit-link {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
font-weight: 600;
|
||||
margin-top: 30px;
|
||||
display: inline-block;
|
||||
}
|
||||
&.has-thumb {
|
||||
.content-wrap {
|
||||
padding-top: 0;
|
||||
}
|
||||
.blog-wrap {
|
||||
padding-top: 35px;
|
||||
}
|
||||
.entry-thumbnail img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.archive-header .taxonomy-description p {
|
||||
margin: 8px 0 0 0;
|
||||
}
|
||||
|
||||
.author .taxonomy-description {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.entry-summary p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.archive .site-content .post {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.search-results .site-content {
|
||||
.post, .page {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.search-no-results .searchform {
|
||||
width: 420px;
|
||||
}
|
||||
|
||||
.error404 .site-content .entry-wrap {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.author h3.author-archive-title {
|
||||
margin: 0;
|
||||
padding: 80px 0 0 0;
|
||||
}
|
||||
|
||||
.page .edit-link {
|
||||
padding-top: 30px;
|
||||
}
|
||||
196
wp-content/themes/Pirate-Rogue/css/sass/structure/_search.scss
Normal file
196
wp-content/themes/Pirate-Rogue/css/sass/structure/_search.scss
Normal file
@@ -0,0 +1,196 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Festgelegte Bereiche zur Suche
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
.search-open {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 50%;
|
||||
|
||||
:focus,
|
||||
:hover {
|
||||
border-radius: 50%;
|
||||
}
|
||||
&:before {
|
||||
@include px2rem($font-size-search-icons);
|
||||
@extend .fa;
|
||||
@extend .fa-search;
|
||||
}
|
||||
span {
|
||||
@extend .screen-reader-text;
|
||||
}
|
||||
|
||||
.no-js & {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#footer-search {
|
||||
@include px2rem($font-size-smaller);
|
||||
|
||||
.search-field {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
padding: 5px;
|
||||
letter-spacing: 0.5px;
|
||||
font-weight: bolder;
|
||||
}
|
||||
input#submit,
|
||||
input[type="submit"] {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
padding: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: $breakpoint-1060) {
|
||||
/* --- Search Desktop --- */
|
||||
#masthead {
|
||||
position: relative;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
.search-open,
|
||||
.desktop-search {
|
||||
display: block;
|
||||
}
|
||||
.search-open {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 9.23611111111111%;
|
||||
right: auto;
|
||||
border: none;
|
||||
z-index: 1000;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
border-radius: 50%;
|
||||
|
||||
&:before {
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.desktop-search {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
width: 100%;
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
z-index: 10000;
|
||||
text-align: center;
|
||||
border-top-width: 1px;
|
||||
border-top-style: solid;
|
||||
-webkit-transition: all .3s ease-in-out;
|
||||
-moz-transition: all .3s ease-in-out;
|
||||
-o-transition: all .3s ease-in-out;
|
||||
transition: all .3s ease-in-out;
|
||||
|
||||
input {
|
||||
&.search-field {
|
||||
width: 33%;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
padding: 9px 0;
|
||||
letter-spacing: 0.5px;
|
||||
font-weight: bolder;
|
||||
}
|
||||
&[type="submit"] {
|
||||
margin-left: 10px;
|
||||
padding: 8px 20px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
font-size: 15px;
|
||||
font-size: 0.9375rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
}
|
||||
.searchform {
|
||||
height: 0;
|
||||
-webkit-transition: all .3s ease-in-out;
|
||||
-moz-transition: all .3s ease-in-out;
|
||||
-o-transition: all .3s ease-in-out;
|
||||
transition: all .3s ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
.searchbar-maincolor .desktop-search {
|
||||
input {
|
||||
&.search-field {
|
||||
&:hover,
|
||||
&:focus {
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
&[type="submit"] {
|
||||
font-weight: bold;
|
||||
}
|
||||
&[type="submit"]:focus,
|
||||
&[type="submit"]:hover {
|
||||
font-weight: bolder;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.desktop-search-show .desktop-search {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
opacity: 1;
|
||||
height: 118px;
|
||||
-webkit-transition: all .3s ease-in-out;
|
||||
-moz-transition: all .3s ease-in-out;
|
||||
-o-transition: all .3s ease-in-out;
|
||||
transition: all .3s ease-in-out;
|
||||
}
|
||||
.desktop-search-show .desktop-search .searchform {
|
||||
height: 118px;
|
||||
padding-top: 35px;
|
||||
-webkit-transition: all .3s ease-in-out;
|
||||
-moz-transition: all .3s ease-in-out;
|
||||
-o-transition: all .3s ease-in-out;
|
||||
transition: all .3s ease-in-out;
|
||||
}
|
||||
.desktop-search
|
||||
.header-stick {
|
||||
#search-open-sticky {
|
||||
z-index: 9999;
|
||||
}
|
||||
.desktop-search {
|
||||
position: fixed;
|
||||
top: 59px;
|
||||
border-top: none;
|
||||
height: 0;
|
||||
-webkit-transition: all .3s ease-in-out;
|
||||
-moz-transition: all .3s ease-in-out;
|
||||
-o-transition: all .3s ease-in-out;
|
||||
transition: all .3s ease-in-out;
|
||||
}
|
||||
&.desktop-search-show .desktop-search {
|
||||
height: 118px;
|
||||
}
|
||||
}
|
||||
#overlay-open-sticky {
|
||||
position: absolute;
|
||||
height: 59px;
|
||||
text-align: center;
|
||||
top: 0px;
|
||||
left: 10px;
|
||||
width: 59px;
|
||||
}
|
||||
#search-open-sticky {
|
||||
top: 17px;
|
||||
left: 69px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,474 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* 16.0 Shortcodes
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
* Columns
|
||||
*/
|
||||
.two-columns-one,
|
||||
.three-columns-one,
|
||||
.three-columns-two,
|
||||
.four-columns-one,
|
||||
.four-columns-two,
|
||||
.four-columns-three {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-content {
|
||||
.two-columns-one,
|
||||
.three-columns-one,
|
||||
.three-columns-two,
|
||||
.four-columns-one,
|
||||
.four-columns-two,
|
||||
.four-columns-three {
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-bottom: 30px;
|
||||
@include px2rem($font-size-base);
|
||||
|
||||
|
||||
&.secondcolor {
|
||||
background: $color-shortcodes-secondcolor;
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-secondcolor, 10%);
|
||||
}
|
||||
}
|
||||
&.maincolor {
|
||||
background: $color-shortcodes-maincolor;
|
||||
padding: 10px;
|
||||
a {
|
||||
color: $color-shortcodes-secondcolor;
|
||||
}
|
||||
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-maincolor, 10%);
|
||||
}
|
||||
|
||||
}
|
||||
&.blue {
|
||||
background: $color-shortcodes-blue;
|
||||
padding: 10px;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-blue, 10%);
|
||||
}
|
||||
}
|
||||
&.red {
|
||||
background: $color-shortcodes-red;
|
||||
padding: 10px;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-red, 10%);
|
||||
}
|
||||
}
|
||||
&.yellow {
|
||||
background: $color-shortcodes-yellow;
|
||||
padding: 10px;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-yellow, 10%);
|
||||
}
|
||||
}
|
||||
&.green {
|
||||
background: $color-shortcodes-green;
|
||||
padding: 10px;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-green, 10%);
|
||||
}
|
||||
}
|
||||
&.lightgrey {
|
||||
background: $color-shortcodes-lightgrey;
|
||||
padding: 10px;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-lightgrey, 10%);
|
||||
}
|
||||
}
|
||||
&.grey {
|
||||
background: $color-shortcodes-grey;
|
||||
padding: 10px;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-grey, 10%);
|
||||
}
|
||||
}
|
||||
&.black {
|
||||
background: $color-shortcodes-black;
|
||||
padding: 10px;
|
||||
color: #fff;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-black, 10%);
|
||||
}
|
||||
}
|
||||
&.dark {
|
||||
background: $color-shortcodes-dark;
|
||||
padding: 10px;
|
||||
color: #fff;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-dark, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.two-columns-one p,
|
||||
.three-columns-one p,
|
||||
.three-columns-two p,
|
||||
.four-columns-one p,
|
||||
.four-columns-two p,
|
||||
.four-columns-three p {
|
||||
@include px2rem($font-size-base);
|
||||
}
|
||||
}
|
||||
|
||||
.last {
|
||||
clear: right;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.divider {
|
||||
width: 100%;
|
||||
margin-bottom: 21px;
|
||||
padding-top: 21px;
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#section-fullwidth {
|
||||
padding: 0;
|
||||
// margin: 20px 0;
|
||||
margin: 0;
|
||||
// Kein Margin, um aufeinanderfolgende Bereiche ohne Abstand zuzulassen
|
||||
|
||||
img {
|
||||
z-index: 1;
|
||||
}
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
position:relative;
|
||||
z-index: 2;
|
||||
|
||||
}
|
||||
|
||||
&.withbackground {
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: #000; // rgba($color-main, 0.70);
|
||||
color: #fff;
|
||||
display: table;
|
||||
padding: 2px 5px;
|
||||
margin-left: 6.25%;
|
||||
margin-right: 6.25%;
|
||||
}
|
||||
}
|
||||
&.withbackground.maincolor {
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: $color-shortcodes-maincolor;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
&.withbackground.secondcolor {
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: $color-shortcodes-secondcolor;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
&.withbackground.red {
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: $color-shortcodes-red;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
&.withbackground.green {
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: $color-shortcodes-green;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
&.withbackground.yellow {
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: $color-shortcodes-yellow;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
&.withbackground.blue {
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: $color-shortcodes-blue;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
&.withbackground.lightgrey {
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: $color-shortcodes-lightgrey;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
&.withbackground.grey {
|
||||
p, h1, h2, h3, h4, h5, h6, blockquote, em, code {
|
||||
background: $color-shortcodes-grey;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
@include px2rem($font-size-bigtext);
|
||||
}
|
||||
|
||||
|
||||
|
||||
&.secondcolor {
|
||||
background: $color-shortcodes-secondcolor;
|
||||
color: #fff;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-secondcolor, 10%);
|
||||
}
|
||||
}
|
||||
&.maincolor {
|
||||
background: $color-shortcodes-maincolor;
|
||||
a {
|
||||
color: $color-shortcodes-secondcolor;
|
||||
}
|
||||
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-maincolor, 10%);
|
||||
}
|
||||
|
||||
}
|
||||
&.blue {
|
||||
background: $color-shortcodes-blue;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-blue, 10%);
|
||||
}
|
||||
}
|
||||
&.red {
|
||||
background: $color-shortcodes-red;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-red, 10%);
|
||||
}
|
||||
}
|
||||
&.yellow {
|
||||
background: $color-shortcodes-yellow;
|
||||
padding: 10px;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-yellow, 10%);
|
||||
}
|
||||
}
|
||||
&.green {
|
||||
background: $color-shortcodes-green;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-green, 10%);
|
||||
}
|
||||
}
|
||||
&.lightgrey {
|
||||
background: $color-shortcodes-lightgrey;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-lightgrey, 10%);
|
||||
}
|
||||
}
|
||||
&.grey {
|
||||
background: $color-shortcodes-grey;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-grey, 10%);
|
||||
}
|
||||
}
|
||||
&.black {
|
||||
background: $color-shortcodes-black;
|
||||
color: #fff;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-black, 10%);
|
||||
}
|
||||
}
|
||||
&.dark {
|
||||
background: $color-shortcodes-dark;
|
||||
color: #fff;
|
||||
&.lighten {
|
||||
background: lighten( $color-shortcodes-dark, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: 48em) {
|
||||
.two-columns-one {
|
||||
width: 48.5%;
|
||||
}
|
||||
.three-columns-one {
|
||||
width: 30.3%;
|
||||
}
|
||||
.three-columns-two {
|
||||
width: 65.15%;
|
||||
}
|
||||
.four-columns-one {
|
||||
width: 22.375%;
|
||||
}
|
||||
.four-columns-two {
|
||||
width: 48%;
|
||||
}
|
||||
.four-columns-three {
|
||||
width: 74.5%;
|
||||
}
|
||||
.two-columns-one,
|
||||
.three-columns-one,
|
||||
.three-columns-two,
|
||||
.four-columns-one,
|
||||
.four-columns-two,
|
||||
.four-columns-three {
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.two-columns-one {
|
||||
margin: 0 1.5% 0 0;
|
||||
|
||||
&.last {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
.three-columns-two {
|
||||
margin: 0 1.5% 0 0;
|
||||
&.last {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
.three-columns-one {
|
||||
margin: 0 3% 0 0;
|
||||
|
||||
&.last {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
.four-columns-one {
|
||||
margin: 0 3.5% 0 0;
|
||||
&.last {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Shortcodes for Sections
|
||||
*/
|
||||
|
||||
.shortcode-section {
|
||||
a.all-posts-link {
|
||||
color: $color-text;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.all-posts-link:after {
|
||||
content: '\2192';
|
||||
text-align: right;
|
||||
padding-left: 3px;
|
||||
}
|
||||
.type-post {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 20px 0 35px;
|
||||
border-top: 1px solid #1a1a1a;
|
||||
}
|
||||
.hentry .entry-cats a {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#primary .hentry.has-post-thumbnail:nth-child(4n+1) .entry-cats a:before,
|
||||
.section-one-column-one .entry-cats a:before,
|
||||
.section-three-column-one .entry-cats a:before,
|
||||
#front-section-four .entry-cats a:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#primary .hentry.has-post-thumbnail:nth-child(4n+1) {
|
||||
margin-left: -5.94405594405594%;
|
||||
/* -- 17px at 320px ---*/
|
||||
margin-right: -5.94405594405594%;
|
||||
/* -- 17px at 320px ---*/
|
||||
margin-bottom: 34px;
|
||||
padding: 0;
|
||||
border-top: 0;
|
||||
|
||||
.entry-thumbnail {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
float: none;
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.meta-main-wrap {
|
||||
width: 100%;
|
||||
padding: 0 5.3125% 28px;
|
||||
}
|
||||
.entry-meta {
|
||||
float: none;
|
||||
}
|
||||
.entry-summary {
|
||||
display: none;
|
||||
}
|
||||
.entry-cats a {
|
||||
padding: 2px 5px;
|
||||
}
|
||||
.entry-date, .entry-comments,
|
||||
.entry-edit, .entry-author {
|
||||
display: inline-block;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.entry-date {
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.blogroll {
|
||||
.entry-meta a {
|
||||
color: $color-text;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.entry-cats a:nth-child(n+2):before {
|
||||
content: ' / ';
|
||||
padding: 0 2px;
|
||||
color: $color-text;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: $breakpoint-sm) {
|
||||
.entry-content & .entry-summary p {
|
||||
@include px2rem($font-size-base);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@media screen and (min-width: $breakpoint-sm) {
|
||||
|
||||
.page #primary .blogroll .hentry {
|
||||
padding: 20px 0 40px;
|
||||
}
|
||||
/* --- Blog - default --- */
|
||||
.page #primary .blogroll .hentry .entry-meta {
|
||||
width: 25.49019607843137%;
|
||||
/* -- 130px at 1440px ---*/
|
||||
float: left;
|
||||
display: block;
|
||||
}
|
||||
.page #primary .blogroll .hentry .entry-main {
|
||||
width: 74.50980392156863%;
|
||||
/* -- 380px at 1440px ---*/
|
||||
float: left;
|
||||
}
|
||||
|
||||
.page #primary .blogroll .hentry .entry-thumbnail {
|
||||
width: 36.14457831325301%;
|
||||
/* -- 300px at 1440px ---*/
|
||||
}
|
||||
.page #primary .blogroll .hentry .meta-main-wrap {
|
||||
width: 61.44578313253012%;
|
||||
/* -- 510px at 1440px ---*/
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Structure
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
@import "body";
|
||||
@import "header";
|
||||
@import "menus";
|
||||
@import "search";
|
||||
@import "main";
|
||||
|
||||
@import "blog-frontpage";
|
||||
@import "entries";
|
||||
@import "off-canvas";
|
||||
@import "pagination";
|
||||
@import "post-types";
|
||||
@import "widgets";
|
||||
@import "thumbnails";
|
||||
@import "footer";
|
||||
@import "shortcodes";
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Thumbnails
|
||||
*/
|
||||
|
||||
.entry-thumbnail a {
|
||||
max-height: 400px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $breakpoint-lg) {
|
||||
.entry-thumbnail a {
|
||||
max-height: 500px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
227
wp-content/themes/Pirate-Rogue/css/sass/structure/_widgets.scss
Normal file
227
wp-content/themes/Pirate-Rogue/css/sass/structure/_widgets.scss
Normal file
@@ -0,0 +1,227 @@
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* 12.0 Sidebar + Widgets
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
#secondary,
|
||||
#sidebar-page {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 70px;
|
||||
}
|
||||
|
||||
.no-sidebar {
|
||||
#secondary,
|
||||
#sidebar-page {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.widget-area .widget {
|
||||
clear: both;
|
||||
float: none;
|
||||
line-height: 1.5;
|
||||
padding-bottom: 34px;
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
ul {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#secondary .widget:last-of-type,
|
||||
#sidebar-page.widget:last-of-type {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.widget {
|
||||
.widget-title-wrap {
|
||||
display: block;
|
||||
}
|
||||
ul:not(.slick-dots) {
|
||||
ul:before,
|
||||
li:after {
|
||||
display: inline;
|
||||
content: ' / ';
|
||||
}
|
||||
}
|
||||
select,
|
||||
iframe {
|
||||
max-width: 99%;
|
||||
margin-left: 1px;
|
||||
margin-left: 0.1rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.widget-area .widget {
|
||||
ul li {
|
||||
list-style: none;
|
||||
display: inline;
|
||||
&:last-child {
|
||||
padding-bottom: 0;
|
||||
&::after {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
}
|
||||
img.resize {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.wp_widget_tag_cloud div,
|
||||
.widget_tag_cloud div {
|
||||
-ms-word-break: break-all;
|
||||
word-break: break-all;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.widget_recent_comments {
|
||||
a.url,
|
||||
span.comment-author-link {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.widget-area {
|
||||
.widget_recent_comments ul li {
|
||||
display: block;
|
||||
padding-bottom: 6px;
|
||||
&:after {
|
||||
display: none;
|
||||
content: ' ';
|
||||
}
|
||||
}
|
||||
.widget_rss ul li:after {
|
||||
display: none;
|
||||
content: ' ';
|
||||
}
|
||||
}
|
||||
|
||||
.tagcloud a {
|
||||
-webkit-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
-ms-hyphens: auto;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
/* --- Search Widget + default Search Form --- */
|
||||
|
||||
.widget_search {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
|
||||
@media screen and (min-width: $breakpoint-600) {
|
||||
input {
|
||||
&.search-field {
|
||||
width: 67.8%;
|
||||
}
|
||||
&[type="submit"] {
|
||||
width: 30%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.widget ul .dropdown-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* --- RSS Widget --- */
|
||||
|
||||
.widget-area .widget_rss ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
li {
|
||||
display: block;
|
||||
padding-bottom: 20px;
|
||||
.rssSummary {
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
cite {
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a.rsswidget {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.widget-area .widget_rss ul ul:after {
|
||||
display: none;
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
/* --- Calendar Widget --- */
|
||||
|
||||
.widget_calendar {
|
||||
#calendar_wrap {
|
||||
position: relative;
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
#wp-calendar caption {
|
||||
margin: 0 0 15px;
|
||||
text-align: left;
|
||||
}
|
||||
table#wp-calendar {
|
||||
tr {
|
||||
th {
|
||||
padding: 2px;
|
||||
text-align: center;
|
||||
}
|
||||
td {
|
||||
padding: 7px 0 3px;
|
||||
border: 1px solid #000;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
tbody tr td a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Text Widget --- */
|
||||
|
||||
.textwidget {
|
||||
p {
|
||||
margin: 0 0 20px;
|
||||
&:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
line-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Media Gallery */
|
||||
.widget.widget_media_gallery {
|
||||
ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
ul ul:before, ul li:after {
|
||||
display: none;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user