-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
141 lines (120 loc) · 2.36 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/* styles.css */
body {
font-family: Arial, sans-serif;
background-color: #111;
padding: 10px;
color: #fff;
}
header {
background-color: #fff;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
text-align: center;
}
/* Added a div for the title */
.title {
text-align: center;
font-size: 36px;
margin-top: 20px;
margin-bottom: 20px;
}
.search {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 50px;
z-index: 10;
top: 10; /* Positioned the search bar at the top */
}
.searchInput {
width: 70%;
height: 20px;
border: none;
border-radius: 25px; /* Increased the border radius of the search input */
padding: 10px 20px;
font-size: 18px;
}
.searchButton {
width: 10%;
height: 40px;
border: 1px;
border-radius: 25px; /* Increased the border radius of the search button */
background-color: #049dd5;
color: black;
font-size: 18px;
cursor: pointer;
margin-left: 10px;
}
.searchResults {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 20px;
margin-top: 20px;
}
.nav {
display: flex;
margin-bottom: 20px;
background-color: #222;
color: #fff;
height: 35px;
align-items: center;
justify-content: space-between;
padding: 10px;
}
.nav .logo a {
text-decoration: none;
font-weight: bold;
color: #333;
}
.user-profile {
display: flex;
align-items: center;
margin-left: 10px;
width: 30px;
height: 30px;
background-color: #ddd;
color: #333;
text-align: center;
line-height: 30px;
border-radius: 50%;
font-weight: bold;
text-decoration: none;
}
.main {
padding: 20px;
}
.bookmark-button button {
padding: 10px 20px;
background-color: #2196F3;
border: none;
border-radius: 4px;
color: #fff;
cursor: pointer;
}
/* Results Grid */
.results-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
grid-gap: 20px;
}
/* Movie Card */
.movie-card {
background-color: #222;
color: #fff;
border-radius: 8px;
padding: 10px;
text-align: center;
cursor: pointer;
transition: transform 0.3s ease;
}
.movie-card:hover {
transform: translateY(-10px);
}
.movie-card img {
width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 10px;
}
.movie-card h3 {
margin-bottom: 5px;
}