-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
137 lines (118 loc) · 2.92 KB
/
Copy pathstyle.css
File metadata and controls
137 lines (118 loc) · 2.92 KB
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
:root{
--color_one: #e97777;
--color_two: #fdffae;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
font-size: 10px;
}
body{
background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
url(https://images.akakirtasiye.com.tr/StokResim/org_hrzfu2cf.jfif?width=300&height=400&bgcolor=FFFFFF), no-repeat;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
min-height: 100vh;
background-color: #f3d9a4;
background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px), url(https://images.akakirtasiye.com.tr/StokResim/org_hrzfu2cf.jfif?width=300&height=400&bgcolor=FFFFFF);
background-size: 24px 24px, 24px 24px, cover;
}
.container{
width: 100%;
height: 100%;
padding: 2rem;
}
#add_note{
position: absolute;
top: 20px;
right: 20px;
background-color: var(--color_one);
color: white;
padding: 1rem 2rem;
border: none;
cursor: pointer;
font-size: 2rem;
border-radius: 10px;
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.32);
transition: all .05s linear;
}
#add_note:active{
transform: scale(0.97);
box-shadow: 2px 2px 2px 2px rgb(0, 0, 0, 0.182);
}
#add_note i{
margin-right: 5px;
margin-left: 5px;
}
.notes{
display: flex;
align-items: center;
justify-content: flex-start;
flex-wrap: wrap;
gap: 2rem;
margin-top: 7rem;
align-items: flex-start;
}
.note_div{
display: flex;
flex-direction: column;
width: 300px;
height: 300px;
box-shadow: 0 12px 24px rgba(68,40,16,.18);
border-radius: 4px;
overflow: hidden;
}
.header{
display: flex;
align-items: center;
justify-content: space-between;
background-color: var(--color_two);
padding: 1rem 1.5rem;
border-bottom: 1px solid black;
font-size: 1.5rem;
font-weight: bold;
}
.edit_delete{
display: flex;
justify-content: flex-end;
align-items: center;
gap: 2rem;
}
.edit_delete button{
background-color: transparent;
border: none;
font-size: 2rem;
cursor: pointer;
transition: all .05s linear;
color: rgb(56, 56, 56);
}
.edit_delete button:active{
transform: scale(0.97);
}
.note,
textarea{
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-color: var(--color_two);
padding: 1rem;
height: 100%;
font-size: 1.5rem;
resize: none; /* textarea için belirlenen alalın büyütülüp, küçültülmesini engeller */
}
textarea{
background-color: var(--color_two);
border: none;
outline: none;
}
.note{
text-wrap: wrap;
}
.hidden{
display: none;
}
p.hidden{
display: block;
opacity: 0;
}
@media (max-width: 640px){#add_note{position: static; margin: 0 auto; display: block;}.notes{margin-top: 2rem; justify-content: center;}.note_div{width: min(100%, 320px);}}