Git提交
This commit is contained in:
25
assets/sass/components/_box.scss
Normal file
25
assets/sass/components/_box.scss
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
此源码是基于 Dimension 的二次修改
|
||||
Github:https://github.com/nianbroken/Personal_Sakura_Guide_Page
|
||||
Gitee:https://gitee.com/nianbroken/Personal_Sakura_Guide_Page
|
||||
*/
|
||||
/* Box */
|
||||
|
||||
.box {
|
||||
border-radius: _size(border-radius);
|
||||
border: solid _size(border-width) _palette(border);
|
||||
margin-bottom: _size(element-margin);
|
||||
padding: 1.5em;
|
||||
|
||||
> :last-child,
|
||||
> :last-child > :last-child,
|
||||
> :last-child > :last-child > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&.alt {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user