X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=assets%2Fmain%2Fsass%2Fcomponents%2F_icons.scss;h=df7e2da9c0f3115881d90f90ad2905487d1fbb53;hb=HEAD;hp=fb9e8297d2b39409d95ccdf82edadb6b846f5dbb;hpb=8af2079e4b096e77ba2f922d6a18224ce01cb7bd;p=editorial.git diff --git a/assets/main/sass/components/_icons.scss b/assets/main/sass/components/_icons.scss index fb9e829..df7e2da 100644 --- a/assets/main/sass/components/_icons.scss +++ b/assets/main/sass/components/_icons.scss @@ -1,52 +1,30 @@ -/// -/// Massively by HTML5 UP -/// html5up.net | @ajlkn -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Icons */ - - ul.icons { - cursor: default; - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 0 0.5rem 0 0; - vertical-align: middle; - - &:last-child { - padding-right: 0; - } - - .icon { - &:before { - width: 2.25rem; - height: 2.25rem; - line-height: 2.25rem; - display: inline-block; - text-align: center; - border-radius: 100%; - font-size: 1.25rem; - } - } - } - - &.alt { - li { - .icon { - &:before { - @include vendor('transition', ( - 'color #{_duration(transition)} ease-in-out', - 'background-color #{_duration(transition)} ease-in-out', - 'border-color #{_duration(transition)} ease-in-out', - 'box-shadow #{_duration(transition)} ease-in-out' - )); - - font-size: 1rem; - } - } - } - } +/// +/// Editorial by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Icons */ + + ul.icons { + cursor: default; + list-style: none; + padding-left: 0; + + li { + display: inline-block; + padding: 0 1em 0 0; + + &:last-child { + padding-right: 0; + } + + .icon { + color: inherit; + + &:before { + font-size: 1.25em; + } + } + } } \ No newline at end of file