wp-rdnyc/assets/css/app.scss

335 lines
7.2 KiB
SCSS
Raw Permalink Normal View History

/* Fonts */
@import "fonts";
/* Load Bootstrap v5 and customizations */
@import "bs-load";
/*SVG ICON SYSTEM*/
@import "svg-icons";
2021-07-28 22:51:24 -04:00
/* Basic style additions */
@import "basic-additions";
/* Navbar toggler icon override */
@import "nav-burger";
/* Navbar & Main layout styling */
@import "layout-top-navbar-main";
2021-08-04 07:46:55 -04:00
/* Navbar & Main layout styling */
@import "rolling-mandala";
/* main */
html,
body {
height: 100%;
}
2021-08-04 07:46:55 -04:00
body {
display: flex;
flex-direction: column;
@include media-breakpoint-down(md) {
padding-top: 1.25rem !important;
}
@include media-breakpoint-up(md) {
padding-top: 3rem !important;
}
&.front-page {
height: 100vh !important;
overflow-x: hidden;
}
}
/* links */
2021-08-02 21:32:27 -04:00
a {
2021-07-28 22:51:24 -04:00
&:hover, &:focus {
2021-07-28 19:05:47 -04:00
text-decoration-color: $gray-200 !important;
}
}
/* post styling */
2021-08-03 20:04:38 -04:00
article.post.sticky,
.rpwwt-widget li.rpwwt-sticky {
border-radius: .25rem !important;
2021-08-04 07:46:55 -04:00
background-color: rgba(0, 0, 0, 0.50);
border-bottom: inherit !important;
margin-bottom: inherit !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-bottom: 0.5rem !important;
&.mb-4-2 {
margin-bottom: 2rem !important;
}
header.post-header {
flex: 1 1 auto !important;
padding: 1rem 1rem 0 1rem !important;
}
div.post-body {
flex: 1 1 auto !important;
padding: 0 1rem 1rem 1rem !important;
&:last-child {
padding-bottom: 0 !important;
margin-bottom: .25rem !important;
}
}
}
2021-07-28 22:51:24 -04:00
header.post-header {
h1, h2, h1 a, h2 a {
2021-07-28 16:39:40 -04:00
-ms-word-wrap: break-word;
word-wrap: break-word;
}
}
2021-07-28 22:51:24 -04:00
.article.post-body {
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
padding-top: 0.5rem;
}
}
2021-07-28 16:39:40 -04:00
.more-link-outer {
text-align: right !important;
margin-bottom: 0 !important;
.more-link {
text-decoration: none !important;
font-family: $font-family-handbrush;
}
}
/* blockquote handling */
blockquote,
blockquote.wp-block-quote {
background-color: tint-color($spaceblue-800, 5%) !important;
border-left-width: 5px !important;
border-left-style: solid !important;
border-left-color: tint-color($spaceblue-800, 15%) !important;
margin-right: 0 !important;
margin-top: 1.5rem !important;
margin-bottom: 1.5rem !important;
padding: .5rem 1rem !important;
font-size: 1.4rem;
p {
margin-top: 0;
&:last-of-type {
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
}
&.is-style-large {
p {
font-size: 1.7rem;
}
cite {
font-size: 1.125rem;
}
}
cite {
margin-top: -1rem;
margin-bottom: 1rem;
2021-07-28 19:05:47 -04:00
color: $gray-300;
padding-top: 0 !important;
padding-bottom: 0 !important;
font-size: 0.875rem;
font-style: normal;
&::before {
content: "";
}
}
&:last-child {
padding-bottom: .25rem !important;
}
}
figure.wp-block-pullquote {
margin: 2em !important;
padding: 3rem !important;
&:not(.is-style-solid-color) {
background-color: tint-color($spaceblue-800, 5%) !important;
border-top-width: 5px !important;
border-top-style: solid !important;
border-bottom-width: 5px !important;
border-bottom-style: solid !important;
border-top-color: tint-color($spaceblue-800, 15%) !important;
border-bottom-color: tint-color($spaceblue-800, 15%) !important;
& blockquote {
background-color: none !important;
border: none !important;
}
}
& blockquote {
margin: 0 !important;
padding: 0 !important;
background-color: inherit !important;
border: inherit !important;
}
}
/* other wp styling */
img,
figure.wp-caption {
max-width: 100%;
height: auto;
}
.wp-block-image figcaption {
margin-bottom: 1.5rem;
text-align: center;
font-style: italic;
font-size: smaller;
color: $text-muted;
}
.btn-primary {
2021-07-29 18:46:27 -04:00
color: $dark;
2021-08-04 07:46:55 -04:00
box-shadow: inherit !important;
}
.has-drop-cap:not(:focus)::first-letter {
font-size: 5em;
margin: 0.05em 0.05em 0 0;
}
.wp-block-button {
margin-bottom: .5rem !important;
}
.wp-block-button__link,
.wp-block-search .wp-block-search__button {
@extend .btn;
@extend .btn-primary;
}
.is-style-outline > .wp-block-button__link {
@extend .btn;
@extend .btn-outline-primary;
}
2021-07-29 18:46:27 -04:00
.wp-caption-text {
color: $text-muted !important;
}
.alignleft {
text-align: left !important;
}
.aligncenter {
text-align: center !important;
}
.alignright {
text-align: right !important;
2021-07-29 18:46:27 -04:00
}
2021-07-28 19:05:47 -04:00
2021-07-29 18:46:27 -04:00
/* tables */
2021-07-28 19:05:47 -04:00
.wp-block-table table,
.wp-block-calendar {
@extend .table;
@extend .table-dark;
2021-07-28 19:05:47 -04:00
caption {
color: $text-muted !important;
}
}
2021-07-29 18:46:27 -04:00
.wp-block-table.is-style-stripes {
border-bottom: none;
table {
@extend .table-striped;
}
2021-07-28 19:05:47 -04:00
}
.wp-block-calendar table tbody { color: $text-muted !important; }
.wp-block-calendar table th { background-color: tint-color($dark, 5%) !important; }
.wp-block-calendar th, .wp-block-calendar tbody td {
border: 1px solid $spaceblue-600 !important;
}
.wp-block-calendar > .wp-calendar-nav > span > a {
background-color: inherit !important;
}
2021-07-29 18:46:27 -04:00
/* post page pagination */
2021-07-28 16:39:40 -04:00
.post-page-numbers {
text-decoration: none !important;
2021-07-28 16:39:40 -04:00
@extend .page-item;
&.current {
2021-07-29 18:46:27 -04:00
@extend .page-item, .active;
2021-07-28 16:39:40 -04:00
}
}
2021-07-28 22:51:24 -04:00
/* forms and search */
2021-08-03 16:06:07 -04:00
label,
div.wpforms-container-full .wpforms-form .wpforms-field-label {
2021-07-28 22:51:24 -04:00
@extend .form-label;
}
2021-08-03 16:06:07 -04:00
div.wpforms-container-full .wpforms-form .wpforms-required-label {
color: $red !important;
}
input, textarea,
div.wpforms-container-full .wpforms-form input[type="text"],
div.wpforms-container-full .wpforms-form input[type="email"],
div.wpforms-container-full .wpforms-form textarea {
@extend .form-control;
}
2021-08-03 16:06:07 -04:00
.wpforms-submit-container {
text-align: right;
}
div.wpforms-container-full .wpforms-form button[type="submit"] {
@extend .btn;
@extend .btn-primary;
font-family: $font-family-handbrush;
}
div.wpforms-container-full div.wpforms-confirmation-container-full {
color: $input-focus-color;
background-color: rgba(21,28,40,0.85);
border-color: $input-border-color;
2021-08-03 16:06:07 -04:00
}
2021-07-28 22:51:24 -04:00
select {
@extend .form-select;
}
.wp-block-search .wp-block-search__input {
border-color: $input-border-color !important;
}
.wp-block-calendar,
.wp-block-categories-dropdown {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
2021-07-29 18:46:27 -04:00
/* Meetings plugin styling changes */
@import "meetings-plugin";
2021-08-03 20:04:38 -04:00
/* Front page layout */
.rpwwt-widget ul li img { margin: .5em .75em .75em 0 !important; }
2021-08-03 20:04:38 -04:00
main#fp-main > div.fp-grid {
display: grid !important;
grid-template-columns: 1fr;
grid-column-gap: 2rem;
grid-row-gap: 2rem;
@include media-breakpoint-up(md) {
2021-08-04 07:46:55 -04:00
grid-template-columns: auto 20rem;
2021-08-03 20:04:38 -04:00
}
h2.widgettitle {
font-size: 1.75rem;
font-weight: 300 !important;
color: $text-muted;
margin-bottom: 0.5rem;
@include media-breakpoint-up(sm) {
margin-bottom: 1rem;
}
}
.rpwwt-widget {
li.rpwwt-sticky {
padding: 0.75rem !important;
}
.rpwwt-post-title {
font-size: 1.4rem;
}
.rpwwt-post-date {
color: $text-muted;
font-size: smaller;
}
.rpwwt-post-excerpt {
clear: both;
}
2021-08-03 20:04:38 -04:00
}
.tsml-widget-upcoming.widget_tsml_widget_upcoming.widget p {
text-align: right;
a {
@extend .btn;
@extend .btn-primary;
font-family: $font-family-handbrush;
}
}
2021-08-03 20:33:26 -04:00
}
#tsml #meetings table tbody tr td.name small {
color: orange;
}