From b8680d1de69535a8c10812fef44c15684501f0c5 Mon Sep 17 00:00:00 2001 From: Yaroslsav-95 Date: Mon, 8 Oct 2018 07:34:20 +0300 Subject: added publish date to comments, css for comments --- weblog/static/weblog/css/weblog.css | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'weblog/static') diff --git a/weblog/static/weblog/css/weblog.css b/weblog/static/weblog/css/weblog.css index 7adb7bd..201dbdf 100755 --- a/weblog/static/weblog/css/weblog.css +++ b/weblog/static/weblog/css/weblog.css @@ -236,7 +236,6 @@ hr{ .blog-wrapper{ display: flex; flex-wrap: wrap; - max-width: 45em; justify-content: center; } @@ -244,6 +243,7 @@ hr{ flex: 3; padding: 1em; padding-bottom: 3em; + max-width: 45em; } .weblog-sidebar{ @@ -289,6 +289,33 @@ hr{ padding: 2em; } +.alert{ + width: 100%; + padding: 0.5em 1em; + margin: 2em 0; + text-align: center; + color: #222; +} + +.alert-success{ + background-color: #6ed363; +} + +.alert-error{ + background-color: #a33030; +} + +.media, +.media-body{ + width: 100%; +} + +.media-date{ + font-size: 0.8em; + font-style: italic; + text-align: right; +} + @media (max-width: 760px){ .blog-content, .weblog-sidebar{ -- cgit v1.2.3