-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
125 lines (108 loc) · 1.93 KB
/
index.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
@import url('../../fonts/Zilla_Slab/Zilla_Slab.css');
@import url('../../fonts/Inter/Inter.css');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #121212;
display: grid;
margin: 3rem 1rem 1rem 1rem;
row-gap: 2rem;
}
h1 {
color: #08fdb4;
font-family: 'Zilla Slab', serif;
font-size: 2.7rem;
text-align: center;
}
form {
display: grid;
padding: 1.5rem;
background-color: #333;
border-radius: 10px;
grid-template-columns: 1fr auto;
row-gap: 0.7rem;
}
textarea {
font-family: 'Inter', sans-serif;
padding: 0.5rem;
grid-column: 1 / -1;
height: 30ch;
font-size: 1rem;
resize: vertical;
background-color: #f2f3f4;
}
input[type='submit'] {
grid-column: 1 / -1;
width: 100%;
}
.button {
border: none;
font-size: 1.1rem;
background-color: #08fdb4;
font-family: 'Inter', sans-serif;
padding: 0.3em 0.7em;
font-weight: 600;
width: -moz-fit-content;
width: fit-content;
cursor: pointer;
}
.button:hover {
outline: 2px solid #08fdb4;
outline-offset: 3px;
}
table {
color: white;
border-collapse: collapse;
font-family: 'Zilla Slab', serif;
table-layout: fixed;
width: 100%;
}
td,
th {
padding: 0.3em;
border: 2px solid #08fdb4;
}
th:first-of-type {
border-right: 3px solid #333;
}
th {
font-size: 1.7rem;
background-color: #08fdb4;
color: #333;
}
td {
font-family: 'Inter', sans-serif;
background-color: #333;
font-size: 1.1rem;
word-wrap: break-word;
color: white;
}
tr > td:nth-of-type(2) {
text-align: center;
}
@media only screen and (min-width: 1050px) {
body {
display: grid;
margin: 3rem auto 1rem auto;
width: 30vw;
}
h1 {
font-size: 3rem;
}
}
@media only screen and (min-width: 350px) and (max-width: 1050px) {
body {
display: grid;
margin: 3rem auto 1rem auto;
width: 80vw;
}
}
label {
font-family: 'Zilla Slab', serif;
color: #08fdb4;
font-size: 1.5rem;
font-weight: 700;
}