Divers ajouts/modifications

- Ajout du blog
- Ajout de la page équipe
- Modification du header (style)
- Modification du footer (contenu + style)
- Ajout du plan du site
- Ajout des mentions légales
- Ajout du favicon
- Ajout des balises OpenGraph
- Ajout du logo GitHub
This commit is contained in:
2023-01-17 23:44:08 +01:00
parent e6806dc692
commit 6a654ae0d7
23 changed files with 1107 additions and 280 deletions

3
assets/css/blog.css Normal file
View File

@@ -0,0 +1,3 @@
#articles li {
margin-bottom: 15px;
}

View File

@@ -1,100 +1,32 @@
footer {
background: var(--c-bg-footer);
color: var(--c-footer-text);
display: grid;
align-items: center;
}
footer div p {
font-size: 25pt;
text-align: center;
}
#social ul {
display: inline-block;
}
#social li {
display: inline;
}
#copyright {
text-align: center;
padding-top: 25px;
padding-bottom: 25px;
height: 100%;
padding-top: 1rem;
padding-bottom: 1rem;
background-color: #21262d;
margin: 0;
color: #ddd;
}
#social, #sitemap, #contact {
height: max-content;
}
footer a {
color: var(--c-footer-text);
text-decoration: none;
}
#contact a:hover, #sitemap a:hover {
text-decoration: underline;
}
#social ul {
footer div.content {
display: flex;
justify-content: center;
padding: 0;
align-items: center;
justify-content: space-between;
max-width: 1280px;
margin-right: auto;
margin-left: auto;
padding-right: 1rem;
padding-left: 1rem;
}
#social li {
padding: 20px;
footer div.text {
display: flex;
gap: 1.5rem;
font-size: 14px;
}
#sitemap ul {
list-style: none;
footer div.text a {
color: #ddd;
}
#sitemap li, #contact li {
padding-bottom: 15px;
}
footer ul {
font-weight: 600;
}
#contact ul {
list-style: none;
text-align: center;
padding: 0;
}
#contact a[href^="tel:"]::before {
content: "☎️ ";
}
#contact a[href^="mailto:"]::before {
content: "✉️ ";
}
@media screen and (min-width: 800px) {
footer {
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 85% 15%;
}
#social, #sitemap, #contact {
grid-row: 1;
}
#copyright {
grid-column: 1/4;
grid-row: 2;
}
}
@media screen and (max-width: 800px) {
footer {
grid-template-columns: 100%;
grid-auto-rows: auto;
}
footer div.social {
display: flex;
gap: 1rem;
align-items: center;
}

View File

@@ -5,6 +5,33 @@ header {
min-height: 100px;
}
header div {
max-width: 1280px;
margin-right: auto;
margin-left: auto;
padding-right: 1rem;
padding-left: 1rem;
}
header #logo {
filter: invert(100%);
float: left;
}
@media (prefers-color-scheme: light) {
header {
background-color: #edecec;
}
#burger-menu {
filter: none;
}
header #logo {
filter: none;
}
}
header h1 {
float: left;
font-size: 25px;
@@ -35,6 +62,7 @@ header h1 {
#burger-menu {
transform: translateY(25%);
filter: invert(100%);
}
@media screen and (min-width: 700px) {

View File

@@ -22,9 +22,9 @@ display: inline;
max-width: 1280px;
margin-left: auto;
margin-right: auto;
}
}
p {
main p {
padding-left: 5%;
padding-right: 5%;
padding-bottom: 2%;

View File

@@ -99,4 +99,35 @@ main a:hover::after {
.right, .left {
grid-column: 1;
}
}
#backToTop {
display: none;
position: fixed;
bottom: 55px;
right: 55px;
z-index: 99;
font-size: 18px;
border: none;
outline: none;
background-color: #00A6ED;
padding: 15px;
border-radius: 4px;
}
#backToTop:hover {
background-color: #555;
}
nav.crumbs {
border-bottom: 1px solid var(--c-b-primary);
}
.crumbs ol {
list-style-type: none;
padding-left: 0;
}
.crumb {
display: inline-block;
}

81
assets/css/team.css Normal file
View File

@@ -0,0 +1,81 @@
@media screen and (min-width: 700px) {
#team {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
main p#join, #team {
text-align: center;
}
}
@media screen and (min-width: 850px) {
#cv {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 25px;
}
#skill {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
#skill h2 {
grid-column: 1/3;
}
}
ul#social {
display: inline-block;
display: flex;
padding: 0;
list-style: none;
}
ul#social li {
display: inline;
padding: 10px;
}
img[alt="github"] {
filter: invert(100%);
}
@media (prefers-color-scheme: light) {
img[alt="github"] {
filter: none;
}
}
@media print {
* {
background-color: transparent !important;
color: black !important;
box-shadow: none !important;
text-shadow: none !important;
}
header, footer {
display: none;
}
#cv {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 25px;
}
#skill {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
#skill h2 {
grid-column: 1/3;
}
}
#articles li {
margin-bottom: 15px;
}

BIN
assets/img/favicon_dark.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

1
assets/img/github.svg Normal file
View File

@@ -0,0 +1 @@
<svg width="98" height="96" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="#24292f"/></svg>

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

16
assets/js/script.js Normal file
View File

@@ -0,0 +1,16 @@
let backToTop = document.getElementById("backToTop");
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
backToTop.style.display = "block";
} else {
backToTop.style.display = "none";
}
}
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}