-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
100 lines (97 loc) · 1.63 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
* {
padding: 0;
margin: 0;
font-family: "Neucha", "Inter", sans-serif, Arial, Helvetica;
letter-spacing: 1.5px;
box-sizing: border-box;
}
.flex-container {
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.board {
width: 80%;
height: 80%;
display: grid;
background-color: white;
box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.25), 0 0 0 5px #838383,
0.5em 0.5em 2em rgba(0, 0, 0, 0.5);
}
.board:hover {
cursor: pointer;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
min-width: 300px;
min-height: 300px;
width: 60vw;
height: 60vw;
max-width: 600px;
max-height: 600px;
}
.title {
display: flex;
justify-content: center;
margin-top: 15px;
}
.buttons {
margin-top: 10px;
margin-bottom: 10px;
}
button {
padding: 0.3em 1.2em;
margin: 0 0.3em 0.3em 0;
text-decoration: none;
font-weight: 600;
text-align: center;
transition: all 0.2s;
}
button:hover {
cursor: pointer;
}
#black {
background-color: black;
color: white;
}
#black:hover {
background-color: white;
color: black;
}
#gray {
background-color: #80808069;
color: black;
}
#gray:hover {
background-color: #5f5f5f;
color: white;
}
#random {
background: linear-gradient(0.25turn, #fc99ff, #ccffa5, #6cf3ec);
}
#random:hover {
background: linear-gradient(0.25turn, #88ff78, #a2ff5c, #ff4a4a);
}
#eraser {
background-color: #ffffff;
color: rgb(0, 0, 0);
}
#eraser:hover {
background-color: white;
color: #aaaaaa;
}
input {
width: 5rem;
height: 85%;
}
.mode {
margin-bottom: 5px;
}
.error {
display: none;
}