-
Notifications
You must be signed in to change notification settings - Fork 12
/
style.css
117 lines (100 loc) · 1.69 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
/* Global styles */
html, * {
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
body {
font: 1.8rem/1.56 sans-serif;
color: #360066;
margin: 0;
padding: 0 3.2rem 2.4rem;
background: #f5f5f5;
}
/* Form styles */
textarea {
display: block;
border-radius: 0.4rem;
}
textarea,
form select {
background: #fff;
border: 1px solid #520099;
}
form select,
form button {
display: inline-block;
margin: 2rem 1rem 0 0;
height: 2rem;
}
#formAddButton {
width: 7rem;
background-color: #8902FF;
color: #fff;
border-radius: 0.4rem;
border: 0;
transition: background-color .2s ease-in-out;
-webkit-transition: background-color .2s ease-in-out;
}
#formAddButton:hover {
cursor: pointer;
background-color: #e600e6;
}
/* Note Styles */
#notes {
display: flex;
flex-wrap: wrap;
padding-top: 2rem;
}
.note {
width: 24rem;
height: 20rem;
font-size: 1.4rem;
background: #fff;
border-radius: 0.4rem;
padding: 1.2rem 1.6rem;
margin: 2.4rem 2.4rem 0 0;
box-shadow: 0 0.9rem 1.2rem rgba(0,0,0, 0.1);
position: relative;
}
.note-text {
height: 100%;
overflow-y: auto;
}
.note::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 0.8rem;
border-radius: 0 0 0.4rem 0.4rem;
}
.note.red::after {
background-color: lightcoral;
}
.note.blue::after {
background-color: lightskyblue;
}
.note.green::after {
background-color: lightgreen;
}
.note.yellow::after {
background-color: gold;
}
.note span {
position: absolute;
width: 2rem;
height: 2rem;
top: 0.2rem;
right: 0.2rem;
border-radius: 0.4rem;
color: #999;
text-align: center;
}
.note span:hover {
color: #333;
background: #f5f5f5;
cursor: pointer;
}