-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (98 loc) · 1.55 KB
/
style.css
File metadata and controls
117 lines (98 loc) · 1.55 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #fff;
color: #fff;
}
header {
background-color: #a098ec;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
nav ul {
list-style: none;
display: flex;
gap: 15px;
}
nav ul li {
position: relative;
}
nav ul li a {
text-decoration: none;
color: #fff;
font-weight: bold;
}
.logo {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.logo h1 {
color: #fff;
font-size: 24px;
margin: 0;
}
main {
padding: 20px;
}
.box-office {
text-align: center;
}
.movies {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}
.movie {
background-color: #bdbdbd;
padding: 10px;
border-radius: 10px;
text-align: center;
width: 300px;
}
.movie_info{
display: flex;
align-items: center;
justify-content: space-between;
gap: 5px;
}
.movie img {
width: 100%;
border-radius: 10px;
}
.likes {
margin: 10px 0;
}
button {
background-color: #008cba;
color: white;
border: none;
padding: 8px 50px;
cursor: pointer;
border-radius: 5px;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #fff;
min-width: 150px;
box-shadow: 0px 8px 16px 0px rgba(192, 174, 174, 0.2);
z-index: 1;
}
.dropdown-content a {
color: #444;
padding: 8px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #fff;
}
.dropdown:hover .dropdown-content {
display: block;
}