-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
89 lines (87 loc) · 1.56 KB
/
styles.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
*{
margin: 0;
box-sizing: border-box;
}
body{
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
background-color: #111;
}
.row{
width: 100%;
object-fit: contain;
max-height: 50px;
margin-right: 10px;
transition: transform 450ms;
}
.row__poster{
display: flex;
overflow-y: hidden;
overflow-x: scroll;
padding: 15px;
}
.row__poster:hover{
transform:scale(1.08);
}
.row__poster::-webkit-scrollbar{
display: none;
}
.row__posterLarge{
max-height: 250px;
}
.row__posterLarge{
transform:scale(1.09);
}
.row{
color:white;
margin-left:20px;
}
.banner{
background-image: url(banner.jpg);
background-size: cover;
background-position: center;
color:white;
object-fit: contain;
height: 448px;
}
.banner__contents{
margin-left: 30px;
padding-top: 140px;
height:190px;
}
.banner__title{
font-size:3rem;
font-weight:800;
padding: bottom 0.3rem;
}
.banner__description{
width:45rem;
line-height:1.3;
padding-top:1rem;
font-size:0.8rem;
max-width:360px;
height:180px;
}
.banner__button{
cursor: pointer;
color:#fff;
outline:none;
border:none;
font-weight: 700;
border-radius: 0.2vw;
padding-left:2rem;
padding-right:2rem;
margin-right:1rem;
padding-top:0.5rem;
padding-bottom:0.5rem;
background-color: rgba(51, 51, 51, 0.5);
}
.banner__button:hover{
color:#000;
background: color #e6e6e6;
transition:all 0.2s;
}
.banner--fadebottom{
margin-top: 145px;
height: 7.4rem;
background-image:linear-gradient(180deg,transparent,rgba(37,37,37,-61),#111);
}