aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/hmno_blogg.scss
blob: fda0b773f3f787382249ab67466600f8434face0 (plain) (blame)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* This file is part of hmnoweb, a RefineryCMS based webapp for heavymetal.no
 * Copyright (C) 2018  Harald Eilertsen <haraldei@anduin.net>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License version 3
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
@import "color_scheme";

#blog_posts {
  article {
    background-color: $bg2;
    border: 1px solid $dark-border-fg;
    padding: 3px;
    margin-bottom: 1em;

    footer {
      position: relative;
      border: 0;
      clear: both;
      height: 6mm;
      .comment_count {
        position: absolute;
        top: 1mm;
        right: 0;
      }
    }
  }
}

#blog_posts, #show_blog_post {
    header {
      padding-bottom: $spacing;

      .details {
        color: $deemph-text-fg;
        font-size: 75%;
      }
    }
}

#comments {
    article {
        min-height: 60px;
        border: 1px solid $dark-border-fg;
        padding: $spacing / 2;
        img {
            float: left;
        }
        footer {
            border: 0;
            padding: 0;
            font-size: 80%;
            background: inherit;
        }
        p {
            margin-left: 60px + $spacing;
            &:first-of-type {
                margin-top: 0;
            }
        }
    }
}

#new_comment, #new_inquiry {
    .field {
        padding: 2px;
        label {
            display: inline-block;
            min-width: 5em;
            vertical-align: top;
        }
        input, textarea {
            border: 1px solid $dark-border-fg;
            background-color: $bg2;
            color: $fg;
        }
    }
    .actions, .form-actions {
        margin-left: 5.2em;
    }
}