fix: optimize & remove unnecessary css imports

This commit is contained in:
mostafaei2002 2024-05-28 18:24:59 +03:30
parent c6e05ce69b
commit 74eabba7bb
2 changed files with 17 additions and 18 deletions

View File

@ -2,7 +2,7 @@
<nav class="navbar navbar-expand-lg bg-body-tertiary fixed-top"> <nav class="navbar navbar-expand-lg bg-body-tertiary fixed-top">
<div class="container"> <div class="container">
<a class="navbar-brand" href="https://www.django-rest-framework.org/"> <a class="navbar-brand" href="https://www.django-rest-framework.org/">
<span class="d-none d-md-block">Django REST framework</span> <span class="d-none d-md-block">Django REST Framework</span>
<span class="d-block d-md-none">DRF</span> <span class="d-block d-md-none">DRF</span>
</a> </a>

View File

@ -24,32 +24,32 @@ $code-color: #d14;
@import "../../node_modules/bootstrap/scss/type"; @import "../../node_modules/bootstrap/scss/type";
@import "../../node_modules/bootstrap/scss/images"; @import "../../node_modules/bootstrap/scss/images";
@import "../../node_modules/bootstrap/scss/containers"; @import "../../node_modules/bootstrap/scss/containers";
@import "../../node_modules/bootstrap/scss/grid"; // @import "../../node_modules/bootstrap/scss/grid";
@import "../../node_modules/bootstrap/scss/tables"; // @import "../../node_modules/bootstrap/scss/tables";
@import "../../node_modules/bootstrap/scss/forms"; // @import "../../node_modules/bootstrap/scss/forms";
@import "../../node_modules/bootstrap/scss/buttons"; @import "../../node_modules/bootstrap/scss/buttons";
@import "../../node_modules/bootstrap/scss/transitions"; @import "../../node_modules/bootstrap/scss/transitions";
@import "../../node_modules/bootstrap/scss/dropdown"; @import "../../node_modules/bootstrap/scss/dropdown";
@import "../../node_modules/bootstrap/scss/button-group"; // @import "../../node_modules/bootstrap/scss/button-group";
@import "../../node_modules/bootstrap/scss/nav"; @import "../../node_modules/bootstrap/scss/nav";
@import "../../node_modules/bootstrap/scss/navbar"; @import "../../node_modules/bootstrap/scss/navbar";
@import "../../node_modules/bootstrap/scss/card"; // @import "../../node_modules/bootstrap/scss/card";
@import "../../node_modules/bootstrap/scss/accordion"; @import "../../node_modules/bootstrap/scss/accordion";
@import "../../node_modules/bootstrap/scss/breadcrumb"; @import "../../node_modules/bootstrap/scss/breadcrumb";
@import "../../node_modules/bootstrap/scss/pagination"; @import "../../node_modules/bootstrap/scss/pagination";
@import "../../node_modules/bootstrap/scss/badge"; // @import "../../node_modules/bootstrap/scss/badge";
@import "../../node_modules/bootstrap/scss/alert"; // @import "../../node_modules/bootstrap/scss/alert";
@import "../../node_modules/bootstrap/scss/progress"; // @import "../../node_modules/bootstrap/scss/progress";
@import "../../node_modules/bootstrap/scss/list-group"; // @import "../../node_modules/bootstrap/scss/list-group";
@import "../../node_modules/bootstrap/scss/close"; @import "../../node_modules/bootstrap/scss/close";
@import "../../node_modules/bootstrap/scss/toasts"; // @import "../../node_modules/bootstrap/scss/toasts";
@import "../../node_modules/bootstrap/scss/modal"; @import "../../node_modules/bootstrap/scss/modal";
@import "../../node_modules/bootstrap/scss/tooltip"; // @import "../../node_modules/bootstrap/scss/tooltip";
@import "../../node_modules/bootstrap/scss/popover"; // @import "../../node_modules/bootstrap/scss/popover";
@import "../../node_modules/bootstrap/scss/carousel"; // @import "../../node_modules/bootstrap/scss/carousel";
@import "../../node_modules/bootstrap/scss/spinners"; // @import "../../node_modules/bootstrap/scss/spinners";
@import "../../node_modules/bootstrap/scss/offcanvas"; // @import "../../node_modules/bootstrap/scss/offcanvas";
@import "../../node_modules/bootstrap/scss/placeholders"; // @import "../../node_modules/bootstrap/scss/placeholders";
// Helpers // Helpers
@import "../../node_modules/bootstrap/scss/helpers"; @import "../../node_modules/bootstrap/scss/helpers";
@ -205,7 +205,6 @@ ol.linenums li {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
// Temporary fix for mkdocs settings
.headerlink { .headerlink {
display: none; display: none;
} }