add: feature of sass
This commit is contained in:
parent
d57d8a7958
commit
d979f023f4
7 changed files with 96 additions and 45 deletions
17
exampleSiteMultilingual/assets/css/custom1.scss
Normal file
17
exampleSiteMultilingual/assets/css/custom1.scss
Normal file
|
@ -0,0 +1,17 @@
|
|||
@import 'foundation/code';
|
||||
|
||||
$font-stack: Helvetica, sans-serif;
|
||||
$primary-color: yellow;
|
||||
$background-color: pink;
|
||||
|
||||
junyi {
|
||||
font: 100% $font-stack;
|
||||
color: $primary-color;
|
||||
background-color: $background-color;
|
||||
}
|
||||
|
||||
body .container {
|
||||
max-width: none;
|
||||
padding-left: 5em;
|
||||
padding-right: 5em;
|
||||
}
|
7
exampleSiteMultilingual/assets/css/custom2.css
Normal file
7
exampleSiteMultilingual/assets/css/custom2.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
.anubis-custom-style {
|
||||
background-color: pink;
|
||||
color: black;
|
||||
padding: 1em;
|
||||
border-radius: 0.3em;
|
||||
border: 1px solid black;
|
||||
}
|
5
exampleSiteMultilingual/assets/css/foundation/_code.scss
Normal file
5
exampleSiteMultilingual/assets/css/foundation/_code.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
code {
|
||||
padding: .25em;
|
||||
line-height: 2;
|
||||
background-color: rgb(189, 204, 255);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue