-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (59 loc) · 1.04 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
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgb(250, 224, 228);
background-image: linear-gradient(to bottom, rgb(245, 228, 230), pink);
}
div {
margin: 15px;
max-width: 650px;
}
h1 {
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
color: midnightblue;
}
table {
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
color: blanchedalmond;
border-collapse: collapse;
margin-top: 20px;
}
td,
th {
padding: 10px;
}
th {
background-color: rgb(241, 124, 124);
text-align: left;
}
th:nth-child(1) {
width: 30%;
}
tr:nth-child(odd) {
background: rgb(131, 119, 119);
}
tr:nth-child(even) {
background-color: rgb(48, 44, 44);
}
@media only screen and (max-width: 560px) {
h1 {
font-size: 20px;
}
th,
td {
font-size: 14px;
padding: 5px;
}
th:nth-child(1) {
width: auto;
}
}