From 9e54cbbd7dbcf5b854d15016a316e557146c3966 Mon Sep 17 00:00:00 2001 From: Antoine Ouvrard Date: Fri, 17 Sep 2021 15:27:59 +0200 Subject: changement de template html5up + retouche du logo --- assets/sass/components/_icon.scss | 52 ++++++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 20 deletions(-) (limited to 'assets/sass/components/_icon.scss') diff --git a/assets/sass/components/_icon.scss b/assets/sass/components/_icon.scss index 13d22d2..4726114 100644 --- a/assets/sass/components/_icon.scss +++ b/assets/sass/components/_icon.scss @@ -1,21 +1,33 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Identity by HTML5 UP -/// html5up.net | @ajlkn -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* Icon */ - - .icon { - @include icon; - position: relative; - border-bottom: none; - - > .label { - display: none; - } +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Icon */ + + .icon { + @include icon; + border-bottom: none; + position: relative; + + > .label { + display: none; + } + + &:before { + line-height: inherit; + } + + &.solid { + &:before { + font-weight: 900; + } + } + + &.brands { + &:before { + font-family: 'Font Awesome 5 Brands'; + } + } } \ No newline at end of file -- cgit v1.2.3