-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
78 lines (69 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
71
72
73
74
75
76
77
78
:root {
--dimension;
}
body {
font-family: 'Open Sans', sans-serif;
color: #606c71;
}
h1 {
text-align: center;
}
.grid-container {
position: absolute;
display: grid;
background-color: #f2f2f2;
margin: 0;
border: 0;
padding: 0;
grid-row-gap: 0;
width: 70vmin;
height: 70vmin;
top: 50%;
left: 50%;
transform: translate(-50%, -33.5%);
z-index: 1;
}
.grid-item {
background-color: #f2f2f2;
padding: 0;
border: 1px solid #f2f2f2;
margin: 0;
text-align: center;
transition-property: background-color;
transition-duration: 0.6s;
transition-delay: 0s;
}
#dimension {
font-family: 'Open Sans', sans-serif;
font-weight: bold;
color: #606c71;
width: 10vmin;
height: 4vmin;
margin: 1vmin;
padding-left: 1vmin;
border: 2px solid #606c71;
border-radius: 2px;
}
#submit {
font-family: 'Open Sans', sans-serif;
font-weight: bold;
padding: 2vmin 3vmin;
margin: 1vmin;
color: #fff;
background-color: #76DC76;
border: 2px solid #606c71;
border-radius: 5px;
}
#form {
position: absolute;
top: 15%;
left: 50%;
transform: translate(-50%, 0%);
}
button:hover, button:active {
cursor: pointer;
opacity: 0.7;
}
button:focus, input:focus {
outline:0;
}