-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
76 lines (66 loc) · 1.11 KB
/
styles.css
File metadata and controls
76 lines (66 loc) · 1.11 KB
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
body {
font-family: Arial, sans-serif;
max-width: 810px;
margin: 0 auto;
}
header {
text-align: center;
padding: 20px;
background-color: #4CAF50;
color: white;
}
main {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
}
form {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 10px;
width: 70%;
background-color: #f2f2f2;
padding: 20px;
border-radius: 10px;
}
label {
text-align: right;
margin-top: 10px;
}
input, select {
margin-top: 5px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
grid-column: 1 / 3;
margin-top: 10px;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
#student-list {
width: 70%;
margin-top: 20px;
border: 1px solid #ccc;
padding: 10px;
border-radius: 10px;
}
#student-list li {
list-style-type: none;
margin-bottom: 5px;
padding: 5px;
background-color: #f9f9f9;
border-radius: 5px;
}
#student-list li:nth-child(even) {
background-color: #f2f2f2;
}