aboutsummaryrefslogtreecommitdiff
path: root/design/sass/_forum.scss
blob: cedae2dfa103a090199d1721875f190c3d0c26df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.topic-list {
    table-layout: fixed;
    border-collapse: collapse; 
    th:first-of-type, td:first-of-type {
        padding-left: 10px;
    }
    tr {
        border-bottom: 1px solid #e9e9e9;
        &:hover {
            background-color: darken(#fff, 1.5);
        }
    }
    td {
        width: 100%;
        border: none;
    }
    a {
        color: $body_font_color;
        text-decoration: none;
    }
    .title {
        @include fontsize(20);
        @include fancy_sans;
        color: #2a2a2a;
    }
    .category {
        @include fontsize(12);
        @include fancy_sans_bold;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .num {
        text-align: center; 
    }
    .topic-users { width: 80px;}
    .topic-posts, .topic-views { width: 20px; }
    .topic-age { width: 40px;}
}
.topic-container {
    max-width: 70%;
    position: relative;
    flex:1;
    order: 2;
    background: #fff;
    z-index: 4;
    margin: 3rem auto 0;
    h1 {
        @include fancy_sans_bold;
        @include fontsize(28);
        color: #2a2a2a;
        line-height: 1;
        margin: 0;
    }
    h2 {
        @include fontsize(14);
        margin: 0 0 1rem 0;
        a {
            color: $body_font_color;
            text-decoration: none;
        }
    }
    .topic-header {
        border-bottom: 1px solid lighten($body_font_light, 20);
        margin: 0 0 2rem 0;
    }
}
#post-list {
    list-style-type: none;
    padding: 0;
}