-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.css
More file actions
98 lines (85 loc) · 1.61 KB
/
notes.css
File metadata and controls
98 lines (85 loc) · 1.61 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
.notes-section {
margin-bottom: 40px;
}
.notes-section h2 {
margin-top: 0;
margin-bottom: 30px;
}
.notes-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.note-card {
background-color: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 18px;
transition: all 0.3s ease;
cursor: pointer;
position: relative;
min-height: 100px;
display: flex;
flex-direction: column;
}
.note-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border-color: #777777;
}
.note-card-header {
margin-bottom: 16px;
}
.note-card-title {
font-size: 16px;
font-weight: 600;
margin: 0 0 4px 0;
color: #555555;
}
.note-card-date {
font-size: 12px;
color: #777777;
margin: 0 0 -6px 0;
}
.note-card-description {
font-size: 12px;
color: #777777;
margin: 0;
max-height: 0;
overflow: hidden;
transition: max-height 0.1s ease, opacity 0.2s ease;
opacity: 0;
flex-grow: 1;
}
.note-card:hover .note-card-description {
max-height: 200px;
opacity: 1;
margin-bottom: 14px;
}
.note-card-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
padding-top: 14px;
border-top: 1px solid #e0e0e0;
}
.note-card-size {
font-size: 12px;
color: #777777;
}
.note-download-btn {
background-color: #0f1cd5;
color: white;
border: none;
margin: 0 0 -6px -6px;
padding: 6px 14px;
border-radius: 6px;
font-size: 12px;
cursor: pointer;
transition: background-color 0.2s;
text-decoration: none;
display: inline-block;
}
.note-download-btn:hover {
background-color: #5d5fe2;
}