diff sat_templates/default/static/forum.css @ 149:e5ec33c4a8a8

forum/overview.html: classes modification + better global design
author Goffi <goffi@goffi.org>
date Sun, 03 Jun 2018 18:01:32 +0200
parents 33c7ce833d3f
children
line wrap: on
line diff
--- a/sat_templates/default/static/forum.css	Sun Jun 03 09:00:04 2018 +0200
+++ b/sat_templates/default/static/forum.css	Sun Jun 03 18:01:32 2018 +0200
@@ -1,22 +1,27 @@
 @import 'blog.css'; /* needed as blog/articles.html is included */
 
-#forums {
+.forums {
     margin: 2em auto 0 auto;
     width: 90%;
 }
 
 ul.forum {
+    list-style: none;
+}
+
+ul.forum__panel_sub {
     box-sizing: border-box;
-    list-style: none;
     display: flex;
+    flex-flow: row wrap;
     margin: 0 auto;
 }
 
-ul.forum>li {
-    width: 100%;
+.forum__cat_sub {
+    margin: 0.5em 1em;
+    width: 25em;
 }
 
-ul.forum>li>a {
+.forum__cat_sub>a {
     border: 0.7rem solid #ddd;
     border-radius: 0.5em;
     display: block;
@@ -26,7 +31,7 @@
     color: inherit;
 }
 
-a.forum_actif:hover {
+a.forum_active:hover {
     background-color: #43d2f6;
 }