Ajout du mode sombre !

This commit is contained in:
2019-06-21 00:48:23 +02:00
parent 772f57b04e
commit 9fae286c11
4 changed files with 99 additions and 0 deletions

View File

@@ -31,6 +31,9 @@ html {
body {
overflow-x: hidden; }
.dark-theme-only {
display: none; }
/*! bulma.io v0.7.4 | MIT License | github.com/jgthms/bulma */
@keyframes spinAround {
from {
@@ -6998,6 +7001,39 @@ label.panel-block {
.icon-print:before {
content: "\e906"; }
/**
Dark Theme
**/
@media (prefers-color-scheme: dark) {
.dark-theme-only {
display: inline; }
.hero {
background-color: #1d343a !important;
color: #ffffff; }
#photosAndButtons .card-content {
background-color: #142529 !important; }
p.title,
span.title {
color: #ffffff; }
p.subtitle {
color: #ffffff; }
.is-primary {
background-color: #142529 !important; }
.tile.is-vertical {
background-color: unset; }
.is-info {
background-color: #132225 !important; }
section.hero.is-primary.is-bold {
background-image: none;
background-color: #25444b !important; }
body footer {
background-color: #111f22 !important; }
.button {
background-color: #132225;
border-color: #25444b;
border-width: 4px;
color: white; } }
#idCard .hero-body {
padding-bottom: 2rem;
padding-top: 2rem; }