wasmo-theme/style.css
2024-01-25 12:09:01 -05:00

1515 lines
No EOL
32 KiB
CSS
Executable file

/*!
Theme Name: wasmo-theme
Theme URI: https://wasmormon.org
Description: Theme for the wasmormon.org profile site
Author: Evan Mullins
Author URI: https://circlecube.com
Template: twentynineteen
Version: 1.16.3
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-0: rgba(240, 124, 39, 0.05);
--color-orange: #f07c27;
--color-pink: #d80c81;
--color-blue: #00aeeb;
--color-blue-2: #007099;
--color-blue-3: #004b66;
--color-white: #ffffff;
--color-gray-0: #f2f2f2;
--color-gray-1: #e8e8ea;
--color-gray-2: #a5a6ab;
--color-gray-3: #333333;
--color-gray-4: #111111;
}
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-gray-2);
}
.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(2, 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%;
}
.entry .entry-content 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: 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);
}
.the-directory .directory.directory-bumper {
grid-template-columns: repeat(4, 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;
max-width: 100%;
opacity: 0;
overflow: hidden;
padding: 0.25rem;
position: absolute;
text-align: center;
text-decoration: none;
text-overflow: ellipsis;
text-shadow: 1px 1px rgba(0,0,0,.25);
transition: all 0.2s ease;
white-space: nowrap;
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,
.directory-bumper .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,
.directory-bumper .person .directory-name {
bottom: -36px;
opacity: 0;
}
.directory-full .person:hover .directory-name,
.directory-shortcode .person:hover .directory-name,
.directory-bumper .person:hover .directory-name {
bottom: 0;
opacity: 1;
}
}
/* Pagination */
.wasmo-pagination {
width: 100%;
margin: 3rem 0 !important;
border-top: 1px solid var(--color-orange);
}
.the-directory .wasmo-pagination,
.media-main .wasmo-pagination {
max-width: 100%;
}
.wasmo-pagination > .page-numbers {
align-items: center;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
list-style: none;
margin: 1rem auto !important;
padding: 0;;
width: 100%;
}
.wasmo-pagination .page-numbers .page-numbers {
border-radius: 100px;
background-color: var(--color-blue-2);
color: var(--color-gray-0);
display: block;
height: 2rem;
margin: 0;
min-width: 2rem;
padding: 0.5rem 0.75rem;
text-align: center;
text-decoration: none;
transition: all .2s ease;
line-height: 1;
}
.wasmo-pagination .page-numbers .page-numbers.dots {
background: transparent;
color: var(--color-blue-3);
padding: 0;
height:1em;
}
.wasmo-pagination .page-numbers .page-numbers:not(.dots):not(.current):hover {
background-color: var(--color-blue-3);
}
.wasmo-pagination .page-numbers .page-numbers.current {
background-color: var(--color-orange);
}
.wasmo-pagination .page-numbers .page-numbers.prev,
.wasmo-pagination .page-numbers .page-numbers.next {
background-color: var(--color-gray-0);
color: var(--color-blue-2);
}
.wasmo-pagination .page-numbers .page-numbers.prev:hover,
.wasmo-pagination .page-numbers .page-numbers.next:hover {
background-color: var(--color-gray-1) !important;
color: var(--color-blue-3) !important;
}
/* on mobile only show next/prev buttons */
@media only screen and (max-width: 500px) {
.wasmo-pagination .page-numbers .page-numbers {
display: none;
}
.wasmo-pagination .page-numbers li .page-numbers.prev,
.wasmo-pagination .page-numbers li:nth-child(2) .page-numbers,
.wasmo-pagination .page-numbers li .page-numbers.current,
.wasmo-pagination .page-numbers li:nth-last-child(2) .page-numbers,
.wasmo-pagination .page-numbers li .page-numbers.next {
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-gray-2);
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-gray-2);
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: var(--color-white);
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: var(--color-white);
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: var(--color-gray-1);
color: var(--color-gray-3);
text-decoration: underline;
}
.tags li .tag:hover::after {
border-left-color: var(--color-gray-1);
}
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: var(--color-white);
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: var(--color-white);
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: var(--color-white);
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;
}
.blog-main article.media {
margin: 0 0 1rem;
display: flex;
justify-content: center;
flex-direction: column;
padding: 1rem;
background: var(--color-gray-0);
}
.blog-main article.media .wp-block-image {
background: var(--color-white);
padding: 0 0 1rem;
margin: 0;
}
.blog-main article.media .wp-block-image .wp-element-caption {
padding: 0 1rem;
}
.blog-main article.media:before,
.blog-main article.media:after,
.blog-main article.media .wp-element-caption:before {
content: '';
display: block;
width: 100%;
background: var(--color-blue-2);
height: 2px;
}
.blog-main article.media .wp-element-caption:before {
height: 1px;
max-width: 30%;
min-width: 3rem;
margin: 1.25rem auto;
}
.blog-main article.media:nth-child(4n+1):before,
.blog-main article.media:nth-child(4n+1):after,
.blog-main article.media:nth-child(4n+1) .wp-element-caption:before{
background: var(--color-blue-2);
}
.blog-main article.media:nth-child(4n+2):before,
.blog-main article.media:nth-child(4n+2):after,
.blog-main article.media:nth-child(4n+2) .wp-element-caption:before{
background: var(--color-pink);
}
.blog-main article.media:nth-child(4n+3):before,
.blog-main article.media:nth-child(4n+3):after,
.blog-main article.media:nth-child(4n+3) .wp-element-caption:before{
background: var(--color-blue);
}
.blog-main article.media:nth-child(4n+4):before,
.blog-main article.media:nth-child(4n+4):after,
.blog-main article.media:nth-child(4n+4) .wp-element-caption:before{
background: var(--color-orange);
}
.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 li {
background-color: var(--color-orange-0);
display: flex;
flex-direction: column-reverse;
margin-bottom: 1rem;
border: 1px solid var(--color-blue-2);
border-width: 1px 0;
transition: all .2s ease;
}
.widget .recent_posts li:nth-of-type(4n+1) {
border-color: var(--color-blue-2);
}
.widget .recent_posts li:nth-of-type(4n+2) {
border-color: var(--color-pink);
}
.widget .recent_posts li:nth-of-type(4n+3) {
border-color: var(--color-blue);
}
.widget .recent_posts li:nth-of-type(4n+4) {
border-color: var(--color-orange);
}
.widget .recent_posts h3 {
font-size: 1.5em;
margin: 0;
}
.widget .recent_posts h3 a {
color: var(--color-gray-4);
display: block;
padding: .5rem;
text-align: center;
text-decoration: none;
transition: all .2s ease;
}
.widget .recent_posts .post-thumbnail {
margin: 0;
}
.widget .recent_posts .post-thumbnail-inner {
padding: 0 .5rem .5rem;
}
.widget .recent_posts li:hover {
background-color: var(--color-blue-2)
}
.widget .recent_posts li:nth-of-type(4n+1):hover {
background-color: var(--color-blue-2);
}
.widget .recent_posts li:nth-of-type(4n+2):hover {
background-color: var(--color-pink);
}
.widget .recent_posts li:nth-of-type(4n+3):hover {
background-color: var(--color-blue);
}
.widget .recent_posts li:nth-of-type(4n+4):hover {
background-color: var(--color-orange);
}
.widget .recent_posts li:hover h3 a {
color: var(--color-gray-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-gray-1) !important;
border-radius: 100px !important;
color: var(--color-gray-1) !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-gray-0) !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-0);
border: 1px solid var(--color-blue);
padding: 2rem 1rem 1rem;
}
@media only screen and (min-width: 512px) {
.callout {
padding: 2rem;
}
}
.site-info {
text-align: center;
}
.site-info a {
display: inline-block;
}
.footer-navigation .footer-menu {
color: var(--color-gray-1);
display: flex;
justify-content: center;
flex-direction: column;
}
.footer-navigation .footer-menu li {
border-bottom: 1px solid var(--color-gray-2);
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: var(--color-gray-1);
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 var(--color-gray-2);
background-color: var(--color-gray-0);
flex-grow: 1;
font-size: medium;
}
.profile-data .user-meta dt {
background-color: var(--color-gray-1);
border-bottom: 1px solid var(--color-gray-2);
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 */
.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.alignleft {
display: flex;
float: none;
margin: 0;
}
.home .wp-block-latest-posts__featured-image.alignleft > a {
margin: 2rem auto 0;
}
/* desktop */
@media only screen and (min-width: 768px) {
.home .wp-block-latest-posts__featured-image.alignleft {
float: left;
margin: 0 1rem 1rem 0;
}
.home .wp-block-latest-posts__featured-image.alignleft > a {
margin: 0;
}
}
.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-gray-3);
color: var(--color-gray-1);
}
.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: var(--color-white);
}
.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;
max-width: 370px;
}
.post-pagination-prev {
padding-right: 2rem;
}
.post-pagination-next {
padding-left: 2rem;
text-align: right;
}
.post-pagination .post-pagination-link.post-pagination-prev .svg-icon {
margin-left: 1rem;
transition: margin .2s ease;
}
.post-pagination .post-pagination-link.post-pagination-prev:hover .svg-icon {
margin-left: 0;
}
.post-pagination .post-pagination-link.post-pagination-next .svg-icon {
margin-right: 1rem;
transition: margin .2s ease;
}
.post-pagination .post-pagination-link.post-pagination-next:hover .svg-icon {
margin-right: 0;
}
.post-pagination .post-pagination-link .adjacent-post {
margin: .5rem 0;
padding: .5rem;
border: 1px solid var(--color-blue);
border-width: 1px 0;
background-color: var(--color-orange-0);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 340px;
}
.post-pagination .post-pagination-link .adjacent-post-title {
display: block;
text-align: center;
padding-bottom: .5rem;
}
.paged-page-number {
color: var(--color-gray-3);
font-style: italic;
}
.entry .entry-footer .shelf-links,
.entry .entry-footer .spectrum-links,
.entry .entry-footer .question-links {
display: block;
}
.entry .entry-content .question_anchor {
font-size: 0.9em;
text-decoration: none;
display: inline-block;
vertical-align: sub;
}
.entry-description.has-regular-font-size {
font-size: 1em;
font-weight: normal;
line-height: 1.5;
}
.entry .entry-content > .wp-block-group.alignwide > .wp-block-group__inner-container > * {
max-width: 100% !important;
}
.entry .entry-content .user-attribution {
align-items: center;
border: 1px solid var(--color-orange);
display: flex;
font-size: small;
gap: 1rem;
padding: 0 1rem;
}
.entry .entry-content .user-attribution p {
font-size: 16px;
margin: 0 .5em;
}
/* Faith Crisis Report Menu - Reusable Block Styles */
.faith-crisis-report-nav .wp-block-group__inner-container h5 {
margin-bottom: 0 !important;
text-decoration: none;
color: var(--color-gray-4);
}
.faith-crisis-report-nav .wp-block-group__inner-container h5 a {
color: var(--color-gray-4);
text-decoration: none;
}
nav.wp-block-navigation.personal-faith-crisis-report-menu {
margin-top: 0.5rem !important;
}
nav.wp-block-navigation.personal-faith-crisis-report-menu ul {
list-style: decimal;
display: block;
list-style-position: inside;
padding-left: 0.5rem;
}
nav.wp-block-navigation.personal-faith-crisis-report-menu li {
list-style: decimal;
display: list-item;
list-style-position: inside;
}
nav.wp-block-navigation.personal-faith-crisis-report-menu li a.wp-block-navigation-item__content {
color: hsl( 199, 100%, 33% );
display: inline;
}
nav.wp-block-navigation.personal-faith-crisis-report-menu li a[aria-current="page"] {
text-decoration: none;
font-weight: 600;
color: var(--color-gray-4);
}
/* clean up google search box in sidebar */
table.gsc-search-box td {
border: 0;
}
.gsc-input {
margin: 0;
}
table.gsc-search-box td.gsc-input {
padding: 0 !important;
}
button.gsc-search-button-v2 {
padding: 12px 18px;
}
.gsib_b {
padding: 0;
}
/* center images that don't wrap in div properly */
figure.wp-block-image.aligncenter {
width: 100%;
}
figure.wp-block-image.aligncenter img {
margin: 0 auto;
}
.entry .entry-content > *.aligncenter {
margin-left: auto !important;
margin-right: auto !important;
}
.entry .entry-content > *.aligncenter img {
margin: 0 auto;
}
/* crop long links in more reading lists */
.entry-content .more-reading + ul li > a {
word-wrap: break-word;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 100%;
display: inherit;
}
.entry-content ul.blog-posts-archive li > a,
.entry-content ul.questions li > a {
white-space: initial;
}
.archive .entry-footer .tags .tag[data-count="1"],
.archive .entry-footer .tags .tag[data-count="2"],
.archive .entry-footer .tags .tag[data-count="3"],
.archive .entry-footer .tags .tag[data-count="4"] {
display: none;
}