wasmo-theme/style.css

1515 lines
32 KiB
CSS
Raw Normal View History

/*!
Theme Name: wasmo-theme
Theme URI: https://wasmormon.org
2023-03-28 18:59:04 +00:00
Description: Theme for the wasmormon.org profile site
Author: Evan Mullins
Author URI: https://circlecube.com
Template: twentynineteen
Version: 1.16.2
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);
2020-10-15 22:02:02 +00:00
--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;
}
2021-03-12 17:56:11 +00:00
html {
font-size: 100% !important;
font-size: 22px !important;
}
html,
2020-02-27 10:40:34 +00:00
body,
.site-info {
2020-10-15 22:02:02 +00:00
font-family: "Crimson Text", serif;
2020-02-27 10:40:34 +00:00
}
2020-02-27 10:40:34 +00:00
.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 {
2020-10-15 22:02:02 +00:00
font-family: "Open Sans", sans-serif;
2020-02-27 10:40:34 +00:00
}
.site-header {
2020-10-15 22:02:02 +00:00
background: var(--color-orange);
color: var(--color-white);
}
.site-header a,
.main-navigation .main-menu > li > a {
2020-10-15 22:02:02 +00:00
color: var(--color-white);
text-transform: uppercase;
font-family: "Open Sans", sans-serif;
font-weight: normal;
2020-02-27 10:40:34 +00:00
}
.main-navigation .main-menu > li > a {
2020-10-15 22:02:02 +00:00
font-size: 20px;
}
.site-title a:link,
.site-title a:visited,
.site-description,
.main-navigation .main-menu > li {
2020-10-15 22:02:02 +00:00
color: var(--color-white);
}
.site-header {
2020-10-15 22:02:02 +00:00
padding: 0rem 1rem 1rem;
}
2019-03-14 12:33:15 +00:00
.site-description {
2020-10-15 22:02:02 +00:00
font-size: 18px;
2019-03-14 12:33:15 +00:00
}
.site-title:not(:empty) + .site-description:not(:empty):before {
2020-10-15 22:02:02 +00:00
content: none;
2019-03-14 12:33:15 +00:00
}
.site-title {
2020-10-15 22:02:02 +00:00
text-transform: lowercase;
font-style: italic;
2019-03-14 12:33:15 +00:00
}
2019-03-14 13:20:24 +00:00
.site-logo {
2020-10-15 22:02:02 +00:00
max-width: 80px;
z-index: 99;
2019-03-14 13:20:24 +00:00
}
2019-03-14 12:33:15 +00:00
.site-logo + .site-title {
2020-10-15 22:02:02 +00:00
display: none;
2019-03-14 12:33:15 +00:00
}
2019-03-14 12:39:57 +00:00
2019-03-14 12:33:15 +00:00
.site-logo .custom-logo-link {
2020-10-15 22:02:02 +00:00
border-radius: 0;
width: 80px;
height: 80px;
2019-03-14 12:33:15 +00:00
}
2019-03-14 13:20:24 +00:00
.site-logo .custom-logo-link:hover,
.site-logo .custom-logo-link:active,
2019-03-14 12:33:15 +00:00
.site-logo .custom-logo-link:focus {
2020-10-15 22:02:02 +00:00
box-shadow: 0 0 0 2px var(--color-white);
2019-03-14 12:33:15 +00:00
}
2020-10-15 22:02:02 +00:00
/* desktop */
@media only screen and (min-width: 768px) {
2020-10-15 22:02:02 +00:00
.site-header {
padding: 1rem 0 0.5rem;
}
.site-logo {
position: relative;
margin-bottom: calc(0.66 * 1rem);
top: initial;
right: initial;
z-index: 99;
}
}
2021-03-12 17:56:11 +00:00
.jetpack_widget_social_icons svg.icon,
#colophon .site-info {
color: var(--color-gray-2);
2019-04-02 15:04:15 +00:00
}
2020-02-27 10:40:34 +00:00
.discussion-avatar-list {
2020-10-15 22:02:02 +00:00
display: none;
2020-02-27 10:40:34 +00:00
}
/* menu visibility toggles */
.menu-item.not-logged-in {
2020-10-15 22:02:02 +00:00
display: initial;
}
.menu-item.logged-in {
2020-10-15 22:02:02 +00:00
display: none;
}
body.logged-in .menu-item.not-logged-in {
2020-10-15 22:02:02 +00:00
display: none;
}
body.logged-in .menu-item.logged-in {
2020-10-15 22:02:02 +00:00
display: initial;
}
.site-branding-container {
2020-10-15 22:02:02 +00:00
position: relative;
}
.utility-navigation {
2020-10-15 22:02:02 +00:00
float: right;
font-size: 0.67rem;
}
.utility-navigation ul {
2020-10-15 22:02:02 +00:00
list-style: none;
margin: 0;
padding: 0;
}
.utility-navigation li {
2020-10-15 22:02:02 +00:00
display: inline-block;
margin-left: 1em;
2020-02-27 10:40:34 +00:00
}
.utility-navigation a {
2020-10-15 22:02:02 +00:00
font-size: 13px;
}
.utility-navigation a:hover {
2020-10-15 22:02:02 +00:00
color: var(--color-blue-3);
}
.utility-navigation svg {
2020-10-15 22:02:02 +00:00
vertical-align: sub;
margin-right: 1px;
}
/* Directory */
.entry .the-directory {
2020-10-15 22:02:02 +00:00
margin-bottom: 8rem;
max-width: 100%;
2019-04-16 13:31:51 +00:00
}
.entry .the-directory.directory-shortcode {
2020-10-15 22:02:02 +00:00
margin: 0 auto;
padding: 0;
max-width: 100%;
width: 100%;
2019-03-14 13:50:04 +00:00
}
.the-directory .directory {
2020-10-15 22:02:02 +00:00
width: 100%;
max-width: 100%;
display: grid;
grid-template-columns: repeat(2, 1fr);
2020-10-15 22:02:02 +00:00
grid-gap: 1rem;
justify-content: space-between;
}
.the-directory .directory .person {
margin: 0;
overflow: hidden;
2020-10-15 22:02:02 +00:00
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) {
2020-10-15 22:02:02 +00:00
.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 {
2020-10-15 22:02:02 +00:00
position: absolute;
width: 100%;
height: 0;
padding-top: 100%;
overflow: hidden;
top: 0;
left: 0;
2019-03-15 12:46:01 +00:00
}
.directory .person .directory-img img {
2020-10-15 22:02:02 +00:00
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;
2023-01-27 16:29:30 +00:00
max-width: 100%;
opacity: 0;
2023-01-27 16:29:30 +00:00
overflow: hidden;
padding: 0.25rem;
2020-10-15 22:02:02 +00:00
position: absolute;
text-align: center;
text-decoration: none;
2023-01-27 16:29:30 +00:00
text-overflow: ellipsis;
text-shadow: 1px 1px rgba(0,0,0,.25);
2020-10-15 22:02:02 +00:00
transition: all 0.2s ease;
2023-01-27 16:29:30 +00:00
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 {
2022-11-08 22:55:02 +00:00
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;
2022-11-08 22:55:02 +00:00
flex-wrap: wrap;
justify-content: space-between;
2022-11-08 22:55:02 +00:00
list-style: none;
margin: 1rem auto !important;
padding: 0;;
width: 100%;
2022-11-07 17:42:16 +00:00
}
.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;
2022-11-07 17:42:16 +00:00
}
.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);
2022-11-07 17:42:16 +00:00
}
.wasmo-pagination .page-numbers .page-numbers.current {
background-color: var(--color-orange);
2022-11-07 17:42:16 +00:00
}
.wasmo-pagination .page-numbers .page-numbers.prev,
.wasmo-pagination .page-numbers .page-numbers.next {
background-color: var(--color-gray-0);
2022-11-07 17:42:16 +00:00
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;
}
2022-11-08 22:55:02 +00:00
}
2020-02-13 14:23:40 +00:00
.widget-area.sidebar {
2020-10-15 22:02:02 +00:00
padding: 0 1rem;
2020-02-13 14:23:40 +00:00
}
.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 {
2020-10-15 22:02:02 +00:00
margin: 0 auto 2rem;
2020-02-13 14:47:59 +00:00
}
.widget .the-directory .directory {
grid-template-columns: repeat(1, 1fr);
}
2020-10-15 22:02:02 +00:00
/* 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) {
2020-10-15 22:02:02 +00:00
.widget .the-directory {
margin: 0 auto 2rem;
}
.widget .the-directory .directory {
grid-template-columns: repeat(3, 1fr);
grid-gap: 2%;
2020-10-15 22:02:02 +00:00
}
}
/* profile */
article.user-profile {
2020-10-15 22:02:02 +00:00
padding-bottom: 8rem;
}
.acf-field textarea {
2020-10-15 22:02:02 +00:00
font-size: 18px;
overflow-wrap: normal;
white-space: normal;
word-break: normal;
padding: 0.5rem;
}
.acf-input .acf-url i {
2020-10-15 22:02:02 +00:00
top: 12px;
}
h1.hi,
h2.tagline {
2020-10-15 22:02:02 +00:00
margin: 0;
}
h1.hi:before,
h2.tagline:before {
2020-10-15 22:02:02 +00:00
content: none;
}
.entry .entry-content .content-header {
2020-10-15 22:02:02 +00:00
display: flex;
max-width: 100%;
width: 100%;
flex-direction: column;
}
2019-03-19 21:05:21 +00:00
.entry .content-header .content-right {
2020-10-15 22:02:02 +00:00
width: 100%;
2019-03-19 21:05:21 +00:00
}
2019-03-14 12:54:30 +00:00
.entry .content-header .content-left {
2020-10-15 22:02:02 +00:00
flex-basis: 200px;
min-width: 200px;
margin: 1rem 0;
text-align: center;
order: 0;
2019-03-14 12:39:57 +00:00
}
.content-left img {
2020-10-15 22:02:02 +00:00
max-width: 100%;
}
2019-03-15 12:46:18 +00:00
.entry .entry-content p {
2020-10-15 22:02:02 +00:00
line-height: 1.6;
font-size: 20px;
2019-03-15 12:46:18 +00:00
}
2019-03-18 19:24:30 +00:00
.buttons {
2022-10-28 20:03:27 +00:00
margin: 4rem 0;
2019-03-18 19:24:30 +00:00
}
.buttons + .buttons {
2022-10-28 20:03:27 +00:00
margin-top: -3rem;
}
2022-11-10 22:48:24 +00:00
body.author .wp-block-buttons {
margin-top: 1rem;
}
2019-03-18 21:08:49 +00:00
.buttons .wp-block-button a {
2020-10-15 22:02:02 +00:00
margin: 0 1rem 1rem 0;
display: inline-block;
2019-03-18 21:08:49 +00:00
}
/*
2019-03-18 19:27:06 +00:00
.entry .entry-content > *,
.entry .entry-summary > * {
max-width: 100%;
2019-03-18 19:27:06 +00:00
}
*/
2020-10-15 22:02:02 +00:00
/* desktop */
@media only screen and (min-width: 768px) {
2020-10-15 22:02:02 +00:00
.entry .entry-content .content-header {
flex-direction: row-reverse;
}
.entry .content-header .content-left {
margin: 0.75rem 1rem 1rem 0;
}
2019-03-14 12:33:15 +00:00
}
h2.tagline {
color: var(--color-gray-2);
2020-10-15 22:02:02 +00:00
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 {
2020-10-15 22:02:02 +00:00
list-style: none;
margin: 0;
padding: 0;
2022-10-28 20:03:27 +00:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: left;
}
.social-links li {
2022-10-28 20:03:27 +00:00
margin-right: 1rem;
}
.content-footer .social-links.social-share-links {
margin-top: 4rem;
}
.location {
2020-10-15 22:02:02 +00:00
font-size: 0.8rem;
color: var(--color-gray-2);
2020-10-15 22:02:02 +00:00
font-style: italic;
}
2019-03-19 21:05:21 +00:00
.user-profile .edit-link {
2020-10-15 22:02:02 +00:00
display: block;
margin: 1rem 0;
2019-03-19 21:05:21 +00:00
}
2019-04-15 17:28:26 +00:00
.tags {
2020-10-15 22:02:02 +00:00
list-style: none;
margin: 0;
overflow: hidden;
padding: 0;
2019-04-15 17:28:26 +00:00
}
.tags li {
2020-10-15 22:02:02 +00:00
float: left;
2019-04-15 17:28:26 +00:00
}
2022-09-30 17:22:13 +00:00
.tags li .tag {
background-color: var(--color-blue);
2020-10-15 22:02:02 +00:00
border-radius: 3px 0 0 3px;
2022-09-30 17:22:13 +00:00
color: white;
2020-10-15 22:02:02 +00:00
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;
2019-04-15 17:28:26 +00:00
}
2022-09-30 17:22:13 +00:00
.tags li .tag::before {
background: var(--color-white);
2020-10-15 22:02:02 +00:00
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;
2019-04-15 17:28:26 +00:00
}
2022-09-30 17:22:13 +00:00
.tags li .tag::after {
background: var(--color-white);
2020-10-15 22:02:02 +00:00
border-bottom: 13px solid transparent;
2022-09-30 17:22:13 +00:00
border-left: 10px solid var(--color-blue);
2020-10-15 22:02:02 +00:00
border-top: 13px solid transparent;
content: "";
position: absolute;
right: 0;
top: 0;
transition: all 0.2s ease;
2019-04-15 17:28:26 +00:00
}
2022-09-30 17:22:13 +00:00
.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);
2019-04-15 17:28:26 +00:00
}
2022-09-30 17:22:13 +00:00
.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);
2019-04-15 17:28:26 +00:00
}
2022-09-30 17:22:13 +00:00
.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);
2022-09-30 17:22:13 +00:00
text-decoration: underline;
}
.tags li .tag:hover::after {
border-left-color: var(--color-gray-1);
2022-09-30 17:22:13 +00:00
}
cite {
2020-10-15 22:02:02 +00:00
text-align: right;
display: block;
}
cite .directory-img {
2020-10-15 22:02:02 +00:00
width: 1.5rem;
height: 1.5rem;
}
cite .directory-img img {
2020-10-15 22:02:02 +00:00
object-fit: cover;
}
cite span {
2020-10-15 22:02:02 +00:00
display: inline-block;
vertical-align: text-top;
margin-left: 0.5rem;
2019-03-14 13:17:47 +00:00
}
.button-small,
.entry .entry-content .more-link {
2022-11-10 19:59:54 +00:00
border-radius: 100px;
color: var(--color-white);
2022-11-10 19:59:54 +00:00
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;
2022-11-08 22:55:02 +00:00
margin: 1rem 50% 0 0;
2020-10-15 22:02:02 +00:00
padding: 0.5rem 0.76rem;
transition: all 0.2s ease;
2022-11-08 22:55:02 +00:00
}
.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);
2022-11-08 22:55:02 +00:00
background-color: var(--color-blue-3);
}
2019-03-14 13:17:47 +00:00
/* single blog post */
.single-post-main {
2020-10-15 22:02:02 +00:00
display: flex;
flex-direction: column;
}
2019-03-14 13:17:47 +00:00
2020-10-15 22:02:02 +00:00
/* desktop */
@media only screen and (min-width: 768px) {
2020-10-15 22:02:02 +00:00
.single-post-main {
display: flex;
flex-direction: row;
}
2019-03-14 13:17:47 +00:00
2020-10-15 22:02:02 +00:00
.single-post-main article {
width: 70%;
}
.single-post-main aside {
margin: 10rem 0 3rem;
min-width: 250px;
width: 20%;
2020-10-15 22:02:02 +00:00
}
2021-03-12 17:56:11 +00:00
.single-post-main aside .widget-title,
.single-post-main aside .widget h3 {
font-size: 20px;
}
}
/* blog home */
.blog-main {
2020-10-15 22:02:02 +00:00
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
2020-10-15 22:02:02 +00:00
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);
2020-10-15 22:02:02 +00:00
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 {
2020-10-15 22:02:02 +00:00
margin-left: 0;
margin-right: 0;
max-width: 100%;
padding-left: 0;
padding-right: 0;
}
.blog-main article.post .entry-header {
2020-10-15 22:02:02 +00:00
margin-top: 2rem;
}
2021-03-12 17:56:11 +00:00
.blog-main article.post .entry-title {
font-size: 26px;
}
2020-10-15 22:02:02 +00:00
.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 {
2020-10-15 22:02:02 +00:00
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 {
2020-10-15 22:02:02 +00:00
margin-bottom: 0;
}
.entry .post-thumbnail.fit-ratio .post-thumbnail-inner {
2020-10-15 22:02:02 +00:00
filter: none;
width: 100%;
overflow: hidden;
position: relative;
height: 0;
padding-top: 56%;
}
.entry .post-thumbnail.fit-ratio .post-thumbnail-inner img {
2020-10-15 22:02:02 +00:00
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 {
2020-10-15 22:02:02 +00:00
content: none;
}
2019-03-14 13:17:47 +00:00
.widget .recent_posts {
2020-10-15 22:02:02 +00:00
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 {
2020-10-15 22:02:02 +00:00
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 {
2020-10-15 22:02:02 +00:00
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);
}
2019-03-14 13:17:47 +00:00
/* footer widget / lwa modal */
div.lwa-modal-overlay div.lwa-modal-popup {
2021-03-23 21:20:55 +00:00
font-size: 18px;
2022-12-07 22:40:31 +00:00
max-width:100% !important;
width: 450px !important;
2020-05-13 21:52:09 +00:00
}
.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;
2021-03-23 21:20:55 +00:00
margin-top: 1rem;
2020-05-13 21:52:09 +00:00
}
2022-10-07 22:00:08 +00:00
.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;
2020-05-13 21:52:09 +00:00
}
.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;
2020-05-13 21:52:09 +00:00
}
.lwa-register-tip {
2020-10-15 22:02:02 +00:00
font-size: 0.75em;
2019-03-14 13:17:47 +00:00
}
.lwa-avatar {
2020-10-15 22:02:02 +00:00
display: none;
2019-03-14 13:17:47 +00:00
}
2019-03-14 13:29:15 +00:00
.lwa-info a {
2020-10-15 22:02:02 +00:00
display: none;
2019-03-14 13:17:47 +00:00
}
2019-03-14 13:29:15 +00:00
.lwa-info a#wp-logout {
2020-10-15 22:02:02 +00:00
display: inline-block;
2019-03-14 13:29:15 +00:00
}
2019-03-14 13:23:55 +00:00
.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;
2022-10-07 22:00:08 +00:00
line-height: 38px;
padding: 0 1rem !important;
text-transform: capitalize !important;
transition: all 0.2s ease !important;
2022-10-07 22:00:08 +00:00
white-space: nowrap;
2019-03-14 13:17:47 +00:00
}
2019-03-14 13:23:55 +00:00
.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;
}
2019-03-22 18:25:10 +00:00
.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;
}
2019-03-22 18:25:10 +00:00
.the-questions {
2020-10-15 22:02:02 +00:00
margin-top: 0;
}
.callout {
background: var(--color-orange-0);
2020-10-15 22:02:02 +00:00
border: 1px solid var(--color-blue);
padding: 2rem 1rem 1rem;
}
@media only screen and (min-width: 512px) {
.callout {
padding: 2rem;
}
}
2020-02-10 11:05:42 +00:00
.site-info {
2020-10-15 22:02:02 +00:00
text-align: center;
2020-02-10 11:05:42 +00:00
}
.site-info a {
2021-03-12 17:56:11 +00:00
display: inline-block;
2020-02-10 11:05:42 +00:00
}
.footer-navigation .footer-menu {
color: var(--color-gray-1);
2020-10-15 22:02:02 +00:00
display: flex;
justify-content: center;
flex-direction: column;
2020-02-10 11:05:42 +00:00
}
2021-03-12 17:56:11 +00:00
.footer-navigation .footer-menu li {
border-bottom: 1px solid var(--color-gray-2);
2021-03-12 17:56:11 +00:00
margin-bottom: 1rem;
padding-bottom: 1rem;
}
.legal_disclaimer {
line-height: 1.5em;
}
2020-10-15 22:02:02 +00:00
/* desktop */
2020-02-10 11:05:42 +00:00
@media only screen and (min-width: 768px) {
2020-10-15 22:02:02 +00:00
.footer-navigation .footer-menu {
flex-direction: row;
}
2021-03-12 17:56:11 +00:00
.footer-navigation .footer-menu li {
border-bottom: 0;
}
2020-02-10 11:05:42 +00:00
}
.entry .entry-content .wp-block-quote cite a {
word-wrap: break-all;
}
.hide {
2020-10-15 22:02:02 +00:00
display: none;
}
2020-04-10 15:50:44 +00:00
/* Input and acf form override styles */
.entry-content .acf-tab-group li a {
2020-10-15 22:02:02 +00:00
padding: 0.5rem 0.5rem 0.25rem;
font-size: 0.9rem;
2020-04-10 15:50:44 +00:00
}
#acf-form input[type="text"],
#acf-form input[type="email"],
#acf-form input[type="url"],
#acf-form textarea,
#acf-form select {
2020-10-15 22:02:02 +00:00
font-size: 1rem;
padding: 0.5rem 0.75rem;
height: auto;
2020-04-10 15:50:44 +00:00
}
#acf-form input[type="url"] {
2020-10-15 22:02:02 +00:00
padding-left: 1.75rem;
2020-04-10 15:50:44 +00:00
}
#acf-form .acf-url i {
2020-10-15 22:02:02 +00:00
left: 10px;
font-size: 18px;
top: 17px;
2020-04-10 15:50:44 +00:00
}
#acf-form textarea {
2020-10-15 22:02:02 +00:00
font-size: 0.9rem;
line-height: 1.5;
2020-04-10 15:50:44 +00:00
}
.entry-content a.acf-icon {
2020-10-15 22:02:02 +00:00
text-decoration: none;
2020-04-10 15:50:44 +00:00
}
#acf-form .select2-container.-acf .select2-selection--single {
2020-10-15 22:02:02 +00:00
font-size: 1.1rem;
padding: 0.5rem;
height: auto;
word-break: normal;
2020-04-10 15:50:44 +00:00
}
2020-10-15 22:02:02 +00:00
#acf-form .select2-container.-acf .select2-selection--single .select2-selection__rendered {
line-height: 1.25;
white-space: normal;
2020-04-10 15:50:44 +00:00
}
2020-10-15 22:02:02 +00:00
#acf-form .select2-container--default .select2-selection--single .select2-selection__arrow {
height: 2.4rem;
2020-04-10 15:50:44 +00:00
}
.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);
2024-01-25 16:38:37 +00:00
background-color: var(--color-gray-0);
flex-grow: 1;
font-size: medium;
}
.profile-data .user-meta dt {
2024-01-25 16:38:37 +00:00
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;
2022-11-07 16:01:07 +00:00
}
.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);
}
2022-11-10 19:37:22 +00:00
}
.comment .comment-body {
width: 100%;
2022-11-10 19:59:54 +00:00
}
/* Home */
2022-11-10 19:59:54 +00:00
.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;
}
2022-11-10 19:59:54 +00:00
.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);
2022-11-10 22:48:24 +00:00
}
.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;
2022-12-05 18:49:07 +00:00
}
.post-pagination {
display: flex;
justify-content: space-between;
}
.post-pagination-link {
flex: 1;
max-width: 370px;
2022-12-05 18:49:07 +00:00
}
.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;
}
2022-12-05 18:49:07 +00:00
.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 {
2022-12-05 18:49:07 +00:00
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;
}
2024-01-25 16:15:24 +00:00
.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;
2023-01-20 14:46:16 +00:00
}
.entry .entry-content .question_anchor {
2023-05-03 17:38:16 +00:00
font-size: 0.9em;
text-decoration: none;
display: inline-block;
vertical-align: sub;
}
2023-01-20 14:46:16 +00:00
.entry-description.has-regular-font-size {
font-size: 1em;
font-weight: normal;
line-height: 1.5;
2023-01-30 15:37:05 +00:00
}
.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);
2023-03-28 18:57:27 +00:00
}
/* 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;
}