migdal entry style stub
authorJan Szejko <janek37@gmail.com>
Wed, 5 Apr 2017 08:48:22 +0000 (10:48 +0200)
committerJan Szejko <janek37@gmail.com>
Wed, 5 Apr 2017 08:48:33 +0000 (10:48 +0200)
emels/settings/static.py
emels/static/css/entry.css [new file with mode: 0644]
emels/static/css/entry.scss [new file with mode: 0644]

index 98d58a3..96b1e9c 100644 (file)
@@ -22,6 +22,7 @@ PIPELINE = {
             'source_filenames': (
                 'css/base.scss',
                 'css/main.scss',
             'source_filenames': (
                 'css/base.scss',
                 'css/main.scss',
+                'css/entry.scss',
                 'jquery/colorbox/colorbox.css',
                 'fnpdjango/annoy/annoy.css',
             ),
                 '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 (file)
index 0000000..f572b0f
--- /dev/null
@@ -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 (file)
index 0000000..eaa7559
--- /dev/null
@@ -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;
+        }
+    }
+}