UNPKG

rangetouch

Version:

A super tiny library to make input type='range' sliders work better on touch devices

60 lines (53 loc) 1.03 kB
// ========================================================================== // Typography // ========================================================================== // Headings h1, h2 { letter-spacing: -.025em; color: inherit; margin: 0 0 (@padding-base / 2); line-height: 1.2; .font-smoothing(); } h1 { .font-size(@font-size-h1); } // Paragraph and small p, small { margin: 0 0 @padding-base; } small { display: block; padding: 0 (@padding-base / 2); .font-size(@font-size-small); } // Lists ul, li { list-style: none; margin: 0; padding: 0; } // Links a { text-decoration: none; color: @link-color; border-bottom: 1px dotted currentColor; transition: background .3s ease, color .3s ease, border .3s ease; &:hover, &:focus { color: @link-color-hover; border-bottom-color: rgba(0,0,0,0); } &:focus { .tab-focus(); } &.logo { border: 0; } } .color--twitter { color: @color-twitter; }