-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
73 lines (63 loc) · 1.28 KB
/
styles.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
/* style for the page title */
h1 {
font-size: 3rem;
text-align: center;
margin: 2rem 0;
}
/* style for the form */
form {
display: flex;
flex-direction: column;
align-items: center;
margin: 2rem 0;
}
/* style for form inputs */
input[type="text"],
textarea,
input[type="date"] {
width: 100%;
padding: 0.5rem;
margin: 0.5rem 0;
border: 1px solid #ccc;
border-radius: 0.5rem;
font-size: 1rem;
}
/* style for the submit button */
input[type="submit"] {
background-color: #4CAF50;
color: white;
border: none;
border-radius: 0.5rem;
padding: 1rem;
cursor: pointer;
font-size: 1rem;
}
input[type="submit"]:hover {
background-color: #45a049;
}
/* style for the table */
table {
border-collapse: collapse;
width: 100%;
margin: 2rem 0;
}
/* style for the table headers */
th {
background-color: #4CAF50;
color: white;
text-align: left;
padding: 1rem;
}
/* style for the table cells */
td {
border: 1px solid #ddd;
padding: 1rem;
}
/* style for the first column of the table */
td:first-child {
font-weight: bold;
}
/* style for the odd rows of the table */
tr:nth-child(odd) {
background-color: #f2f2f2;
}