From 446e8352b5bdc3752538b3b0f4ca5fe28f788fed Mon Sep 17 00:00:00 2001 From: Peter Hrdlica Date: Mon, 10 Oct 2016 21:04:25 +0200 Subject: [PATCH] FEATURE: changed graphics of articles --- .../Binarity/Resources/assets/css/app.css | 36 +++++++++++++++++-- .../modules/article/visitor/default.blade.php | 12 +++---- 2 files changed, 38 insertions(+), 10 deletions(-) diff --git a/templates/Binarity/Resources/assets/css/app.css b/templates/Binarity/Resources/assets/css/app.css index f3270e16..8bfaeabf 100644 --- a/templates/Binarity/Resources/assets/css/app.css +++ b/templates/Binarity/Resources/assets/css/app.css @@ -5358,6 +5358,9 @@ table.hover tr:nth-of-type(even):hover { .m-t-25 { margin-top: 25px; } +.m-t-35 { + margin-top: 35px; +} .m-t-50 { margin-top: 50px; } @@ -9237,13 +9240,24 @@ article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,secti .article-list-item .date.big { - font-size: 4em; + font-size: 5em; line-height: 1em; + font-weight: 500; + color: #414042; +} +.article-list-item .date.month { + top: -15px; + position: relative; + right: 3px; + color: #414042; } .gravatar { border-radius: 50%; } +.author .gravatar { + width: 40px; +} .article-list-item .author { line-height: 1; @@ -9262,11 +9276,13 @@ article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,secti } article h1 { - font-size: 2em; + font-size: 1.9em; + font-weight: 700; } article h2 { margin-top: 20px; - font-size: 1.5em; + font-size: 1.35em; + color: #414042; } article h3 { @@ -9274,6 +9290,20 @@ article h3 { font-size: 1.2em; } +.off-canvas-content .article-list-item div { + color: #414042; +} + .comment aside { line-height: 1; +} + +.comments-form textarea { + margin-bottom: 3px; +} +.comments-form .gravatar { + width: 50px; + float: right; + padding: 0; + margin: 0; } \ No newline at end of file diff --git a/templates/Binarity/Resources/views/modules/article/visitor/default.blade.php b/templates/Binarity/Resources/views/modules/article/visitor/default.blade.php index 69a93026..13b19183 100644 --- a/templates/Binarity/Resources/views/modules/article/visitor/default.blade.php +++ b/templates/Binarity/Resources/views/modules/article/visitor/default.blade.php @@ -8,12 +8,10 @@ @@ -43,7 +41,7 @@ -

Komentáře

+

Komentáře

@foreach($page->comments as $comment)
@@ -70,7 +68,7 @@ -
+
@if($loggedUser) @@ -101,7 +99,7 @@
- +