1

trim bootstrap

This commit is contained in:
Evan Pratten 2022-12-03 11:06:23 -05:00
parent 81173d5cbd
commit 6ffa7b8d53
4 changed files with 62 additions and 4 deletions

41
package-lock.json generated
View File

@ -5,10 +5,39 @@
"packages": {
"": {
"dependencies": {
"bootstrap": "^5.2.3",
"github-markdown-css": "^5.1.0",
"line-awesome": "^1.3.0"
}
},
"node_modules/@popperjs/core": {
"version": "2.11.6",
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz",
"integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==",
"peer": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/popperjs"
}
},
"node_modules/bootstrap": {
"version": "5.2.3",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.2.3.tgz",
"integrity": "sha512-cEKPM+fwb3cT8NzQZYEu4HilJ3anCrWqh3CHAok1p9jXqMPsPTBhU25fBckEJHJ/p+tTxTFTsFQGM+gaHpi3QQ==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/twbs"
},
{
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
}
],
"peerDependencies": {
"@popperjs/core": "^2.11.6"
}
},
"node_modules/github-markdown-css": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/github-markdown-css/-/github-markdown-css-5.1.0.tgz",
@ -24,6 +53,18 @@
}
},
"dependencies": {
"@popperjs/core": {
"version": "2.11.6",
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz",
"integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==",
"peer": true
},
"bootstrap": {
"version": "5.2.3",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.2.3.tgz",
"integrity": "sha512-cEKPM+fwb3cT8NzQZYEu4HilJ3anCrWqh3CHAok1p9jXqMPsPTBhU25fBckEJHJ/p+tTxTFTsFQGM+gaHpi3QQ==",
"requires": {}
},
"github-markdown-css": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/github-markdown-css/-/github-markdown-css-5.1.0.tgz",

View File

@ -1,5 +1,6 @@
{
"dependencies": {
"bootstrap": "^5.2.3",
"github-markdown-css": "^5.1.0",
"line-awesome": "^1.3.0"
}

19
sass/styles/bootstrap.scss vendored Normal file
View File

@ -0,0 +1,19 @@
@import "../../node_modules/bootstrap/scss/functions"; // Required
@import "../../node_modules/bootstrap/scss/variables"; // Required
@import "../../node_modules/bootstrap/scss/mixins"; // Required
@import "../../node_modules/bootstrap/scss/maps"; // Required
// @import "../../node_modules/bootstrap/scss/utilities";
@import "../../node_modules/bootstrap/scss/root"; // Required
@import "../../node_modules/bootstrap/scss/reboot"; // Required
@import "../../node_modules/bootstrap/scss/dropdown";
@import "../../node_modules/bootstrap/scss/grid";
@import "../../node_modules/bootstrap/scss/card";
// @import "../../node_modules/bootstrap/scss/helpers";
// @import "../../node_modules/bootstrap/scss/utilities/api";
.mb-3 {
margin-bottom: 1rem !important;
}

View File

@ -27,15 +27,12 @@
{# Page title #}
<title>{{title}} | {{config.title}}</title>
{# External styles #}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous" lazyload>
{# Site-wide styles #}
<link rel="stylesheet" href="/global.css">
{# Less important styles #}
<link rel="stylesheet" href="/dist/github-markdown-css/github-markdown-light.css" lazyload>
<link rel="stylesheet" href="/styles/bootstrap.css" lazyload>
<link rel="stylesheet" href="/styles/typography.css">
{# Component styles #}