This commit is contained in:
Anthony Dumas 2019-12-26 18:11:47 +01:00
parent 9ed4bc3c77
commit 59be57fe24
2 changed files with 47 additions and 46 deletions

View File

@ -2,61 +2,62 @@
Dark Theme Dark Theme
**/ **/
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
.dark-theme-only{ .dark-theme-only {
display:inline; display: inline;
}
.hero{
background-color:darken(#5c9ead,35%)!important;
color:#ffffff;
} }
#photosAndButtons .card-content{ .hero {
background-color:darken(#5c9ead,40%)!important; background-color: darken(#5c9ead, 35%) !important;
color: #ffffff;
}
#photosAndButtons .card-content {
background-color: darken(#5c9ead, 40%) !important;
} }
p.title, p.title,
span.title{ span.title {
color:#ffffff; color: #ffffff;
} }
p.subtitle{ p.subtitle {
color:#ffffff; color: #ffffff;
} }
.is-primary .is-primary {
{ background-color: darken(#5c9ead, 40%) !important;
background-color:darken(#5c9ead,40%)!important;
}
.tile.is-vertical{
background-color:unset;
} }
.is-info{ .tile.is-vertical {
background-color: darken(#5c9ead,41%)!important; background-color: unset;
} }
section.hero.is-primary.is-bold{ .is-info {
background-color: darken(#5c9ead, 41%) !important;
}
section.hero.is-primary.is-bold {
background-image: none; background-image: none;
background-color:darken(#5c9ead,30%)!important; background-color: darken(#5c9ead, 30%) !important;
} }
body footer{ body footer {
background-color: darken(#5c9ead,42%)!important; background-color: darken(#5c9ead, 42%) !important;
} }
.button{ .button {
background-color: darken(#5c9ead,41%); background-color: darken(#5c9ead, 41%);
border-color:darken(#5c9ead,30%); border-color: darken(#5c9ead, 30%);
border-width: 4px; border-width: 4px;
color:white; color: white;
} }
p{ p {
color:white; color: white;
} }
#photoProfil{ #photoProfil {
background-color:darken(#5c9ead,30%); background-color: darken(#5c9ead, 30%);
} }
} }

View File

@ -50,12 +50,12 @@ html {
background-color: $primary; background-color: $primary;
} }
body{ body {
overflow-x: hidden; overflow-x: hidden;
} }
.dark-theme-only{ .dark-theme-only {
display:none; display: none;
} }
@import "../node_modules/bulma/bulma"; @import "../node_modules/bulma/bulma";
@ -110,30 +110,30 @@ section#contact .button {
} }
.displayOnlyOnPrint { .displayOnlyOnPrint {
display:none; display: none;
} }
#buttonsUnderPhoto a { #buttonsUnderPhoto a {
padding-left: 16px; padding-left: 16px;
padding-bottom:0; padding-bottom: 0;
} }
#photosAndButtons .media-content p + p { #photosAndButtons .media-content p+p {
margin-top:-16px; margin-top: -16px;
} }
.tile p.title{ .tile p.title {
font-size: 25px; font-size: 25px;
} }
// //
footer small{ footer small {
color:$white; color: $white;
} }
// Photo de Profil // Photo de Profil
#photoProfil{ #photoProfil {
background-color:lightgray; background-color: lightgray;
} }
@import "dark-theme"; @import "dark-theme";