diff --git a/_sass/dark-theme.scss b/_sass/dark-theme.scss index cd293e1..a380a83 100644 --- a/_sass/dark-theme.scss +++ b/_sass/dark-theme.scss @@ -54,4 +54,9 @@ p{ color:white; } + + #photoProfil{ + background-color:darken(#5c9ead,30%); + } + } \ No newline at end of file diff --git a/_sass/main.scss b/_sass/main.scss index 18636c8..fc6d57e 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -60,7 +60,6 @@ body{ @import "../node_modules/bulma/bulma"; @import "icon"; -@import "dark-theme"; #idCard { @@ -132,16 +131,9 @@ footer small{ color:$white; } -#photoProfil.dark{ - display:none; +// Photo de Profil +#photoProfil{ + background-color:lightgray; } -@media (prefers-color-scheme: dark){ - #photoProfil.dark{ - display:block; - } - - #photoProfil.light{ - display:none; - } -} \ No newline at end of file +@import "dark-theme"; \ No newline at end of file diff --git a/css/main.css b/css/main.css index e3fca6c..f06bc5e 100644 --- a/css/main.css +++ b/css/main.css @@ -7032,41 +7032,6 @@ 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; } - p { - color: white; } } - #idCard .hero-body { padding-bottom: 2rem; padding-top: 2rem; } @@ -7115,11 +7080,42 @@ section#contact .button { footer small { color: #ffffff; } -#photoProfil.dark { - display: none; } +#photoProfil { + background-color: lightgray; } +/** + Dark Theme +**/ @media (prefers-color-scheme: dark) { - #photoProfil.dark { - display: block; } - #photoProfil.light { - display: none; } } + .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; } + p { + color: white; } + #photoProfil { + background-color: #25444b; } } diff --git a/images/profile_nuit_opt.jpg b/images/profile_nuit_opt.jpg deleted file mode 100644 index cf8c123..0000000 Binary files a/images/profile_nuit_opt.jpg and /dev/null differ diff --git a/images/profile_opt.png b/images/profile_opt.png new file mode 100644 index 0000000..7fbfe58 Binary files /dev/null and b/images/profile_opt.png differ diff --git a/index.html b/index.html index 1335c1a..55db9ed 100644 --- a/index.html +++ b/index.html @@ -35,11 +35,8 @@