-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
102 lines (93 loc) · 1.56 KB
/
main.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
/* DIY Dog Search tool using Punk API - Michael McGrorty 6/11/18 */
body {
margin: 5%;
text-align: center;
font-family: 'Rubik', 'sans-serif';
background-color: rgba(255, 255, 255, 0.7);
}
img {
width: 4em;
height: 12em;
animation-duration: 4s;
animation-name: spinner;
animation-iteration-count: infinite;
}
button {
margin: 5px;
border: none;
padding: 10px;
font-family: inherit;
font-size: 1.25em;
}
select {
font-family: inherit;
padding: 5px;
}
input {
font-family: inherit;
padding: 5px;
}
input:focus {
border: 2px solid blue;
}
@keyframes spinner {
from {
-moz-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
transform: rotateY(0deg);
}
to {
-moz-transform: rotateY(-360deg);
-ms-transform: rotateY(-360deg);
transform: rotateY(-360deg);
}
}
.beergrid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 5px;
grid-auto-rows: min-content;
margin: 20px;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 10%;
}
.one {
grid-column: 1 / 5;
grid-row: 1;
}
.two {
grid-column: 2 / 5;
grid-row: 2;
}
.three {
grid-column: 1;
grid-row: 2 / 6;
}
.four {
grid-column: 2 / 5;
grid-row: 3;
}
.five {
grid-column: 2;
grid-row: 4;
}
.six {
grid-column: 3;
grid-row: 4;
}
.seven {
grid-column: 4;
grid-row: 4;
}
.eight {
grid-column: 2;
grid-row: 5;
}
.nine {
grid-column: 3;
grid-row: 5;
}
.ten {
grid-column: 4;
grid-row: 5;
}