-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (84 loc) · 1.46 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
@import url("https://fonts.googleapis.com/css2?family=New+Tegomin&display=swap");
:root {
--title: #333;
--background: #ededed;
--button-border: #333;
--button: #555;
--button-hover: #444;
--button-active: #333;
--border: #222;
}
*,
*::before,
*::after {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html {
font-family: "Roboto", sans-serif;
font-size: 62.5%;
line-height: 1.6;
}
body {
background-color: var(--background);
font-size: 1.6rem;
text-align: center;
}
header {
margin-top: 3rem;
font-family: "New Tegomin", serif;
padding: 2rem;
font-size: 3.2rem;
}
h1 {
line-height: 1.2;
}
.title {
color: var(--title);
}
.container {
padding: 1rem;
}
button {
box-shadow: 0px 0px 0px 0px #ffffff;
background-color: #ededed;
border-radius: 28px;
border: 1px solid #dcdcdc;
display: inline-block;
cursor: pointer;
color: #777777;
font-family: Arial;
font-size: 17px;
padding: 16px 22px;
text-decoration: none;
text-shadow: 0px 1px 0px #ffffff;
outline: none;
}
button:hover {
background-color: #dfdfdf;
}
button:active {
position: relative;
top: 1px;
}
.grid {
display: grid;
max-width: 500px;
min-height: 500px;
margin: 2rem auto;
border: 2px solid var(--border);
}
.grid-element {
border: 1px solid var(--border);
background-color: var(--background);
}
@media (max-width: 450px) {
header {
font-size: 2.4rem;
}
.grid {
max-width: 300px;
min-height: 300px;
}
}