view default/static/forum.css @ 122:9d95b58200df

file: files handling first draft: file/overview.html generate a simple files/directories listing
author Goffi <goffi@goffi.org>
date Sun, 11 Mar 2018 19:21:46 +0100
parents 5992b774a6a4
children 0a0d9a953d98
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 {
    width: 1.5rem;
    vertical-align: middle;
    padding-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;
    }
}