-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (94 loc) · 1.94 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
body {
background-color: #869EF4;
user-select: none;
}
#title {
width: 600px;
height: 130px;
margin-left: 120px;
font-family: 'Indie Flower';
font-size: 90px;
font-weight: 900;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
/* StackOverflow */
text-shadow: 2px 2px 25px #6A5EFF, 2px 2px 25px #6A5EFF, 2px 2px 25px #6A5EFF, 2px 2px 25px #6A5EFF;
-webkit-text-stroke-width: 4px;
-webkit-text-stroke-color: #6A5EFF;
}
.main-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.middle-container {
display: flex;
justify-content: center;
align-items: center;
}
.grid-container {
width: 450px;
height: 450px;
border: 3px solid black;
box-shadow: 10px 10px 5px hsla(0, 0%, 0%, 25%);
}
.grid-square {
width: 45px;
height: 45px;
}
.row {
display: flex;
}
.toolbar {
display: flex;
flex-direction: column;
gap: 25px;
margin-right: 53px;
}
#color-picker,
.option {
width: 67px;
height: 67px;
border-radius: 67px;
background-color: #4F54D3; /* doesn't affect color-picker */
/* center the images */
display: flex;
justify-content: center;
align-items: center;
}
.option:hover {
background-color: #4842a0;
transition: 500ms;
}
.tooltip {
position: relative;
}
.tooltip .tooltiptext {
width: 55px;
height: 40px;
visibility: hidden;
background-color: #E7E7E7;
color: #6A5EFF;
font-family: "Indie Flower";
font-weight: 900;
border-radius: 10px;
/* position */
position: absolute;
z-index: 1;
right: 100%;
margin-right: 5px;
display: flex;
justify-content: center;
align-items: center;
/* transition effect */
opacity: 0;
transition: opacity 800ms;
}
.tooltip:hover .tooltiptext {
visibility: visible;
/* transition */
opacity: 1;
}