-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
122 lines (117 loc) · 2.19 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
@import url("https://fonts.googleapis.com/css2?family=Ysabeau+SC&display=swap");
body {
background-color: #fbf9f1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 80px;
font-family: "Ysabeau SC", sans-serif;
}
header {
display: flex;
justify-content: center;
align-items: center;
}
main {
display: flex;
gap: 100px;
justify-content: center;
}
footer {
display: flex;
gap: 45px;
justify-content: center;
align-items: center;
background-color: #f1e4c3;
border: antiquewhite;
border-radius: 10px;
padding: 10px 150px;
}
a {
text-decoration: none;
font-size: 28px;
color: black;
}
a:hover {
color: purple;
font-weight: bold;
}
#sketchpad {
display: grid;
height: 500px;
width: 500px;
border: 3px;
border-style: solid;
border-color: transparent;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#colorChooseWrapper {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10px;
font-weight: bold;
}
#buttons {
display: flex;
height: 500px;
flex-direction: column;
gap: 30px;
align-items: center;
justify-content: center;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.7rem 2rem;
font-weight: 700;
font-size: 18px;
text-align: center;
text-decoration: none;
color: black;
background-color: #fbf9f1;
backface-visibility: hidden;
border: 0.3rem solid transparent;
border-radius: 3rem;
border-color: transparent;
transition: background-color 0.3s ease-in-out;
font-family: "Ysabeau SC", sans-serif;
}
.btn:hover {
background-color: grey;
}
#sliderWrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
font-weight: bold;
}
.grids {
display: flex;
}
/* responsiveness */
@media (max-width: 800px) {
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 5rem;
}
#buttons {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 5px;
height: 0;
flex-wrap: wrap;
}
#sketchpad {
margin-top: 3rem;
}
}