First commit

This commit is contained in:
cedric 2025-11-30 01:37:28 +01:00
commit de232726b7
53 changed files with 3155 additions and 0 deletions

61
css/cv.css Normal file
View file

@ -0,0 +1,61 @@
section h2 {
margin-bottom: 0;
}
.resume-box ul {
margin: 0;
padding: 30px 20px;
list-style: none;
text-align: left;
}
.resume-box li {
position: relative;
padding: 0 20px 0 60px;
margin: 0 0 30px;
}
.resume-box li:after {
content: "";
position: absolute;
top: 0;
left: 20px;
border-left: 1px dashed #004080;
bottom: 0;
}
.resume-box li:last-child {
margin-bottom: 0;
}
.resume-box .resume-icon {
width: 40px;
height: 40px;
position: absolute;
left: 0;
right: 0;
color: #004080;
line-height: 40px;
background: #ffffff;
text-align: center;
z-index: 1;
border: 1px dashed;
border-radius: 50%;
}
.resume-box .resume-details {
background: #2E8BC0;
color: #ffffff;
font-size: 14px;
padding: 2px 14px;
display: inline-block;
margin-bottom: 12px;
border-radius: 20px;
line-height: 2;
}
.resume-logo {
filter: brightness(0) saturate(100%) invert(19%) sepia(20%) saturate(5803%) hue-rotate(178deg) brightness(91%) contrast(103%);
border-radius: 0;
margin-top: 7px;
}

216
css/home.css Normal file
View file

@ -0,0 +1,216 @@
.home-bg {
background-image: url('../images/illustrations/home/autism-background.webp');
height: 100vh;
min-height: 750px;
background-position: right;
background-repeat: no-repeat;
background-size: cover;
position: relative;
z-index: 1;
color: white;
}
.home-bg::after {
content: "";
display: block;
position: absolute;
z-index: -1;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: #004064E0;
}
.home-header {
text-align: center;
margin-left: 10px;
margin-right: 10px;
}
.home-title {
font-family: DancingScript;
text-align: center;
font-size: 100px;
line-height: 1.1;
font-weight: normal;
padding-top: 50px;
margin: 5px;
}
.home-headline {
font-size: 24px;
}
.home-footer {
padding-left: 48px;
padding-top: 100px;
}
.home-contact {
font-size: 16px;
text-transform: uppercase;
}
.home-contact-content {
margin-top: 20px;
}
.home-contact-logo {
min-width: 40px;
min-height: 40px;
border-radius: 50%;
border: 1px solid white;
text-decoration: none;
justify-content: center;
margin-bottom: 5px;
}
.home-contact-text {
display: inline-flex;
align-items: center;
color: white;
margin-right: 15px;
}
.home-contact-link {
color: white;
}
.home-photo {
height: 400px;
}
.home-prestations {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;
grid-column-gap: 40px;
align-items: stretch;
text-align: left;
margin-top: 50px;
}
.home-prestations-title {
display: flex;
justify-content: center;
align-items: center;
height: 70px;
}
.home-prestations-title h3 {
margin-left: 20px;
width: 100%;
}
.home-logo {
height: 50px;
width: 50px;
border-radius: 0;
}
.home-map-display {
width: 100%;
margin-top: 20px;
margin-bottom: 20px;
}
.home-resources {
text-align: center;
}
.home-resources a {
text-decoration: none;
}
.home-resources img {
margin: 1%;
}
@media (max-width: 1000px) {
.home-prestations {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
grid-column-gap: 40px;
align-items: stretch;
text-align: left;
}
.home-resources span {
display: block;
}
.home-resources img {
width: 25%;
}
}
@media (max-width: 795px) {
.home-prestations {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
grid-column-gap: 40px;
align-items: stretch;
text-align: left;
}
}
@media (max-width: 735px) {
.illustrated-left {
float: none;
}
.home-photo {
margin: auto;
display: block;
}
}
@media (max-width: 485px) {
.home-photo {
height: 100%;
width: 100%;
}
}
@media (max-width: 390px) {
.home-contact-content {
font-size: 14px;
}
.home-contact-logo {
display: none;
}
.home-footer div div {
margin-top: 12px;
}
}
@media (max-width: 50em) {
.home-title {
font-size: 60px;
}
.home-headline {
font-size: 17px;
}
}

373
css/main.css Normal file
View file

@ -0,0 +1,373 @@
:root {
--dark: #004064;
--light: #2E8BC0;
}
@font-face {
font-family: DancingScript;
src: url('../fonts/DancingScript/DancingScript-Regular.ttf');
font-display: swap;
}
body {
margin: 0;
height: 100%;
font-family: Arial, sans-serif;
color: midnightblue;
font-size: 18px;
line-height: 1.6;
}
h1 {
font-size: 1rem;
margin-top: auto;
margin-bottom: auto;
margin-right: auto;
}
a {
color: var(--light);
}
section {
padding: 2rem;
max-width: 1040px;
text-align: justify;
margin: 0 auto 0 auto;
}
section h2 {
margin-bottom: 4rem;
position: relative;
--display: inline;
text-align: center;
padding-right: 0;
}
section h2::after {
content: "";
width: 125px;
height: 30px;
position: absolute;
bottom: -25px;
right: -30px;
background-image: url(../images/illustrations/marker.svg);
background-repeat: no-repeat;
left: 50%;
margin-left: -60px;
}
section h3 {
text-align: left;
}
strong {
color: var(--light);
}
img {
border-radius: 25px;
}
footer {
padding: 3rem;
text-align: center;
background: var(--dark);
color: white;
}
footer h2 {
font-family: DancingScript;
font-size: 30px;
line-height: 0;
}
footer a {
color: white;
}
.unmarged {
margin: 0;
}
footer div {
margin-top: 2rem;
margin-bottom: 2rem;
}
.footer-contact {
justify-content: center;
list-style-type: none;
display: flex;
font-size: 25px;
}
.footer-contact a {
display: block;
padding: 0.5rem 1rem;
color: white;
text-decoration: none;
}
.contact-logo {
filter: brightness(0) saturate(100%) invert(100%) sepia(31%) saturate(2%) hue-rotate(307deg) brightness(102%) contrast(100%);
border-radius: 0;
}
.navigate-button {
display: flex;
align-items: center;
justify-content: center;
max-height: 50px;
font-weight: 700;
text-decoration: none;
color: #fff;
background-color: var(--light);
border-radius: 10px;
cursor: pointer;
text-align: center;
margin-top: 15px;
padding: 10px;
margin-bottom: 15px;
}
.illustrated {
width: 400px;
}
.illustrated-right {
float: right;
margin-left: 20px;
}
.illustrated-left {
float: left;
margin-right: 20px;
}
.square-24 {
height: 24px;
width: 24px;
}
.square-18 {
height: 18px;
width: 18px;
}
.square-40 {
height: 40px;
width: 40px;
}
/************************/
@media (max-width: 575px) {
section h2 {
padding-right: 0;
}
section h2::after {
bottom: -30px;
left: 50%;
margin-left: -60px;
}
.illustrated {
width: 100%;
}
}
/************************/
@media (max-width: 50em) {
body {
font-size: 16px;
}
}
@media (max-width: 735px) {
.illustrated {
float: none;
margin: auto;
display: block;
}
}
/***************************/
/* header */
header {
padding-bottom: 50px;
}
.header {
color: white;
background-color: #0d496b;
position: fixed;
width: 100%;
z-index: 3;
line-height: 1;
display: block;
}
.header a {
color: white;
}
.header ul {
margin: 0;
padding: 0;
list-style: none;
overflow: hidden;
}
.header li a {
display: block;
padding: 20px 20px;
text-decoration: none;
}
.header .brand {
height: 40px;
margin: 10px;
}
/* menu */
.header .menu {
clear: both;
max-height: 0;
transition: max-height .2s ease-out;
}
/* menu icon */
.header .menu-icon {
cursor: pointer;
display: inline-block;
float: right;
padding: 28px 20px;
position: relative;
user-select: none;
}
.header .menu-icon .navicon {
background: white;
display: block;
height: 2px;
position: relative;
transition: background .2s ease-out;
width: 18px;
}
.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
background: white;
content: '';
display: block;
height: 100%;
position: absolute;
transition: all .2s ease-out;
width: 100%;
}
.header .menu-icon .navicon:before {
top: 5px;
}
.header .menu-icon .navicon:after {
top: -5px;
}
/* menu btn */
.header .menu-btn {
display: none;
}
.header .menu-btn:checked ~ .menu {
max-height: 265px;
}
.header .menu-btn:checked {
font-size: 1px;
}
.header .menu-btn:checked ~ .menu-icon .navicon {
background: transparent;
}
.header .menu-btn:checked ~ .menu-icon .navicon:before {
transform: rotate(-45deg);
}
.header .menu-btn:checked ~ .menu-icon .navicon:after {
transform: rotate(45deg);
}
.header .menu-btn:checked ~ .menu-icon .navicon:before,
.header .menu-btn:checked ~ .menu-icon .navicon:after {
top: 0;
}
/* 48em = 768px */
@media (min-width: 48em) {
.header li {
float: left;
}
.header li a {
padding: 20px 30px;
}
.header .menu {
clear: none;
float: right;
max-height: none;
}
.header .menu-icon {
display: none;
}
}
@media (max-width: 390px) {
section {
text-align: center;
}
section h3 {
text-align: center;
}
li {
list-style-type: none;
margin-right: 45px;
margin-bottom: 10px;
margin-top: 10px;
}
.footer-contact {
margin-right: 35px;
}
.footer-contact li {
margin: 0;
}
}

33
css/price.css Normal file
View file

@ -0,0 +1,33 @@
.price-item {
display: grid;
grid-template-columns: 9fr 1fr;
grid-template-rows: 1fr;
grid-column-gap: 40px;
align-items: stretch;
}
.price-item div:last-child {
background-color: var(--light);
border-radius: 25px;
color: white;
margin-top: 20px;
margin-bottom: 20px;
font-size: 20px;
padding-top: 33%;
text-align: center;
}
.devis {
text-align: center;
font-size: 24px;
}
@media (max-width: 50em) {
.price-item div:last-child {
font-size: 15px;
height: 50px;
width: 50px;
border-radius: 10px;
}
}