389 lines
No EOL
7.2 KiB
CSS
389 lines
No EOL
7.2 KiB
CSS
/*!
|
|
Theme Name: WasMormon Theme
|
|
Theme URI: https://circlecube.com
|
|
Description: Theme for mormon profile site
|
|
Author: Evan Mullins
|
|
Author URI: https://circlecube.com
|
|
Template: twentynineteen
|
|
Version: 1.3.0
|
|
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;
|
|
}
|
|
|
|
|
|
.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: sans-serif;
|
|
}
|
|
.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;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) { /* desktop */
|
|
.site-header {
|
|
padding: 1rem 0 1rem;
|
|
}
|
|
.site-logo {
|
|
position: relative;
|
|
margin-bottom: calc(.66 * 1rem);
|
|
top: initial;
|
|
right: initial;
|
|
}
|
|
}
|
|
|
|
.site-footer {
|
|
background: var(--color-gray3);
|
|
}
|
|
|
|
/* 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: .67rem;
|
|
}
|
|
.utility-navigation ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.utility-navigation li {
|
|
display: inline-block;
|
|
margin-left: .67em;
|
|
}
|
|
|
|
|
|
/* Directory */
|
|
.entry .the-directory {
|
|
margin-bottom: 8rem;
|
|
max-width: 100%;
|
|
}
|
|
.the-directory .directory {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
}
|
|
.the-directory .directory .person {
|
|
position: relative;
|
|
width: 30%;
|
|
padding-top: 30%;
|
|
margin: 0 0 1rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) { /* desktop */
|
|
.the-directory .directory .person {
|
|
width: 21%;
|
|
padding-top: 21%;
|
|
}
|
|
|
|
.directory .person:hover .directory-name {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.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,.25);
|
|
padding: .25rem;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
color: var(--color-white);
|
|
line-height: 1.1em;
|
|
opacity: 0;
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* profile */
|
|
article.user-profile {
|
|
padding-bottom: 8rem;
|
|
}
|
|
.acf-field textarea {
|
|
font-size: 18px;
|
|
overflow-wrap: normal;
|
|
white-space: normal;
|
|
word-break: normal;
|
|
padding: .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: 6rem 0;
|
|
}
|
|
|
|
.buttons .wp-block-button a {
|
|
margin: 0 1rem 1rem 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
.entry .entry-content > *,
|
|
.entry .entry-summary > * {
|
|
/* max-width: 100%; */
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) { /* desktop */
|
|
.entry .entry-content .content-header {
|
|
flex-direction: row-reverse;
|
|
}
|
|
.entry .content-header .content-left {
|
|
margin: .75rem 1rem 1rem 0;
|
|
}
|
|
}
|
|
|
|
h2.tagline {
|
|
color: var(--color-gray2);
|
|
font-family: serif;
|
|
font-style: italic;
|
|
font-size: 1.5rem;
|
|
font-weight: normal;
|
|
line-height: 1.375em;
|
|
margin-top: .75rem;
|
|
}
|
|
.social-links {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.social-links li {
|
|
display: inline-block;
|
|
}
|
|
.location {
|
|
font-size: .8rem;
|
|
color: var(--color-gray2);
|
|
font-style: italic;
|
|
}
|
|
.user-profile .edit-link {
|
|
display: block;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
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: .5rem;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* footer widget / lwa modal */
|
|
.lwa-modal {
|
|
width: 50%;
|
|
max-width: 500px;
|
|
min-width: 400px;
|
|
}
|
|
.lwa-avatar {
|
|
display: none;
|
|
}
|
|
.lwa-info a {
|
|
display: none;
|
|
}
|
|
.lwa-info a#wp-logout {
|
|
display: inline-block;
|
|
}
|
|
.widget a#wp-logout,
|
|
.widget a.lwa-links-modal {
|
|
color: var(--color-gray1);
|
|
border: 2px solid var(--color-gray1);
|
|
padding: .15rem .5rem;
|
|
border-radius: 5px;
|
|
font-size: .75rem;
|
|
text-transform: capitalize;
|
|
transition: all .2s ease;
|
|
}
|
|
.widget a#wp-logout:hover,
|
|
.widget a.lwa-links-modal:hover {
|
|
background: rgba(255,255,255,.15);
|
|
color: var(--color-white);
|
|
}
|
|
|
|
|
|
/* colors
|
|
a,
|
|
#colophon .site-info a:hover,
|
|
.main-navigation .main-menu > li > a:hover,
|
|
.main-navigation .main-menu > li > a:hover + svg,
|
|
.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color),
|
|
.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:focus:not(.has-text-color),
|
|
.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:active:not(.has-text-color) {
|
|
color: var(--color-blue);
|
|
}
|
|
blockquote {
|
|
border-left: 2px solid var(--color-blue);
|
|
}
|
|
.entry .entry-content .wp-block-button .wp-block-button__link:not(.has-background) {
|
|
background-color: var(--color-blue);
|
|
}
|
|
|
|
a:hover,
|
|
a:active {
|
|
color: var(--color-blue-2);
|
|
}
|
|
.main-navigation .sub-menu,
|
|
.entry .entry-content .wp-block-button .wp-block-button__link:not(.has-background):hover {
|
|
background-color: var(--color-blue-2);
|
|
}
|
|
|
|
|
|
.main-navigation .sub-menu > li > a:hover, .main-navigation .sub-menu > li > a:focus,
|
|
.main-navigation .sub-menu > li > .menu-item-link-return:hover,
|
|
.main-navigation .sub-menu > li > .menu-item-link-return:focus,
|
|
.main-navigation .sub-menu > li > a:hover:after, .main-navigation .sub-menu > li > a:focus:after,
|
|
.main-navigation .sub-menu > li > .menu-item-link-return:hover:after,
|
|
.main-navigation .sub-menu > li > .menu-item-link-return:focus:after {
|
|
background: var(--color-blue-3);
|
|
}
|
|
*/
|
|
|
|
.the-questions {
|
|
margin-top: 0;
|
|
} |