From 2bbae4cf6899f2620ce5764a7b91b79eaee4b424 Mon Sep 17 00:00:00 2001 From: danpros Date: Fri, 23 Feb 2024 13:17:10 +0700 Subject: [PATCH] Fix styling --- themes/blog/css/styles.css | 7 +++++++ themes/clean/css/style.css | 7 +++++++ themes/doks/css/style.css | 18 ++++++++++++++++-- themes/doks/main.html.php | 16 +++++++++------- themes/doks/post.html.php | 2 +- themes/doks/profile.html.php | 16 +++++++++------- themes/logs/css/style.css | 7 +++++++ themes/readable/css/style.css | 7 +++++++ themes/twentyfifteen/css/style.css | 7 +++++++ themes/twentyfifteen/css/style_v2.css | 7 +++++++ themes/twentysixteen/css/style.css | 7 +++++++ 11 files changed, 84 insertions(+), 17 deletions(-) diff --git a/themes/blog/css/styles.css b/themes/blog/css/styles.css index 5429919..b671b9c 100644 --- a/themes/blog/css/styles.css +++ b/themes/blog/css/styles.css @@ -629,3 +629,10 @@ ul.month { margin:0 0 0 10px; float:right; } + +#more { + display:block; + height:2rem; + margin-top:-2rem; + content:"" +} \ No newline at end of file diff --git a/themes/clean/css/style.css b/themes/clean/css/style.css index 2e8ef50..b2c84ff 100644 --- a/themes/clean/css/style.css +++ b/themes/clean/css/style.css @@ -950,3 +950,10 @@ ul.archivegroup { list-style: none; background:none; } + +#more { + display:block; + height:2rem; + margin-top:-2rem; + content:"" +} \ No newline at end of file diff --git a/themes/doks/css/style.css b/themes/doks/css/style.css index fda6a10..a7d4d24 100644 --- a/themes/doks/css/style.css +++ b/themes/doks/css/style.css @@ -3178,6 +3178,12 @@ table { margin-top:-6rem; content:"" } +#more { + display:block; + height:6rem; + margin-top:-6rem; + content:"" +} .anchor { visibility:hidden; padding-left:0.5rem @@ -3217,12 +3223,11 @@ p.meta { .blog.list .card { margin-top:2rem; margin-bottom:2rem; - transition:transform 0.3s } .home .card:hover, .contributors.list .card:hover, .blog.list .card:hover { - transform:scale(1.025) + } .home .card-body, .contributors.list .card-body, @@ -3533,3 +3538,12 @@ body.dark .docs-bar .menu-icon .navicon::before, body.dark .docs-bar .menu-icon .float-right { float:right; } + +.jump-link a { + border: 1px solid #e9ecef; +} + +.dark .jump-link a { + color: #8ed6fb; + border: 1px solid #1b1f22; +} \ No newline at end of file diff --git a/themes/doks/main.html.php b/themes/doks/main.html.php index ca299d8..a6442d0 100644 --- a/themes/doks/main.html.php +++ b/themes/doks/main.html.php @@ -69,9 +69,9 @@
image)) {?> - - - + <?php echo $post->title;?> + + <?php echo $post->title;?> video)):?> @@ -90,17 +90,18 @@
link)) { ?> -

- title;?> +

+ title;?>

-

title;?>

+

title;?>

- description;?> + body, $post->url); ?> +

@@ -115,6 +116,7 @@ readTime;?> min + ' . i18n('Edit') . ''; } ?>

diff --git a/themes/doks/post.html.php b/themes/doks/post.html.php index 60a9054..5534970 100644 --- a/themes/doks/post.html.php +++ b/themes/doks/post.html.php @@ -31,7 +31,7 @@
image)):?> - + <?php echo $post->title;?> video)):?> diff --git a/themes/doks/profile.html.php b/themes/doks/profile.html.php index 173bf7a..d6ddf28 100644 --- a/themes/doks/profile.html.php +++ b/themes/doks/profile.html.php @@ -16,9 +16,9 @@
image)) {?> - - - + <?php echo $post->title;?> + + <?php echo $post->title;?> video)):?> @@ -37,17 +37,18 @@
link)) { ?> -

- title;?> +

+ title;?>

-

title;?>

+

title;?>

- description;?> + body, $post->url); ?> +

@@ -62,6 +63,7 @@ readTime;?> min + ' . i18n('Edit') . ''; } ?>

diff --git a/themes/logs/css/style.css b/themes/logs/css/style.css index 937c94e..f33fa7f 100644 --- a/themes/logs/css/style.css +++ b/themes/logs/css/style.css @@ -980,3 +980,10 @@ ul.archivegroup { .archivegroup li.expanded, .archivegroup li.collapsed { list-style: none; } + +#more { + display:block; + height:2rem; + margin-top:-2rem; + content:"" +} \ No newline at end of file diff --git a/themes/readable/css/style.css b/themes/readable/css/style.css index 9474775..5256acd 100644 --- a/themes/readable/css/style.css +++ b/themes/readable/css/style.css @@ -1031,3 +1031,10 @@ ul.archivegroup { .archivegroup li.expanded, .archivegroup li.collapsed { list-style: none; } + +#more { + display:block; + height:2rem; + margin-top:-2rem; + content:"" +} \ No newline at end of file diff --git a/themes/twentyfifteen/css/style.css b/themes/twentyfifteen/css/style.css index 6d9cfb8..c46f895 100644 --- a/themes/twentyfifteen/css/style.css +++ b/themes/twentyfifteen/css/style.css @@ -6140,3 +6140,10 @@ ul.month { .feed-link a { height:100%; } + +#more { + display:block; + height:2rem; + margin-top:-2rem; + content:"" +} \ No newline at end of file diff --git a/themes/twentyfifteen/css/style_v2.css b/themes/twentyfifteen/css/style_v2.css index 845d427..141a21e 100644 --- a/themes/twentyfifteen/css/style_v2.css +++ b/themes/twentyfifteen/css/style_v2.css @@ -6147,3 +6147,10 @@ ul.month { .feed-link a { height:100%; } + +#more { + display:block; + height:2rem; + margin-top:-2rem; + content:"" +} \ No newline at end of file diff --git a/themes/twentysixteen/css/style.css b/themes/twentysixteen/css/style.css index ef2c6bd..230e15c 100644 --- a/themes/twentysixteen/css/style.css +++ b/themes/twentysixteen/css/style.css @@ -4066,3 +4066,10 @@ ul.month { margin:0 0 0 10px; float:right; } + +#more { + display:block; + height:2rem; + margin-top:-2rem; + content:"" +} \ No newline at end of file