-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbanner.css
97 lines (93 loc) · 1.86 KB
/
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
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
.Banner{
height: 600px;
width: 100%;
position:relative;
color:white;
object-fit: contain;
padding-top: 10%;
background-position: center center !important;
background-repeat: no-repeat !important;
background-size: cover !important;
background-blend-mode: darken;
margin-bottom: 40px;
}
.bannerContents{
display: flex;
flex-direction: column;
align-items: flex-start;
margin-left: 40px;
justify-content: center;
}
.bannerTitle{
font-size: 3rem;
font-weight: 800;
padding-bottom: 0.3rem;
}
.bannerDescription{
width: 45rem;
line-height: 1.3;
padding-top: 1rem;
font-size: 0.8rem;
max-width: 340px;
height: 80px;
}
.bannerBtn{
cursor: pointer;
color: white;
display: inline-flex;
align-items: center;
justify-content: space-between;
outline: none;
border: none;
font-weight: 700;
border-radius: 0.2vw;
padding-left: 2rem;
padding-right: 2rem;
padding-top:0.5rem;
padding-bottom: 0.5rem;
background: rgba(51,51,51,0.5);
margin-right: 1rem;
transition: all 0.3s ease;
background: linear-gradient(90deg, #FC466B 0%, #3F5EFB 100%);
}
.bannerBtn:nth-child(2){
background: linear-gradient(90deg, #FC466B 0%, #3F5EFB 100%);
}
.bannerBtn:hover{
color: #fff;
background: linear-gradient(90deg, #cf2e4f 0%, #2f46b9 100%);
transition: all 0.3s ease;
}
.rating{
color: rgb(255, 196, 0);
}
.realse{
color:#888;
}
@media(max-width:650px){
.embed.show {
display: inline-block;
width: 80%;
}
.des{
width: 80%;
}
}
@media(max-width:451px){
.bannerTitle{
font-size: 2rem;
}
.Banner{
padding-top:40%;
height: auto;
padding-bottom: 60px;
}
}
@media(max-width:390px){
.bannerContents{
margin-left: 10px;
}
.bannerDescription{
width: 98%;
}
}