Projet-Symfony/assets/styles/app.css
2024-02-22 11:05:30 +01:00

93 lines
1.8 KiB
CSS

* {
margin: 0;
padding: 0;
font-family: "Kulim Park", sans-serif;
--dark: hsl(200, 5%, 15%);
--light: hsl(15, 70%, 98%);
--grey: hsl(15, 6%, 92%);
--radius: 8px;
--size-max: 20px;
--shadow: 0 0 0 1px var(--dark);
--shadow-hover: 0 0 0 2px var(--dark);
}
a {
color: inherit;
transition: all ease-out 0.3s;
&:hover {
font-weight: 700;
}
&.no-style {
text-decoration: none;
}
}
/*Main content (between header and footer)*/
body > main {
min-height: calc(100vh - ((2rem + 2 * 0.75rem) + 6rem));
/* height: fit-content; */
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/*fix symfony template style*/
.example-wrapper {
margin: 0 1em !important;
}
header {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: baseline;
padding: 0.75rem;
background-color: var(--dark);
color: var(--light);
height: 2rem;
}
header > form {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
padding: 2px 8px;
border: solid 2px var(--light);
border-radius: var(--radius);
& > input[type="text"] {
border: none;
outline: none;
background: none;
color: var(--light);
}
& label > img {
width: 20px;
height: 20px;
cursor: pointer;
padding-top: 1px;
padding-bottom: -1px;
}
& input[type="submit"] {
display: none;
}
}
footer {
display: flex;
flex-direction: row;
width: 100vw;
height: 6rem;
justify-content: center;
align-items: center;
background: hsl(200, 5%, 85%);
& > p {
font-size: large;
}
}