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;
}