Yuzu Theme
from meowapps.com
This commit is contained in:
193
assets/less/_article-cards.less
Normal file
193
assets/less/_article-cards.less
Normal file
@@ -0,0 +1,193 @@
|
||||
// main: style.less
|
||||
|
||||
|
||||
@media screen and (max-width: @tablet) {
|
||||
.row {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
.article-card-container {
|
||||
display: inline-block;
|
||||
padding: 30px 15px;
|
||||
box-sizing: border-box;
|
||||
font-size: 16px;
|
||||
|
||||
.article-card {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background: @card_bg;
|
||||
background: var(--card_bg);
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
color: var(--card_color);
|
||||
transition: .2s;
|
||||
|
||||
&:hover {
|
||||
box-shadow: @deeper_shadow;
|
||||
box-shadow: var(--deeper_shadow);
|
||||
transition: .3s;
|
||||
}
|
||||
|
||||
.article-featured-image {
|
||||
display: block;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
|
||||
.article-categories {
|
||||
|
||||
.article-category {
|
||||
display: inline-block;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
color: @card_color;
|
||||
color: var(--card_color);
|
||||
opacity: .3;
|
||||
}
|
||||
}
|
||||
|
||||
.article-title {
|
||||
display: block;
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
color: @card_color;
|
||||
color: var(--card_color);
|
||||
}
|
||||
|
||||
.article-excerpt {
|
||||
line-height: 160%;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.read-more-btn {
|
||||
display: inline-block;
|
||||
color: @read_more_btn_color;
|
||||
color: var(--read_more_btn_color);
|
||||
background: @read_more_btn_bg;
|
||||
background: var(--read_more_btn_bg);
|
||||
padding: 15px 0;
|
||||
width: 140px;
|
||||
text-align: center;
|
||||
line-height: 22px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
margin-left: -70px;
|
||||
margin-bottom: -26px;
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
border-radius: 25px;
|
||||
transition: .2s;
|
||||
|
||||
&:hover {
|
||||
box-shadow: @deeper_shadow;
|
||||
box-shadow: var(--deeper_shadow);
|
||||
transition: .3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.large {
|
||||
width: 100%;
|
||||
|
||||
.article-card {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
.article-featured-image {
|
||||
display: flex;
|
||||
width: 60%;
|
||||
padding-bottom: 40%;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 30px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: @tablet) {
|
||||
width: 50%;
|
||||
|
||||
.article-card {
|
||||
display: block;
|
||||
|
||||
.article-featured-image {
|
||||
width: 100%;
|
||||
padding-bottom: 66.66%;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
padding: 30px;
|
||||
padding-bottom: 90px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.medium {
|
||||
width: 50%;
|
||||
vertical-align: top;
|
||||
|
||||
.article-card {
|
||||
|
||||
.article-featured-image {
|
||||
width: 100%;
|
||||
padding-bottom: 66.66%;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
padding: 30px;
|
||||
padding-bottom: 90px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.small {
|
||||
width: 33.33%;
|
||||
vertical-align: top;
|
||||
|
||||
.article-card {
|
||||
|
||||
.article-featured-image {
|
||||
width: 100%;
|
||||
padding-bottom: 66.66%;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
padding: 30px;
|
||||
padding-bottom: 90px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: @tablet) {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
310
assets/less/_blog.less
Normal file
310
assets/less/_blog.less
Normal file
@@ -0,0 +1,310 @@
|
||||
// main: style.less
|
||||
|
||||
.articles-list {
|
||||
font-size: 0;
|
||||
width: 100%;
|
||||
|
||||
.posts-navigation {
|
||||
font-size: 16px;
|
||||
margin-top: 60px;
|
||||
|
||||
.nav-links {
|
||||
|
||||
.nav-previous, .nav-next {
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
|
||||
a {
|
||||
margin: 10px 4px;
|
||||
display: inline-block;
|
||||
border-radius: 30px;
|
||||
//text-transform: uppercase;
|
||||
font-size: 16px;
|
||||
padding: 10px 20px;
|
||||
background: @card_bg;
|
||||
background: var(--card_bg);
|
||||
color: @card_color;
|
||||
color: var(--card_color);
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
transition: .2s;
|
||||
|
||||
&:hover {
|
||||
box-shadow: @deeper_shadow;
|
||||
box-shadow: var(--deeper_shadow);
|
||||
transition: .2s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.single-article, .single-page {
|
||||
|
||||
.entry-content {
|
||||
font-size: 18px;
|
||||
line-height: 180%;
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
padding-bottom: 60px;
|
||||
|
||||
p {
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
|
||||
p {
|
||||
padding-left: 20px;
|
||||
border-left: 2px solid @body_color;
|
||||
border-left: 2px solid var(--body_color);
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.single-article {
|
||||
|
||||
.related-posts {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.previous-post, .next-post {
|
||||
display: flex;
|
||||
position: relative;
|
||||
height: 300px;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
color: white !important;
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
.background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
|
||||
.filter {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #000;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.content {
|
||||
position: relative;
|
||||
padding: 40px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.label {
|
||||
text-transform: uppercase;
|
||||
font-weight: 400;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
font-size: 38px;
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.comments-section {
|
||||
background: @body_bg;
|
||||
background: var(--body_bg);
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
padding-top: 60px;
|
||||
|
||||
#disqus_thread {
|
||||
width: 90%;
|
||||
max-width: 960px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.comment-reply-title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.comment-form {
|
||||
width: 90%;
|
||||
max-width: 960px;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
padding-bottom: 50px;
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
border-radius: 0;
|
||||
background: @comment_form_bg;
|
||||
background: var(--comment_form_bg);
|
||||
color: @comment_form_color;
|
||||
color: var(--comment_form_color);
|
||||
border: 1px solid rgba(0,0,0,.4);
|
||||
}
|
||||
|
||||
.submit-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.comment-form-comment {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.user-infos {
|
||||
display: flex;
|
||||
|
||||
input {
|
||||
flex: 1;
|
||||
border: 1px solid rgba(0,0,0,.4);
|
||||
border-top: none;
|
||||
border-radius: 0;
|
||||
padding: 10px;
|
||||
background: @comment_form_bg;
|
||||
background: var(--comment_form_bg);
|
||||
color: @comment_form_color;
|
||||
color: var(--comment_form_color);
|
||||
|
||||
&:first-of-type {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-submit {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
input {
|
||||
display: inline-block;
|
||||
background: @post_comment_btn_bg;
|
||||
background: var(--post_comment_btn_bg);
|
||||
border: 2px solid rgba(0,0,0,0);
|
||||
color: @post_comment_btn_color;
|
||||
color: var(--post_comment_btn_color);
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
font-size: 16px;
|
||||
width: 100%;
|
||||
max-width: 220px;
|
||||
padding: 10px 20px;
|
||||
border-radius: 25px;
|
||||
cursor: pointer;
|
||||
margin-top: 20px;
|
||||
transition: .1s;
|
||||
|
||||
&:hover {
|
||||
box-shadow: @deeper_shadow;
|
||||
box-shadow: var(--deeper_shadow);
|
||||
transition: .1s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.comments-list-container {
|
||||
padding: 60px 10px;
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
padding: 30px 10px;
|
||||
}
|
||||
|
||||
ol.comment-list {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
max-width: 960px;
|
||||
margin: auto;
|
||||
list-style: none;
|
||||
|
||||
li.comment {
|
||||
display: block;
|
||||
background: @comment_bg;
|
||||
background: var(--comment_bg);
|
||||
color: @comment_color;
|
||||
color: var(--comment_color);
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,.2);
|
||||
margin: 30px 0;
|
||||
|
||||
|
||||
&.bypostauthor {
|
||||
border-left: 4px solid @comment_color;
|
||||
border-left: 4px solid var(--comment_color);
|
||||
}
|
||||
|
||||
.comment-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.comment-author-profil-picture {
|
||||
img {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.comment-meta {
|
||||
padding-left: 20px;
|
||||
margin-top: -5px;
|
||||
|
||||
.author-name {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.posted-on {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ol.children {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-left: 30px;
|
||||
list-style: none;
|
||||
|
||||
li.comment {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
71
assets/less/_custom-properties.less
Normal file
71
assets/less/_custom-properties.less
Normal file
@@ -0,0 +1,71 @@
|
||||
// out: ../css/custom-properties.css
|
||||
|
||||
body {
|
||||
|
||||
// SHADOW
|
||||
--shadow: 0px 2px 4px rgba(0,0,0,.1);
|
||||
--deeper_shadow: 0px 2px 8px rgba(0,0,0,.15);
|
||||
// FONTS
|
||||
--lato: 'Lato', sans-serif;
|
||||
--fjalla: 'Fjalla One', sans-serif;
|
||||
|
||||
&.light-theme {
|
||||
// COLORS
|
||||
--top_bar_color: #2E3B4F;
|
||||
--body_color: #2E3B4F;
|
||||
--footer_color: #2E3B4F;
|
||||
--card_color: #2E3B4F;
|
||||
--link_color: #4B828E;
|
||||
--link_hover_color: darken(#4B828E, 10%);
|
||||
--tag_color: #4B828E;
|
||||
--tag_hover_color: darken(#4B828E, 10%);
|
||||
--search_widget_color: #2E3B4F;
|
||||
--read_more_btn_color: #2E3B4F;
|
||||
--comment_form_color: #2E3B4F;
|
||||
--comment_color: #2E3B4F;
|
||||
--post_comment_btn_color: #2E3B4F;
|
||||
// BACKGROUNDS
|
||||
--top_bar_bg: #FFF;
|
||||
--body_bg: #FAFBFB;
|
||||
--very_opaque_header_bg: linear-gradient(to top, rgba(250, 251, 251, 1), rgba(250, 251, 251, 0.9));
|
||||
--opaque_header_bg: linear-gradient(to top, rgba(250, 251, 251, 1), rgba(250, 251, 251, 0.6));
|
||||
--less_opaque_header_bg: linear-gradient(to top, rgba(250, 251, 251, 1), rgba(250, 251, 251, 0.4));
|
||||
--footer_bg: #FFF;
|
||||
--card_bg: #FFF;
|
||||
--search_widget_bg: #f5f4f4;
|
||||
--read_more_btn_bg: #F5F5F5;
|
||||
--comment_form_bg: #FFF;
|
||||
--comment_bg: #FFF;
|
||||
--post_comment_btn_bg: #FFF;
|
||||
}
|
||||
|
||||
&.dark-theme {
|
||||
// COLORS
|
||||
--top_bar_color: #F7F9FE;
|
||||
--body_color: #F7F9FE;
|
||||
--footer_color: #F7F9FE;
|
||||
--card_color: #2E3B4F;
|
||||
--link_color: #6db1c0;
|
||||
--link_hover_color: darken(#6db1c0, 10%);
|
||||
--tag_color: #6db1c0;
|
||||
--tag_hover_color: darken(#6db1c0, 10%);
|
||||
--search_widget_color: #F7F9FE;
|
||||
--read_more_btn_color: #F7F9FE;
|
||||
--comment_form_color: #2E3B4F;
|
||||
--comment_color: #2E3B4F;
|
||||
--post_comment_btn_color: #2E3B4F;
|
||||
// BACKGROUNDS
|
||||
--top_bar_bg: #232730;
|
||||
--body_bg: #1d2027;
|
||||
--very_opaque_header_bg: linear-gradient(to top, rgba(29, 32, 39, 1), rgba(29, 32, 39, 0.9));
|
||||
--opaque_header_bg: linear-gradient(to top, rgba(29, 32, 39, 1), rgba(29, 32, 39, 0.6));
|
||||
--less_opaque_header_bg: linear-gradient(to top, rgba(29, 32, 39, 1), rgba(29, 32, 39, 0.4));
|
||||
--footer_bg: #232730;
|
||||
--card_bg: #FFF;
|
||||
--search_widget_bg: #15181d;
|
||||
--read_more_btn_bg: rgb(56, 67, 90);
|
||||
--comment_form_bg: #FFF;
|
||||
--comment_bg: #FFF;
|
||||
--post_comment_btn_bg: #FFF;
|
||||
}
|
||||
}
|
||||
149
assets/less/_footer.less
Normal file
149
assets/less/_footer.less
Normal file
@@ -0,0 +1,149 @@
|
||||
// main: style.less
|
||||
|
||||
.site-footer {
|
||||
width: 100%;
|
||||
padding: 60px 0;
|
||||
background: @footer_bg;
|
||||
background: var(--footer_bg);
|
||||
color: @footer_color;
|
||||
color: var(--footer_color);
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
|
||||
.widgets-area {
|
||||
width: 90%;
|
||||
max-width: 1260px;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
|
||||
@media screen and (max-width: @tablet) {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.widgets-column {
|
||||
flex: 1;
|
||||
padding: 0px 20px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.widget-title {
|
||||
font-weight: 400;
|
||||
font-size: 22px;
|
||||
//font-family: var(--fjalla);
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
|
||||
.tagcloud {
|
||||
|
||||
a {
|
||||
font-size: 16px !important;
|
||||
color: @tag_color;
|
||||
color: var(--tag_color);
|
||||
border: 1px solid @tag_color;
|
||||
border: 1px solid var(--tag_color);
|
||||
padding: 5px 8px;
|
||||
line-height: 38px;
|
||||
white-space: nowrap;
|
||||
|
||||
&:hover {
|
||||
color: @tag_hover_color;
|
||||
color: var(--tag_hover_color);
|
||||
border: 1px solid @tag_hover_color;
|
||||
border: 1px solid var(--tag_hover_color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.widget_search {
|
||||
|
||||
.search-form {
|
||||
position: relative;
|
||||
|
||||
.search-field {
|
||||
width: 100%;
|
||||
border-radius: 30px;
|
||||
line-height: 20px;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
outline: none;
|
||||
color: @search_widget_color;
|
||||
color: var(--search_widget_color);
|
||||
background: @search_widget_bg;
|
||||
background: var(--search_widget_bg);
|
||||
transition: .1s;
|
||||
|
||||
&:focus {
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
transition: .1s;
|
||||
}
|
||||
}
|
||||
|
||||
svg {
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
right: 15px;
|
||||
stroke: @search_widget_color;
|
||||
stroke: var(--search_widget_color);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.hidden-submit {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.copyright-area {
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
opacity: .6;
|
||||
}
|
||||
}
|
||||
|
||||
.scroll-back-to-top-btn {
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
background: @card_bg;
|
||||
background: var(--card_bg);
|
||||
border-radius: 6px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
transition: .1s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
|
||||
svg {
|
||||
stroke: @card_color;
|
||||
stroke: var(--card_color);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
box-shadow: @deeper_shadow;
|
||||
box-shadow: var(--deeper_shadow);
|
||||
transition: .1s;
|
||||
}
|
||||
|
||||
&.visible {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition: .3s;
|
||||
}
|
||||
}
|
||||
52
assets/less/_general-elements.less
Normal file
52
assets/less/_general-elements.less
Normal file
@@ -0,0 +1,52 @@
|
||||
// main: style.less
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
background: @body_bg;
|
||||
background: var(--body_bg);
|
||||
}
|
||||
|
||||
.fullwidth-container, .super-large-container, .large-container, .medium-container {
|
||||
&.top-and-bottom-margin {
|
||||
margin: 60px auto;
|
||||
}
|
||||
}
|
||||
|
||||
.fullwidth-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.super-large-container {
|
||||
width: 95%;
|
||||
max-width: 1260px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.large-container {
|
||||
width: 95%;
|
||||
max-width: 960px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.medium-container {
|
||||
position: relative;
|
||||
width: 95%;
|
||||
max-width: 660px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @link_color;
|
||||
color: var(--link_color);
|
||||
text-decoration: none;
|
||||
|
||||
&:visited, &:focus {
|
||||
color: @link_color;
|
||||
color: var(--link_color);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: @link_hover_color;
|
||||
color: var(--link_hover_color);
|
||||
}
|
||||
}
|
||||
26
assets/less/_gutenberg.less
Normal file
26
assets/less/_gutenberg.less
Normal file
@@ -0,0 +1,26 @@
|
||||
// main: style.less
|
||||
|
||||
.entry-content {
|
||||
> *:not(.alignfull), > *:not(.alignwide) {
|
||||
width: 90%;
|
||||
max-width: 960px;
|
||||
margin-left: auto !important;
|
||||
margin-right: auto !important;
|
||||
}
|
||||
|
||||
.alignfull {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.alignwide {
|
||||
max-width: 1160px;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-cover {
|
||||
p {
|
||||
margin: 0;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
}
|
||||
139
assets/less/_header.less
Normal file
139
assets/less/_header.less
Normal file
@@ -0,0 +1,139 @@
|
||||
// main: style.less
|
||||
|
||||
.article-header {
|
||||
text-align: center;
|
||||
margin: 120px auto;
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
|
||||
@media screen and (max-width: @phone) {
|
||||
margin: 70px auto;
|
||||
}
|
||||
|
||||
.article-categories {
|
||||
margin-bottom: 10px;
|
||||
|
||||
.article-category {
|
||||
display: inline-block;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
opacity: .3;
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
transition: .1s;
|
||||
|
||||
&:hover {
|
||||
opacity: .6;
|
||||
transition: .1s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.article-title {
|
||||
font-size: 48px;
|
||||
line-height: 160%;
|
||||
font-weight: 400;
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
|
||||
@media screen and (max-width: @phone) {
|
||||
font-size: 42px;
|
||||
line-height: 140%;
|
||||
}
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
opacity: 1;
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
|
||||
.author-picture {
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.single-article {
|
||||
.article-featured-image {
|
||||
text-align: center;
|
||||
margin-bottom: 60px;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page-header {
|
||||
text-align: center;
|
||||
margin: 120px auto;
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
|
||||
@media screen and (max-width: @phone) {
|
||||
margin: 70px auto;
|
||||
}
|
||||
|
||||
.label {
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
opacity: .3;
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
}
|
||||
|
||||
.meow-breadcrumb .breadcrumb-items-container {
|
||||
|
||||
.breadcrumb-item {
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
opacity: .3;
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
transition: .1s;
|
||||
|
||||
&:hover {
|
||||
opacity: .6;
|
||||
transition: .1s;
|
||||
}
|
||||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.divider {
|
||||
opacity: .3;
|
||||
margin: 0 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 48px;
|
||||
line-height: 160%;
|
||||
font-weight: 400;
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
|
||||
@media screen and (max-width: @phone) {
|
||||
font-size: 42px;
|
||||
line-height: 140%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page-featured-image {
|
||||
text-align: center;
|
||||
margin-bottom: 60px;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
253
assets/less/_meow-blocks.less
Normal file
253
assets/less/_meow-blocks.less
Normal file
@@ -0,0 +1,253 @@
|
||||
// main: style.less
|
||||
|
||||
.mwt-section-header {
|
||||
width: 90% !important;
|
||||
margin: auto;
|
||||
|
||||
h3 {
|
||||
position: relative;
|
||||
width: auto !important;
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
font-size: 28px;
|
||||
color: @body_color;
|
||||
color: var(--body_color);
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: -9;
|
||||
bottom: -5px;
|
||||
width: 120%;
|
||||
left: -10%;
|
||||
height: 20px;
|
||||
background: @body_color;
|
||||
background: var(--body_color);
|
||||
opacity: .05;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.collections-list {
|
||||
margin-left: -10px;
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
.collection-card-container {
|
||||
display: inline-block;
|
||||
width: 25%;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
|
||||
@media screen and (max-width: @tablet) {
|
||||
width: 33.33%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.collection-card {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding-bottom: 66.66%;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
|
||||
.background {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
padding-bottom: 66.66%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.content {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
padding: 10px 20px;
|
||||
background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
|
||||
color: white;
|
||||
box-sizing: border-box;
|
||||
|
||||
h3 {
|
||||
font-weight: 300;
|
||||
font-size: 18px;
|
||||
margin: 0;
|
||||
line-height: 140%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.collection-meta {
|
||||
font-size: 13px;
|
||||
opacity: .5;
|
||||
margin-top: -5px;
|
||||
line-height: 1em;
|
||||
|
||||
svg {
|
||||
stroke: white;
|
||||
vertical-align: middle;
|
||||
margin-top: -3px;
|
||||
margin-right: 5px;
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.folders-list {
|
||||
margin-left: -10px;
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
.folder-card-container {
|
||||
display: inline-block;
|
||||
width: 25%;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
vertical-align: top;
|
||||
|
||||
@media screen and (max-width: @tablet) {
|
||||
width: 33.33%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: @big_phone) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.folder-card {
|
||||
width: 100%;
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
|
||||
&:hover {
|
||||
box-shadow: @deeper_shadow;
|
||||
box-shadow: var(--deeper_shadow);
|
||||
transition: .1s;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-bottom: 66.66%;
|
||||
|
||||
a {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
background: #222;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
background: @card_bg;
|
||||
background: var(--card_bg);
|
||||
padding: 10px 20px;
|
||||
height: 110px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 140%;
|
||||
margin-bottom: 10px;
|
||||
|
||||
a {
|
||||
color: @card_color;
|
||||
color: var(--card_color);
|
||||
}
|
||||
}
|
||||
|
||||
.folder-meta {
|
||||
font-size: 14px;
|
||||
line-height: 1em;
|
||||
opacity: .5;
|
||||
margin-top: -5px;
|
||||
color: @card_color;
|
||||
color: var(--card_color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mwt-keywords {
|
||||
width: 90% !important;
|
||||
margin: auto;
|
||||
|
||||
.mwt-tags-cloud {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
font-size: 16px !important;
|
||||
color: @tag_color;
|
||||
color: var(--tag_color);
|
||||
border: 1px solid @tag_color;
|
||||
border: 1px solid var(--tag_color);
|
||||
padding: 0px 10px;
|
||||
line-height: 38px;
|
||||
white-space: nowrap;
|
||||
margin: 3px;
|
||||
|
||||
&:hover {
|
||||
color: @tag_hover_color;
|
||||
color: var(--tag_hover_color);
|
||||
border: 1px solid @tag_hover_color;
|
||||
border: 1px solid var(--tag_hover_color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mwt-search {
|
||||
position: relative;
|
||||
width: 90% !important;
|
||||
margin: auto;
|
||||
|
||||
form.search-form {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
|
||||
.mwt-search {
|
||||
width: 100% !important;
|
||||
border-radius: 30px;
|
||||
line-height: 20px;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
outline: none;
|
||||
background: @search_widget_bg;
|
||||
background: var(--search_widget_bg);
|
||||
transition: .1s;
|
||||
|
||||
&:focus {
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
transition: .1s;
|
||||
}
|
||||
}
|
||||
|
||||
svg {
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
right: 15px;
|
||||
stroke: @footer_color;
|
||||
stroke: var(--footer_color);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.hidden-submit {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
34
assets/less/_photography.less
Normal file
34
assets/less/_photography.less
Normal file
@@ -0,0 +1,34 @@
|
||||
// main: style.less
|
||||
|
||||
.opaque-featured-image-container {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
||||
.featured-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.filter {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
background: @opaque_header_bg;
|
||||
background: var(--opaque_header_bg);
|
||||
|
||||
&.less-opaque {
|
||||
background: @less_opaque_header_bg;
|
||||
background: var(--less_opaque_header_bg);
|
||||
}
|
||||
|
||||
&.very-opaque {
|
||||
background: @very_opaque_header_bg;
|
||||
background: var(--very_opaque_header_bg);
|
||||
}
|
||||
}
|
||||
}
|
||||
23
assets/less/_theme-info.less
Normal file
23
assets/less/_theme-info.less
Normal file
@@ -0,0 +1,23 @@
|
||||
// main: style.less
|
||||
|
||||
/*!
|
||||
Theme Name: Yuzu
|
||||
Theme URI: https://meowapps.con/themes/yuzu/
|
||||
Author: MeowApps
|
||||
Author URI: https://meowapps.con/
|
||||
Description: Fresh, small but not yellow, this theme has been designed for photographers, by photographers!
|
||||
Version: 0.1.0
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
Text Domain: yuzu
|
||||
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
|
||||
|
||||
This theme, like WordPress, is licensed under the GPL.
|
||||
Use it to make something cool, have fun, and share what you've learned with others.
|
||||
|
||||
Yuzu is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
|
||||
Underscores is distributed under the terms of the GNU GPL v2 or later.
|
||||
|
||||
Normalizing styles have been helped along thanks to the fine work of
|
||||
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
||||
*/
|
||||
389
assets/less/_top-bar.less
Normal file
389
assets/less/_top-bar.less
Normal file
@@ -0,0 +1,389 @@
|
||||
// main: style.less
|
||||
|
||||
.top-search-bar-container {
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background: @top_bar_bg;
|
||||
background: var(--top_bar_bg);
|
||||
border-bottom: 1px solid rgba(0,0,0,.1);
|
||||
margin-top: -60px;
|
||||
transition: .2s;
|
||||
|
||||
&.opened {
|
||||
margin-top: 0px;
|
||||
transition: .3s;
|
||||
}
|
||||
|
||||
.super-large-container {
|
||||
position: relative;
|
||||
height: 60px;
|
||||
|
||||
form {
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
line-height: 60px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
outline: none;
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.submit-top-bar-search {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
height: 30px;
|
||||
margin-top: -15px;
|
||||
cursor: pointer;
|
||||
opacity: .5;
|
||||
transition: .1s;
|
||||
|
||||
svg {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
stroke: @top_bar_color;
|
||||
stroke: var(--top_bar_color);
|
||||
stroke-width: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
transition: .1s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
@header_height: 60px;
|
||||
width: 100%;
|
||||
background: @top_bar_bg;
|
||||
background: var(--top_bar_bg);
|
||||
height: @header_height;
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
|
||||
.top-bar-content {
|
||||
display: flex;
|
||||
|
||||
.site-branding {
|
||||
flex: 1;
|
||||
max-width: 300px;
|
||||
|
||||
.site-logo {
|
||||
height: 50px;
|
||||
margin-top: 5px;
|
||||
|
||||
a, img {
|
||||
height: 100%;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.site-title {
|
||||
font-size: 18px;
|
||||
line-height: @header_height;
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
color: @top_bar_color;
|
||||
color: var(--top_bar_color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.site-navigation {
|
||||
flex: 1;
|
||||
line-height: @header_height;
|
||||
text-align: right;
|
||||
|
||||
.menu-main-menu-container {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
||||
@media screen and (max-width: 860px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
margin-left: 10px;
|
||||
font-weight: 400;
|
||||
|
||||
&.current-menu-item {
|
||||
font-weight: 600;
|
||||
|
||||
a {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: @top_bar_color;
|
||||
color: var(--top_bar_color);
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
a {
|
||||
opacity: 1;
|
||||
transition: .1s;
|
||||
}
|
||||
|
||||
ul {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition: .1s;
|
||||
|
||||
li a {
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
background: @top_bar_bg;
|
||||
background: var(--top_bar_bg);
|
||||
padding: 20px;
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
right: 0;
|
||||
margin-top: -1px;
|
||||
margin-right: -20px;
|
||||
transition: .1s;
|
||||
text-align: left;
|
||||
|
||||
li {
|
||||
display: block;
|
||||
margin: 0;
|
||||
line-height: 30px;
|
||||
white-space: nowrap;
|
||||
|
||||
&.current-menu-item {
|
||||
a {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
ul, &.current-menu-item > ul, &:hover > ul {
|
||||
position: relative;
|
||||
padding: 10px 20px;
|
||||
border-left: 1px solid rgba(0,0,0,.4);
|
||||
box-shadow: none;
|
||||
|
||||
li {
|
||||
display: block;
|
||||
margin: 0;
|
||||
line-height: 30px;
|
||||
white-space: nowrap;
|
||||
|
||||
a {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
&.current-menu-item {
|
||||
a {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
ul, &.current-menu-item > ul, &:hover > ul {
|
||||
position: relative;
|
||||
padding: 10px 20px;
|
||||
border-left: 1px solid rgba(0,0,0,.4);
|
||||
|
||||
li {
|
||||
display: block;
|
||||
margin: 0;
|
||||
line-height: 30px;
|
||||
white-space: nowrap;
|
||||
|
||||
a {
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
&.current-menu-item {
|
||||
a {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
background: @top_bar_bg;
|
||||
background: var(--top_bar_bg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.open-top-bar-search, .close-top-bar-search {
|
||||
display: inline-block;
|
||||
margin-left: 20px;
|
||||
vertical-align: middle;
|
||||
line-height: @header_height;
|
||||
cursor: pointer;
|
||||
opacity: .5;
|
||||
transition: .1s;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
transition: .1s;
|
||||
}
|
||||
|
||||
svg {
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
line-height: @header_height;
|
||||
stroke: @top_bar_color;
|
||||
stroke: var(--top_bar_color);
|
||||
stroke-width: 2px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
|
||||
svg {
|
||||
stroke-width: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-navigation {
|
||||
position: relative;
|
||||
z-index: 9;
|
||||
display: none;
|
||||
width: 100%;
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
background: @top_bar_bg;
|
||||
background: var(--top_bar_bg);
|
||||
//background: var(--top_bar_bg);
|
||||
text-align: center;
|
||||
|
||||
@media screen and (max-width: 860px) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.site-navigation {
|
||||
display: inline-block;
|
||||
padding: 30px 0;
|
||||
margin: auto;
|
||||
text-align: left;
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
line-height: 200%;
|
||||
|
||||
a {
|
||||
color: @top_bar_color;
|
||||
color: var(--top_bar_color);
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 30px;
|
||||
border-left: 1px dashed #e6e6e6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-navigation-toggle {
|
||||
position: absolute;
|
||||
height: 40px;
|
||||
width: 60px;
|
||||
background: @top_bar_bg;
|
||||
background: var(--top_bar_bg);
|
||||
color: @top_bar_color;
|
||||
color: var(--top_bar_color);
|
||||
bottom: -40px;
|
||||
left: 50%;
|
||||
margin-left: -30px;
|
||||
line-height: 40px;
|
||||
box-shadow: @shadow;
|
||||
box-shadow: var(--shadow);
|
||||
text-align: center;
|
||||
border-radius: 0 0 8px 8px;
|
||||
cursor: pointer;
|
||||
|
||||
.open-icon, .close-icon {
|
||||
margin-top: 5px;
|
||||
|
||||
svg {
|
||||
stroke: @top_bar_color;
|
||||
stroke: var(--top_bar_color);
|
||||
}
|
||||
}
|
||||
|
||||
.close-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.active {
|
||||
.close-icon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.open-icon {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
39
assets/less/_variables.less
Normal file
39
assets/less/_variables.less
Normal file
@@ -0,0 +1,39 @@
|
||||
// main: style.less
|
||||
|
||||
// RESPONSIVENESS
|
||||
@phone: 320px; // iPhone 6,7,8
|
||||
@big_phone: 376px; // iPhone X
|
||||
@tablet: 768px; // iPad
|
||||
@big_tablet: 1024px; // iPad Pro
|
||||
|
||||
|
||||
// These variables will be used by browsers that can't support custom properties ( IE )
|
||||
@shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
|
||||
@deeper_shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
|
||||
@lato: 'Lato', sans-serif;
|
||||
@top_bar_color: #2E3B4F;
|
||||
@body_color: #2E3B4F;
|
||||
@footer_color: #2E3B4F;
|
||||
@card_color: #2E3B4F;
|
||||
@link_color: #4B828E;
|
||||
@link_hover_color: #39636d;
|
||||
@tag_color: #4B828E;
|
||||
@tag_hover_color: #39636d;
|
||||
@search_widget_color: #2E3B4F;
|
||||
@read_more_btn_color: #2E3B4F;
|
||||
@comment_form_color: #2E3B4F;
|
||||
@comment_color: #2E3B4F;
|
||||
@post_comment_btn_color: #2E3B4F;
|
||||
@top_bar_bg: #FFF;
|
||||
@body_bg: #FAFBFB;
|
||||
@very_opaque_header_bg: linear-gradient(to top, #fafbfb, rgba(250, 251, 251, 0.9));
|
||||
@opaque_header_bg: linear-gradient(to top, #fafbfb, rgba(250, 251, 251, 0.6));
|
||||
@less_opaque_header_bg: linear-gradient(to top, #fafbfb, rgba(250, 251, 251, 0.4));
|
||||
@footer_bg: #FFF;
|
||||
@card_bg: #FFF;
|
||||
@search_widget_bg: #f5f4f4;
|
||||
@read_more_btn_bg: #F5F5F5;
|
||||
@comment_form_bg: #FFF;
|
||||
@comment_bg: #FFF;
|
||||
@post_comment_btn_bg: #FFF;
|
||||
|
||||
955
assets/less/_wordpress.less
Normal file
955
assets/less/_wordpress.less
Normal file
@@ -0,0 +1,955 @@
|
||||
// main: style.less
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
# Normalize
|
||||
# Typography
|
||||
# Elements
|
||||
# Forms
|
||||
# Navigation
|
||||
## Links
|
||||
## Menus
|
||||
# Accessibility
|
||||
# Alignments
|
||||
# Clearings
|
||||
# Widgets
|
||||
# Content
|
||||
## Posts and pages
|
||||
## Comments
|
||||
# Infinite scroll
|
||||
# Media
|
||||
## Captions
|
||||
## Galleries
|
||||
--------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------
|
||||
# Normalize
|
||||
--------------------------------------------------------------*/
|
||||
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/* Document
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
*/
|
||||
|
||||
html {
|
||||
line-height: 1.15; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/* Sections
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the margin in all browsers.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the font size and margin on `h1` elements within `section` and
|
||||
* `article` contexts in Chrome, Firefox, and Safari.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in Firefox.
|
||||
* 2. Show the overflow in Edge and IE.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box; /* 1 */
|
||||
height: 0; /* 1 */
|
||||
overflow: visible; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background on active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Remove the bottom border in Chrome 57-
|
||||
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: none; /* 1 */
|
||||
text-decoration: underline; /* 2 */
|
||||
text-decoration: underline dotted; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||
* 2. Correct the odd `em` font sizing in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, monospace; /* 1 */
|
||||
font-size: 1em; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||
* all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the border on images inside links in IE 10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Change the font styles in all browsers.
|
||||
* 2. Remove the margin in Firefox and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-size: 100%; /* 1 */
|
||||
line-height: 1.15; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the overflow in IE.
|
||||
* 1. Show the overflow in Edge.
|
||||
*/
|
||||
|
||||
button,
|
||||
input { /* 1 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||
* 1. Remove the inheritance of text transform in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select { /* 1 */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the inability to style clickable types in iOS and Safari.
|
||||
*/
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner border and padding in Firefox.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Restore the focus styles unset by the previous rule.
|
||||
*/
|
||||
|
||||
button:-moz-focusring,
|
||||
[type="button"]:-moz-focusring,
|
||||
[type="reset"]:-moz-focusring,
|
||||
[type="submit"]:-moz-focusring {
|
||||
outline: 1px dotted ButtonText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the padding in Firefox.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
padding: 0.35em 0.75em 0.625em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the text wrapping in Edge and IE.
|
||||
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||
* 3. Remove the padding so developers are not caught out when they zero out
|
||||
* `fieldset` elements in all browsers.
|
||||
*/
|
||||
|
||||
legend {
|
||||
box-sizing: border-box; /* 1 */
|
||||
color: inherit; /* 2 */
|
||||
display: table; /* 1 */
|
||||
max-width: 100%; /* 1 */
|
||||
padding: 0; /* 3 */
|
||||
white-space: normal; /* 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the default vertical scrollbar in IE 10+.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in IE 10.
|
||||
* 2. Remove the padding in IE 10.
|
||||
*/
|
||||
|
||||
[type="checkbox"],
|
||||
[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||
*/
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the odd appearance in Chrome and Safari.
|
||||
* 2. Correct the outline style in Safari.
|
||||
*/
|
||||
|
||||
[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
outline-offset: -2px; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the inner padding in Chrome and Safari on macOS.
|
||||
*/
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||
* 2. Change font properties to `inherit` in Safari.
|
||||
*/
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
-webkit-appearance: button; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
}
|
||||
|
||||
/* Interactive
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||
*/
|
||||
|
||||
details {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add the correct display in all browsers.
|
||||
*/
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/* Misc
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10+.
|
||||
*/
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Typography
|
||||
--------------------------------------------------------------*/
|
||||
body,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
color: #404040;
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
dfn, cite, em, i {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 1.5em;
|
||||
}
|
||||
|
||||
address {
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #eee;
|
||||
font-family: "Courier 10 Pitch", Courier, monospace;
|
||||
font-size: 15px;
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 1.6em;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
padding: 1.6em;
|
||||
}
|
||||
|
||||
code, kbd, tt, var {
|
||||
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
font-size: 15px;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
|
||||
abbr, acronym {
|
||||
border-bottom: 1px dotted #666;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
mark, ins {
|
||||
background: #fff9c0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
big {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Elements
|
||||
--------------------------------------------------------------*/
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
/* Fallback for when there is no custom background color defined. */
|
||||
}
|
||||
|
||||
hr {
|
||||
background-color: #ccc;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 0 0 1.5em 3em;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
li > ul,
|
||||
li > ol {
|
||||
margin-bottom: 0;
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0 1.5em 1.5em;
|
||||
}
|
||||
|
||||
img {
|
||||
height: auto;
|
||||
/* Make sure images are scaled correctly. */
|
||||
max-width: 100%;
|
||||
/* Adhere to container width. */
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 1em 0;
|
||||
/* Extra wide images within figure tags don't overflow the content area. */
|
||||
}
|
||||
|
||||
table {
|
||||
margin: 0 0 1.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Forms
|
||||
--------------------------------------------------------------*/
|
||||
button,
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
border: 1px solid;
|
||||
border-color: #ccc #ccc #bbb;
|
||||
border-radius: 3px;
|
||||
background: #e6e6e6;
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1;
|
||||
padding: .6em 1em .4em;
|
||||
}
|
||||
|
||||
button:hover,
|
||||
input[type="button"]:hover,
|
||||
input[type="reset"]:hover,
|
||||
input[type="submit"]:hover {
|
||||
border-color: #ccc #bbb #aaa;
|
||||
}
|
||||
|
||||
button:active, button:focus,
|
||||
input[type="button"]:active,
|
||||
input[type="button"]:focus,
|
||||
input[type="reset"]:active,
|
||||
input[type="reset"]:focus,
|
||||
input[type="submit"]:active,
|
||||
input[type="submit"]:focus {
|
||||
border-color: #aaa #bbb #bbb;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="password"],
|
||||
input[type="search"],
|
||||
input[type="number"],
|
||||
input[type="tel"],
|
||||
input[type="range"],
|
||||
input[type="date"],
|
||||
input[type="month"],
|
||||
input[type="week"],
|
||||
input[type="time"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="color"],
|
||||
textarea {
|
||||
color: #666;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="range"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="color"]:focus,
|
||||
textarea:focus {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
select {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Navigation
|
||||
--------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------
|
||||
## Links
|
||||
--------------------------------------------------------------*/
|
||||
a {
|
||||
color: royalblue;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: purple;
|
||||
}
|
||||
|
||||
a:hover, a:focus, a:active {
|
||||
color: midnightblue;
|
||||
}
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
}
|
||||
|
||||
a:hover, a:active {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
## Menus
|
||||
--------------------------------------------------------------*/
|
||||
.main-navigation {
|
||||
clear: both;
|
||||
display: block;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main-navigation ul {
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.main-navigation ul ul {
|
||||
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
||||
float: left;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: -999em;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.main-navigation ul ul ul {
|
||||
left: -999em;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.main-navigation ul ul li:hover > ul,
|
||||
.main-navigation ul ul li.focus > ul {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.main-navigation ul ul a {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.main-navigation ul li:hover > ul,
|
||||
.main-navigation ul li.focus > ul {
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.main-navigation li {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-navigation a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Small menu. */
|
||||
.menu-toggle,
|
||||
.main-navigation.toggled ul {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 37.5em) {
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
.main-navigation ul {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.site-main .comment-navigation, .site-main
|
||||
.posts-navigation, .site-main
|
||||
.post-navigation {
|
||||
margin: 0 0 1.5em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-previous,
|
||||
.posts-navigation .nav-previous,
|
||||
.post-navigation .nav-previous {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.comment-navigation .nav-next,
|
||||
.posts-navigation .nav-next,
|
||||
.post-navigation .nav-next {
|
||||
float: right;
|
||||
text-align: right;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Accessibility
|
||||
--------------------------------------------------------------*/
|
||||
/* Text meant only for screen readers. */
|
||||
.screen-reader-text {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute !important;
|
||||
width: 1px;
|
||||
word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
|
||||
}
|
||||
|
||||
.screen-reader-text:focus {
|
||||
background-color: #f1f1f1;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
||||
clip: auto !important;
|
||||
clip-path: none;
|
||||
color: #21759b;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-size: 0.875rem;
|
||||
font-weight: bold;
|
||||
height: auto;
|
||||
left: 5px;
|
||||
line-height: normal;
|
||||
padding: 15px 23px 14px;
|
||||
text-decoration: none;
|
||||
top: 5px;
|
||||
width: auto;
|
||||
z-index: 100000;
|
||||
/* Above WP toolbar. */
|
||||
}
|
||||
|
||||
/* Do not show the outline on the skip link target. */
|
||||
#content[tabindex="-1"]:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Alignments
|
||||
--------------------------------------------------------------*/
|
||||
.alignleft {
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
display: inline;
|
||||
float: right;
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
|
||||
.aligncenter {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Clearings
|
||||
--------------------------------------------------------------*/
|
||||
.clear:before,
|
||||
.clear:after,
|
||||
.entry-content:before,
|
||||
.entry-content:after,
|
||||
.comment-content:before,
|
||||
.comment-content:after,
|
||||
.site-header:before,
|
||||
.site-header:after,
|
||||
.site-content:before,
|
||||
.site-content:after,
|
||||
.site-footer:before,
|
||||
.site-footer:after {
|
||||
content: "";
|
||||
display: table;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.clear:after,
|
||||
.entry-content:after,
|
||||
.comment-content:after,
|
||||
.site-header:after,
|
||||
.site-content:after,
|
||||
.site-footer:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Widgets
|
||||
--------------------------------------------------------------*/
|
||||
.widget {
|
||||
margin: 0 0 1.5em;
|
||||
/* Make sure select elements fit in widgets. */
|
||||
}
|
||||
|
||||
.widget select {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Content
|
||||
--------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------
|
||||
## Posts and pages
|
||||
--------------------------------------------------------------*/
|
||||
.sticky {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.updated:not(.published) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.page-links {
|
||||
clear: both;
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
## Comments
|
||||
--------------------------------------------------------------*/
|
||||
.comment-content a {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.bypostauthor {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Infinite scroll
|
||||
--------------------------------------------------------------*/
|
||||
/* Globally hidden elements when Infinite Scroll is supported and in use. */
|
||||
.infinite-scroll .posts-navigation,
|
||||
.infinite-scroll.neverending .site-footer {
|
||||
/* Theme Footer (when set to scrolling) */
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
|
||||
.infinity-end.neverending .site-footer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Media
|
||||
--------------------------------------------------------------*/
|
||||
.page-content .wp-smiley,
|
||||
.entry-content .wp-smiley,
|
||||
.comment-content .wp-smiley {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Make sure embeds and iframes fit their containers. */
|
||||
embed,
|
||||
iframe,
|
||||
object {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Make sure logo link wraps around logo image. */
|
||||
.custom-logo-link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
## Captions
|
||||
--------------------------------------------------------------*/
|
||||
.wp-caption {
|
||||
margin-bottom: 1.5em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.wp-caption img[class*="wp-image-"] {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.wp-caption .wp-caption-text {
|
||||
margin: 0.8075em 0;
|
||||
}
|
||||
|
||||
.wp-caption-text {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
## Galleries
|
||||
--------------------------------------------------------------*/
|
||||
.gallery {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.gallery-item {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gallery-columns-2 .gallery-item {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.gallery-columns-3 .gallery-item {
|
||||
max-width: 33.33%;
|
||||
}
|
||||
|
||||
.gallery-columns-4 .gallery-item {
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.gallery-columns-5 .gallery-item {
|
||||
max-width: 20%;
|
||||
}
|
||||
|
||||
.gallery-columns-6 .gallery-item {
|
||||
max-width: 16.66%;
|
||||
}
|
||||
|
||||
.gallery-columns-7 .gallery-item {
|
||||
max-width: 14.28%;
|
||||
}
|
||||
|
||||
.gallery-columns-8 .gallery-item {
|
||||
max-width: 12.5%;
|
||||
}
|
||||
|
||||
.gallery-columns-9 .gallery-item {
|
||||
max-width: 11.11%;
|
||||
}
|
||||
|
||||
.gallery-caption {
|
||||
display: block;
|
||||
}
|
||||
13
assets/less/editor-style.less
Normal file
13
assets/less/editor-style.less
Normal file
@@ -0,0 +1,13 @@
|
||||
// out: ../css/editor-style.css
|
||||
|
||||
@import url('https://fonts.googleapis.com/css?family=Lato:400&display=swap');
|
||||
|
||||
.edit-post-visual-editor {
|
||||
font-family: 'Lato', sans-serif !important;
|
||||
|
||||
p {
|
||||
font-size: 18px !important;
|
||||
line-height: 180% !important;
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
19
assets/less/style.less
Normal file
19
assets/less/style.less
Normal file
@@ -0,0 +1,19 @@
|
||||
// out: ../../style.css
|
||||
|
||||
// Importing Google Fonts
|
||||
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900&display=swap');
|
||||
|
||||
// Importing LESS
|
||||
@import '_theme-info';
|
||||
@import '_variables';
|
||||
@import '_wordpress';
|
||||
@import '_general-elements';
|
||||
@import '_gutenberg';
|
||||
@import '_blog';
|
||||
@import '_photography';
|
||||
@import '_meow-blocks';
|
||||
@import '_article-cards';
|
||||
@import '_footer';
|
||||
|
||||
@import '_top-bar';
|
||||
@import '_header';
|
||||
Reference in New Issue
Block a user