Revert "Typography fixes: blockquotes"

This commit is contained in:
UnderstrapFramework 2020-03-15 09:22:16 +00:00 committed by GitHub
parent 45cc45e22e
commit 34e1bde984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 64 additions and 92 deletions

View File

@ -1,12 +1,9 @@
// Some basic padding for all wrappers
.wrapper {
padding: $grid-gutter-width 0;
}
padding: $grid-gutter-width 0; }
// Reset hero wrapper padding to 0
#wrapper-hero {
padding: 0px !important;
}
#wrapper-hero { padding: 0px !important; }
// Adding basic WordPress classes to pass the WordPress.org tests
.sticky,
@ -16,28 +13,18 @@
}
// Separate sticky wrapper from main content
.wrapper#wrapper-sticky {
border-bottom: 1px solid $gray-300;
}
.wrapper#wrapper-sticky { border-bottom: 1px solid $gray-300; }
// Adding some contrast background color to footer full widget
#wrapper-footer-full,
#wrapper-static-hero {
background-color: $gray-200;
}
#wrapper-static-hero { background-color: $gray-200; }
// Necessary WP classes
.wp-caption {
font-size: inherit;
}
.wp-caption { font-size: inherit; }
.wp-caption-text {
font-size: inherit;
}
.wp-caption-text { font-size: inherit; }
.screen-reader-text {
@extend .sr-only;
}
.screen-reader-text { @extend .sr-only; }
.alignleft {
display: inline;
@ -51,9 +38,7 @@
margin-left: 1.5em;
}
.aligncenter {
@extend .mx-auto;
}
.aligncenter { @extend .mx-auto; }
.widget_categories,
.widget_archive {
@ -63,9 +48,7 @@
}
// Post design
.entry-footer span {
padding-right: 10px;
}
.entry-footer span { padding-right: 10px; }
// Limit featured image size to 100%
img.wp-post-image,
@ -86,12 +69,10 @@ a.skip-link {
}
// Reset Jumbotron default margin
.jumbotron {
margin-bottom: 0px;
}
.jumbotron { margin-bottom: 0px; }
// Dropdown translation
.navbar-dark .navbar-nav .dropdown-menu .nav-link {
.navbar-dark .navbar-nav .dropdown-menu .nav-link{
display: block;
width: 100%; // For `<button>`s
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
@ -120,7 +101,6 @@ a.skip-link {
&:disabled {
color: $dropdown-link-disabled-color !important;
background-color: transparent;
// Remove CSS gradients if they're enabled
@if $enable-gradients {
background-image: none;
@ -144,12 +124,4 @@ a.skip-link {
}
}
font-weight: $font-weight-normal;
}
/* Typography Fixes */
// the default class added by WordPress Blocks to blockquotes
.wp-block-quote {
@extend .blockquote;
}
.navbar h1 { font-weight: $font-weight-normal; }