Summary Files Commits Branches @commit @diff @stats
path: root / src / utilities.less
diff options
context:
space:
mode:
Commitfe73c2d01b5bd34bd231fe8444884fb3448c0b62 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-03-28 16:29:01 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-03-28 16:29:01 +0800
Filese58d11d6ed924e86ced76e408d69313807821d4e /src/utilities.less
Spectre-Dark-Gruvbox-fe73c2d01b5bd34bd231fe8444884fb3448c0b62.tar
Spectre-Dark-Gruvbox-fe73c2d01b5bd34bd231fe8444884fb3448c0b62.tar.gz
Spectre-Dark-Gruvbox-fe73c2d01b5bd34bd231fe8444884fb3448c0b62.zip
Parent740c6b45de8fa8af3411b4df1040eee68da20b90 (diff)
update units to rem
1 files changed, 11 insertions, 11 deletions
-rw-r--r--src/utilities.less22
diff --git a/src/utilities.less b/src/utilities.less
index f3b4d89..e925600 100644
--- a/src/utilities.less
+++ b/src/utilities.less
@@ -42,29 +42,29 @@
}
.mt-10 {
- margin-top: 10px;
+ margin-top: 1rem;
}
.mr-10 {
- margin-right: 10px;
+ margin-right: 1rem;
}
.mb-10 {
- margin-bottom: 10px;
+ margin-bottom: 1rem;
}
.ml-10 {
- margin-left: 10px;
+ margin-left: 1rem;
}
.mt-5 {
- margin-top: 5px;
+ margin-top: .5rem;
}
.mr-5 {
- margin-right: 5px;
+ margin-right: .5rem;
}
.mb-5 {
- margin-bottom: 5px;
+ margin-bottom: .5rem;
}
.ml-5 {
- margin-left: 5px;
+ margin-left: .5rem;
}
// Display
@@ -86,15 +86,15 @@
// Shadow
.shadow {
- box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
+ box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .3);
}
.light-shadow {
- box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
+ box-shadow: 0 .1rem .2rem rgba(0, 0, 0, .15);
}
// Shapes
.rounded {
- border-radius: 3px;
+ border-radius: .3rem;
}
.circle {
border-radius: 50%;