Changed website style
This commit is contained in:
parent
312cfc020a
commit
975301eeae
9 changed files with 45 additions and 39 deletions
|
@ -1,20 +1,20 @@
|
|||
.photos_folder {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
border: 1px solid #212121;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #5a5a5a;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.photos_folder a:hover, .photos_path a:hover {
|
||||
box-shadow: 0 0 10px #000;
|
||||
background-color: white;
|
||||
background-color: #e0e0e0;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.photos_folder a {
|
||||
font-size: 25px;
|
||||
text-decoration: none;
|
||||
border-radius: 10px;
|
||||
border-radius: 5px;
|
||||
min-width: 100px;
|
||||
height: 100px;
|
||||
padding: 10px;
|
||||
|
@ -22,10 +22,10 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #212121;
|
||||
box-shadow: 0 0 2px #212121;
|
||||
background-color: #1a1a1a;
|
||||
box-shadow: 0 0 4px #000;
|
||||
transition: 0.3s;
|
||||
color: white;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.photos img {
|
||||
|
@ -34,14 +34,16 @@
|
|||
opacity: 1;
|
||||
cursor: pointer;
|
||||
transition: 0.3s;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.photos img:hover {
|
||||
opacity: 0.5;
|
||||
box-shadow: 0 0 5px #000;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.photos img:active {
|
||||
opacity: 0.1;
|
||||
box-shadow: 0 0 10px #000;
|
||||
}
|
||||
|
||||
.no_photo {
|
||||
|
@ -70,10 +72,10 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #212121;
|
||||
box-shadow: 0 0 2px #212121;
|
||||
background-color: #1a1a1a;
|
||||
box-shadow: 0 0 4px #000;
|
||||
transition: 0.3s;
|
||||
color: white;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
#img_big {
|
||||
|
|
|
@ -3,16 +3,16 @@
|
|||
.sidenav {
|
||||
height: 100%;
|
||||
width: 250px;
|
||||
margin-left: -250px; /* change margin with JavaScript */
|
||||
margin-left: -500px; /* change margin with JavaScript */
|
||||
position: fixed; /* Stay in place */
|
||||
z-index: 1000;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color: #111111;
|
||||
overflow-x: hidden; /* Disable horizontal scroll */
|
||||
padding-top: 80px;
|
||||
transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
|
||||
box-shadow: none; /* change shadow with JavaScript */
|
||||
text-align: left;
|
||||
background: linear-gradient(to right, #1c1c1c, transparent 90%);
|
||||
}
|
||||
|
||||
/* The navigation menu links */
|
||||
|
|
|
@ -38,19 +38,21 @@ body {
|
|||
-o-background-size: cover;
|
||||
|
||||
box-sizing: border-box;
|
||||
color: #373737;
|
||||
color: #b5b5b5;
|
||||
font-size: 16px;
|
||||
font-family: 'Nunito Sans', sans-serif;
|
||||
line-height: 1.5;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 10px 0;
|
||||
color: #222222;
|
||||
font-family: 'Rubik', sans-serif;
|
||||
color: #e0e0e0;
|
||||
font-family: 'Work Sans', sans-serif;
|
||||
font-weight: bold;
|
||||
letter-spacing: -1px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
@ -187,12 +189,11 @@ Full-Width Styles
|
|||
#header_top {
|
||||
display: flex;
|
||||
color: white;
|
||||
background: #212121;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
z-index: 2000;
|
||||
box-shadow: 0 2px 5px #222;
|
||||
height: 100px;
|
||||
background: linear-gradient(to bottom, #1c1c1c, transparent 90%);
|
||||
}
|
||||
|
||||
#header_top h4 {
|
||||
|
@ -212,9 +213,10 @@ Full-Width Styles
|
|||
margin: 0;
|
||||
color: #fff;
|
||||
font-size: 42px;
|
||||
font-weight: 700;
|
||||
text-shadow: #111 0 0 10px;
|
||||
border-bottom: none;
|
||||
text-align: center;
|
||||
font-family: 'Work Sans', sans-serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#description {
|
||||
|
@ -232,9 +234,6 @@ Full-Width Styles
|
|||
|
||||
#home_content {
|
||||
padding-top: 100px;
|
||||
background-color: #212121aa;
|
||||
border-radius: 0 0 60px 60px;
|
||||
box-shadow: 0 0 40px #212121;
|
||||
}
|
||||
|
||||
#home_content h1 {
|
||||
|
@ -252,9 +251,16 @@ Full-Width Styles
|
|||
text-shadow: 0 0 5px #000;
|
||||
}
|
||||
|
||||
#main_fading_top_edge {
|
||||
height: 200px;
|
||||
background: linear-gradient(to top, #1c1c1c, transparent 90%);
|
||||
}
|
||||
#main_fading_bottom_edge {
|
||||
height: 200px;
|
||||
background: linear-gradient(to bottom, #1c1c1c, transparent 90%);
|
||||
}
|
||||
#main_content_wrap {
|
||||
background: #f2f2f2;
|
||||
box-shadow: 0 0 10px #222;
|
||||
background: #1c1c1c;
|
||||
}
|
||||
|
||||
#main_content {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 172 KiB |
|
@ -10,7 +10,6 @@ var backButton = $("#back_button");
|
|||
|
||||
function openNav() {
|
||||
sidenav.css("margin-left", "0");
|
||||
sidenav.css("box-shadow", "5px 5px 10px #151515");
|
||||
backButton.addClass("active_background");
|
||||
enableHamburger();
|
||||
menuOpen = true;
|
||||
|
@ -23,7 +22,6 @@ function openNav() {
|
|||
*/
|
||||
function closeNav() {
|
||||
sidenav.css("margin-left", "-250px");
|
||||
sidenav.css("box-shadow", "none");
|
||||
backButton.removeClass("active_background");
|
||||
disableHamburger();
|
||||
menuOpen = false;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/sidenav.css">
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/hamburger.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans|Rubik" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans|Work+Sans" rel="stylesheet">
|
||||
</head>
|
||||
<body id="main">
|
||||
<div id="back_button" onclick="closeNav()"></div>
|
||||
|
|
|
@ -12,7 +12,7 @@ ob_start(); // Start reading html
|
|||
|
||||
<h1>Credits</h1>
|
||||
<p>Voici les différentes technologies et ressources que ce site utilise :</p>
|
||||
<p><a href="https://icons8.com/">Icons8</a> | <a href="https://commons.wikimedia.org/wiki/File:Triton_(artist%27s_impression).jpg">Fond du site</a></p>
|
||||
<p><a href="https://icons8.com/">Icons8</a> | <a href="http://maxpixel.freegreatpicture.com/World-Earth-Rise-Sunrise-Space-Outer-Sun-Globe-1765027">Fond du site</a></p>
|
||||
<a href="https://jquery.com/">JQuery</a>
|
||||
<br>
|
||||
<a href="https://www.javascript.com/">JavaScript</a>
|
||||
|
|
10
template.php
10
template.php
|
@ -11,7 +11,7 @@
|
|||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/planning_events.css">
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/photos.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans|Rubik" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans|Work+Sans" rel="stylesheet">
|
||||
</head>
|
||||
<body id="main">
|
||||
<div id="back_button" onclick="closeNav()"></div>
|
||||
|
@ -27,20 +27,20 @@ include("includes/sidenav.html");
|
|||
</header>
|
||||
</div>
|
||||
|
||||
<div id="main_fading_top_edge"></div>
|
||||
<div id="main_content_wrap" class="outer">
|
||||
<section id="main_content" class="inner">
|
||||
<?= $pageContent // Display content defined in calling file ?>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div id="main_fading_bottom_edge"></div>
|
||||
<div id="footer_wrap" class="outer">
|
||||
<footer class="inner">
|
||||
<p class="copyright">Copyright ©
|
||||
<p class="copyright">
|
||||
<script type="text/javascript">
|
||||
var d = new Date();
|
||||
document.write(d.getFullYear())
|
||||
document.write("Copyright © " + d.getFullYear() + "Arnaud VERGNET")
|
||||
</script>
|
||||
Arnaud VERGNET
|
||||
</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue