Sha256: 841a03befe58e2f69500606411c1cd590e6c27aa2f8d1a594ebaa824352a7e53
Contents?: true
Size: 1.23 KB
Versions: 5
Compression:
Stored size: 1.23 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; svg { fill: white; } } // 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
5 entries across 5 versions & 1 rubygems