about summary refs log tree commit diff stats
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 12:16:18 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 12:16:18 -0400
commit27482983496cd0b8b6fa7dc943a1b05959735835 (patch)
treebc63dd51607917101d11e3ab8547808173885023 /app/assets/stylesheets
parent0333f3e258026696af265f777f862e612bab1bd7 (diff)
downloadthoughts-27482983496cd0b8b6fa7dc943a1b05959735835.tar.gz
thoughts-27482983496cd0b8b6fa7dc943a1b05959735835.tar.bz2
thoughts-27482983496cd0b8b6fa7dc943a1b05959735835.zip
Nice pagination!
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/main/entries.scss50
-rw-r--r--app/assets/stylesheets/main/layout.scss4
2 files changed, 54 insertions, 0 deletions
diff --git a/app/assets/stylesheets/main/entries.scss b/app/assets/stylesheets/main/entries.scss index 1a42d85..a4e9463 100644 --- a/app/assets/stylesheets/main/entries.scss +++ b/app/assets/stylesheets/main/entries.scss
@@ -305,3 +305,53 @@
305 } 305 }
306 } 306 }
307} 307}
308
309.pagination {
310 text-align: center;
311 padding: 0.3em;
312 cursor: default;
313 margin-bottom: 1em;
314
315 a, span, em {
316 padding: 0.2em 0.5em;
317 }
318
319 .disabled {
320 color: #aaaaaa;
321 }
322
323 .current {
324 font-style: normal;
325 font-weight: bold;
326 color: #ff0084;
327 }
328
329 a {
330 border: 1px solid #dddddd;
331 color: #0063dc;
332 text-decoration: none;
333
334 &:hover, &:focus {
335 border-color: #003366;
336 background: #0063dc;
337 color: white;
338 }
339 }
340
341 .page_info {
342 color: #aaaaaa;
343 padding-top: 0.8em;
344 }
345
346 .previous_page, .next_page {
347 border-width: 2px;
348 }
349
350 .previous_page {
351 margin-right: 1em;
352 }
353
354 .next_page {
355 margin-left: 1em;
356 }
357}
diff --git a/app/assets/stylesheets/main/layout.scss b/app/assets/stylesheets/main/layout.scss index 9283f36..281d820 100644 --- a/app/assets/stylesheets/main/layout.scss +++ b/app/assets/stylesheets/main/layout.scss
@@ -203,3 +203,7 @@ blockquote.bubble.bottom::after {
203.clear { 203.clear {
204 clear: both; 204 clear: both;
205} 205}
206
207h2.centered {
208 text-align: center;
209}