-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
183 lines (173 loc) · 3.26 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
@import url("https://fonts.googleapis.com/css?family=Poppins");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
}
body {
background-color: #f4f7f8;
font-family: "Poppins";
display: flex;
flex-wrap: wrap;
}
.heading {
width: 100vw;
height: 5.5rem;
background-color: #f1c40f;
color: #282936;
box-shadow: 0px 10px 16px rgba(248, 247, 247);
}
.heading h1 {
line-height: 5.8rem;
margin-left: 2rem;
font-weight: 400;
}
.add:active {
transform: scale(0.98);
}
.btn-div {
position: fixed;
top: 7rem;
right: 1rem;
border: none;
border-radius: 3px;
padding: 0.5rem 1rem;
cursor: pointer;
}
button {
position: relative;
display: inline-block;
cursor: pointer;
outline: none;
border: 0;
vertical-align: middle;
text-decoration: none;
background: transparent;
padding: 0;
font-size: inherit;
font-family: inherit;
}
button.learn-more {
width: 12rem;
height: auto;
}
button.learn-more .circle {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: relative;
display: block;
margin: 0;
width: 3rem;
height: 3rem;
background: #f1c12e;
border-radius: 1.625rem;
}
button.learn-more .circle .icon {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: absolute;
top: 0;
bottom: 0;
margin: auto;
background: #fff;
}
button.learn-more .circle .icon.arrow {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
left: 0.625rem;
width: 1.125rem;
height: 0.125rem;
background: none;
}
button.learn-more .circle .icon.arrow::before {
position: absolute;
content: "";
top: -0.25rem;
right: 0.0625rem;
width: 0.625rem;
height: 0.625rem;
border-top: 0.125rem solid #fff;
border-right: 0.125rem solid #fff;
transform: rotate(45deg);
}
button.learn-more .button-text {
transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
padding: 0.75rem 0;
margin: 0 0 0 1.85rem;
color: #282936;
font-weight: 700;
line-height: 1.6;
text-align: center;
text-transform: uppercase;
}
button:hover .circle {
width: 100%;
}
button:hover .circle .icon.icon.arrow {
background: #fff;
transform: translate(1rem, 0);
}
button:hover .button-text {
color: #fff;
}
.note {
background-color: #fff;
margin: 30px 20px;
height: 200px;
width: 400px;
overflow-y: scroll;
margin-top: 7rem;
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1),
inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.note .tools {
display: flex;
justify-content: flex-end;
padding: 0.5rem;
}
.note .tools button {
background-color: transparent;
border: none;
color: #fff;
cursor: pointer;
font-size: 1rem;
margin-left: 0.5rem;
}
.note textarea {
outline: none;
font-family: inherit;
font-size: 1.2rem;
border: none;
height: 300px;
width: 100%;
padding: 20px;
}
.fa-edit,
.fa-trash-alt {
color: #fff;
padding: 10px;
background-color: #2ecc71;
border-radius: 50%;
}
.fa-trash-alt {
background-color: #e74c3c;
}
.fa-edit:hover {
background-color: #fff;
color: #27ae60;
filter: drop-shadow(0px 10px 8px rgba(219, 218, 218));
}
.fa-trash-alt:hover {
background-color: #fff;
color: #e74c3c;
filter: drop-shadow(0px 10px 8px rgba(219, 218, 218));
}
.main {
padding: 20px;
}
.hidden {
display: none;
}