2019-03-08 15:36:00 +00:00
|
|
|
/*!
|
|
|
|
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
|
2019-03-13 13:45:05 +00:00
|
|
|
Version: 1.1.0
|
2019-03-08 15:36:00 +00:00
|
|
|
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
|
|
|
|
*/
|
|
|
|
|
2019-03-12 13:36:03 +00:00
|
|
|
:root {
|
|
|
|
--color-orange:#F07C27;
|
|
|
|
--color-pink: #D80C81;
|
|
|
|
--color-blue: #00AEEB;
|
|
|
|
--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 {
|
2019-03-14 12:43:15 +00:00
|
|
|
padding: 0rem 1rem 1rem;
|
2019-03-12 13:36:03 +00:00
|
|
|
}
|
2019-03-14 12:33:15 +00:00
|
|
|
.site-description {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
.site-title:not(:empty) + .site-description:not(:empty):before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
.site-title {
|
|
|
|
text-transform: lowercase;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2019-03-14 13:20:24 +00:00
|
|
|
|
|
|
|
.site-logo {
|
|
|
|
max-width: 80px;
|
|
|
|
}
|
|
|
|
|
2019-03-14 12:33:15 +00:00
|
|
|
.site-logo + .site-title {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-03-14 12:39:57 +00:00
|
|
|
|
2019-03-14 12:33:15 +00:00
|
|
|
.site-logo .custom-logo-link {
|
|
|
|
border-radius: 0;
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
}
|
2019-03-14 13:20:24 +00:00
|
|
|
|
2019-03-14 12:33:15 +00:00
|
|
|
.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);
|
|
|
|
}
|
|
|
|
|
2019-03-14 12:39:57 +00:00
|
|
|
@media only screen and (min-width: 768px) { /* desktop */
|
2019-03-12 13:36:03 +00:00
|
|
|
.site-header {
|
2019-03-14 12:54:30 +00:00
|
|
|
padding: 1rem 0 1rem;
|
2019-03-12 13:36:03 +00:00
|
|
|
}
|
2019-03-14 12:39:57 +00:00
|
|
|
.site-logo {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: calc(.66 * 1rem);
|
|
|
|
top: initial;
|
|
|
|
right: initial;
|
|
|
|
}
|
2019-03-12 13:36:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-footer {
|
|
|
|
background: var(--color-gray3);
|
|
|
|
}
|
|
|
|
|
2019-03-11 21:51:39 +00:00
|
|
|
/* menu visibility toggles */
|
2019-03-12 14:47:33 +00:00
|
|
|
.menu-item.not-logged-in {
|
2019-03-11 21:51:39 +00:00
|
|
|
display: initial;
|
|
|
|
}
|
2019-03-12 14:47:33 +00:00
|
|
|
.menu-item.logged-in {
|
2019-03-11 21:51:39 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2019-03-12 14:47:33 +00:00
|
|
|
body.logged-in .menu-item.not-logged-in {
|
2019-03-11 21:51:39 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2019-03-12 14:47:33 +00:00
|
|
|
body.logged-in .menu-item.logged-in {
|
2019-03-11 21:51:39 +00:00
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
|
2019-03-12 13:36:03 +00:00
|
|
|
.site-branding-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.utility-navigation {
|
|
|
|
float: right;
|
|
|
|
font-size: .67rem;
|
|
|
|
}
|
|
|
|
.utility-navigation ul {
|
|
|
|
list-style: none;
|
2019-03-14 12:43:15 +00:00
|
|
|
margin: 0;
|
2019-03-12 13:36:03 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.utility-navigation li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: .67em;
|
|
|
|
}
|
|
|
|
|
2019-03-11 21:51:39 +00:00
|
|
|
|
|
|
|
/* Directory */
|
2019-03-14 13:50:04 +00:00
|
|
|
.the-directory {
|
|
|
|
margin: 0 0 8rem;
|
|
|
|
}
|
2019-03-11 19:09:24 +00:00
|
|
|
.directory {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
.directory .person {
|
|
|
|
position: relative;
|
|
|
|
width: 20%;
|
|
|
|
padding-top: 20%;
|
2019-03-14 13:50:04 +00:00
|
|
|
margin: 0 0 1rem;
|
2019-03-11 19:09:24 +00:00
|
|
|
}
|
|
|
|
.directory .person:hover .directory-name {
|
2019-03-14 13:50:04 +00:00
|
|
|
opacity: 1;
|
2019-03-11 19:09:24 +00:00
|
|
|
}
|
|
|
|
.directory .person .directory-img {
|
2019-03-15 12:46:01 +00:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
padding-top: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.directory .person .directory-img img {
|
2019-03-11 19:09:24 +00:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: center;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2019-03-15 12:46:01 +00:00
|
|
|
|
2019-03-11 19:09:24 +00:00
|
|
|
}
|
|
|
|
.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;
|
2019-03-12 13:36:03 +00:00
|
|
|
color: var(--color-white);
|
2019-03-11 19:09:24 +00:00
|
|
|
line-height: 1.1em;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all .2s ease;
|
2019-03-12 13:36:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* profile */
|
2019-03-14 12:59:28 +00:00
|
|
|
article.user-profile {
|
|
|
|
padding-bottom: 8rem;
|
|
|
|
}
|
2019-03-12 16:46:05 +00:00
|
|
|
.acf-field textarea {
|
|
|
|
font-size: 18px;
|
|
|
|
overflow-wrap: normal;
|
|
|
|
white-space: normal;
|
|
|
|
word-break: normal;
|
|
|
|
padding: .5rem;
|
|
|
|
}
|
|
|
|
|
2019-03-13 13:41:32 +00:00
|
|
|
|
2019-03-12 13:36:03 +00:00
|
|
|
.acf-input .acf-url i {
|
|
|
|
top: 12px;
|
2019-03-12 14:30:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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%;
|
2019-03-14 12:39:57 +00:00
|
|
|
flex-direction: column-reverse;
|
2019-03-12 14:30:59 +00:00
|
|
|
}
|
2019-03-14 12:54:30 +00:00
|
|
|
.entry .content-header .content-left {
|
2019-03-12 14:30:59 +00:00
|
|
|
flex-basis: 200px;
|
|
|
|
min-width: 200px;
|
2019-03-14 12:54:30 +00:00
|
|
|
margin: 1rem 0;
|
2019-03-14 12:39:57 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.content-left img {
|
2019-03-14 12:54:30 +00:00
|
|
|
max-width: 100%;
|
2019-03-12 14:30:59 +00:00
|
|
|
}
|
|
|
|
|
2019-03-14 12:39:57 +00:00
|
|
|
@media only screen and (min-width: 768px) { /* desktop */
|
2019-03-14 12:33:15 +00:00
|
|
|
.entry .entry-content .content-header {
|
2019-03-14 12:39:57 +00:00
|
|
|
flex-direction: row;
|
2019-03-14 12:33:15 +00:00
|
|
|
}
|
2019-03-14 12:54:30 +00:00
|
|
|
.entry .content-header .content-left {
|
|
|
|
margin: .75rem 1rem 1rem 0;
|
2019-03-12 14:30:59 +00:00
|
|
|
}
|
2019-03-14 12:39:57 +00:00
|
|
|
|
2019-03-14 12:33:15 +00:00
|
|
|
}
|
2019-03-12 14:30:59 +00:00
|
|
|
|
|
|
|
h2.tagline {
|
|
|
|
color: var(--color-gray2);
|
|
|
|
font-family: serif;
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: normal;
|
2019-03-14 12:59:28 +00:00
|
|
|
line-height: 1.375em;
|
|
|
|
margin-top: .75rem;
|
2019-03-12 14:30:59 +00:00
|
|
|
}
|
|
|
|
.social-links {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.social-links li {
|
|
|
|
display: inline-block;
|
2019-03-13 13:41:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
cite {
|
|
|
|
text-align: right;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
cite .directory-img {
|
|
|
|
width: 1.5rem;
|
|
|
|
}
|
|
|
|
cite span {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-top;
|
|
|
|
margin-left: .5rem;
|
2019-03-14 13:17:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* footer widget / lwa modal */
|
|
|
|
.lwa-modal {
|
|
|
|
width: 50%;
|
|
|
|
max-width: 500px;
|
|
|
|
min-width: 400px;
|
|
|
|
}
|
|
|
|
.lwa-avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-03-14 13:29:15 +00:00
|
|
|
.lwa-info a {
|
2019-03-14 13:17:47 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2019-03-14 13:29:15 +00:00
|
|
|
.lwa-info a#wp-logout {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2019-03-14 13:23:55 +00:00
|
|
|
.widget a#wp-logout,
|
|
|
|
.widget a.lwa-links-modal {
|
2019-03-14 13:17:47 +00:00
|
|
|
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;
|
|
|
|
}
|
2019-03-14 13:23:55 +00:00
|
|
|
.widget a#wp-logout:hover,
|
|
|
|
.widget a.lwa-links-modal:hover {
|
2019-03-14 13:17:47 +00:00
|
|
|
background: rgba(255,255,255,.15);
|
|
|
|
color: var(--color-white);
|
2019-03-11 19:09:24 +00:00
|
|
|
}
|