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
**/
@media (prefers-color-scheme: dark) {
.dark-theme-only{
display:inline;
}
.hero{
background-color:darken(#5c9ead,35%)!important;
color:#ffffff;
.dark-theme-only {
display: inline;
}
#photosAndButtons .card-content{
background-color:darken(#5c9ead,40%)!important;
.hero {
background-color: darken(#5c9ead, 35%) !important;
color: #ffffff;
}
#photosAndButtons .card-content {
background-color: darken(#5c9ead, 40%) !important;
}
p.title,
span.title{
color:#ffffff;
span.title {
color: #ffffff;
}
p.subtitle{
color:#ffffff;
p.subtitle {
color: #ffffff;
}
.is-primary
{
background-color:darken(#5c9ead,40%)!important;
}
.tile.is-vertical{
background-color:unset;
.is-primary {
background-color: darken(#5c9ead, 40%) !important;
}
.is-info{
background-color: darken(#5c9ead,41%)!important;
.tile.is-vertical {
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-color:darken(#5c9ead,30%)!important;
background-color: darken(#5c9ead, 30%) !important;
}
body footer{
background-color: darken(#5c9ead,42%)!important;
body footer {
background-color: darken(#5c9ead, 42%) !important;
}
.button{
background-color: darken(#5c9ead,41%);
border-color:darken(#5c9ead,30%);
.button {
background-color: darken(#5c9ead, 41%);
border-color: darken(#5c9ead, 30%);
border-width: 4px;
color:white;
color: white;
}
p{
color:white;
p {
color: white;
}
#photoProfil{
background-color:darken(#5c9ead,30%);
#photoProfil {
background-color: darken(#5c9ead, 30%);
}
}

View File

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