view 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
line wrap: on
line source

@import 'blog.css'; /* needed as blog/articles.html is included */

#forums {
    margin: 2em auto 0 auto;
    width: 90%;
}

ul.forum {
    box-sizing: border-box;
    list-style: none;
    display: flex;
    margin: 0 auto;
}

ul.forum>li {
    width: 100%;
}

ul.forum>li>a {
    border: 0.7rem solid #ddd;
    border-radius: 0.5em;
    display: block;
    padding: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
}

a.forum_actif:hover {
    background-color: #43d2f6;
}

p.forum_short-desc {
    color: #666;
    margin: 0;
    font-size: 0.8em;
}

.forum__topics {
    margin-top: 3em;
}

.forum__topics>div {
    box-sizing: border-box;
    width: 80%;
    margin: 0.5em auto;
    padding: 0.2em 2em;
    background: #eee;

}

.forum__topics>:hover {
    background-color: #43d2f6;
}

.forum__topics img.avatar {
    vertical-align: middle;
    margin-right: 1em;
}

.forum__topics a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.textbox input {
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 500px) {
    .textbox input {
        min-width: 26em;
        width: auto;
    }
}