diff options
author | Mark Otto <markdotto@gmail.com> | 2017-07-03 01:17:44 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-07-03 01:17:44 +0300 |
commit | 0385ab3c54f0d73d1b374606ebd971831b9e80c2 (patch) | |
tree | a50f59132942f14d8039bbd8d111e32b2b301692 /docs/assets | |
parent | c8bad01c2017d21c5b501b7a12f90432a7b8c958 (diff) |
less syntax
Diffstat (limited to 'docs/assets')
-rw-r--r-- | docs/assets/less/demos.less | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/docs/assets/less/demos.less b/docs/assets/less/demos.less index e05d7f0d95..47402d1ac0 100644 --- a/docs/assets/less/demos.less +++ b/docs/assets/less/demos.less @@ -1,20 +1,19 @@ -.bs-examples .thumbnail { - margin-bottom: 10px; -} -.bs-examples h4 { - margin-bottom: 5px; -} -.bs-examples p { - margin-bottom: 20px; -} +.bs-examples { + .thumbnail { + margin-bottom: 10px; + } -@media (max-width: 480px) { - .bs-examples { + h4 { margin-bottom: 5px; } + + p { margin-bottom: 20px; } + + @media (max-width: @screen-xs-min) { margin-right: -10px; margin-left: -10px; - } - .bs-examples > [class^="col-"] { - padding-right: 10px; - padding-left: 10px; + + > [class^="col-"] { + padding-right: 10px; + padding-left: 10px; + } } } |