Files
posterg-front-end/style.css
2022-12-21 16:15:53 +01:00

125 lines
2.2 KiB
CSS

@font-face {
font-family: police1;
src: url("fonts/Combinedd.otf");
}
body {
background-color: white;
/* overflow-x: hidden; */
/* width: 100%; */
}
/* ENTÊTE */
header {
z-index: 10000;
font-family: 'police1';
position: fixed;
background: linear-gradient(315deg, rgba(77, 168, 112, 1) 0%, rgba(193, 4, 252, 1) 66%);
top: 0;
left: 0;
margin: 0;
padding: 1.2rem;
height: auto;
width: 100%;
text-decoration: none;
outline: none;
font-size: 2rem;
}
header a {
text-decoration: none;
color: white;
outline: none;
}
header a:hover {
color: rgba(77, 168, 112, 1);
}
/* MENU */
.menu {
position: inherit;
width: 100vw;
left: 0;
background-color: white;
background: linear-gradient(0deg, rgba(2,0,36,0) 0%, rgba(255,255,255,1) 40%);
}
.menu-content{
display: flex;
flex-direction: row;
justify-content: center;
/* align-items: flex; */
/* margin-top: 8vh; */
padding: 2rem;
gap: 1rem;
/* align-self: flex-start; */
}
.boutton {
margin: 0;
width: auto;
padding: 0.8rem;
text-align: center;
text-decoration: none;
font-size: 0.8rem;
font-family: police1;
transition-duration: 0.4s;
cursor: pointer;
border-radius: 16px;
background-color: white;
}
.boutton1 {
background-color: none;
color: rgb(193, 4, 252);
border: 1px solid rgb(193, 4, 252);
}
.boutton1:hover {
background-color: rgb(193, 4, 252);
color: white;
}
/* CONTENUS DE LA PAGE */
#page_content {
position: relative;
top: 15vh;
max-width: 80ch;
padding: 3em 1em;
margin: auto;
line-height: 1.75;
font-size: 1.25em;
}
/* GRILLE */
.grid-section{
position: relative;
/* display: block; */
/* position: fixed; */
/* margin: 30%; */
}
.grid-main {
display: grid;
/* margin-top:20vh; */
margin-right: 1vw;
grid-template-columns: repeat(5, 1fr);
grid-gap: 10px;
grid-auto-rows: minmax(100px, auto);
}
.grid1 {
grid-column: 1 / 5;
grid-row: 1 / 12;
background-color: #c104fc;
}
.grid2 {
grid-column: 5 / 5;
grid-row: 1 / 12;
background-color: #4da870;
}