-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
45 lines (45 loc) · 931 Bytes
/
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
*{
padding:0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
button{
padding:1rem;
font-size: 1rem;
border-radius: 5px;
border:1px solid #999;
box-sizing: border-box;
background-color: #eee;
}
button:active{
background-color: #d0d0d0;
}
main{
padding:5rem;
display: flex;
flex-wrap: wrap;
gap:1rem;
align-items: center;
justify-content: center;
}
.student-data{
border:1px solid #d0d0d0;
padding:1rem;
border-collapse: collapse;
}
.student-data *{
padding:1rem;
border:1px solid #d0d0d0;
border-collapse: collapse;
}
.student-data tr:nth-child(2n-1){
background-color: #dfdfdf;
}
.student-data tr:nth-child(2n){
background-color: #eee;
}