all css files migrated to scss

This commit is contained in:
Nicolas Constant 2018-09-07 21:40:22 -04:00
parent 2735418e2a
commit aaf4571559
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
6 changed files with 59 additions and 40 deletions

View File

@ -22,9 +22,13 @@
],
"styles": [
"./node_modules/simplebar/dist/simplebar.min.css",
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.css"
"src/sass/styles.scss"
],
"stylePreprocessorOptions": {
"includePaths": [
"./node_modules/bootstrap/scss"
]
},
"scripts": [
"./node_modules/simplebar/dist/simplebar.min.js"
]

6
package-lock.json generated
View File

@ -7124,9 +7124,9 @@
"dev": true
},
"nan": {
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz",
"integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==",
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.11.0.tgz",
"integrity": "sha512-F4miItu2rGnV2ySkXOQoA8FKz/SR2Q2sWP0sbTxNxz/tuokeC8WxOhPMcwi0qIyGtVn/rrSeLbvVkznqCdwYnw==",
"dev": true,
"optional": true
},

0
src/sass/_mixins.scss Normal file
View File

0
src/sass/_variables.scss Normal file
View File

50
src/sass/styles.scss Normal file
View File

@ -0,0 +1,50 @@
@import './variables';
@import './mixins';
@import "bootstrap";
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: inherit;
}
body {
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
/* font-family: "mastodon-font-sans-serif",sans-serif; */
font-size: 15px;
/* color: whitesmoke; */
color: #c9cbd4;
color: #a8acbc;
color: #e8eaf3;
background-color: #0f111a;
background-color: #0f111a;
background-color: #0a0c12;
background-color: #141824;
}
.invisible {
display: none;
}
/* .ellipsis {
} */
#toot-content p {
margin-bottom: 0 !important;
}
#toot-content a {
color: #bec3d8;
}

View File

@ -1,35 +0,0 @@
/* You can add global styles to this file, and also import other style files */
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
/* font-family: "mastodon-font-sans-serif",sans-serif; */
font-size: 15px;
/* color: whitesmoke; */
color: #c9cbd4;
color: #a8acbc;
color: #e8eaf3;
background-color: #0f111a;
background-color: #0f111a;
background-color: #0a0c12;
background-color: #141824;
}
.invisible {
display: none;
}
/* .ellipsis {
} */
#toot-content p {
margin-bottom: 0 !important;
}
#toot-content a {
color: #bec3d8;
}