-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylee.css
83 lines (75 loc) · 1.49 KB
/
stylee.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
@import url("https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@400;500;600&display=swap");
* {
margin: 0;
}
#board {
position: relative;
width: 100vw;
height: 100vh;
background-color: #cd995f;
overflow: hidden;
perspective: 1600px;
display: flex;
justify-content: end;
align-items: end;
box-sizing: border-box;
padding: 50px;
}
.stickynote {
position: absolute;
width: 200px;
height: 200px;
box-sizing: border-box;
padding: 10px;
transform: rotateX(5deg);
box-shadow: -1px 10px 5px -4px rgba(0, 0, 0, 0.012),
inset 0 24px 30px -12px rgba(0, 0, 0, 0.3);
display: flex;
justify-content: center;
align-items: center;
}
.stickynote-text {
border-radius: 10px;
color: #373c49;
font-size: 18px;
font-weight: 600;
border: none;
background: transparent;
outline: none;
text-align: center;
resize: none;
overflow: hidden;
font-family: "Playpen Sans", cursive;
}
.stickynote-text:focus {
background-color: rgba(0, 0, 0, 0.1);
}
.stickynote-text::placeholder {
color: black;
opacity: 30%;
}
#trash {
position: absolute;
fill: white;
width: 50px;
height: 50px;
left: 50px;
bottom: 50px;
padding: 32px;
background-color: #d90429;
border-radius: 20px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
cursor: pointer;
}
#reset {
position: absolute;
font-size: 18px;
font-family: sans-serif;
font-weight: bold;
color: white;
opacity: 0;
bottom: 14px;
}