Bootstrap5 (#17)

* Bootstrap5 migration
This commit is contained in:
catborise
2021-07-07 14:12:38 +03:00
committed by GitHub
parent 1663a49cee
commit 073b7b6717
244 changed files with 9494 additions and 8597 deletions

View File

@@ -1,13 +1,15 @@
// Journal 4.6.0
// Journal 5.0.2
// Bootswatch
// Variables ===================================================================
// Variables
$web-font-path: "https://fonts.googleapis.com/css2?family=News+Cycle:wght@400;700&display=swap" !default;
@import url($web-font-path);
@if $web-font-path {
@import url($web-font-path);
}
// Navbar ======================================================================
// Navbar
.bg-dark {
background-color: $black !important;
@@ -40,7 +42,7 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=News+Cycle:wght@400;70
text-transform: uppercase;
}
// Buttons =====================================================================
// Buttons
.btn {
font-family: $headings-font-family;
@@ -52,7 +54,13 @@ $web-font-path: "https://fonts.googleapis.com/css2?family=News+Cycle:wght@400;70
}
}
// Navs ========================================================================
.breadcrumb {
a {
text-decoration: none;
}
}
// Navs
.pagination {
a:hover {

View File

@@ -1,6 +1,8 @@
// Journal 4.6.0
// Journal 5.0.2
// Bootswatch
$theme: "journal" !default;
//
// Color system
//
@@ -37,6 +39,8 @@ $danger: $red !default;
$light: $gray-100 !default;
$dark: $gray-900 !default;
$min-contrast-ratio: 1.28 !default;
// Fonts
$headings-font-family: "News Cycle", "Arial Narrow Bold", sans-serif !default;
@@ -58,3 +62,10 @@ $navbar-light-active-color: $black !default;
$pagination-hover-color: $white !default;
$pagination-hover-bg: $primary !default;
$pagination-hover-border-color: $primary !default;
// Breadcrumbs
$breadcrumb-padding-y: .375rem !default;
$breadcrumb-padding-x: .75rem !default;
$link-decoration: none !default;