/
style.css
65 lines (55 loc) · 1.11 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
body {
font-family: 'Raleway Dots', cursive;
text-align: center;
background-color: lightblue;
}
.grid-container {
padding-top: 25px;
display: grid;
justify-content: center;
grid-template-columns: repeat(5, 200px);
grid-template-rows: 10vh 5vh 600px 5vh;
grid-template-areas:
'header header header header header'
'. blackButton randomButton chooseButton .'
'. gridArea gridArea gridArea .'
'. clearButton . sizeButton .';
grid-gap: 5px;
}
.header {
grid-area: header;
font-size: 20px;
}
.blackButton {
grid-area: blackButton;
}
.randomButton {
grid-area: randomButton;
}
.chooseButton {
grid-area: chooseButton;
}
.gridArea {
grid-area: gridArea;
border: 2vh solid red;
background: black;
display: grid;
grid-template-columns: repeat(var(--sideLength), 1fr);
grid-template-rows: repeat(var(--sideLength), 1fr);
--sideLength: 16;
border-radius: 15px;
}
.clearButton {
grid-area: clearButton;
}
.sizeButton {
grid-area: sizeButton;
}
input[type='button'] {
height: 5vh;
width: 200px;
font-family: sans-serif;
}
.grids {
background-color: lightgray;
}