Skip to content

Commit

Permalink
Fin d'intégration du bandeau avec les thèmes
Browse files Browse the repository at this point in the history
  • Loading branch information
DridriLaBastos committed Nov 19, 2020
1 parent 8998f71 commit 73f29ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,9 @@ body:not(.color-scheme-dark) #site-header.color-scheme-dark .light-scheme-logo:n
transition: opacity var(--tr-short) var(--tr-func);
}

.color-scheme-dark .light-scheme-icon:not(:only-child) img,
.color-scheme-light .dark-scheme-icon:not(:only-child) img {
.color-scheme-dark .light-scheme-icon:not(:only-child),
.color-scheme-light .dark-scheme-icon:not(:only-child){
display: none;
opacity: 0;
transition: opacity var(--tr-short) var(--tr-func);
}
Expand Down Expand Up @@ -2281,7 +2282,7 @@ body:not(.singular) .post-header .post-meta>* {
min-width: 66%;
border-radius: 15px;
background-color: var(--page-color);
box-shadow: 0px 5px 20px -2px var(--input-shadow-alpha);
box-shadow: 0px 5px 50px -2px rgba(0, 0, 0, 0.75);
cursor: default;
}

Expand Down
9 changes: 6 additions & 3 deletions views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,24 @@
<ul class="element el-utilities">
<li class="element el-utility">
<a id="el-utility-edt" href="javascript:void(0);">
<img class="el-utility-content" src="img/icons/calandar-icon-dsc.png" alt="calandar" width="30" height="30">
<img class="el-utility-content dark-scheme-icon" src="img/icons/calandar-icon-dsc.png" alt="calandar icon for dark scheme" width="30" height="30">
<img class="el-utility-content light-scheme-icon" src="img/icons/calandar-icon-lsc.png" alt="calandar icon for ligh scheme" width="30" height="30">
<h2 class="el-utility-content">EDT</h2>
</a>
</li>

<li class="element el-utility">
<a href="javascript:void(0);">
<img class="el-utility-content" src="img/icons/weather-icon-dsc.png" alt="cloud with sun in background" width="30" height="30"/>
<img class="el-utility-content dark-scheme-icon" src="img/icons/weather-icon-dsc.png" alt="weather icon for dark scheme" width="30" height="30"/>
<img class="el-utility-content light-scheme-icon" src="img/icons/weather-icon-lsc.png" alt="weather icon for light scheme" width="30" height="30"/>
<h2 class="el-utility-content">METEO</h2>
</a>
</li>

<li class="element el-utility">
<a href="javascript:void(0);">
<img class="el-utility-content" src="img/icons/transport-icon-dsc.png" alt="face view of a tram" width="30" height="30">
<img class="el-utility-content dark-scheme-icon" src="img/icons/transport-icon-dsc.png" alt="transport icon for dark scheme" width="30" height="30">
<img class="el-utility-content light-scheme-icon" src="img/icons/transport-icon-lsc.png" alt="transport icon for light scheme" width="30" height="30">
<h2 class="el-utility-content">TRAJET</h2>
</a>
</li>
Expand Down

0 comments on commit 73f29ee

Please sign in to comment.