inurbe/public/style/main.css
Adrian Amaglio e7afd343ae mouved
2023-10-09 18:56:46 +02:00

307 lines
5.4 KiB
CSS
Executable File

html {
font-family: roboto, sans-serif;
color: white;
}
body {
margin: 0;
}
#entete {
display: flex;
justify-content: center;
}
#entete svg {
stroke: #000000;
fill: #000000;
}
#accueil > div:last-child > div {
margin-left: auto;
margin-right: auto;
background-color: rgba(0,0,0,0.5);
color: white;
-webkit-box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.5);
box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.5);
margin-bottom: 25px;
width: calc(95% - 20px);
}
h1,h2,h3,h4,nav {
font-family: roboto, sans-serif;
}
h1 {
margin:0;
}
h2 {
font-size: 2em;
font-weight: 300;
margin: 0 0 1em;
letter-spacing: -0.025em;
text-align: center;
display: inline-block;
width: 100%;
}
h2::after {
display: block;
content: '';
width: 65%;
height: 2px;
margin: 0.6em auto;
border-radius: 2px;
background-image: -moz-linear-gradient(90deg, transparent, #422d4f, #df7366, #422d4f, transparent);
background-image: -webkit-linear-gradient(90deg, transparent, #422d4f, #df7366, #422d4f, transparent);
background-image: -ms-linear-gradient(90deg, transparent, #422d4f, #df7366, #422d4f, transparent);
background-image: linear-gradient(90deg, transparent, #422d4f, #df7366, #422d4f, transparent);
}
#logo {
width: 235px;
}
#titre {
display: flex;
flex-direction: column;
margin: auto 0;
text-align: center;
padding: 0 10px;
text-shadow: rgba(0, 0, 0, 0.25) 1px 0px 1px, rgba(0, 0, 0, 0.25) 0.540302px 0.841471px 1px, rgba(0, 0, 0, 0.25) -0.416147px 0.909297px 1px, rgba(0, 0, 0, 0.25) -0.989993px 0.14112px 1px, rgba(0, 0, 0, 0.25) -0.653644px -0.756803px 1px, rgba(0, 0, 0, 0.25) 0.283662px -0.958924px 1px, rgba(0, 0, 0, 0.25) 0.96017px -0.279416px 0px;
}
#titre h1{
font-size: 68px;
line-height: 81px;
}
#titre span{
font-size: 19px;
letter-spacing: 0.19em;
line-height: 25px;
}
.icone {
width: 34%;
border: 3px solid black;
border-color: inherit;
border-radius: 50%;
padding: 10%;
}
img {
max-width: 100%;
max-height: 100%;
}
svg {
fill: white;
stroke-width: 0;
width: 100%;
height: 100%;
}
main {
overflow: hidden;
}
main img {
filter: invert(100%);
}
ul, ol {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
a {
color: inherit;
text-decoration: none;
}
nav ul li {
margin: auto 6px;
}
nav ol li{
padding: 0px;
border-right: 1px solid #504F4F;
border-collapse: collapse;
}
nav ol li:last-child{
border: 0;
}
li a {
color: white;
}
ol li a {
padding: 0 17px;
display: flex;
height: 100%;
width: 100%;
box-sizing: border-box;
align-items: center;
}
nav {
margin: -8px 0 0;
position: sticky;
top: 0;
background-color: #2f2e2e;
z-index: 1;
}
section, nav div {
max-width: 1190px;
margin: auto;
}
section#accueil {
min-height: 100vh;
}
section {
align-items: center;
justify-content: center;
display: flex;
flex-direction: column;
position: relative;
font-size: 1.05rem;
}
nav div {
display: flex;
justify-content: space-between;
padding: 8px;
}
#qui, #contact {
padding: 70px 30px;
}
#qui p {
max-width: 720px;
margin: 1em auto;
}
#accueil {
padding-top: 50px;
display: flex;
flex-direction: column;
}
#accueil>div:last-child {
flex: 1 0 auto;
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
}
#contact > div > form > div {
display: flex;
justify-content: space-around;
}
#contact .section, #qui .section {
background-color: rgba(0,0,0,0.5);
padding: 30px 10px;
margin: -30px 0;
width: 100%;
max-width: 950px;
}
#contact .section form {
padding: 0 5%;
width: 90%;
}
#input {
display: flex;
flex-direction: column;
justify-content: space-around;
}
#contact div > div {
width: 40%;
}
form button, form input[type="submit"] {
margin-left: calc(98% - 97px);
background-color: #2f2e2e;
color: white;
border: 0;
padding: 4px 10px;
cursor:pointer;
}
#accueil .background-image {
top: 0;
background-image: url("https://static.wixstatic.com/media/809106_a54ac556210f4ada8dd7ad3af6fb9fe0~mv2_d_2237_2237_s_2.jpg/v1/fill/w_1920,h_1920,al_b,q_85,usm_0.66_1.00_0.01/809106_a54ac556210f4ada8dd7ad3af6fb9fe0~mv2_d_2237_2237_s_2.webp");
}
#qui .background-image {
background-image: url("https://static.wixstatic.com/media/1e47b2_cd5df08585b64f40a575e620ed3bf997.jpg/v1/fill/w_1903,h_650,al_c,q_85,usm_0.66_1.00_0.01/1e47b2_cd5df08585b64f40a575e620ed3bf997.webp");
}
#contact .background-image {
background-image: url("https://static.wixstatic.com/media/809106_a54ac556210f4ada8dd7ad3af6fb9fe0~mv2_d_2237_2237_s_2.jpg/v1/fill/w_1920,h_1920,al_b,q_85,usm_0.66_1.00_0.01/809106_a54ac556210f4ada8dd7ad3af6fb9fe0~mv2_d_2237_2237_s_2.webp");
}
.background-image {
position: absolute;
top: 0px;
width: 100vw;
object-position: 50% 100%;
background-size: cover;
background-position: center bottom;
background-repeat: no-repeat;
height: 120%;
transform: matrix(1, 0, 0, 1, 0, 0);
margin: 0px;
z-index: -1;
}
h3 {
font-size: 1.175em;
}
@media (max-width: 500px) {
nav ul {
margin-right: 5px;
}
nav div{
padding: 8px 0px;
}
ol li a {
padding: 0px 10px;
}
nav ul li {
margin: auto 4px;
}
nav ul li:first-child {
margin-left:7px;
}
#titre h1 {
font-size: 56px;
}
#titre span {
font-size: 16px;
letter-spacing: 0.15em;
}
section {
font-size: 0.92rem;
}
h3 {
font-size: 100%;
}
#contact .section form {
padding: 0;
width: 100%;
}
#contact div > div:first-child {
width: 50%;
}
}