-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbanner.css
53 lines (48 loc) · 827 Bytes
/
banner.css
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
.banner {
color: white;
object-fit: contain;
height: 448px;
}
.bannerContents {
margin-left: 30px;
padding-top: 140px;
height: 190px;
}
.bannerTitle {
font-size: 3em;
font-weight: 800;
padding-bottom: 0.3em;
}
.bannerDescription {
width: 45em;
line-height: 1.3;
padding-top: 1rem;
font-size: 1rem;
max-width: 360px;
height: 80px;
}
.bannerButton {
cursor: pointer;
color: #fff;
outline: none;
border: none;
font-weight: 700;
border-radius: 0.2vw;
margin-right: 1rem;
padding: 0.5rem 2rem;
background-color: rgba(51, 51, 51, 0.5);
}
.bannerButton:hover {
color: #000;
background-color: #e6e6e6;
transition: all 0.2s;
}
.banner--FadeBottom {
height: 7.4rem;
background-image: linear-gradient(
180deg,
transparent,
rgba(37, 37, 37, 0.61),
#111
);
}