Sha256: a5e3056cd29f8d82af19908a43f8ac806a0c929d3cbcd8e3bccb7a4b555812c7

Contents?: true

Size: 1.58 KB

Versions: 6

Compression:

Stored size: 1.58 KB

Contents

header {
  background-color: $header-background-color;
  border-bottom: 1px solid $header-border-color;  

  hgroup {
    width: $page-width;
    height: $header-height;
    margin: 0 auto;    
    position: relative;

    color: $header-text-color;
    font-family: $heading-font;
    font-weight: bold;
  }
  
  h1 {
    display: inline-block;
    overflow: hidden;
    margin: 0;
  
    font-size: ($header-height - 4px);
    line-height: $header-height;
    font-variant: small-caps;
    color: $header-title-color;
  
    vertical-align: top;
    
    img {
      display: block;
      padding: 2px 0;
      float: left;
    }
    
    span {
      display: block;
      padding-right: 0.5em;
      float: left;
      height: 100%;
    }
    
    // Padding between the image and the title.
    img + span {
      padding-left: 0.5em;
    }
    
    a, a:visited, a:hover, a:active {
      color: inherit;
      text-decoration: none;
    }
  }
  
  nav {
    display: inline-block;
    font-weight: normal;
    height: 100%;
  }
  nav > ol {
    @include menu-list($hover-color: $header-menu-hover-color,
                       $hover-text-color: $header-menu-hover-text-color,
                       $border-color: $header-border-color,
                       $last-item-right: true);
    background-color: $header-background-color;

    font-size: $header-menu-font-size;
    line-height: $header-menu-line-height;
    height: 100%;
    > li > a {
      padding-top: $header-height - $header-menu-line-height;
      height: $header-menu-line-height;
    }
  }
  nav a img {
    vertical-align: baseline;
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pwnstyles_rails-0.1.20 app/assets/stylesheets/modules/_header.css.scss
pwnstyles_rails-0.1.19 app/assets/stylesheets/modules/_header.css.scss
pwnstyles_rails-0.1.18 app/assets/stylesheets/modules/_header.css.scss
pwnstyles_rails-0.1.17 app/assets/stylesheets/modules/_header.css.scss
pwnstyles_rails-0.1.16 app/assets/stylesheets/modules/_header.css.scss
pwnstyles_rails-0.1.15 app/assets/stylesheets/modules/_header.css.scss