-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewExamStyles.css
215 lines (181 loc) · 3.14 KB
/
viewExamStyles.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
header
{
background: linear-gradient(to right, #000000, #3533cd);
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo
{
display: flex;
align-items: center;
}
.logo img
{
width: 50px;
margin-right: 10px;
}
.logo h1
{
font-size: 18px;
color: #fff;
margin: 0;
}
nav ul
{
display: flex;
list-style: none;
}
nav ul li
{
position: relative;
margin-right: 20px;
}
nav ul li a
{
color: #ffffff;
text-decoration: none;
font-size: 16px;
padding: 10px 15px;
}
nav ul li a:hover
{
border-bottom: 2px solid #ffffff;
}
nav ul li ul
{
display: none;
position: absolute;
top: 100%;
left: 0;
background-color: rgba(0, 0, 0, 0.8);
list-style: none;
padding: 10px 0;
}
nav ul li:hover ul
{
display: block;
}
nav ul li ul li
{
text-align: center;
}
nav ul li ul li a
{
display: block;
padding: 10px 20px;
font-size: 14px;
}
nav ul li ul li a:hover
{
background-color: #f0f0f0;
color: black;
}
.content
{
padding: 20px;
display: flex;
flex-direction: column;
color: #fff;
align-items: center;
text-align: center;
}
h1
{
color: black;
font-size: 45px;
margin-top: 50px;
}
.table1 {
margin-top: 50px;
margin-bottom: 50px;
display: flex;
flex-direction: column;
justify-content: flex-end;
flex: 1 1 auto;
}
table.centered {
margin-left: auto;
margin-right: auto;
width: 150%;
border-collapse: collapse;
}
table.centered, table.centered th, table.centered td {
border: 1px solid rgb(0, 0, 0);
}
table.centered th, table.centered td {
padding: 30px;
text-align: left;
}
table.centered th {
background-color: midnightblue;
}
table.centered td {
color: rgb(0, 0, 0);
}
table.centered td.actions {
display: flex;
gap: 6px;
justify-content: center;
align-items: center;
}
.btn {
text-decoration: none;
padding: 8px 12px;
color: white;
border-radius: 4px;
font-weight: bold;
display: inline-block;
border: none;
width: 90px;
height: 40px;
text-align: center;
cursor: pointer;
}
.update-btn {
background-image: linear-gradient(to right, #00c853, #76ff03);
}
.delete-btn {
background-image: linear-gradient(to right, #d50000, #ff1744);
}
.update-btn:hover {
background-image: linear-gradient(to right, #76ff03, #00c853);
}
.delete-btn:hover {
background-image: linear-gradient(to right, #ff1744, #d50000);
}
footer {
background-image: linear-gradient(to right, #000000, #3533cd);
color: #fff;
text-align: center;
padding: 5px 10px;
margin-top: 5px;
position: relative;
margin-right: 20px;
bottom: 0;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
footer img {
height: 25px;
vertical-align: middle;
margin-right: 5px;
}
footer a {
color: #fff;
text-decoration: none;
margin: 0 10px;
}
footer a:hover {
text-decoration: underline;
}