mirror of
https://github.com/4cuck/teapawt.git
synced 2026-10-27 19:04:35 +00:00
Center and compact timeline pagination controls.
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
f0c1b6c20c
commit
fadab2cb13
2 files changed
+43
-1
No files matched your search
@@ -509,6 +509,48 @@ main .container {
|
||||
.show-more { padding: 0; }
|
||||
.show-more a { display: block; padding: 8px; color: var(--accent); }
|
||||
|
||||
/* Timeline pagination: compact centered controls instead of full-width bars. */
|
||||
.timeline > .show-more,
|
||||
.timeline > .timeline-item.show-more,
|
||||
.timeline.media-gallery-view > .show-more {
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: min(100%, 900px);
|
||||
margin: 0 auto;
|
||||
padding: 12px;
|
||||
border-top: 1px solid var(--line);
|
||||
background: var(--surface);
|
||||
}
|
||||
.timeline.media-gallery-view > .show-more {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.timeline > .show-more a,
|
||||
.timeline > .timeline-item.show-more a,
|
||||
.timeline.media-gallery-view > .show-more a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: auto;
|
||||
min-width: 132px;
|
||||
min-height: 32px;
|
||||
padding: 6px 18px;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
background: var(--surface-raised);
|
||||
color: var(--accent);
|
||||
font-size: 13px;
|
||||
line-height: 1.2;
|
||||
text-decoration: none;
|
||||
}
|
||||
.timeline > .show-more a:hover,
|
||||
.timeline > .timeline-item.show-more a:hover,
|
||||
.timeline.media-gallery-view > .show-more a:hover {
|
||||
background: color-mix(in srgb, var(--surface-raised) 78%, var(--text) 12%);
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.profile-tabs {
|
||||
width: min(100%, var(--page-width));
|
||||
max-width: var(--page-width);
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ use regex::Regex;
|
||||
use crate::{config::Config, types::Prefs};
|
||||
|
||||
pub const STYLE_CSS: &str = "/css/style.css?teapawt9";
|
||||
pub const CLEAN_CSS: &str = "/css/clean.css?teapawt26";
|
||||
pub const CLEAN_CSS: &str = "/css/clean.css?teapawt28";
|
||||
pub const FONTELLO_CSS: &str = "/css/fontello.css";
|
||||
|
||||
/// Builder for rendering a full page layout.
|
||||
|
||||
Reference in new issue
Block a user