diff --git a/package-lock.json b/package-lock.json index 033014b..38ff267 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index f0a66a0..6a589d7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "dependencies": { + "bootstrap": "^5.2.3", "github-markdown-css": "^5.1.0", "line-awesome": "^1.3.0" } diff --git a/sass/styles/bootstrap.scss b/sass/styles/bootstrap.scss new file mode 100644 index 0000000..4e27d6d --- /dev/null +++ b/sass/styles/bootstrap.scss @@ -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; +} diff --git a/templates/base.html b/templates/base.html index becee94..e1c546c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -27,15 +27,12 @@ {# Page title #} {{title}} | {{config.title}} - {# External styles #} - - {# Site-wide styles #} {# Less important styles #} + {# Component styles #}