-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
153 lines (126 loc) · 2.47 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
font-family: "Hanken Grotesk", sans-serif;
list-style: none;
}
main {
margin: 50px 250px;
border: 1px solid gray;
border-radius: 5px;
padding-bottom: 20px;
box-shadow: 10px 10px 10px gray;
}
.container {
border-bottom: 1px solid gray;
padding-bottom: 30px;
padding-top: 10px;
padding: 20px 70px;
}
.container div {
line-height: 30px;
}
.container .first,
.container-two .first,
.container-third .first {
display: inline-block;
}
.container .first div,
.container .second h2 {
margin-bottom: 15px;
}
.container .first div h1 {
display: inline-block;
margin-left: 10px;
}
.container .second,
.container-two .second,
.container-third .second {
float: right;
}
/* second container */
.container-two {
margin-top: 20px;
padding: 20px 70px;
}
.container-two div {
line-height: 30px;
}
/* table */
table {
border-collapse: collapse;
margin-top: 20px;
width: 100%;
}
table th {
color: black;
text-transform: uppercase;
}
thead th {
border-top: 1px solid black;
padding: 10px;
text-align: center;
}
tbody tr td {
border-top: 1px solid black;
padding: 10px;
text-align: center;
}
tbody tr:last-child {
border-bottom: 1px solid;
}
/* container third */
.container-third {
padding-bottom: 20px 0px;
margin: 20px 50px;
}
.container-third div {
line-height: 30px;
}
.container-third .second p {
text-align: center;
}
.container-third .second p span {
margin-left: 20px;
}
/* container four */
.container-four {
display: inline-block;
border-top: 1px solid gray;
width: 100%;
border-bottom: 1px solid gray;
padding: 20px 30px;
text-align: center;
margin-top: 30px;
}
.container-four p {
display: inline-block;
font-weight: bold;
font-size: 19px;
}
/* media queries */
@media screen and (max-width: 1050px) {
main {
margin: 20px;
padding-bottom: 0px;
}
}
@media screen and (max-width: 650px) {
.container, .container-two, .container-third, .container-four{
text-align: center;
}
.container .first, .container-two .first, .container-third .first{
display: block;
margin-bottom: 20px;
}
.container .second, .container-two .second, .container-third .second{
float: none;
}
}
@media screen and (max-width: 500px) {
.table {
overflow-x:auto
}
}