aboutsummaryrefslogblamecommitdiffstats
path: root/app/assets/stylesheets/hmno_blogg.scss
blob: 1804823fc9c641ffedb080233966cd76688d28ae (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                             

                       

             

                                      


                       

                         
                

                  

                           
                 




                 







                               


                            


























                                          
                            




                                  
                                






                                              
                             


                           
/* 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%;
        .blog_author {
            display: inline;
        }
      }
    }
}

#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;
    }
}