summaryrefslogtreecommitdiff
path: root/sass/understrap/understrap.scss
blob: 445816514e217d9da7a4c9cfb34e7bad3920bdb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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;
		}
	}
}