-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.css
116 lines (93 loc) · 1.54 KB
/
main.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
.card-img-top {
max-width: 370px;
max-height: 180px;
object-fit: cover;
}
.rating {
display: inline-block;
position: relative;
height: 20px;
line-height: 20px;
font-size: 20px;
}
.rating label {
position: absolute;
top: 0;
left: 0;
height: 100%;
cursor: pointer;
}
.rating label:last-child {
position: static;
}
.rating label:nth-child(1) {
z-index: 5;
}
.rating label:nth-child(2) {
z-index: 4;
}
.rating label:nth-child(3) {
z-index: 3;
}
.rating label:nth-child(4) {
z-index: 2;
}
.rating label:nth-child(5) {
z-index: 1;
}
.rating label input {
position: absolute;
top: 0;
left: 0;
opacity: 0;
}
.rating label i {
float: left;
color: transparent;
}
.rating label:last-child i {
color: lightgrey;
}
.rating:not(:hover) label input:checked ~ i,
.rating:hover label:hover input ~ i {
color: gold;
}
.rating label input:focus:not(:checked) ~ i:last-child {
color: lightgrey;
text-shadow: 0 0 5px gold;
}
.hidden {
display: none;
}
.navbar {
background-color: #5DB7DE;
margin-bottom: 10px;
}
.navbar .btn {
background-color: transparent;
color: white;
}
.navbar .btn:hover {
color: lightgrey;
}
#login-btn {
font-weight: bold;
}
#srch-term {
border-radius: 5px;
}
.navbar-brand {
color: white;
font-weight: bold;
}
#dropdownMenu2 {
border: none;
}
#dropdownMenu2:focus, #dropdownMenu2:hover {
border: none;
color: lightgrey;
box-shadow: none;
}
.navbar-toggler-icon {
color: white;
}