This repository was archived by the owner on Sep 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 266
/
Copy pathstyle.css
138 lines (122 loc) · 2.65 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
* {
box-sizing: border-box;
}
body {
font-family: sans-serif;
font-weight: 300;
background-color: #eaeaea;
}
#mount-point {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.note {
width: 200px;
height: auto;
float: left;
background-color: yellow;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
border-radius: 2px;
padding: 10px;
margin-bottom: 10px;
-webkit-transition: box-shadow .3s;
transition: box-shadow .3s;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
.note:hover {
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.delete-note {
position: absolute;
top:5px;
right:5px;
display: none;
color: rgba(0,0,0,0.6);
cursor: pointer;
}
.note:hover .delete-note {
display: block;
}
.note-editor {
width: 100%;
max-width: 600px;
padding: 16px;
margin: 16px auto;
background-color: white;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
border-radius: 2px;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.textarea {
width: 100%;
resize: none;
margin: 5px;
font-size: 14px;
border: none;
font-weight: 300;
}
.textarea:focus {
outline: 0;
}
.add-button {
-webkit-align-self: flex-end;
-ms-flex-item-align: end;
align-self: flex-end;
width: 100px;
background-color:#44c767;
border-radius:28px;
border:1px solid #18ab29;
cursor:pointer;
color:#ffffff;
font-size:14px;
padding:8px 8px;
text-transform: uppercase;
text-decoration:none;
text-shadow:0px 1px 0px #2f6627;
}
.add-button:hover {
background-color:#5cbf2a;
}
.add-button:active {
position:relative;
top:1px;
}
.add-button:focus {
outline: 0;
}
.notes-grid {
margin: 0 auto;
}
.notes-app {
max-width: 960px;
width: 100%;
}
.app-header {
text-align: center;
font-weight: 500;
color: grey;
text-shadow: 0px 2px 3px rgba(255,255,255,0.5);
}