-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
132 lines (110 loc) · 2.26 KB
/
Copy pathstyle.css
File metadata and controls
132 lines (110 loc) · 2.26 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* style.css */
h1, h2 {
text-align: center;
}
#movie-form {
display: flex;
flex-direction: column;
align-items: center;
width: 50%;
margin: 0 auto;
padding: 1em;
border: 1px solid #ccc;
border-radius: 5px;
}
#movie-form label {
display: flex;
flex-direction: column;
align-items: center;
margin: 0.5em 0;
}
#movie-form input[type="text"], #movie-form input[type="number"] {
width: 100%;
padding: 0.5em;
border: 1px solid #ccc;
border-radius: 5px;
}
#movie-form button[type="submit"] {
margin: 1em 0;
padding: 0.5em;
border: none;
border-radius: 5px;
background-color: #0066ff;
color: white;
font-weight: bold;
cursor: pointer;
}
#movie-table {
width: 80%;
margin: 1em auto;
border-collapse: collapse;
}
#movie-table th, #movie-table td {
border: 1px solid #ccc;
padding: 0.5em;
}
#movie-table th {
background-color: rgb(153, 16, 183);;
}
#movie-table button {
background-color: transparent;
border: none;
color: #e30707;
font-weight: bold;
cursor: pointer;
}
#movie-table th:nth-child(1), #movie-table td:nth-child(1) {
width: 30%;
}
#movie-table th:nth-child(2), #movie-table td:nth-child(2) {
width: 20%;
}
#movie-table th:nth-child(3), #movie-table td:nth-child(3) {
width: 20%;
}
#movie-table th:nth-child(4), #movie-table td:nth-child(4) {
width: 10%;
}
button {
display: block;
margin: 0 auto;
border-radius: 8px;
}
body.light-mode {
background-color: white;
color: black;
}
body.dark-mode {
background-color: black;
color: white;
}
body.dark-mode #movie-table th {
background-color: rgb(153, 16, 183); /* Dark grey background in dark mode */
}
#sort-buttons {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
#sort-buttons button {
/* Button styles */
border: 1px solid rgb(103, 101, 101); /* Light grey border */
border-radius: 8px; /* Rounded edges */
background-color: transparent;
color: #5887cd; /* Blue text color */
font-size: 1em;
cursor: pointer;
}
#sort-buttons button:hover {
/* Hover styles */
color: #0015ff; /* Red hover color */
}
/* Style for the color button */
#color-mode {
/* Image styles */
position: absolute;
right: 20px;
top: 20px;
width: 40px; /* Adjust the width of the image as needed */
cursor: pointer;
}