From: Jan Szejko Date: Wed, 5 Apr 2017 08:48:22 +0000 (+0200) Subject: migdal entry style stub X-Git-Url: https://git.mdrn.pl/emels.git/commitdiff_plain/4771729c28576daaa3ef61673c864a339a97cfbd?ds=sidebyside migdal entry style stub --- diff --git a/emels/settings/static.py b/emels/settings/static.py index 98d58a3..96b1e9c 100644 --- a/emels/settings/static.py +++ b/emels/settings/static.py @@ -22,6 +22,7 @@ PIPELINE = { 'source_filenames': ( 'css/base.scss', 'css/main.scss', + 'css/entry.scss', 'jquery/colorbox/colorbox.css', 'fnpdjango/annoy/annoy.css', ), diff --git a/emels/static/css/entry.css b/emels/static/css/entry.css new file mode 100644 index 0000000..f572b0f --- /dev/null +++ b/emels/static/css/entry.css @@ -0,0 +1,12 @@ +.entry .toolbar .social a { + margin-right: 1.875em; } + +.entry-news .avatar { + display: none; } +.entry-news .date { + color: #96928b; } +.entry-news .author { + font-weight: bold; } +.entry-news .more a { + margin-right: 1.25em; + color: #96928b; } diff --git a/emels/static/css/entry.scss b/emels/static/css/entry.scss new file mode 100644 index 0000000..eaa7559 --- /dev/null +++ b/emels/static/css/entry.scss @@ -0,0 +1,25 @@ +@import "vars"; + +.entry { + .toolbar .social a { + margin-right: 30 * $px; + } +} + +.entry-news { + .avatar { + display: none; + } + .date { + color: #96928b; + } + .author { + font-weight: bold; + } + .more { + a { + margin-right: 20 * $px; + color: #96928b; + } + } +}