minor styling improvements, increment version

This commit is contained in:
Adam Piontek 2021-08-04 17:04:56 -04:00
parent a7dbb5b297
commit 1283fd2b74
8 changed files with 24 additions and 24 deletions

View file

@ -7,16 +7,16 @@ $link-decoration: underline;
$link-shade-percentage: 20%;
$link-hover-color: $primary;
/* alerts */
// scss-docs-start alert-variables
$alert-padding-y: $spacer;
$alert-padding-x: $spacer;
$alert-margin-bottom: 1rem;
$alert-border-radius: $border-radius;
$alert-link-font-weight: $font-weight-bold;
$alert-border-width: $border-width;
$alert-bg-scale: -40%;
$alert-border-scale: -30%;
$alert-color-scale: 60%;
$alert-dismissible-padding-r: $alert-padding-x * 3; // 3x covers width of x plus default padding on either side
// scss-docs-end alert-variables
// /* alerts */
// // scss-docs-start alert-variables
// $alert-padding-y: $spacer;
// $alert-padding-x: $spacer;
// $alert-margin-bottom: 1rem;
// $alert-border-radius: $border-radius;
// $alert-link-font-weight: $font-weight-bold;
// $alert-border-width: $border-width;
// $alert-bg-scale: -40%;
// $alert-border-scale: -30%;
// $alert-color-scale: 60%;
// $alert-dismissible-padding-r: $alert-padding-x * 3; // 3x covers width of x plus default padding on either side
// // scss-docs-end alert-variables

View file

@ -32,12 +32,12 @@
@import "../../node_modules/bootstrap/scss/button-group";
// @import "../../node_modules/bootstrap/scss/nav";
// @import "../../node_modules/bootstrap/scss/navbar";
@import "../../node_modules/bootstrap/scss/card";
// @import "../../node_modules/bootstrap/scss/card";
// @import "../../node_modules/bootstrap/scss/accordion";
// @import "../../node_modules/bootstrap/scss/breadcrumb";
@import "../../node_modules/bootstrap/scss/pagination";
// @import "../../node_modules/bootstrap/scss/badge";
@import "../../node_modules/bootstrap/scss/alert";
// @import "../../node_modules/bootstrap/scss/alert";
// @import "../../node_modules/bootstrap/scss/progress";
@import "../../node_modules/bootstrap/scss/list-group";
// @import "../../node_modules/bootstrap/scss/close";

View file

@ -149,7 +149,6 @@ section.tsml-widget-upcoming.widget_tsml_widget_upcoming.widget div.tsml-no-upco
#tsml .results {
.alert-warning {
color: $input-focus-color;
// background-color: $input-bg;
background-color: rgba(21,28,40,0.85);
border-color: $input-border-color;
}

View file

@ -260,8 +260,9 @@ div.wpforms-container-full .wpforms-form button[type="submit"] {
font-family: $font-family-handbrush;
}
div.wpforms-container-full div.wpforms-confirmation-container-full {
@extend .alert;
@extend .alert-success;
color: $input-focus-color;
background-color: rgba(21,28,40,0.85);
border-color: $input-border-color;
}
select {
@extend .form-select;
@ -280,7 +281,7 @@ select {
/* Front page layout */
.rpwwt-widget ul li img { margin: .5em .75em .75em 0; }
.rpwwt-widget ul li img { margin: .5em .75em .75em 0 !important; }
main#fp-main > div.fp-grid {
display: grid !important;
grid-template-columns: 1fr;

View file

@ -51,7 +51,7 @@ $post_class = esc_attr( implode( ' ', get_post_class( $post_class ) ) );
<div class="article post-body">
<?php
if ( has_post_thumbnail() ) {
echo get_the_post_thumbnail( get_the_ID(), 'large', ['class' => 'rounded shadow mb-3 mw-100 h-auto'] );
echo get_the_post_thumbnail( get_the_ID(), 'large', ['class' => 'rounded shadow mt-1 mb-4 mw-100 h-auto'] );
}
the_content();

4
dist/main.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"name": "wp-rdnyc-theme",
"author": "Adam Piontek <adam@73k.us> (https://73k.us)",
"version": "1.0.4",
"version": "1.0.5",
"description": "Wordpress theme for Recovery Dharma NYC",
"homepage": "https://github.com/apiontek/wp-rdnyc",
"contributors": [

View file

@ -3,7 +3,7 @@
* Theme URI: https://github.com/apiontek/wp-rdnyc
* Author: Adam Piontek
* Author URI: https://73k.us
* Version: 1.0.4
* Version: 1.0.5
* License: GNU General Public License v3 or later
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: wp-rdnyc