diff --git a/css/bootstrap5/privatebin.css b/css/bootstrap5/privatebin.css index 71719dfc..526ec174 100644 --- a/css/bootstrap5/privatebin.css +++ b/css/bootstrap5/privatebin.css @@ -60,10 +60,20 @@ --bs-dropdown-min-width: 23rem; } -li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { +[data-bs-theme=light] pre, [data-bs-theme=light] .card { + background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)); +} + +li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 { + color: revert !important; list-style-type: decimal !important; } +[data-bs-theme=dark] li.L1, [data-bs-theme=dark] li.L3, [data-bs-theme=dark] li.L5, +[data-bs-theme=dark] li.L7, [data-bs-theme=dark] li.L9 { + background-color: var(--bs-gray-dark) !important; +} + .text-right button { float: right; } diff --git a/tpl/bootstrap5.php b/tpl/bootstrap5.php index 47f48765..c933ab94 100644 --- a/tpl/bootstrap5.php +++ b/tpl/bootstrap5.php @@ -426,8 +426,8 @@ endif;
-