Skip to content

Commit

Permalink
- Reduction de CSS inutile
Browse files Browse the repository at this point in the history
- Modification mineure sur scripts.js
  • Loading branch information
Phanty78 committed Mar 2, 2024
1 parent 5722b08 commit 4610013
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
6 changes: 1 addition & 5 deletions assets/Css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ body {
width: 80%;
font-size: 16px;
}

#gallery {
/* min-height: 100vh; */
}
.title{
text-align: center;
padding-block: 2em;
Expand All @@ -102,10 +98,10 @@ body {
justify-content: center;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
color: #fff;
background-color: #dbab27;
border-radius:0 ;
color: black;
font-weight: bold;
}
.nav-pills .nav-link {
color: #000
Expand Down
2 changes: 1 addition & 1 deletion assets/Css/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions assets/Js/scripts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const displayActualYear = document.getElementById("actual-year")
let actualYear = new Date()

$(document).ready(function() {
const displayActualYear = document.getElementById("actual-year")
let actualYear = new Date()
if (displayActualYear) {
displayActualYear.innerHTML = actualYear.getFullYear()
}
$('.gallery').mauGallery({
columns: {
xs: 1,
Expand All @@ -15,6 +17,4 @@ $(document).ready(function() {
showTags: true,
tagsPosition: 'top'
});
});

displayActualYear.innerHTML = actualYear.getFullYear()
});
2 changes: 1 addition & 1 deletion assets/Js/scripts.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4610013

Please sign in to comment.