forked from microsoft/opensource.microsoft.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_splitContent.scss
More file actions
77 lines (58 loc) · 1.29 KB
/
_splitContent.scss
File metadata and controls
77 lines (58 loc) · 1.29 KB
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
// ---------------------------------------------------------------------
// Split Content
// ---------------------------------------------------------------------
.split-content {
min-height: 90vh;
background: $gray-light;
color: $white;
@include start-at($medium) {
display: flex;
align-items: stretch;
}
.h2 {
@include start-at($medium) {
font-size: 42px !important;
}
}
}
.split-content__content {
position: relative;
z-index: 1;
padding: 74px $wrapper-padding;
@include start-at($medium) {
width: 50%;
min-width: 50%;
padding: 74px 88px;
display: flex;
align-items: center;
justify-content: center;
> * {
width: 100%;
max-width: 664px;
}
}
img {
position: absolute;
z-index: 0;
bottom: 10px;
width: 56px;
@include start-at($medium) {
width: 156px;
}
}
}
.split-content__content--left {
background: #258EDE;
img {
left: 10px;
}
}
.split-content__content--right {
background: #4F6BED;
img {
right: 10px;
}
}
// ----------------------------------------
// Primer
// ----------------------------------------