wasmo-theme/style.css

201 lines
3.3 KiB
CSS
Raw Normal View History

/*!
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
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-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: 2rem 1rem 1rem;
}
@media only screen and (min-width: 768px) {
.site-header {
padding: 3rem 0 3rem;
}
}
.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: -2rem 0 0;
padding: 0;
}
.utility-navigation li {
display: inline-block;
margin-left: .67em;
}
/* Directory */
.directory {
display: flex;
flex-wrap: wrap;
}
.directory .person {
position: relative;
width: 20%;
padding-top: 20%;
}
.directory .person:hover .directory-name {
opacity:1;
}
.directory .person .directory-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 */
.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%;
}
.content-left {
flex-basis: 200px;
min-width: 200px;
margin-right: 1rem;
}
/* @media only screen and (min-width: 768px) {
.content-left {
width: 25%;
}
} */
h2.tagline {
color: var(--color-gray2);
font-family: serif;
font-style: italic;
font-size: 1.5rem;
font-weight: normal;
line-height: 1.2em;
margin-top: .5rem;
}
.social-links {
list-style: none;
margin: 0;
padding: 0;
}
.social-links li {
display: inline-block;
}
cite {
text-align: right;
display: block;
}
cite .directory-img {
width: 1.5rem;
}
cite span {
display: inline-block;
vertical-align: text-top;
margin-left: .5rem;
}