]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/Resources/static/themes/material/css/article.scss
Merge pull request #4317 from wallabag/enhance-article-display
[github/wallabag/wallabag.git] / app / Resources / static / themes / material / css / article.scss
index 27ff52214d521620f735c2bb7b85a306f8e2d134..a1c6810e110346f798d274a2967cf1864c89e1ff 100644 (file)
@@ -6,11 +6,15 @@
   font-size: 20px;
   margin: 0 auto;
   max-width: 45em;
+  padding: 5px 20px;
+  background-color: #fff;
+  box-shadow: 0 0 10px #ccc;
 
   article {
     color: #424242;
     font-size: 18px;
     line-height: 1.7em;
+    overflow-wrap: break-word;
 
     h1,
     h2,
 
       .stats {
         font-size: 0.8em;
-        margin: 8px 15px 5px;
+        margin: 8px 5px 5px;
 
         li {
           display: inline-flex;
           vertical-align: middle;
-          margin: 0 5px;
+          margin: 3px 5px;
+
+          i.material-icons {
+            color: #3e3e3e;
+            margin-right: 3px;
+          }
         }
 
         a {
   &:hover {
     width: 260px !important;
 
-    .collapsible-body {
-      height: auto;
-
-      li a i.material-icons {
-        margin: auto 5px auto -8px;
-      }
-    }
-
     span {
       opacity: 1;
     }
   }
+
+  .collapsible-body {
+    height: auto;
+
+    li a i.material-icons {
+      margin: auto 5px auto -8px;
+    }
+  }
 }
 
 .progress {