forked from microsoft/opensource.microsoft.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_banner.scss
More file actions
99 lines (80 loc) · 1.77 KB
/
_banner.scss
File metadata and controls
99 lines (80 loc) · 1.77 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// ---------------------------------------------------------------------
// Hero
// ---------------------------------------------------------------------
.hero {
position: relative;
z-index: 1;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
padding: 100px 0;
min-height: calc(100vh - 220px);
background: $black;
.dots-sm {
display: block;
position: absolute;
bottom: 32px;
left: -20px;
z-index: 2;
opacity: 0.4;
width: 60px;
}
@include start-at($medium) {
min-height: calc(100vh - 64px);
padding: 100px 0 120px;
.dots-sm {
width: 80px;
bottom: 82px;
left: 2%;
opacity: 1;
}
}
}
.hero__content {
width: 100%;
color: $white;
position: relative;
z-index: 1;
p {
max-width: 1113px;
margin-left: auto;
margin-right: auto;
}
}
.hero__img {
}
.hero__ft {
position: absolute;
bottom: 0;
left: 50%;
transform: translate3d(-50%, -24px, 0);
text-align: center;
width: 200px;
color: $white;
.h6 {
margin-bottom: 0;
}
svg {
display: block;
margin: 8px auto 0;
fill: $white;
width: 12px;
}
}
.dots-lg {
position: absolute;
transform: translate3d(0, -50%, 0);
z-index: 2;
width: 100px;
left: -20px;
@include start-at($medium) {
left: 7.5%;
transform: translate3d(0, -50%, 0);
z-index: 2;
width: 160px;
}
}
// ----------------------------------------
//
// ----------------------------------------