From c5cdebc5a7bffbec6e4ec7a00c2b3a4518356b0b Mon Sep 17 00:00:00 2001 From: Colin McLeod Date: Sun, 3 May 2015 21:24:04 -0700 Subject: [PATCH] Improve icons less --- app/less/icons.less | 29 ++++++++++++++++++++++------- app/views/_header.html | 4 ++-- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/app/less/icons.less b/app/less/icons.less index a7ef7fc5..bb412dcb 100644 --- a/app/less/icons.less +++ b/app/less/icons.less @@ -1,19 +1,34 @@ -.logo, .icon { +.icon { + display: inline-block; background-repeat: no-repeat; background-position: center; background-size: contain; } .icon { - width: 25px; - height: 25px; + width: 1em; + height: 1em; } -.logo { - display: inline-block; - width: 50px; - height: 50px; +.icon-sm { + width: 0.75em; + height: 0.75em; +} + +.icon-tiny { + width: 0.5em; + height: 0.5em; +} + +.icon-l { + width: 1.5em; + height: 1.5em; +} + +.icon-xl { + width: 3em; + height: 3em; } .mount-T { diff --git a/app/views/_header.html b/app/views/_header.html index 508beb5b..44cf4499 100644 --- a/app/views/_header.html +++ b/app/views/_header.html @@ -1,5 +1,5 @@
-
+
- +
\ No newline at end of file