diff --git a/lib/chibi-core b/lib/chibi-core index c660801c..b6097259 160000 --- a/lib/chibi-core +++ b/lib/chibi-core @@ -1 +1 @@ -Subproject commit c660801c2b1d9dcd1807270f2a3ad18dcdcabc6f +Subproject commit b6097259d4da7f337718c1afe9a285daa7185f19 diff --git a/public_html/media/css/comment-small.css b/public_html/media/css/comment-small.css index 4224ae62..e138feb8 100644 --- a/public_html/media/css/comment-small.css +++ b/public_html/media/css/comment-small.css @@ -32,14 +32,14 @@ .comment .delete { font-size: small; } -.comment .edit:before, -.comment .delete:before { +.comment .edit a:before, +.comment .delete a:before { margin-left: 0.2em; content: ' ['; color: silver; } -.comment .edit:after, -.comment .delete:after { +.comment .edit a:after, +.comment .delete a:after { content: ']'; color: silver; } diff --git a/public_html/media/css/core.css b/public_html/media/css/core.css index 8649caef..f8c2ab56 100644 --- a/public_html/media/css/core.css +++ b/public_html/media/css/core.css @@ -164,7 +164,7 @@ footer a { #sidebar .key { - padding-right: 0.5em; + padding-right: 0.3em; } #sidebar .key-value { max-width: 100%; diff --git a/public_html/media/css/logs.css b/public_html/media/css/logs.css index bb96f81b..bff50336 100644 --- a/public_html/media/css/logs.css +++ b/public_html/media/css/logs.css @@ -7,11 +7,11 @@ max-width: 50%; } -pre { +code { font-size: 11pt; margin: 0; } -pre strong { +code strong { background: #fee; } diff --git a/public_html/media/css/post-view.css b/public_html/media/css/post-view.css index b065b38c..97be76a2 100644 --- a/public_html/media/css/post-view.css +++ b/public_html/media/css/post-view.css @@ -88,6 +88,15 @@ embed { font-weight: bold; } +#sidebar .score a:first-of-type:before { + content: '['; + color: black; +} +#sidebar .score a:last-of-type:after { + content: ']'; + color: black; +} + #sidebar .left a, #sidebar .right a { display: inline-block; @@ -140,7 +149,7 @@ i.icon-fav { vertical-align: middle; } .hl-option span { - padding-left: 0.6em; + padding-left: 0.4em; vertical-align: middle; } .permalink .ext:after { diff --git a/src/Helpers/TextHelper.php b/src/Helpers/TextHelper.php index 825e09e8..bdb0904a 100644 --- a/src/Helpers/TextHelper.php +++ b/src/Helpers/TextHelper.php @@ -222,13 +222,6 @@ class TextHelper return $path; } - public static function secureWhitespace($text) - { - $text = str_replace(["\r\n", "\r", "\n"], ' ', $text); - $text = str_replace(' ', ' ', $text); - return $text; - } - const HTML_OPEN = 1; const HTML_CLOSE = 2; const HTML_LEAF = 3; diff --git a/src/Views/auth-login.phtml b/src/Views/auth-login.phtml index 015d914c..5dd50076 100644 --- a/src/Views/auth-login.phtml +++ b/src/Views/auth-login.phtml @@ -4,7 +4,10 @@ CustomAssetViewDecorator::addStylesheet('auth.css'); ?>