Modification du script de css build pour utiliser plusieurs SCSS
This commit is contained in:
parent
22473383a0
commit
953b37808e
39
_sass/icon.scss
Normal file
39
_sass/icon.scss
Normal file
@ -0,0 +1,39 @@
|
||||
@font-face {
|
||||
font-family: "icomoon";
|
||||
src: url("../font/fonts/icomoon.eot");
|
||||
src: url("../font/fonts/icomoon.eot?#iefix") format("embedded-opentype"), url("../font/fonts/icomoon.woff") format("woff"), url("../fonts/icomoon.ttf") format("truetype"), url("../font/fonts/icomoon.svg#icomoon") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.icon .fab {
|
||||
font-family: "icomoon";
|
||||
content: attr(data-icon);
|
||||
speak: none;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.icon-github-alt:before {
|
||||
content: "\e903";
|
||||
}
|
||||
|
||||
.icon-linke-square:before {
|
||||
content: "\e902";
|
||||
}
|
||||
|
||||
.icon-envelope-open:before {
|
||||
content: "\e901";
|
||||
}
|
||||
|
||||
.icon-twit:before {
|
||||
content: "\e904";
|
||||
}
|
||||
|
||||
.icon-teleg:before {
|
||||
content: "\e900";
|
||||
}
|
@ -98,44 +98,4 @@ section#contact .button {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "icomoon";
|
||||
src: url("../font/fonts/icomoon.eot");
|
||||
src: url("../font/fonts/icomoon.eot?#iefix") format("embedded-opentype"), url("../font/fonts/icomoon.woff") format("woff"), url("../fonts/icomoon.ttf") format("truetype"), url("../font/fonts/icomoon.svg#icomoon") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.icon .fab {
|
||||
font-family: "icomoon";
|
||||
content: attr(data-icon);
|
||||
speak: none;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.icon-github-alt:before {
|
||||
content: "\e903";
|
||||
}
|
||||
|
||||
.icon-linke-square:before {
|
||||
content: "\e902";
|
||||
}
|
||||
|
||||
.icon-envelope-open:before {
|
||||
content: "\e901";
|
||||
}
|
||||
|
||||
.icon-twit:before {
|
||||
content: "\e904";
|
||||
}
|
||||
|
||||
.icon-teleg:before {
|
||||
content: "\e900";
|
||||
}
|
@ -26,7 +26,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"css-deploy": "npm run css-build && npm run css-postcss",
|
||||
"css-build": "node-sass _sass/main.scss css/main.css",
|
||||
"css-build": "node-sass _sass/*.scss css/main.css",
|
||||
"css-postcss": "postcss --use autoprefixer --output css/main.css css/main.css",
|
||||
"css-watch": "npm run css-build -- --watch",
|
||||
"deploy": "npm run css-deploy && npm run js-build",
|
||||
|
Loading…
x
Reference in New Issue
Block a user