-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
48 lines (48 loc) · 1.17 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
/* CSS for body */
body {
font-family: "Lab Grotesque", sans-serif;
text-align: center;
font-size: 14px; /* Adjust the font size as needed */
}
/* Add a class for styling the link to show/hide the table */
.showTableLink {
color: #808080; /* Gray color */
cursor: pointer;
text-decoration: underline;
margin-top: 10px; /* Add some space above the link */
}
/* CSS for error state */
.error {
color: #990000; /* Darker shade of red */
}
/* CSS for converter */
#converter {
max-width: 500px; /* Increase the max-width as needed */
margin: 20px auto 50px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
}
/* CSS for conversion table container */
#calculationTableContainer {
display: none; /* Hidden by default */
margin-top: 20px;
}
/* CSS for conversion table */
.conversionTable {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.conversionTable th, .conversionTable td {
border: 1px solid #ddd;
padding: 8px;
text-align: center;
}
.conversionTable th {
background-color: #f2f2f2;
}
/* Adjust margin-bottom for the last paragraph */
#converter p:last-child {
margin-bottom: 0;
}