Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / assets / src / sass / components / _sections.scss
blob: 548571c81e4478af67367214f96e17cfe8e9b07e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * The standard section wrapper. Use this with other classes for the base styling.
 * Default paddings are 40 and 80px
 */
.section-fullwidth {
	$border-color: #ddd;
	$section-padding: 80px;

	padding: calc(#{$section-padding} + #{$layout-header-height}) 0 #{$section-padding};
	position: relative;

	.row {
		.column {
			padding: 0 20px;
		}
	}

	@media (min-width: $breakpoint-small) {
		padding: calc(#{$section-padding} + #{$layout-header-height}) 0 #{$section-padding};
	}
}