added box-shadow mixin. Added shadow to the gravatar in homepage.
[theme-danix.xyz.git] / assets / sass / components / _box.scss
CommitLineData
748286b5 1///\r
2/// Forty by HTML5 UP\r
3/// html5up.net | @ajlkn\r
4/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)\r
5///\r
6\r
7/* Box */\r
8\r
9 .box {\r
10 border: solid 1px _palette(border);\r
11 margin-bottom: _size(element-margin);\r
12 padding: 1.5em;\r
13\r
14 > :last-child,\r
15 > :last-child > :last-child,\r
16 > :last-child > :last-child > :last-child {\r
17 margin-bottom: 0;\r
18 }\r
19\r
20 &.alt {\r
21 border: 0;\r
22 border-radius: 0;\r
23 padding: 0;\r
24 }\r
25 }