/*! 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.10.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: #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; } } .site-footer { background: var(--color-gray3); } .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(2, 1fr); grid-gap: 1rem; justify-content: space-between; } .the-directory .directory .person { position: relative; width: 100%; padding-top: 100%; margin: 0; text-decoration: none; } .callout .the-directory.directory-bumper { margin: 0; padding: 0; } .the-directory.directory-bumper .directory { margin: 0; } @media only screen and (min-width: 768px) { .the-directory .directory { 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 { position: absolute; bottom: 0; width: 100%; z-index: 1; background: rgba(0, 0, 0, 0.5); padding: 0.25rem; text-align: center; text-decoration: none; color: var(--color-white); line-height: 1.1em; opacity: 0; transition: all 0.2s ease; } @media only screen and (min-width: 768px) { .directory-full .person .directory-name { opacity: 0; } .directory-full .person:hover .directory-name { opacity: 1; } } .the-directory .directory-pagination { max-width: 100%; width: 300px; margin: 1rem auto; } .directory-pagination .page-numbers { list-style: none; display: flex; justify-content: space-between; } .directory-pagination .page-numbers a { /* border: 1px solid var(--color-blue); */ } .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(2, 1fr); } /* desktop - sidebar */ @media only screen and (min-width: 768px) { .widget .the-directory { margin: 0 auto 2rem; } .widget .the-directory .directory { grid-template-columns: repeat(3, 1fr); } } /* 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; } .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 { font-size: 0.6rem; padding: 0.5rem 0.76rem; color: #fff; transition: all 0.2s ease; margin: 1rem 50% 0 0; } /* 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 { width: 20%; margin: 10rem 0 3rem; } .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; -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.1) inset; -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.1) inset; box-shadow:0 1px 4px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.1) inset; border-radius: 3px; margin: .5rem; /* max-width: calc(50% - 2rem); */ /* min-width: 360px; */ 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:before, .blog-main article.post:after { content:""; position:absolute; z-index:-1; -webkit-box-shadow:0 0 20px rgba(0,0,0,0.4); -moz-box-shadow:0 0 20px rgba(0,0,0,0.4); box-shadow:0 0 20px rgba(0,0,0,0.4); top:0; bottom:0; left:10px; right:10px; -moz-border-radius:100px / 10px; border-radius:100px / 10px; } .blog-main article.post:after { right: 10px; left: auto; -webkit-transform:skew(8deg) rotate(3deg); -moz-transform:skew(8deg) rotate(3deg); -ms-transform:skew(8deg) rotate(3deg); -o-transform:skew(8deg) rotate(3deg); transform:skew(8deg) rotate(3deg); } .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 { width: 450px !important; font-size: 18px; } .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: 5px !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; }