2014-12-19 10:29:56 +00:00
|
|
|
// Some basic padding for all wrappers
|
2016-11-01 18:33:13 +00:00
|
|
|
.wrapper { padding: $grid-gutter-width-base 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
|
|
|
|
2014-12-10 18:29:31 +00:00
|
|
|
// Adding basic Wordpress classes to pass the Wordpress.org tests
|
2016-11-01 18:33:13 +00:00
|
|
|
.sticky,
|
|
|
|
.gallery-caption,
|
|
|
|
.bypostauthor { font-size: inherit; }
|
2014-12-22 08:26:47 +00:00
|
|
|
|
2015-03-23 12:48:34 +00:00
|
|
|
// Separate sticky wrapper from main content
|
2016-11-01 18:33:13 +00:00
|
|
|
.wrapper#wrapper-sticky { border-bottom: 1px solid $gray-light; }
|
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,
|
|
|
|
#wrapper-static-hero { background-color: $gray-lighter; }
|
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
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
.screen-reader-text { font-size: inherit; }
|
2016-02-15 12:30:16 +00:00
|
|
|
|
|
|
|
.alignright {
|
2016-11-01 18:33:13 +00:00
|
|
|
float: right;
|
|
|
|
padding-left: 10px;
|
2016-02-15 12:30:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alignleft {
|
2016-11-01 18:33:13 +00:00
|
|
|
float: left;
|
|
|
|
padding-right: 10px;
|
2016-07-07 18:12:43 +00:00
|
|
|
}
|
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
.aligncenter { margin: 0px auto; }
|
2015-10-14 10:47:02 +00:00
|
|
|
|
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
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
// Bootstrap3 to Bootstrap4 "translation"
|
|
|
|
.menu-item {
|
|
|
|
float: left;
|
|
|
|
display: inline;
|
2016-11-01 18:54:30 +00:00
|
|
|
width: auto;
|
2016-11-01 18:33:13 +00:00
|
|
|
}
|
2016-04-26 12:05:02 +00:00
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
/* Navbar toggle
|
2016-11-01 18:40:14 +00:00
|
|
|
* Custom button for toggling the `.navbar-collapse`, powered by the collapse
|
|
|
|
* JavaScript plugin.
|
|
|
|
* Navbar vertical align
|
|
|
|
*/
|
2016-04-26 12:05:02 +00:00
|
|
|
.navbar-toggle {
|
|
|
|
position: relative;
|
|
|
|
float: right;
|
2016-08-01 06:37:05 +00:00
|
|
|
margin-right: $navbar-padding-x;
|
2016-04-26 12:05:02 +00:00
|
|
|
padding: 9px 10px;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
2016-11-01 18:40:14 +00:00
|
|
|
/*
|
|
|
|
* We remove the `outline` here, but later compensate by attaching `:hover` styles to `:focus`.
|
|
|
|
*/
|
2016-11-01 18:33:13 +00:00
|
|
|
&:focus { outline: 0; }
|
2016-04-26 12:05:02 +00:00
|
|
|
|
|
|
|
// Bars
|
|
|
|
.icon-bar {
|
|
|
|
display: block;
|
|
|
|
width: 22px;
|
|
|
|
height: 2px;
|
|
|
|
border-radius: 1px;
|
|
|
|
}
|
2016-11-01 18:33:13 +00:00
|
|
|
.icon-bar + .icon-bar { margin-top: 4px; }
|
2016-06-07 13:04:54 +00:00
|
|
|
}
|
2016-04-26 12:05:02 +00:00
|
|
|
|
2016-06-07 13:04:54 +00:00
|
|
|
.navbar {
|
2016-11-01 18:33:13 +00:00
|
|
|
.collapsing,
|
|
|
|
.collapse.in {
|
|
|
|
float: left;
|
2016-11-01 18:54:30 +00:00
|
|
|
width: 100%;
|
2016-06-07 13:04:54 +00:00
|
|
|
}
|
2016-04-26 12:05:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dark {
|
2016-11-01 18:33:13 +00:00
|
|
|
.navbar-toggle { border: 1px solid #fff; }
|
|
|
|
.icon-bar { border-bottom: 1px solid #fff; }
|
|
|
|
.dropdown-menu { background-color: $gray-dark; }
|
2016-04-26 12:05:02 +00:00
|
|
|
}
|
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
.navbar #main-menu { float:left; }
|
2016-04-26 12:05:02 +00:00
|
|
|
|
2016-04-29 09:23:13 +00:00
|
|
|
.navbar-nav {
|
2016-11-01 18:33:13 +00:00
|
|
|
.nav-item { float: left; }
|
2016-04-29 09:23:13 +00:00
|
|
|
|
|
|
|
.nav-link {
|
|
|
|
display: block;
|
2016-11-01 18:33:13 +00:00
|
|
|
padding-top: .425rem;
|
2016-04-29 09:23:13 +00:00
|
|
|
padding-bottom: .425rem;
|
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
+ .nav-link { margin-left: 0rem; }
|
2016-04-29 09:23:13 +00:00
|
|
|
}
|
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
.nav-item + .nav-item { margin-left: 0rem; }
|
2016-04-29 09:23:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-link {
|
2016-11-01 18:33:13 +00:00
|
|
|
margin-right: .425rem;
|
2016-11-01 18:54:30 +00:00
|
|
|
margin-left: .425rem;
|
2016-04-29 09:23:13 +00:00
|
|
|
}
|
|
|
|
|
2016-11-22 08:22:19 +00:00
|
|
|
.post-navigation,
|
|
|
|
.paged-navigation {
|
2016-11-23 09:42:53 +00:00
|
|
|
padding: ($grid-gutter-width-base/2) 0;
|
|
|
|
margin: $grid-gutter-width-base 0;
|
|
|
|
border-top: 1px solid $gray-lighter;
|
2016-11-22 08:19:08 +00:00
|
|
|
}
|
|
|
|
|
2016-05-15 18:42:42 +00:00
|
|
|
// Fixing BS dropdown in a dropdown
|
|
|
|
.dropdown-menu .dropdown-menu {
|
2016-11-01 18:33:13 +00:00
|
|
|
position: relative;
|
|
|
|
display: block;
|
2016-11-01 18:54:30 +00:00
|
|
|
margin-left: 10px;
|
2016-05-15 18:42:42 +00:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
li {
|
|
|
|
padding-left: 0px;
|
2016-11-01 18:54:30 +00:00
|
|
|
list-style: square;
|
2016-05-15 18:42:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-01 18:33:13 +00:00
|
|
|
.dropdown-menu .menu-item {
|
|
|
|
width: 100%;
|
2017-01-05 14:23:00 +00:00
|
|
|
a.nav-link{
|
|
|
|
margin:0px;
|
|
|
|
padding:$nav-link-padding;
|
|
|
|
|
|
|
|
}
|
|
|
|
a.nav-link:hover {
|
|
|
|
background-color: $brand-primary;
|
|
|
|
}
|
2016-11-01 18:33:13 +00:00
|
|
|
}
|
2016-11-04 01:27:07 +00:00
|
|
|
|
2016-11-04 03:39:51 +00:00
|
|
|
button,
|
|
|
|
[type="button"],
|
|
|
|
[type="reset"],
|
|
|
|
[type="submit"] {
|
2016-11-04 01:27:07 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-12-07 08:14:35 +00:00
|
|
|
|
|
|
|
// Clearing after gallery
|
|
|
|
.gallery:after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
2016-12-22 08:12:18 +00:00
|
|
|
|
|
|
|
// Clearing after widget
|
|
|
|
aside.widget{
|
|
|
|
clear:both;
|
|
|
|
}
|