1245 lines
No EOL
25 KiB
CSS
Executable file
1245 lines
No EOL
25 KiB
CSS
Executable file
/*!
|
|
Theme Name: WasMormon Theme
|
|
Theme URI: https://wasmormon.org
|
|
Description: Theme for a was mormon profile site
|
|
Author: Evan Mullins
|
|
Author URI: https://circlecube.com
|
|
Template: twentynineteen
|
|
Version: 1.11.8
|
|
License: GNU General Public License v2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
Text Domain: wasmo
|
|
GitHub Theme URI: https://github.com/circlecube/wasmo-theme
|
|
*/
|
|
|
|
:root {
|
|
--color-orange: #f07c27;
|
|
--color-pink: #d80c81;
|
|
--color-blue: #00aeeb;
|
|
--color-blue-2: #007099;
|
|
--color-blue-3: #004b66;
|
|
--color-white: #ffffff;
|
|
--color-gray0: #f2f2f2;
|
|
--color-gray1: #e8e8ea;
|
|
--color-gray2: #a5a6ab;
|
|
--color-gray3: #333333;
|
|
--color-orange-light: rgba(240, 124, 39, 0.05);
|
|
}
|
|
html {
|
|
font-size: 100% !important;
|
|
font-size: 22px !important;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
.site-info {
|
|
font-family: "Crimson Text", serif;
|
|
}
|
|
|
|
.author-description .author-link,
|
|
.comment-metadata,
|
|
.comment-reply-link,
|
|
.comments-title,
|
|
.comment-author .fn,
|
|
.discussion-meta-info,
|
|
.entry-meta,
|
|
.entry-footer,
|
|
.main-navigation,
|
|
.no-comments,
|
|
.not-found .page-title,
|
|
.error-404 .page-title,
|
|
.post-navigation .post-title,
|
|
.page-links,
|
|
.page-description,
|
|
.pagination .nav-links,
|
|
.sticky-post,
|
|
.site-title,
|
|
#cancel-comment-reply-link,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
.sidebar .wp-block-button__link {
|
|
font-family: "Open Sans", sans-serif;
|
|
}
|
|
|
|
.site-header {
|
|
background: var(--color-orange);
|
|
color: var(--color-white);
|
|
}
|
|
.site-header a,
|
|
.main-navigation .main-menu > li > a {
|
|
color: var(--color-white);
|
|
text-transform: uppercase;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-weight: normal;
|
|
}
|
|
.main-navigation .main-menu > li > a {
|
|
font-size: 20px;
|
|
}
|
|
.site-title a:link,
|
|
.site-title a:visited,
|
|
.site-description,
|
|
.main-navigation .main-menu > li {
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.site-header {
|
|
padding: 0rem 1rem 1rem;
|
|
}
|
|
.site-description {
|
|
font-size: 18px;
|
|
}
|
|
.site-title:not(:empty) + .site-description:not(:empty):before {
|
|
content: none;
|
|
}
|
|
.site-title {
|
|
text-transform: lowercase;
|
|
font-style: italic;
|
|
}
|
|
|
|
.site-logo {
|
|
max-width: 80px;
|
|
z-index: 99;
|
|
}
|
|
|
|
.site-logo + .site-title {
|
|
display: none;
|
|
}
|
|
|
|
.site-logo .custom-logo-link {
|
|
border-radius: 0;
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
|
|
.site-logo .custom-logo-link:hover,
|
|
.site-logo .custom-logo-link:active,
|
|
.site-logo .custom-logo-link:focus {
|
|
box-shadow: 0 0 0 2px var(--color-white);
|
|
}
|
|
|
|
/* desktop */
|
|
@media only screen and (min-width: 768px) {
|
|
.site-header {
|
|
padding: 1rem 0 0.5rem;
|
|
}
|
|
.site-logo {
|
|
position: relative;
|
|
margin-bottom: calc(0.66 * 1rem);
|
|
top: initial;
|
|
right: initial;
|
|
z-index: 99;
|
|
}
|
|
}
|
|
|
|
.jetpack_widget_social_icons svg.icon,
|
|
#colophon .site-info {
|
|
color: var(--color-gray2);
|
|
}
|
|
|
|
.discussion-avatar-list {
|
|
display: none;
|
|
}
|
|
|
|
/* menu visibility toggles */
|
|
.menu-item.not-logged-in {
|
|
display: initial;
|
|
}
|
|
.menu-item.logged-in {
|
|
display: none;
|
|
}
|
|
body.logged-in .menu-item.not-logged-in {
|
|
display: none;
|
|
}
|
|
body.logged-in .menu-item.logged-in {
|
|
display: initial;
|
|
}
|
|
|
|
.site-branding-container {
|
|
position: relative;
|
|
}
|
|
|
|
.utility-navigation {
|
|
float: right;
|
|
font-size: 0.67rem;
|
|
}
|
|
.utility-navigation ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.utility-navigation li {
|
|
display: inline-block;
|
|
margin-left: 1em;
|
|
}
|
|
.utility-navigation a {
|
|
font-size: 13px;
|
|
}
|
|
.utility-navigation a:hover {
|
|
color: var(--color-blue-3);
|
|
}
|
|
.utility-navigation svg {
|
|
vertical-align: sub;
|
|
margin-right: 1px;
|
|
}
|
|
|
|
/* Directory */
|
|
.entry .the-directory {
|
|
margin-bottom: 8rem;
|
|
max-width: 100%;
|
|
}
|
|
.entry .the-directory.directory-shortcode {
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
}
|
|
.the-directory .directory {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(1, 1fr);
|
|
grid-gap: 1rem;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.the-directory .directory .person {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
padding-top: 100%;
|
|
text-decoration: none;
|
|
width: 100%;
|
|
}
|
|
|
|
aside.callout {
|
|
width: auto;
|
|
}
|
|
|
|
.callout .the-directory.directory-bumper {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.the-directory.directory-bumper .directory {
|
|
margin: 0;
|
|
}
|
|
|
|
@media only screen and (min-width: 512px) {
|
|
.the-directory .directory {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1024px) {
|
|
.the-directory .directory {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1200px) {
|
|
.the-directory .directory {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1600px) {
|
|
.the-directory .directory {
|
|
grid-template-columns: repeat(6, 1fr);
|
|
}
|
|
}
|
|
|
|
.directory .person .directory-img {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 0;
|
|
padding-top: 100%;
|
|
overflow: hidden;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
.directory .person .directory-img img {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
.directory .person .directory-name {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
bottom: -36px;
|
|
color: var(--color-white);
|
|
font-size: 24px;
|
|
height: 36px;
|
|
line-height: 1.1rem;
|
|
opacity: 0;
|
|
padding: 0.25rem 0;
|
|
position: absolute;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
text-shadow: 1px 1px rgba(0,0,0,.25);
|
|
transition: all 0.2s ease;
|
|
width: 100%;
|
|
z-index: 1;
|
|
}
|
|
.directory-full > .user-week::after,
|
|
.directory-full > .user-month::after,
|
|
.directory-full > .updated-week::after,
|
|
.directory-full > .updated-month::after,
|
|
.directory-shortcode > .user-week::after,
|
|
.directory-shortcode > .user-month::after,
|
|
.directory-shortcode > .updated-week::after,
|
|
.directory-shortcode > .updated-month::after {
|
|
background-color: var(--color-blue);
|
|
bottom: 0;
|
|
color: white;
|
|
content: 'Updated this week';
|
|
font-family: sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
height: 24px;
|
|
letter-spacing: 1px;
|
|
line-height: 1.1rem;
|
|
opacity: .85;
|
|
padding: 0;
|
|
position: absolute;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
text-shadow: 1px 1px rgba(0,0,0,.25);
|
|
transition: all 0.2s ease;
|
|
width: 100%;
|
|
}
|
|
.directory-full > .updated-week::after,
|
|
.directory-shortcode > .updated-week::after {
|
|
background-color: var(--color-blue);
|
|
content: 'Updated this week';
|
|
}
|
|
.directory-full > .updated-month::after,
|
|
.directory-shortcode > .updated-month::after {
|
|
background-color: var(--color-blue-2);
|
|
content: 'Updated this month';
|
|
}
|
|
.directory-full > .user-week::after,
|
|
.directory-shortcode > .user-week::after {
|
|
background-color: var(--color-pink);
|
|
content: 'New this week';
|
|
}
|
|
.directory-full > .user-month::after,
|
|
.directory-shortcode > .user-month::after {
|
|
background-color: var(--color-orange);
|
|
content: 'New this month';
|
|
}
|
|
|
|
/* on mobile show name and */
|
|
@media only screen and (max-width: 769px) {
|
|
.directory-full > .user-week::after,
|
|
.directory-full > .user-month::after,
|
|
.directory-full > .updated-week::after,
|
|
.directory-full > .updated-month::after,
|
|
.directory-shortcode > .user-week::after,
|
|
.directory-shortcode > .user-month::after,
|
|
.directory-shortcode > .updated-week::after,
|
|
.directory-shortcode > .updated-month::after {
|
|
bottom: 36px;
|
|
}
|
|
.directory-full .person .directory-name,
|
|
.directory-shortcode .person .directory-name {
|
|
bottom: 0;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* on desktop show name on hover */
|
|
@media only screen and (min-width: 768px) {
|
|
.directory-full > .user-week:hover::after,
|
|
.directory-full > .user-month:hover::after,
|
|
.directory-full > .updated-week:hover::after,
|
|
.directory-full > .updated-month:hover::after,
|
|
.directory-shortcode > .user-week:hover::after,
|
|
.directory-shortcode > .user-month:hover::after,
|
|
.directory-shortcode > .updated-week:hover::after,
|
|
.directory-shortcode > .updated-month:hover::after {
|
|
bottom: 36px;
|
|
}
|
|
.directory-full .person .directory-name,
|
|
.directory-shortcode .person .directory-name {
|
|
bottom: -36px;
|
|
opacity: 0;
|
|
}
|
|
.directory-full .person:hover .directory-name,
|
|
.directory-shortcode .person:hover .directory-name {
|
|
bottom: 0;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.navigation.pagination,
|
|
.directory-pagination {
|
|
width: 100%;
|
|
margin: 3rem 0 !important;
|
|
border-top: 1px solid var(--color-orange);
|
|
}
|
|
|
|
.navigation.pagination .nav-links,
|
|
.the-directory .directory-pagination {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.navigation.pagination > .nav-links,
|
|
.directory-pagination > .page-numbers {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
list-style: none;
|
|
margin: 1rem auto !important;
|
|
padding: 0;
|
|
}
|
|
|
|
.navigation.pagination .nav-links .page-numbers,
|
|
.directory-pagination .page-numbers .page-numbers {
|
|
border-radius: 100px;
|
|
background-color: var(--color-blue-2);
|
|
color: var(--color-gray0);
|
|
display: block;
|
|
height: 2rem;
|
|
margin: 0 0.5rem 0.5rem;
|
|
min-width: 2rem;
|
|
padding: 0.5rem 0.75rem;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
transition: all .2s ease;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
}
|
|
|
|
.navigation.pagination .nav-links .page-numbers:hover,
|
|
.directory-pagination .page-numbers .page-numbers:hover {
|
|
background-color: var(--color-blue-3);
|
|
}
|
|
.navigation.pagination .nav-links .page-numbers.current,
|
|
.directory-pagination .page-numbers .page-numbers.current {
|
|
background-color: transparent;
|
|
color: var(--color-blue);
|
|
}
|
|
.navigation.pagination .nav-links .page-numbers.current:hover,
|
|
.directory-pagination .page-numbers .page-numbers.current:hover {
|
|
color: var(--color-blue-2);
|
|
}
|
|
|
|
.navigation.pagination .nav-links .page-numbers.prev,
|
|
.navigation.pagination .nav-links .page-numbers.next,
|
|
.directory-pagination .page-numbers .page-numbers.prev,
|
|
.directory-pagination .page-numbers .page-numbers.next {
|
|
background-color: var(--color-gray0);
|
|
color: var(--color-blue-2);
|
|
white-space: nowrap;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.navigation.pagination .nav-links .page-numbers.prev:hover,
|
|
.navigation.pagination .nav-links .page-numbers.next:hover,
|
|
.directory-pagination .page-numbers .page-numbers.prev:hover,
|
|
.directory-pagination .page-numbers .page-numbers.next:hover {
|
|
background-color: var(--color-gray1);
|
|
color: var(--color-blue-3);
|
|
}
|
|
|
|
.navigation.pagination .nav-links .page-numbers {
|
|
padding: 0.5rem 0.75rem;
|
|
font-weight: 400;
|
|
font-size: .8rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.directory-pagination .page-numbers .nav-prev-text,
|
|
.directory-pagination .page-numbers .nav-next-text {
|
|
display: none;
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
.directory-pagination .page-numbers .nav-prev-text,
|
|
.directory-pagination .page-numbers .nav-next-text {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.widget-area.sidebar {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.sidebar.entry .widget-column.entry-content {
|
|
margin: 3rem 0;
|
|
max-width: 100%;
|
|
padding: 0;
|
|
}
|
|
.sidebar.entry .widget-column.entry-content > *,
|
|
.sidebar.entry .the-directory.entry-content > * {
|
|
margin: 0;
|
|
max-width: 100%;
|
|
}
|
|
.sidebar.entry .widget-column.entry-content .widget {
|
|
margin: 0 0 1rem;
|
|
}
|
|
.entry .entry-content .wp-block-image figure {
|
|
max-width: 100% !important;
|
|
}
|
|
/* directory widget */
|
|
.widget .the-directory {
|
|
margin: 0 auto 2rem;
|
|
}
|
|
.widget .the-directory .directory {
|
|
grid-template-columns: repeat(1, 1fr);
|
|
}
|
|
/* desktop - sidebar */
|
|
|
|
@media only screen and (min-width: 512px) {
|
|
.widget .the-directory .directory {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
.widget .the-directory {
|
|
margin: 0 auto 2rem;
|
|
}
|
|
.widget .the-directory .directory {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-gap: 2%;
|
|
}
|
|
}
|
|
|
|
/* profile */
|
|
article.user-profile {
|
|
padding-bottom: 8rem;
|
|
}
|
|
.acf-field textarea {
|
|
font-size: 18px;
|
|
overflow-wrap: normal;
|
|
white-space: normal;
|
|
word-break: normal;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.acf-input .acf-url i {
|
|
top: 12px;
|
|
}
|
|
|
|
h1.hi,
|
|
h2.tagline {
|
|
margin: 0;
|
|
}
|
|
|
|
h1.hi:before,
|
|
h2.tagline:before {
|
|
content: none;
|
|
}
|
|
|
|
.entry .entry-content .content-header {
|
|
display: flex;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
flex-direction: column;
|
|
}
|
|
.entry .content-header .content-right {
|
|
width: 100%;
|
|
}
|
|
.entry .content-header .content-left {
|
|
flex-basis: 200px;
|
|
min-width: 200px;
|
|
margin: 1rem 0;
|
|
text-align: center;
|
|
order: 0;
|
|
}
|
|
.content-left img {
|
|
max-width: 100%;
|
|
}
|
|
.entry .entry-content p {
|
|
line-height: 1.6;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.buttons {
|
|
margin: 4rem 0;
|
|
}
|
|
|
|
.buttons + .buttons {
|
|
margin-top: -3rem;
|
|
}
|
|
|
|
body.author .wp-block-buttons {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.buttons .wp-block-button a {
|
|
margin: 0 1rem 1rem 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
.entry .entry-content > *,
|
|
.entry .entry-summary > * {
|
|
/* max-width: 100%; */
|
|
}
|
|
|
|
/* desktop */
|
|
@media only screen and (min-width: 768px) {
|
|
.entry .entry-content .content-header {
|
|
flex-direction: row-reverse;
|
|
}
|
|
.entry .content-header .content-left {
|
|
margin: 0.75rem 1rem 1rem 0;
|
|
}
|
|
}
|
|
|
|
h2.tagline {
|
|
color: var(--color-gray2);
|
|
font-family: "Crimson Text", serif;
|
|
font-style: italic;
|
|
font-size: 1.5rem;
|
|
font-weight: normal;
|
|
line-height: 1.375em;
|
|
margin-top: 0.75rem;
|
|
}
|
|
.social-links {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: left;
|
|
}
|
|
.social-links li {
|
|
margin-right: 1rem;
|
|
}
|
|
.content-footer .social-links.social-share-links {
|
|
margin-top: 4rem;
|
|
}
|
|
.location {
|
|
font-size: 0.8rem;
|
|
color: var(--color-gray2);
|
|
font-style: italic;
|
|
}
|
|
.user-profile .edit-link {
|
|
display: block;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.tags {
|
|
list-style: none;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
}
|
|
|
|
.tags li {
|
|
float: left;
|
|
}
|
|
|
|
.tags li .tag {
|
|
background-color: var(--color-blue);
|
|
border-radius: 3px 0 0 3px;
|
|
color: white;
|
|
display: inline-block;
|
|
height: 26px;
|
|
line-height: 26px;
|
|
padding: 0 20px 0 23px;
|
|
position: relative;
|
|
margin: 0 10px 10px 0;
|
|
text-decoration: none;
|
|
transition: all 0.2s ease;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.tags li .tag::before {
|
|
background: #fff;
|
|
border-radius: 10px;
|
|
box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
|
|
content: "";
|
|
height: 6px;
|
|
left: 10px;
|
|
position: absolute;
|
|
width: 6px;
|
|
top: 10px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tags li .tag::after {
|
|
background: #fff;
|
|
border-bottom: 13px solid transparent;
|
|
border-left: 10px solid var(--color-blue);
|
|
border-top: 13px solid transparent;
|
|
content: "";
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tags li:nth-of-type(5n+2) .tag {
|
|
background-color: var(--color-orange);
|
|
}
|
|
.tags li:nth-of-type(5n+2) .tag::after {
|
|
border-left-color: var(--color-orange);
|
|
}
|
|
|
|
.tags li:nth-of-type(5n+3) .tag {
|
|
background-color: var(--color-blue-2);
|
|
}
|
|
.tags li:nth-of-type(5n+3) .tag::after {
|
|
border-left-color: var(--color-blue-2);
|
|
}
|
|
|
|
.tags li:nth-of-type(5n+4) .tag {
|
|
background-color: var(--color-pink);
|
|
}
|
|
.tags li:nth-of-type(5n+4) .tag::after {
|
|
border-left-color: var(--color-pink);
|
|
}
|
|
|
|
.tags li:nth-of-type(5n+5) .tag {
|
|
background-color: var(--color-blue-3);
|
|
}
|
|
.tags li:nth-of-type(5n+5) .tag::after {
|
|
border-left-color: var(--color-blue-3);
|
|
}
|
|
|
|
.tags li .tag:hover {
|
|
background-color: #eee;
|
|
color: var(--color-gray3);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.tags li .tag:hover::after {
|
|
border-left-color: #eee;
|
|
}
|
|
|
|
|
|
cite {
|
|
text-align: right;
|
|
display: block;
|
|
}
|
|
cite .directory-img {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
}
|
|
cite .directory-img img {
|
|
object-fit: cover;
|
|
}
|
|
cite span {
|
|
display: inline-block;
|
|
vertical-align: text-top;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.button-small,
|
|
.entry .entry-content .more-link {
|
|
border-radius: 100px;
|
|
color: #fff;
|
|
font-family: -apple-system,BlinkMacSystemFont,segoe ui,roboto,oxygen,ubuntu,cantarell,fira sans,droid sans,helvetica neue,sans-serif;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
margin: 1rem 50% 0 0;
|
|
padding: 0.5rem 0.76rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.entry .entry-content .more-link {
|
|
background-color: var(--color-blue-2);
|
|
text-decoration: none;
|
|
margin-right: 0;
|
|
}
|
|
.entry .entry-content .more-link:hover {
|
|
color: #fff;
|
|
background-color: var(--color-blue-3);
|
|
}
|
|
|
|
/* single blog post */
|
|
|
|
.single-post-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* desktop */
|
|
@media only screen and (min-width: 768px) {
|
|
.single-post-main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.single-post-main article {
|
|
width: 70%;
|
|
}
|
|
.single-post-main aside {
|
|
margin: 10rem 0 3rem;
|
|
min-width: 250px;
|
|
width: 20%;
|
|
}
|
|
.single-post-main aside .widget-title,
|
|
.single-post-main aside .widget h3 {
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
|
|
/* blog home */
|
|
.blog-main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
margin: 0 auto;
|
|
max-width: 1160px;
|
|
padding: 0 1rem;
|
|
}
|
|
.blog-main .page-header {
|
|
margin: 2rem 1rem;
|
|
width: 100%;
|
|
}
|
|
.blog-main .page-header .page-description {
|
|
display: inline-block;
|
|
}
|
|
.blog-main article.post {
|
|
background-color: #fff;
|
|
border-radius: 3px;
|
|
margin: .5rem;
|
|
padding: 0 1rem;
|
|
position: relative;
|
|
}
|
|
/* desktop */
|
|
@media only screen and (min-width: 768px) {
|
|
.blog-main article.post {
|
|
margin: 1rem;
|
|
max-width: calc(50% - 2rem);
|
|
}
|
|
}
|
|
|
|
.blog-main article.post .entry-title:before {
|
|
width: 100%;
|
|
}
|
|
|
|
.blog-main article.post .entry-header,
|
|
.blog-main article.post .entry-content,
|
|
.blog-main article.post .post-thumbnail {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
max-width: 100%;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
.blog-main article.post .entry-header {
|
|
margin-top: 2rem;
|
|
}
|
|
.blog-main article.post .entry-title {
|
|
font-size: 26px;
|
|
}
|
|
.entry .entry-title:before {
|
|
background: var(--color-blue-2);
|
|
}
|
|
.blog-main article.post .entry .entry-title:before {
|
|
background: var(--color-blue-2);
|
|
height: 3px;
|
|
}
|
|
.blog-main article.post:nth-child(4n+1) .entry-title:before{
|
|
background: var(--color-blue-2);
|
|
}
|
|
.blog-main article.post:nth-child(4n+2) .entry-title:before{
|
|
background: var(--color-pink);
|
|
}
|
|
.blog-main article.post:nth-child(4n+3) .entry-title:before{
|
|
background: var(--color-blue);
|
|
}
|
|
.blog-main article.post:nth-child(4n+4) .entry-title:before{
|
|
background: var(--color-orange);
|
|
}
|
|
.blog-main article.post .post-thumbnail {
|
|
margin-top: 1rem;
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
max-width: calc(100% + 2rem);
|
|
}
|
|
.blog-main article.post p {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.entry .post-thumbnail {
|
|
margin-bottom: 0;
|
|
}
|
|
.entry .post-thumbnail.fit-ratio .post-thumbnail-inner {
|
|
filter: none;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
position: relative;
|
|
height: 0;
|
|
padding-top: 56%;
|
|
}
|
|
.entry .post-thumbnail.fit-ratio .post-thumbnail-inner img {
|
|
object-fit: cover;
|
|
object-position: center center;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.image-filters-enabled .entry .post-thumbnail:after {
|
|
content: none;
|
|
}
|
|
|
|
.widget .recent_posts {
|
|
list-style: none;
|
|
margin: 0 0 2rem;
|
|
padding: 0;
|
|
}
|
|
.widget .recent_posts h3 {
|
|
margin-top: 0;
|
|
font-size: 1.5em;
|
|
}
|
|
.widget .recent_posts .post-thumbnail {
|
|
margin: 0;
|
|
}
|
|
|
|
/* footer widget / lwa modal */
|
|
div.lwa-modal-overlay div.lwa-modal-popup {
|
|
font-size: 18px;
|
|
max-width:100% !important;
|
|
width: 450px !important;
|
|
}
|
|
.lwa-modal-overlay input[type="checkbox"] {
|
|
margin-right: .5rem !important;
|
|
}
|
|
.lwa-modal-overlay input[type="submit"],
|
|
.lwa-default input[type="submit"] {
|
|
margin-bottom: 1.5rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.lwa-modal-overlay .lwa-register .lwa-submit-button,
|
|
.lwa-modal-overlay form.lwa-remember .lwa-submit-button {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.lwa-modal-overlay .lwa-modal-popup .lwa-close-modal {
|
|
top: 8px !important;
|
|
z-index: 10;
|
|
}
|
|
.lwa-modal-overlay .lwa-status {
|
|
line-height: 1.2em;
|
|
}
|
|
.lwa-modal-overlay .lwa-links-register-inline-cancel,
|
|
.lwa-modal-overlay .lwa-links-remember-cancel {
|
|
display: block;
|
|
}
|
|
.lwa-register-tip {
|
|
font-size: 0.75em;
|
|
}
|
|
.lwa-avatar {
|
|
display: none;
|
|
}
|
|
.lwa-info a {
|
|
display: none;
|
|
}
|
|
.lwa-info a#wp-logout {
|
|
display: inline-block;
|
|
}
|
|
.widget a#wp-logout,
|
|
.widget .lwa-modal-trigger button.lwa-modal-trigger-el {
|
|
border: 2px solid var(--color-gray1) !important;
|
|
border-radius: 100px !important;
|
|
color: var(--color-gray1) !important;
|
|
font-size: 0.75rem !important;
|
|
height: auto !important;
|
|
line-height: 38px;
|
|
padding: 0 1rem !important;
|
|
text-transform: capitalize !important;
|
|
transition: all 0.2s ease !important;
|
|
white-space: nowrap;
|
|
}
|
|
.widget a#wp-logout:hover,
|
|
.widget .lwa-modal-trigger button.lwa-modal-trigger-el:hover {
|
|
background: rgba(255, 255, 255, 0.15) !important;
|
|
border: 2px solid var(--color-gray0) !important;
|
|
color: var(--color-white) !important;
|
|
}
|
|
|
|
.lwa-links,
|
|
.lwa-submit-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.lwa-links input,
|
|
.lwa-links label,
|
|
.lwa-submit-links input,
|
|
.lwa-submit-links label {
|
|
display: none;
|
|
}
|
|
|
|
.the-questions {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.callout {
|
|
background: var(--color-orange-light);
|
|
border: 1px solid var(--color-blue);
|
|
padding: 2rem;
|
|
}
|
|
|
|
.site-info {
|
|
text-align: center;
|
|
}
|
|
.site-info a {
|
|
display: inline-block;
|
|
}
|
|
.footer-navigation .footer-menu {
|
|
color: var(--color-gray1);
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
}
|
|
.footer-navigation .footer-menu li {
|
|
border-bottom: 1px solid var(--color-gray2);
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.legal_disclaimer {
|
|
line-height: 1.5em;
|
|
}
|
|
/* desktop */
|
|
@media only screen and (min-width: 768px) {
|
|
.footer-navigation .footer-menu {
|
|
flex-direction: row;
|
|
}
|
|
.footer-navigation .footer-menu li {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.entry .entry-content .wp-block-quote cite a {
|
|
word-wrap: break-all;
|
|
}
|
|
|
|
.hide {
|
|
display: none;
|
|
}
|
|
|
|
/* Input and acf form override styles */
|
|
.entry-content .acf-tab-group li a {
|
|
padding: 0.5rem 0.5rem 0.25rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
#acf-form input[type="text"],
|
|
#acf-form input[type="email"],
|
|
#acf-form input[type="url"],
|
|
#acf-form textarea,
|
|
#acf-form select {
|
|
font-size: 1rem;
|
|
padding: 0.5rem 0.75rem;
|
|
height: auto;
|
|
}
|
|
#acf-form input[type="url"] {
|
|
padding-left: 1.75rem;
|
|
}
|
|
#acf-form .acf-url i {
|
|
left: 10px;
|
|
font-size: 18px;
|
|
top: 17px;
|
|
}
|
|
|
|
#acf-form textarea {
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
}
|
|
.entry-content a.acf-icon {
|
|
text-decoration: none;
|
|
}
|
|
|
|
#acf-form .select2-container.-acf .select2-selection--single {
|
|
font-size: 1.1rem;
|
|
padding: 0.5rem;
|
|
height: auto;
|
|
word-break: normal;
|
|
}
|
|
|
|
#acf-form .select2-container.-acf .select2-selection--single .select2-selection__rendered {
|
|
line-height: 1.25;
|
|
white-space: normal;
|
|
}
|
|
|
|
#acf-form .select2-container--default .select2-selection--single .select2-selection__arrow {
|
|
height: 2.4rem;
|
|
}
|
|
|
|
.entry-content .mu_register {
|
|
width: 100%;
|
|
}
|
|
.entry-content .mu_register h2 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
|
|
/* user profile data */
|
|
.profile-data {
|
|
background-color: #eee;
|
|
padding: 1px 1rem;
|
|
}
|
|
|
|
.profile-data dl {
|
|
column-gap: .5rem;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
row-gap: .5rem;
|
|
}
|
|
|
|
.profile-data .user-meta {
|
|
border: 1px solid #999;
|
|
background-color: #ddd;
|
|
flex-grow: 1;
|
|
font-size: medium;
|
|
}
|
|
.profile-data .user-meta dt {
|
|
background-color: #ccc;
|
|
padding: .25rem 1rem 0;
|
|
font-weight: normal;
|
|
}
|
|
.profile-data .user-meta dd {
|
|
margin-bottom: 0;
|
|
padding: 0 .25rem 1rem;
|
|
}
|
|
|
|
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image) {
|
|
width: 100%;
|
|
}
|
|
|
|
@media only screen and (min-width: 960px) {
|
|
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image) {
|
|
width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2);
|
|
}
|
|
}
|
|
|
|
.comment .comment-body {
|
|
width: 100%;
|
|
}
|
|
|
|
.home .entry-content h4 {
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
.home .entry .entry-content .wp-block-latest-posts li>a {
|
|
display: block;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
.home .entry .entry-content .wp-block-latest-posts .wp-block-latest-posts__post-excerpt {
|
|
line-height: 1.2;
|
|
margin: .5rem 0 1rem;
|
|
}
|
|
|
|
.home .entry .entry-content .wp-block-latest-posts li {
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.home .wp-block-latest-posts__featured-image {
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.gform_wrapper .gform_button.button,
|
|
.button, button, input[type="button"], input[type="reset"], input[type="submit"] {
|
|
border-radius: 100px;
|
|
}
|
|
|
|
.page-template-template-edit .entry-content > #acf-form {
|
|
max-width: 1024px;
|
|
}
|
|
|
|
.acf-form-submit {
|
|
margin-top: 2rem;
|
|
}
|
|
.acf-field.acf-accordion .acf-label.acf-accordion-title {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-between;
|
|
}
|
|
.acf-field.acf-accordion .acf-accordion-title label {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.acf-fields .acf-field.acf-field-repeater .acf-input .acf-repeater {
|
|
margin: 0 -1.75rem;
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
.acf-fields .acf-field.acf-field-repeater .acf-input .acf-repeater {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.hide {
|
|
display: none;
|
|
}
|
|
|
|
.site-footer {
|
|
background: var(--color-gray3);
|
|
color: #eee;
|
|
}
|
|
|
|
.site-footer #gform_2 .gfield .gfield_label {
|
|
display: none;
|
|
}
|
|
|
|
.entry .entry-content p.description {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.site-footer .widget-column .widget:first-child {
|
|
width: 100% !important;
|
|
margin: 0 0 3rem !important;
|
|
}
|
|
|
|
.entry .entry-content .wp-block-gallery figcaption a {
|
|
color: inherit;
|
|
}
|
|
|
|
.wp-block-cover .has-light-gray-background-color + .wp-block-cover__inner-container a {
|
|
color: #fff;
|
|
}
|
|
|
|
.user-spotlight .spotlight-thumbs {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
list-style: none;
|
|
}
|
|
.user-spotlight .spotlight-thumb {
|
|
margin: 0 4px 4px 0;
|
|
}
|
|
.user-spotlight .spotlight-thumb img {
|
|
display: block;
|
|
}
|
|
|
|
.post-pagination {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.post-pagination-link {
|
|
flex: 1;
|
|
}
|
|
|
|
.post-pagination-prev {
|
|
padding-right: 2rem;
|
|
}
|
|
.post-pagination-next {
|
|
padding-left: 2rem;
|
|
text-align: right;
|
|
}
|
|
.post-pagination .post-pagination-link.post-pagination-next .svg-icon {
|
|
margin-right: 0;
|
|
} |