From addf1a099736c28fea12b2a431df805c47581150 Mon Sep 17 00:00:00 2001
From: Keplyx
Date: Mon, 23 Apr 2018 16:18:38 +0200
Subject: [PATCH] Updated credits and force scroll on photos page
---
assets/css/style.css | 26 +++++++++++++++++++-------
assets/scripts/photosScript.js | 3 +++
infos.php | 20 +++++++++-----------
photos.php | 2 +-
4 files changed, 32 insertions(+), 19 deletions(-)
diff --git a/assets/css/style.css b/assets/css/style.css
index d01b7bc..6a176fb 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -326,15 +326,27 @@ Full-Width Styles
color: black;
}
-#swipe_area {
- height: 100%;
- width: 30px;
- background: #3a7eaa;
- position: fixed;
- top: 0;
- left: 0;
+#credits-list {
+ list-style: none;
+ display: inline-flex;
}
+#credits-list li {
+ padding: 5px;
+ height: 50px;
+ width: 50px;
+}
+
+#credits-list svg {
+ height: 50px;
+ width: 50px;
+}
+
+#credits-list a:hover{
+ color: #a3a7b3;
+}
+
+
/*******************************************************************************
Small Device Styles
*******************************************************************************/
diff --git a/assets/scripts/photosScript.js b/assets/scripts/photosScript.js
index c79b13b..d1e5218 100644
--- a/assets/scripts/photosScript.js
+++ b/assets/scripts/photosScript.js
@@ -59,6 +59,9 @@ function showTopBar() {
sideNav.fadeIn(500);
}
+$(document).ready(function() {
+ document.getElementById("photos_title").scrollIntoView();
+});
/*
diff --git a/infos.php b/infos.php
index 0c0fdd3..1dfad25 100644
--- a/infos.php
+++ b/infos.php
@@ -11,17 +11,15 @@ ob_start(); // Start reading html
contacter le responsable approprié.
Credits
-Voici les différentes technologies et ressources que ce site utilise :
-Icons8 | Fond du site
-JQuery
-
-JavaScript
-
-PHP7
-
-HTML5
-
-CSS3
+Voici les différentes technologies et ressources utilisées pour ce site :
+
-Photos
+Photos
Cliquez sur le dossier de votre choix pour afficher les photos