Sha256: a1cdfe90e4ae0b07b50c2a95deb4fce28d1a9e1111141abcdee8bdfcd45b1a7e
Contents?: true
Size: 1.2 KB
Versions: 9
Compression:
Stored size: 1.2 KB
Contents
@mixin zeros($pos:fixed,$val:0) { position: $pos; bottom: $val; right: $val; left: $val; top: $val; } @mixin ib($align : middle) { vertical-align: $align; display: inline-block; } @mixin center { &:before { @include ib; margin-right: -0.25em; height: 100%; content: ''; } } @mixin cf { &:before { content: " "; display: table; } &:after { content: " "; display: table; clear: both; } } @mixin grid($rep) { grid-template-columns: repeat($rep,1fr); display: grid; } @mixin rotatetitle($origin:bottom left,$deg:-90deg){ transform-origin: $origin; transform: rotate($deg); position: absolute; } @mixin ThemeBook($name,$col) { // Home Books .wrap.book.#{$name} { background-color: $col; } // Topbar Links .btn.nav-book.#{$name} { &:hover { background-color: rgba($col,10%); } } .lnk.nav.#{$name} { color: $col; } // Chapter Covers .area.type-chapter.book-#{$name} { background-color: $col; } // Search Results .block.results-entry.book-#{$name} { color: $col; &:hover { background-color: rgba($col,10%); } .block.results-dot { background-color: $col; } } }
Version data entries
9 entries across 9 versions & 1 rubygems