-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
147 lines (124 loc) · 2.56 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
* {
gap: 0px;
padding: 0px;
margin: 0px;
}
body {
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
min-height: 100vh;
}
/* Set title and subtitle font sizes */
.title {
font-size: 90px;
font-weight: bolder;
}
.subtitle {
font-size: 30px;
}
img {
height: auto;
width: 30px;
}
#img-container {
gap: 10px;
}
/* Show underline when link is hovered */
a {
color: black;
font-weight: bolder;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Stylize the size input */
.input {
width: 3em;
cursor: pointer;
background-color: rgb(211, 211, 211);
padding: 5px;
border-radius: 15px;
border: none;
box-shadow: 0 5px rgb(120, 120, 120);
}
.input, .input-text {
font-size: 20px;
}
/* Stylize the button with shadow */
button {
display: inline-block;
padding: 10px 20px;
font-size: 20px;
cursor: pointer;
text-align: center;
color: black;
background-color: rgb(211, 211, 211);
border: none;
border-radius: 15px;
box-shadow: 0 9px rgb(120, 120, 120);
}
/* Hover and selected effects on buttons*/
button:hover {
background-color: rgb(160, 160, 160);
transition: background-color 0.5s ease-in-out;
transition: box-shadow 0.5s ease-in-out;
transition: transform 0.2s ease-in-out;
}
button.selected {
background-color: rgb(120, 120, 120);
box-shadow: 0 5px rgb(90, 90, 90);
transform: translateY(4px);
}
/* Stylize colour selector while also previewing colour */
.custom-selector {
display: inline-block;
padding: 10px 20px;
font-size: 20px;
cursor: pointer;
text-align: center;
color: black;
background-color: #7A4FE0;
border: 10px solid rgb(211, 211, 211);
border-radius: 15px;
box-shadow: 0 9px rgb(120, 120, 120);
}
.custom-selector:hover {
border-color: rgb(160, 160, 160);
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex: 1;
flex-wrap: wrap;
gap: 20px 50px;
}
.horizontal {
flex-direction: row;
}
.button-box {
align-items: flex-start;
}
.text.horizontal.container {
gap: 5px;
}
.custom-color{
display: flex;
align-items: center;
justify-content: center;
flex: 1;
flex-wrap: wrap;
gap: 10px;
}
#grid {
height: 600px;
width: 600px;
border: 5px solid black;
display:flex;
flex-wrap: wrap;
}
.tile {
border: 1px solid rgb(150, 150, 150);
background-color: rgba(0, 0, 0, 0);
}