Mercurial > libervia-templates
comparison sat_templates/default/static/forum.css @ 147:33c7ce833d3f
install: setup.py fix + moved "default" dir in a "sat_templates" dir:
the merge request at https://bugs.goffi.org/mr/view/3 was a good basis, but not fully working ("default" dir was removed), this patch fixes it, and do some improvments:
- moved "default" in "sat_templates" dir, which correspond to the python module, so it can be found easily from python
- added VERSION, and mercurial hash detection, in the same way as for Cagou and backend
- slight modification of classifiers
- replaces tabs coming from MR by spaces
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 02 Jun 2018 17:25:43 +0200 |
parents | default/static/forum.css@0a0d9a953d98 |
children | e5ec33c4a8a8 |
comparison
equal
deleted
inserted
replaced
146:7dc00829c32f | 147:33c7ce833d3f |
---|---|
1 @import 'blog.css'; /* needed as blog/articles.html is included */ | |
2 | |
3 #forums { | |
4 margin: 2em auto 0 auto; | |
5 width: 90%; | |
6 } | |
7 | |
8 ul.forum { | |
9 box-sizing: border-box; | |
10 list-style: none; | |
11 display: flex; | |
12 margin: 0 auto; | |
13 } | |
14 | |
15 ul.forum>li { | |
16 width: 100%; | |
17 } | |
18 | |
19 ul.forum>li>a { | |
20 border: 0.7rem solid #ddd; | |
21 border-radius: 0.5em; | |
22 display: block; | |
23 padding: 1rem; | |
24 margin-bottom: 1rem; | |
25 text-decoration: none; | |
26 color: inherit; | |
27 } | |
28 | |
29 a.forum_actif:hover { | |
30 background-color: #43d2f6; | |
31 } | |
32 | |
33 p.forum_short-desc { | |
34 color: #666; | |
35 margin: 0; | |
36 font-size: 0.8em; | |
37 } | |
38 | |
39 .forum__topics { | |
40 margin-top: 3em; | |
41 } | |
42 | |
43 .forum__topics>div { | |
44 box-sizing: border-box; | |
45 width: 80%; | |
46 margin: 0.5em auto; | |
47 padding: 0.2em 2em; | |
48 background: #eee; | |
49 | |
50 } | |
51 | |
52 .forum__topics>:hover { | |
53 background-color: #43d2f6; | |
54 } | |
55 | |
56 .forum__topics img.avatar { | |
57 vertical-align: middle; | |
58 margin-right: 1em; | |
59 } | |
60 | |
61 .forum__topics a { | |
62 display: block; | |
63 text-decoration: none; | |
64 color: inherit; | |
65 } | |
66 | |
67 .textbox input { | |
68 width: 100%; | |
69 box-sizing: border-box; | |
70 } | |
71 | |
72 @media (min-width: 500px) { | |
73 .textbox input { | |
74 min-width: 26em; | |
75 width: auto; | |
76 } | |
77 } |