aboutsummaryrefslogblamecommitdiffstats
path: root/app/assets/stylesheets/hmno_blogg.scss
blob: 63fa95e13e3ae864fc10ed6a2fe09ebfc191d442 (plain) (tree)
1
2
3
4
5
6
7
8
9

                       

             

                                      


                       

                         
                






                    

                           
                 




                 


































                                          
                            




                                  
                                






                                              
                             


                           
@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;
      padding: {
        top: 5px;
        bottom: 3px;
      }
      p {
        margin: 0;
      }
      .comment_count {
        position: absolute;
        top: 5px;
        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;
    }
}