File: /home/awaldron/_upmc/pancreaseq.alanwaldron.com/wp-content/themes/pancreaseq/scss/_misc.scss
html {
font-size: $font-size-px-default;
}
body {
background-color: $bg-color;
}
.bg-spacing {
padding: 60px 0;
min-height: 150px;
}
.bg-spacing-sm {
padding: 30px 0;
min-height: 150px;
}
.bg-gray {
background-color: $gray-200;
}
.bg-red {
background-color: $red;
& * {
color: $white !important;
}
}
.bg-blue {
background-color: $navy;
& * {
color: $white !important;
}
}
.bg-dna {
background-color: $bg-color;
background-image: url(/wp-content/themes/pancreaseq/assets/img/bg-dna-transparent.png);
background-position: left top;
background-repeat: no-repeat;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
}
.bg-dna-sub {
background-color: $bg-color;
background-image: url(/wp-content/themes/pancreaseq/assets/img/bg-sub-dna.png);
background-position: right top;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
background-repeat: no-repeat;
min-height: 500px;
}
h1, h2, h3, h4, h5, h6 {
font-family: "capitolium-news-2", serif;
font-weight: 700;
color: $blue;
margin-bottom: 0.5em;
}
.container-fluid {
max-width: 1200px;
}
.wp-block-table {
table {
tr:first-child td {
background-color: $gray-400;
font-weight: bold;
color: $red;
}
}
td, th {
border-color: $gray-400;
a {
color: $black;
}
}
background-color: rgba(255,255,255,0.5);
@include shadow();
}
.the-team {
@include flex(row, space-between, flex-start, wrap);
.team-member {
width: 47.5%;
margin-bottom: 30px;
@media (max-width: 450px) {
width: 100%;
}
}
.tm-image img {
max-width: 100%;
border: solid 1px $gray-600;
margin-bottom: 8px;
}
.tm-content {
& > p strong {
@include rem-size(1.2);
}
ul {list-style: none}
ul li {
margin-bottom: 10px;
}
ul li::before {
content: "\2022"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
color: $red; /* Change the color */
font-weight: bold; /* If you want it to be bold */
font-size: 18px;
padding: 0;
display: inline-block; /* Needed to add space between the bullet and the text */
width: 1em; /* Also needed for space (tweak if needed) */
margin-left: -1em; /* Also needed for space (tweak if needed) */
}
}
}
.form-group {
margin-bottom: 20px;
label {
font-weight: bold;
}
textarea {
height: 200px;
}
.btn-primary {
color: $white;
padding-right: 50px;
padding-left: 50px;
}
.form-check {
display: inline-block;
position: relative;
top: 6px;
margin-right: 8px;
transform: scale(1.4);
}
}
.home-posts {
@include flex(row, space-between, flex-start, wrap);
align-items: unset;
.home-post {
@include flex(column, flex-start, flex-start);
background-color: $white;
width: 32.5%;
padding: 12px;
border: solid 1px #EEE;
@include shadow(2px, 4px, 0.1);
&-inner {
flex-grow: 1;
}
&:nth-child(4) {
display: none;
}
div.home-post-title {
a {
display: block;
@include rem-size(1.1);
font-weight: bold;
color: $red;
text-decoration: none;
margin-bottom: 14px;
&:hover {
text-decoration: underline;
color: darken($red, 10%);
}
}
}
div.home-post-body {
flex-grow: 1;
}
a.home-post-full {
flex: 1;
color: $red;
text-decoration: none;
margin-bottom: 12px;
&:hover {
text-decoration: underline;
color: darken($red, 10%);
}
}
}
@media (max-width: 1000px) {
.home-post {
width: 48%;
margin-bottom: 40px;
&:last-child {
display: block;
}
}
}
@media (max-width: 700px) {
.home-post {
width: 100%;
margin-bottom: 40px;
&:last-child {
display: none;
}
}
}
}
p {
line-height: 1.75em;
}
.wp-block-button__link {
@include rem-size(1.1);
background-color: $blue;
padding: 10px 25px;
cursor: pointer;
@include transition(all 0.3s ease);
&:hover {
background-color: $aqua;
}
}
#floaty-button {
position: fixed;
bottom: 30px;
right: 30px;
color: $white;
@include shadow(4px, 8px, 0.25);
&:hover, &:active {
color: $white;
}
}
.feature-grid-row {
@include flex(row, space-between, flex-start, wrap);
align-items: unset;
}
.feature-grid-item {
@include flex(column, flex-start, flex-start);
background-color: $white;
padding: 12px;
border: solid 1px #EEE;
width: 24.5%;
@include shadow(2px, 4px, 0.1);
@media (max-width: 800px) {
width: 49%;
margin-bottom: 14px;
}
@media (max-width: 800px) {
width: 100%;
margin-bottom: 14px;
}
.feature-grid-body {
flex-grow: 1;
}
.feature-grid-title {
color: $red;
@include rem-size(1.1);
font-weight: bold;
padding-bottom: 12px;
margin-bottom: 12px;
border-bottom: solid 1px $gray-300;
width: 100%;
@media (max-width: 801px) {
span { display: none; }
}
}
}
.block-content-row {
@include flex(row, space-between, flex-start, wrap);
align-items: unset;
}
.block-content {
@include flex(column, flex-start, flex-start);
background-color: $white;
padding: 16px;
border: solid 1px #EEE;
@include shadow(2px, 4px, 0.1);
&.pct50 {
width: 49%;
@media (max-width: 800px) {
width: 100%;
margin-bottom: 14px;
}
}
&-grow {
flex-grow: 1;
}
&.noflex {
@include flex(unset, unset, unset, unset);
display: block;
}
}
.order-image {
display: block;
margin-bottom: 30px;
text-align: center;
width: 100%;
}
.order-img {
max-width: 250px;
@include shadow( 6px, 12px, 0.3);
}
.red {
color: $red;
}