-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.css
More file actions
204 lines (173 loc) · 4.53 KB
/
notes.css
File metadata and controls
204 lines (173 loc) · 4.53 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
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/* === notes_style.css === */
/* Filter section styling */
.filter-section {
margin-bottom: 2em;
padding: 1em;
background-color: #f5f5f5;
border-radius: 6px;
border: 1px solid #ddd;
}
.filter-group {
display: inline-block;
margin-right: 1.5em;
margin-bottom: 0.5em;
}
.filter-group label {
font-weight: 500;
margin-right: 0.5em;
color: #333;
}
.filter-group select {
padding: 0.4em 0.8em;
border: 1px solid #ccc;
border-radius: 4px;
background-color: white;
font-size: 0.9em;
min-width: 120px;
}
.filter-group select:focus {
outline: none;
border-color: #007acc;
box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.2);
}
/* Note entry styling */
.note-entry {
border: 1px solid #dcdcdc; /* Light grey border */
border-radius: 6px; /* Rounded corners */
margin-bottom: 1.5em; /* Space between note entries */
background-color: #f9f9f9; /* Slightly off-white background */
box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Subtle shadow */
overflow: hidden; /* Keeps contents inside rounded borders */
}
.note-header {
padding: 0.8em 1.2em; /* Padding inside the header */
border-bottom: 1px solid #eee; /* Separator line */
background-color: #f0f0f0; /* Slightly darker header background */
}
.note-header h3 {
margin: 0 0 0.2em 0; /* Adjust spacing around the title */
font-size: 1.2em; /* Make title slightly larger */
}
.note-header h3 a {
text-decoration: none;
color: #1a1a1a;
transition: color 0.2s ease;
}
.note-header h3 a:hover {
color: #007acc;
}
.note-meta {
font-size: 0.85em; /* Smaller text for metadata */
color: #555; /* Grey color for metadata */
margin-top: 0.3em;
}
.note-meta span {
margin-right: 0.5em; /* Add a little space after each metadata item */
}
.note-description {
font-size: 0.9em;
color: #444;
margin-top: 0.6em;
line-height: 1.4;
font-style: italic;
}
/* Tags styling */
.tags {
margin-top: 0.6em;
}
.tag {
display: inline-block;
background-color: #e9ecef;
color: #495057;
padding: 0.2em 0.5em;
border-radius: 3px;
font-size: 0.8em;
margin-right: 0.3em;
cursor: pointer;
transition: background-color 0.2s ease;
}
.tag:hover {
background-color: #dee2e6;
}
.note-links {
padding: 0.8em 1.2em; /* Padding around the links section */
}
.note-links ul {
list-style: none; /* Remove default bullet points */
padding: 0;
margin: 0;
}
.note-links li {
margin-bottom: 0.8em; /* Space between links */
}
/* Remove the last link's margin */
.note-links li:last-child {
margin-bottom: 0;
}
.note-links a {
display: block; /* Make the whole area clickable */
text-decoration: none; /* Remove underline */
color: #333; /* Dark text color for links */
padding: 0.6em; /* Padding inside the link area */
border-radius: 4px; /* Slightly rounded corners for the link */
transition: background-color 0.2s ease; /* Smooth hover effect */
}
.note-links a:hover {
background-color: #e9e9e9; /* Background color on hover */
color: #000; /* Darken text slightly on hover */
}
.note-links .link-title {
font-weight: 600; /* Bold title for the link */
display: block; /* Put title on its own line */
margin-bottom: 0.2em;
color: #1a1a1a; /* Slightly darker title color */
}
.note-links .link-description {
font-size: 0.9em; /* Slightly smaller text for description */
color: #444; /* Grey text color for description */
line-height: 1.4;
}
/* Individual note page styling */
.math-note-content .note-meta-container {
background-color: #f8f9fa;
padding: 1em;
border-radius: 6px;
border: 1px solid #e9ecef;
margin-bottom: 1.5em;
}
.math-note-content .note-meta-container p {
margin: 0.3em 0;
}
.math-note-content .description {
font-size: 1.1em;
color: #495057;
line-height: 1.6;
margin-bottom: 1.5em;
padding: 1em;
background-color: #f8f9fa;
border-left: 4px solid #007acc;
border-radius: 0 6px 6px 0;
}
.back-link {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid #eee;
}
.back-link a {
color: #007acc;
text-decoration: none;
font-weight: 500;
}
.back-link a:hover {
text-decoration: underline;
}
/* Make sure the .main container has some padding if it doesn't already */
.main {
padding: 1em; /* Adjust as needed */
}
/* Optional: Add a general heading style if you used one */
.main h2 {
margin-bottom: 1em;
border-bottom: 1px solid #ccc;
padding-bottom: 0.3em;
}