Changed color palette. Added footer.
This commit is contained in:
parent
b9ccc68a15
commit
b234e14298
8 changed files with 36 additions and 13 deletions
5
components/footer.html
Normal file
5
components/footer.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<div id="footer">
|
||||||
|
<p>footer</p>
|
||||||
|
<p>Color Palette based on https://colorhunt.co/palette/4b4a5aa55540e79a58e1d5d2</p>
|
||||||
|
<p>And : https://colorhunt.co/palette/2d24245c3d2eb85c38e0c097</p>
|
||||||
|
</div>
|
20
css/base.css
20
css/base.css
|
@ -1,15 +1,23 @@
|
||||||
|
:root {
|
||||||
|
--color-dark: #2D2424;
|
||||||
|
--color-main-light: #A55540;
|
||||||
|
--color-main: #5C3D2E;
|
||||||
|
--color-light: #E79A58;
|
||||||
|
--color-white: #E1D5D2;
|
||||||
|
--color-gray: #4B4A5A;
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-family: "Comic Sans MS", "Comic Sans", cursive;
|
font-family: "Comic Sans MS", "Comic Sans", cursive;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-family: 'Josefin Sans', sans-serif;
|
font-family: 'Josefin Sans', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
6
css/footer.css
Normal file
6
css/footer.css
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#footer
|
||||||
|
{
|
||||||
|
height: 30rem;
|
||||||
|
background-color: var(--color-dark);
|
||||||
|
color: var(--color-white);
|
||||||
|
}
|
|
@ -20,6 +20,7 @@
|
||||||
padding: 0 0 0 2rem;
|
padding: 0 0 0 2rem;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
font-size: larger;
|
font-size: larger;
|
||||||
|
color: var(--color-dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
.presentation-img {
|
.presentation-img {
|
||||||
|
@ -45,7 +46,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
background-color: #f97b22;
|
background-color: var(--color-main-light);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 55rem;
|
height: 55rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #f5a122;
|
background-color: var(--color-light);
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
overflow: initial;
|
overflow: initial;
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ button {
|
||||||
#navbar_text-container a:hover {
|
#navbar_text-container a:hover {
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
background-color: rgba(255, 255, 255, 0.75);
|
background-color: rgba(255, 255, 255, 0.75);
|
||||||
color: #9e6b1f;
|
color: var(--color-main);
|
||||||
box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
|
box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,6 +82,6 @@ button {
|
||||||
|
|
||||||
.navbar_dropdown a:hover {
|
.navbar_dropdown a:hover {
|
||||||
transform: translateX(5px) !important;
|
transform: translateX(5px) !important;
|
||||||
background-color: #f5a122 !important;
|
background-color: var(--color-light) !important;
|
||||||
color: white !important;
|
color: var(--color-white) !important;
|
||||||
}
|
}
|
|
@ -16,6 +16,7 @@
|
||||||
rel="stylesheet">
|
rel="stylesheet">
|
||||||
<link href="css/base.css" rel="stylesheet">
|
<link href="css/base.css" rel="stylesheet">
|
||||||
<link href="css/navbar.css" rel="stylesheet">
|
<link href="css/navbar.css" rel="stylesheet">
|
||||||
|
<link href="css/footer.css" rel="stylesheet">
|
||||||
<link href="css/index.css" rel="stylesheet">
|
<link href="css/index.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -66,6 +67,7 @@
|
||||||
<img class="placeholder" src="assets/meilleurappelersaoul.jpg"></img>
|
<img class="placeholder" src="assets/meilleurappelersaoul.jpg"></img>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<Footer></Footer>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -90,4 +90,5 @@ function concatPath(slashNum, basePath)
|
||||||
|
|
||||||
window.addEventListener('load', function () {
|
window.addEventListener('load', function () {
|
||||||
load(urlStr+"components/navbar.html", document.getElementsByTagName("Navbar")[0], urlStr+"js/navbar.js", this.document.getElementsByTagName("head")[0]);
|
load(urlStr+"components/navbar.html", document.getElementsByTagName("Navbar")[0], urlStr+"js/navbar.js", this.document.getElementsByTagName("head")[0]);
|
||||||
|
load(urlStr+"components/footer.html", document.getElementsByTagName("Footer")[0], urlStr+"js/footer.js", this.document.getElementsByTagName("head")[0]);
|
||||||
})
|
})
|
0
js/footer.js
Normal file
0
js/footer.js
Normal file
Loading…
Add table
Reference in a new issue