2014-12-19 10:29:56 +00:00
|
|
|
// Some basic padding for all wrappers
|
2017-10-03 08:18:29 +00:00
|
|
|
.wrapper {
|
2017-08-11 15:29:45 +00:00
|
|
|
padding: $grid-gutter-width 0; }
|
2015-03-23 12:48:34 +00:00
|
|
|
|
|
|
|
// Reset hero wrapper padding to 0
|
2016-11-01 18:33:13 +00:00
|
|
|
#wrapper-hero { padding: 0px !important; }
|
2014-12-19 10:29:56 +00:00
|
|
|
|
2017-10-03 08:18:29 +00:00
|
|
|
// Adding basic WordPress classes to pass the WordPress.org tests
|
2016-11-01 18:33:13 +00:00
|
|
|
.sticky,
|
|
|
|
.gallery-caption,
|
2017-10-03 08:18:29 +00:00
|
|
|
.bypostauthor {
|
|
|
|
font-size: inherit;
|
2017-01-06 08:08:34 +00:00
|
|
|
}
|
2014-12-22 08:26:47 +00:00
|
|
|
|
2015-03-23 12:48:34 +00:00
|
|
|
// Separate sticky wrapper from main content
|
2017-08-11 15:29:45 +00:00
|
|
|
.wrapper#wrapper-sticky { border-bottom: 1px solid $gray-300; }
|
2015-09-01 19:11:05 +00:00
|
|
|
|
2016-03-09 08:43:16 +00:00
|
|
|
// Adding some contrast background color to footer full widget
|
2016-11-01 18:33:13 +00:00
|
|
|
#wrapper-footer-full,
|
2017-08-11 15:29:45 +00:00
|
|
|
#wrapper-static-hero { background-color: $gray-200; }
|
2016-03-09 08:43:16 +00:00
|
|
|
|
2015-09-01 19:11:05 +00:00
|
|
|
// Necessary WP classes
|
2016-11-01 18:33:13 +00:00
|
|
|
.wp-caption { font-size: inherit; }
|
2016-02-15 12:30:16 +00:00
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
.wp-caption-text { font-size: inherit; }
|
2016-02-15 12:30:16 +00:00
|
|
|
|
2018-09-02 17:17:32 +00:00
|
|
|
.screen-reader-text { @extend .sr-only; }
|
2016-02-15 12:30:16 +00:00
|
|
|
|
|
|
|
.alignleft {
|
2017-05-18 14:14:10 +00:00
|
|
|
display: inline;
|
2016-11-01 18:33:13 +00:00
|
|
|
float: left;
|
2017-05-18 14:14:10 +00:00
|
|
|
margin-right: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alignright {
|
|
|
|
display: inline;
|
|
|
|
float: right;
|
|
|
|
margin-left: 1.5em;
|
2016-07-07 18:12:43 +00:00
|
|
|
}
|
|
|
|
|
2018-10-09 07:14:10 +00:00
|
|
|
.aligncenter { @extend .mx-auto; }
|
2015-10-14 10:47:02 +00:00
|
|
|
|
2018-08-20 07:39:17 +00:00
|
|
|
.widget_categories,
|
|
|
|
.widget_archive {
|
|
|
|
select {
|
|
|
|
@extend .form-control;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
// Post design
|
|
|
|
.entry-footer span { padding-right: 10px; }
|
2016-01-08 07:55:56 +00:00
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
// Limit featured image size to 100%
|
|
|
|
img.wp-post-image,
|
|
|
|
article img,
|
|
|
|
figure,
|
|
|
|
img,
|
|
|
|
#secondary img {
|
|
|
|
max-width: 100%;
|
2016-05-19 13:37:29 +00:00
|
|
|
height: auto;
|
2016-01-08 07:55:56 +00:00
|
|
|
}
|
2016-01-08 08:22:31 +00:00
|
|
|
|
|
|
|
// Skip to content link
|
2016-11-01 18:33:13 +00:00
|
|
|
a.skip-link {
|
|
|
|
position: fixed;
|
2016-11-01 18:54:30 +00:00
|
|
|
z-index: 1000;
|
2016-11-01 18:33:13 +00:00
|
|
|
top: 0px;
|
|
|
|
right: 0px;
|
2016-01-08 08:22:31 +00:00
|
|
|
}
|
2016-03-09 09:16:22 +00:00
|
|
|
|
|
|
|
// Reset Jumbotron default margin
|
2016-11-01 18:33:13 +00:00
|
|
|
.jumbotron { margin-bottom: 0px; }
|
2016-04-26 12:05:02 +00:00
|
|
|
|
2017-08-17 09:27:11 +00:00
|
|
|
// Dropdown translation
|
|
|
|
.navbar-dark .navbar-nav .dropdown-menu .nav-link{
|
2017-01-06 19:45:53 +00:00
|
|
|
display: block;
|
2017-08-17 09:27:11 +00:00
|
|
|
width: 100%; // For `<button>`s
|
|
|
|
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
|
|
|
clear: both;
|
|
|
|
font-weight: $font-weight-normal;
|
|
|
|
color: $dropdown-link-color !important;
|
|
|
|
text-align: inherit; // For `<button>`s
|
|
|
|
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
|
|
|
background: none; // For `<button>`s
|
|
|
|
border: 0; // For `<button>`s
|
|
|
|
|
|
|
|
@include hover-focus {
|
|
|
|
color: $dropdown-link-hover-color !important;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: $dropdown-link-hover-bg;
|
2017-01-06 19:45:53 +00:00
|
|
|
}
|
|
|
|
|
2017-08-17 09:27:11 +00:00
|
|
|
&.active,
|
|
|
|
&:active {
|
|
|
|
color: $dropdown-link-active-color !important;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: $dropdown-link-active-bg;
|
2017-01-06 19:45:53 +00:00
|
|
|
}
|
2017-08-17 09:27:11 +00:00
|
|
|
|
|
|
|
&.disabled,
|
|
|
|
&:disabled {
|
|
|
|
color: $dropdown-link-disabled-color !important;
|
|
|
|
background-color: transparent;
|
|
|
|
// Remove CSS gradients if they're enabled
|
|
|
|
@if $enable-gradients {
|
|
|
|
background-image: none;
|
|
|
|
}
|
2017-01-06 19:45:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-17 09:27:11 +00:00
|
|
|
.navbar-light .navbar-brand a {
|
|
|
|
color: $navbar-light-active-color;
|
2016-12-07 08:14:35 +00:00
|
|
|
|
2017-08-17 09:27:11 +00:00
|
|
|
@include hover-focus {
|
|
|
|
color: $navbar-light-active-color;
|
|
|
|
}
|
2016-12-07 08:14:35 +00:00
|
|
|
}
|
2016-12-22 08:12:18 +00:00
|
|
|
|
2017-08-17 09:27:11 +00:00
|
|
|
.navbar-dark .navbar-brand a {
|
|
|
|
color: $navbar-dark-active-color;
|
2017-01-24 18:06:45 +00:00
|
|
|
|
2017-08-17 09:27:11 +00:00
|
|
|
@include hover-focus {
|
|
|
|
color: $navbar-dark-active-color;
|
|
|
|
}
|
2017-02-04 10:15:22 +00:00
|
|
|
}
|
2018-10-15 19:05:03 +00:00
|
|
|
|
|
|
|
.navbar h1 { font-weight: $font-weight-normal; }
|