-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnotestyle.css
136 lines (105 loc) · 2.36 KB
/
notestyle.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
/*
* @Author: hwaphon
* @Date: 2016-12-16 17:05:12
* @Last Modified by: hwaphon
* @Last Modified time: 2017-04-03 21:27:46
*/
*,
*::before,
*::after {
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
background-attachment: fixed;
background-size: cover;
background-position: center;
}
form {
width: 80%;
margin: 32px auto;
text-align: center;
}
form select {
padding: 12px 16px;
color: #333;
border: none;
background-color: #fff;
box-shadow: 1px 1px 2px rgba(0,0,0,.2);
}
form select > option {
height: 32px;
}
form input[type='text'] {
width: 320px;
padding: 12px 8px;
border: none;
box-shadow: 1px 1px 2px rgba(0,0,0,.2);
}
form input[type = 'button'] {
padding: 12px 16px;
cursor: pointer;
transition: background-color 2s ease-in 0;
color: #fff;
border: none;
background-color: #428bca;
box-shadow: 1px 1px 2px rgba(0,0,0,.2);
}
form input[type = 'button']:hover {
transition: background-color 2s ease-out 0;
background-color: #369;
}
#note-list {
display: -moz-box;
display: -ms-flexbox;
display: flex;
width: 80%;
margin: 24px auto;
list-style: none;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
-moz-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
#note-list > li {
font-family: sans-serif;
display: block;
height: 200px;
margin-bottom: 32px;
margin-left: 48px;
padding: 16px;
cursor: pointer;
transition: transform 2s linear 0;
color: #fff;
border: 1px solid #333;
border: none;
border-radius: 6px 12px;
background-color: #fff;
box-shadow: 1px 1px 2px rgba(0,0,0,.2);
-moz-box-flex: 0;
-ms-flex: 0 0 200px;
flex: 0 0 200px;
}
#note-list li:nth-child(even) {
transform: rotate(4deg);
}
#note-list li:nth-child(odd) {
transform: rotate(-4deg);
}
#note-list li:nth-child(3n) {
transform: rotate(0deg);
}
#note-list > li:hover {
z-index: 10;
transform: rotate(0deg) scale(1.2);
}
#note-list li.normal {
background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}
#note-list li.important {
background-image: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
}