-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
121 lines (104 loc) · 1.56 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
#map { height: 700px;
width: 1100px;
}
/* General styling */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
padding-left: 90px;
padding-top: 30px;
}
/* Header styling */
header {
background-color: #333;
color: #fff;
padding: 20px;
}
h1 {
margin: 0;
font-size: 36px;
}
/* Navigation menu styling */
nav {
background-color: #f1f1f1;
width: 60px;
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 1;
overflow-x: hidden;
padding-top: 20px;
transition: 0.5s;
}
nav:hover {
width: 200px;
}
nav ul {
margin: 0;
padding: 0;
list-style: none;
}
nav li {
margin-bottom: 10px;
}
nav a {
display: block;
color: #000;
text-decoration: none;
padding: 10px;
transition: 0.3s;
}
nav a:hover {
background-color: #ddd;
}
/* Table styling */
table {
border-collapse: collapse;
margin: 0 auto;
margin-top: 80px;
width: 80%;
}
th,
td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
tr:hover {
background-color: #f5f5f5;
}
/* Form styling */
form {
margin: 0 auto;
margin-top: 20px;
width: 80%;
}
label {
display: block;
margin-top: 10px;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"],
input[type="number"] {
padding: 5px;
width: 100%;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
cursor: pointer;
border: none;
border-radius: 4px;
padding: 10px;
margin-top: 10px;
}
input[type="submit"]:hover {
background-color: #45a049;
}