-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (62 loc) · 1.21 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
:root {
--pixel-size: 16;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
height: 100vh;
}
header {
text-align: center;
background-color: gainsboro;
}
footer {
/* stick the footer to the bottom of the page */
position: sticky;
top: 100%;
text-align: center;
padding: 25px;
margin-top: 30px;
background-color: gainsboro;
}
footer a,
footer a:visited {
font-style: italic;
color: grey;
text-decoration: none;
}
footer a:hover {
color: rgb(78, 78, 78);
}
.settings-btn {
width: 100px;
height: 35px;
margin: 20px 10px;
border-radius: 10px;
transition: transform 0.1s ease-in-out;
}
.settings-btn:hover {
transform: scale(1.05);
}
.container {
display: flex;
width: 500px;
height: 500px;
margin: auto;
border: 5px solid black;
border-radius: 15px;
margin-top: 2em;
flex-wrap: wrap;
}
.grid-pixel {
border: 0.05px solid black;
width: calc(100% / var(--pixel-size));
}
button.active {
background-color: black;
color: white;
}