summaryrefslogtreecommitdiff
path: root/sass/understrap/understrap.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/understrap/understrap.scss')
-rw-r--r--sass/understrap/understrap.scss96
1 files changed, 96 insertions, 0 deletions
diff --git a/sass/understrap/understrap.scss b/sass/understrap/understrap.scss
new file mode 100644
index 0000000..4458165
--- /dev/null
+++ b/sass/understrap/understrap.scss
@@ -0,0 +1,96 @@
+// Some basic padding for all wrappers
+.wrapper {
+ padding:$grid-gutter-width 0;
+}
+
+// Reset hero wrapper padding to 0
+#wrapper-hero {
+ padding:0px!important;
+}
+
+// Adding basic Wordpress classes to pass the Wordpress.org tests
+.sticky, .gallery-caption, .bypostauthor {
+font-size:inherit;
+}
+
+// Separate sticky wrapper from main content
+.wrapper#wrapper-sticky {
+ border-bottom:1px solid $gray-light;
+}
+
+// Adding some contrast background color to footer full widget
+#wrapper-footer-full, #wrapper-static-hero{
+ background-color: $gray-lighter;
+}
+
+// Necessary WP classes
+.wp-caption {
+ font-size: inherit;
+}
+
+.wp-caption-text {
+ font-size: inherit;
+}
+
+.screen-reader-text {
+ font-size: inherit;
+ word-wrap: normal !important;
+}
+
+.alignright {
+ float: right;
+}
+
+.alignleft {
+ float: left;
+}
+
+.aligncenter {
+ margin:0px auto;
+}
+
+//Post design
+.entry-footer span {
+ padding-right:10px;
+}
+
+//Limit featured image size to 100%
+img.wp-post-image, article img, figure, #secondary img {
+ max-width: 100%;
+}
+
+// Skip to content link
+a.skip-link{
+z-index: 1000;
+position: fixed;
+top: 0px;
+right: 0px;
+}
+
+// Reset Jumbotron default margin
+.jumbotron {
+ margin-bottom:0px;
+}
+
+//Bootstrap3 to Bootstrap4 "translation"
+//.menu-item {float:left; width:auto; display:inline;}
+
+// Fixing BS dropdown in a dropdown
+.dropdown-menu .dropdown-menu {
+ position:relative;
+ display:block;
+ border: none;
+ box-shadow: none;
+ margin-left:30px;
+ width:120px;
+ li {
+ list-style: square;
+ padding-left: 0px;
+
+ a {
+ padding-left:10px;
+ padding-right:10px;
+ }
+ }
+}
+