-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
110 lines (92 loc) · 1.6 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
body {
margin: 0;
font-family: Arial, sans-serif;
background: url(images/cover.jpg);
background-size: cover;
background-position: center;
color: #fff;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #111;
position: sticky;
top: 0;
z-index: 1000;
}
.logo {
font-size: 20px;
font-weight: bold;
}
.logo img{
width: 50%;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
.featured {
margin-top: 100px;
position: relative;
text-align: center;
color: white;
}
.featured img {
width: 100%;
height: auto;
}
.featured .info {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.featured h1 {
font-size: 48px;
margin: auto;
}
.featured p {
font-size: 24px;
}
.featured button {
padding: 10px 20px;
margin: 10px;
border: none;
font-size: 18px;
cursor: pointer;
background-color: #e50914;
color: white;
}
.category {
padding: 20px;
}
.category h2 {
margin-top: 100px;
font-size: 24px;
}
.movies {
display: flex;
overflow-x: scroll;
}
.movies img {
width: 200px;
margin-right: 10px;
margin-left: 75px;
cursor: pointer;
}
footer {
padding: 20px;
text-align: center;
background-color: #111;
}