-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (105 loc) · 1.95 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
.center-text {
text-align: center;
}
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background-color: #f4f4f9;
color: #333;
}
header {
text-align: center;
padding: 1rem;
background-color: #0077b6;
color: white;
}
h1, h3 {
margin: 0.5rem 0;
}
p {
margin: 1rem 0;
text-align: center;
}
main {
padding: 2rem;
}
/* Form Styles */
form {
margin: 0 auto;
padding: 1rem;
max-width: 600px;
background: white;
border: 1px solid #ccc;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
form table {
width: 100%;
border-collapse: collapse;
}
form td {
padding: 0.5rem;
}
form input, form select, form button {
width: 90%;
padding: 0.5rem;
margin: 0.5rem 0;
border: 1px solid #ccc;
border-radius: 5px;
}
/* Table Styles */
table {
width: 100%;
margin-top: 1rem;
border-collapse: collapse;
}
thead {
background: #0077b6;
color: white;
}
th, td {
padding: 0.75rem;
border: 1px solid #ddd;
text-align: center;
}
tbody tr:nth-child(even) {
background-color: #f9f9f9;
}
tbody tr:hover {
background-color: #f1f1f1;
}
/* Footer */
footer {
text-align: center;
padding: 1rem;
background: #333;
color: white;
font-size: 0.9rem;
}
#calcTable {
width: 100%;
border-collapse: collapse; /* Ensures borders don't double up */
}
#calcTable th, #calcTable td {
border: 1px solid black; /* Adds border to each cell */
padding: 8px; /* Adds spacing inside cells */
text-align: center; /* Centers the text */
}
#calcTable th {
background-color: #f2f2f2; /* Add background color to headers */
}
#submit-button {
background-color: #0077b6;
color: white;
border: none;
border-radius: 5px;
padding: 0.5rem 1rem;
cursor: pointer;
text-align: center;
}
#TimeZoneDisplay {
color: rgb(223, 21, 21)
}