Bunch of dark mode fixes from test page

This commit is contained in:
2020-07-03 15:00:33 +01:00
parent 79eb0cbff0
commit d09f3994fc
6 changed files with 181 additions and 220 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2,11 +2,10 @@ $font-family-sans-serif: "Open Sans", sans-serif;
//Make it look less primary school //Make it look less primary school
$font-size-base: 0.875rem; $font-size-base: 0.875rem;
$theme-colors: ( $theme-colors: (
"yellow": #FF8800,
"success": #00C851, "success": #00C851,
"warning": #ffbb33, "warning": #ffbb33,
"danger": #CC0000, "danger": #CC0000,
"info": #33b5e5, "info": #33b5e5,
"primary": #4CB8F1 "primary": #3A52A2
) !default; ) !default;
$enable-shadows: true; $enable-shadows: true;

View File

@@ -21,7 +21,6 @@
.form-control:not(.btn) { .form-control:not(.btn) {
background-color: #121416; background-color: #121416;
color: $gray-100; color: $gray-100;
border-color: $gray-500;
} }
.btn-light, .popover-header, .status { .btn-light, .popover-header, .status {
background-color: #121416 !important; background-color: #121416 !important;
@@ -43,4 +42,23 @@
.page-item.disabled { .page-item.disabled {
opacity: 0.5; opacity: 0.5;
} }
.bg-light {
color: black;
background-color: $gray-200 !important;
border-radius: 0.2em;
}
del {
color: black;
background-color: $danger;
border-radius: 3px;
}
ins {
color: black;
background-color: $success;
border-radius: 3px;
}
pre {
background: $gray-600;
color: white;
}
} }

View File

@@ -64,11 +64,13 @@ textarea {
del { del {
background-color: #f2dede; background-color: #f2dede;
border-radius: 3px; border-radius: 3px;
padding: 0.1em;
} }
ins { ins {
background-color: #dff0d8; background-color: #dff0d8;
border-radius: 3px; border-radius: 3px;
padding: 0.1em;
} }
.nav-link { .nav-link {
@@ -94,6 +96,19 @@ ins {
transform: translateY(45px); /* TODO Remove absolute positioning */ transform: translateY(45px); /* TODO Remove absolute positioning */
} }
pre {
page-break-inside: avoid;
font-family: monospace;
font-size: 15px;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
svg { svg {
display: inline; display: inline;
white-space: no-wrap; white-space: no-wrap;

View File

@@ -1,4 +1,4 @@
{% extends 'base.html' %} {% extends 'base_rigs.html' %}
{% block content %} {% block content %}
<section class="mb-5 pt-5" id="typography"> <section class="mb-5 pt-5" id="typography">
@@ -1222,7 +1222,7 @@ public abstract class L2Char extends L2Object {
<div class="container"> <div class="container">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<h2> <h2>
<span class="fa fa-square-o mr-1"></span> <span class="fa fas-square-o mr-1"></span>
Cards Cards
</h2> </h2>
<h2> <h2>