-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
141 lines (109 loc) · 2.13 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
* {
box-sizing: border-box;
}
:root {
--primary-color: #008f11;
--secondary-color: #22b445;
--dark-color: #020204;
}
body {
margin: 0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
background-color: var(--dark-color);
color: var(--secondary-color);
}
header {
background-color: var(--primary-color);
padding: 1rem;
display: flex;
justify-content: flex-end;
}
h1{
display: block;
text-align: center;
background-color: var(--primary-color);
margin: 0;
}
.search-bar {
background-color: transparent;
border: 2px solid var(--secondary-color);
padding: 10px;
border-radius: 1rem;
color: var(--secondary-color);
font-family: inherit;
font-size: 1rem;
}
.search-bar::placeholder {
color: white;
opacity: 0.7;
}
.search-bar:focus {
outline: 0; /*shorthand for style width color*/
background-color: var(--dark-color);
}
main {
/*not working*/
flex-wrap: wrap;
justify-content: center;
}
.movie {
margin: 0;
max-width: 350px;
margin: 1px;
box-shadow: 0.2px 4px 5px rgba(123, 177, 144, 0);
align-items: center;
}
.movie-img {
margin: 2rem;
border-radius: 30%/10%;
box-shadow: 2px 6px 20px rgb(11 156 49);
text-align: center;
display: block;
margin-left: auto;
margin-right: auto;
width: 30%;
max-height:600px ;
}
.movie-info{
margin: 1rem;
color: white;
padding: 3px;
letter-spacing: 0.5px;
text-align: center;
}
.overview{
margin: 20px;
text-align:center;
cursor: pointer;
}
.movie-info h3{
margin-top: 0;
}
.movie-info span{
background-color:#6B7280;
padding: 0.25rem 0.5rem;
border-radius: 3px;
}
.movie-info span.cyan{
font-weight: bolder;
color: cyan;
}
.movie-info span.orange{
font-weight: bolder;
color: orange
}
.movie-info span.red{
font-weight: bolder;
color:red;
}
.overview:hover{
border: 2px solid white;
border-radius: 6px;
background-color: var(--primary-color);
color: whitesmoke;
box-shadow: 2px , 3px , 7px green ;
}
/*
OVERVIEW STYLING */