diff --git a/assets/common/styles.css b/assets/common/styles.css index 8151a71..a233231 100755 --- a/assets/common/styles.css +++ b/assets/common/styles.css @@ -46,13 +46,13 @@ hr { } table { - border-collapse: collapse; + border-collapse: collapse; } td, th { - border: 1px solid #000000; - text-align: left; - padding: 8px; + border: 1px solid #000000; + text-align: left; + padding: 8px; } img { @@ -72,11 +72,6 @@ code { white-space: pre; } -.noborder-table td, .noborder-table th { - border: none; - text-align: left; -} - #header { border-bottom: double; } @@ -119,6 +114,11 @@ code { padding: 1em; } +.noborder-table td, .noborder-table th { + border: none; + text-align: left; +} + .image-container-right { border-style: solid; border-width: thin; @@ -208,6 +208,12 @@ code { margin-bottom: 0; } +.centered-container { + width: 100%; + display: flex; + justify-content: center; +} + .frac { display: inline-block; position: relative; @@ -266,21 +272,40 @@ code { background-repeat: repeat; background-color: black; color: white; - border: 1px solid black; + border-bottom: 1px solid black; } .comment .comment-child-wrapper{ border-left: 1px solid black; } -.comment .comment .comment-own-wrapper { - border-top: 0px; -} - .comment .comment-metadata, .comment .comment-content { padding: 0.5em; } -.comment-metadata .comment-date { - float: right; +.comment-metadata { + width: 100%; +} + +.comment-metadata tr, .comment-metadata td{ + border: none; + padding-bottom: 0px; +} + +.comment-metadata .comment-author { + text-align: left; +} + +.comment-metadata .comment-date { + text-align: right; +} + +.comment-metadata .comment-id { + text-align: right; + color: black; +} + +.comment-box { + width: 100%; + height: 5em; } diff --git a/docs/www/blog/article.php b/docs/www/blog/article.php index 7dc9f67..0d04e3b 100644 --- a/docs/www/blog/article.php +++ b/docs/www/blog/article.php @@ -21,22 +21,31 @@ class BlogpostComment printf("
%s
%s
%s
%s
%s
", $comment_id, $poster_id, $poster_name, $blogpost_id, $timestamp, $content); } } @@ -159,7 +167,7 @@ class Blogpost * Display the comments for this post and their children. */ public function display_comments(){ - printf("
Comments:
"); + printf("You didn't request an article
+ To request an article, set the `guid` GET parameter to the GUID of the article. +The article you requested doesn't exist.
+ If you copied the address manually, try to check if you did so correctly. +"); + +// Display post comment form. +printf(" +
Comments:
+ +