-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
162 lines (143 loc) · 2.93 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
@tailwind base;
:root {
--primary: #7c3aed;
/* --scroolbar-primary: #eeeeee80; */
--scroolbar-primary: transparent;
/* --scrollbar-secondary: #3e3e3e50; */
--scrollbar-secondary: transparent;
}
[data-white] {
--scroolbar-primary: #eeeeee80;
--scrollbar-secondary: #33333320;
}
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: var(--scrollbar-secondary) var(--scroolbar-primary);
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 10px;
}
*::-webkit-scrollbar-track {
background: var(--scroolbar-primary);
border-radius: 5px;
}
*::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-secondary);
border-radius: 14px;
border: 3px solid var(--scroolbar-primary);
}
@tailwind components;
@tailwind utilities;
@layer utilities {
.bg-cover {
background-size: cover !important;
}
.text-primary {
color: var(--primary) !important;
}
.bg-primary {
background-color: var(--primary) !important;
background-opacity: var(--tw-bg-opacity);
}
.border-primary {
border-color: var(--primary) !important;
border-opacity: var(--tw-border-opacity);
}
.custom-shadow {
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px,
rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}
}
html {
font-size: 14px !important;
}
.note-list-container {
@apply fixed inset-0 min-h-screen w-screen text-left overflow-y-auto py-24;
}
.note-items {
max-width: 90%;
gap: 20px;
column-rule: 5px transparent;
padding: 0;
column-count: 5;
margin: 20px auto;
}
.note-item {
width: 100%;
break-inside: avoid;
}
@media screen and (max-width: 1600px) {
.note-items {
column-count: 4;
}
}
@media screen and (max-width: 1200px) {
.note-items {
column-count: 3;
}
}
@media screen and (max-width: 900px) {
.note-items {
column-count: 2;
}
}
.hover-bookmark {
transition: all 0.3s;
transform: scale(1);
transform-origin: center;
cursor: pointer;
}
.hover-bookmark:hover {
transform: scale(1.4) translateY(-6px);
background-opacity: 1;
}
.hover-bookmark[data-bookmarks]:hover::after {
content: "";
width: 4px;
height: 4px;
display: block;
border-radius: 50%;
background-color: var(--primary, black);
position: absolute;
bottom: -6px;
left: 50%;
transform: translateX(-50%);
}
.hover-bookmark-aside {
transform: scale(1) !important;
}
.remove-bookmark {
scale: 0;
}
.read-it-later-item {
/* display: grid; */
/* grid-template-columns: repeat(4, 1fr); */
gap: 14px;
}
.read-it-later-item > div {
z-index: 1;
}
.read-it-later-item > div::after {
content: '';
display: block;
border: 1px solid transparent;
border-radius: 3px;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: -1;
transition: all 0.4s ease-in-out;
}
.read-it-later-item > div:hover::after {
top: 2px;
left: 2px;
border: 1px solid #eeeeee40;
}
@media screen and (max-width: 1100px) {
}
@media screen and (max-width: 960px) {
}