aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/hmno_blogg.scss
blob: d9b8e663e1f999cc92f401911efc3f64a577270d (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
@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;
    }
}