-
Notifications
You must be signed in to change notification settings - Fork 5
/
styles.css
126 lines (103 loc) · 1.68 KB
/
styles.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
html {
overflow-y: scroll;
color: rgb(69, 62, 75);
}
body {
text-align: center;
font-family: 'Joti One', 'Open Sans', sans-serif;
border: 6px solid rgb(69, 62, 75);
margin: 0;
}
h1 {
font-size: 50px;
margin: 0.2em;
}
table,
tr,
td {
border: 1px solid black;
}
table {
border-collapse: collapse;
margin: 0 auto;
max-width: 96%;
}
tr {
height: 20px;
}
td {
width: 20px;
}
input[type=number] {
width: 3em;
margin-left: 5px;
}
button {
font-family: 'Open Sans', sans-serif;
background-color: rgb(255, 249, 221);
border-radius: 30px;
border: 2px solid rgb(69, 62, 75);
}
.builder {
width: 300px;
display: flex;
justify-content: space-around;
}
.builder button {
width: 80px;
height: 30px;
}
.builder div {
width: 60px;
margin-right: 5px;
}
.controls {
display: flex;
flex-direction: column;
align-items: center;
margin: 0 2% 15px 2%;
background-color: rgb(207, 233, 207);
border: 2px solid rgb(69, 62, 75);
}
.controls > * {
margin: 0.5em;
}
#create-grid,
#reset,
#clear-grid {
width: 120px;
}
#reset {
margin-top: 10px;
}
#color-picker {
height: 50px;
width: 50px;
margin-bottom: 10px;
}
footer {
font-family: 'Open Sans', sans-serif;
margin: 20% 5px 20px 5px;
font-size: 0.8em;
}
footer a {
text-decoration: none;
}
@media screen and (max-width: 780px){
h1 {
font-size: 40px;
}
}
@media screen and (max-width: 350px){
h1 {
font-size: 30px;
}
.builder {
flex-direction: column;
width: 70%;
align-items: center;
}
.builder button {
margin: 5px;
}
}