Projet-Symfony/assets/styles/app.css
2024-02-21 16:56:47 +01:00

80 lines
1.5 KiB
CSS

* {
margin: 0;
padding: 0;
font-family: 'Kulim Park', sans-serif;
--background: hsl(200, 5%, 15%);
--accent: hsl(15, 70%, 98%);
--radius: 8px;
}
a {
color: inherit;
text-decoration: none;
transition: all ease-out 0.3s;
&:hover {
font-weight: 700;
}
}
/*Main content (between header and footer)*/
body > main {
min-height: calc(100vh - ((2rem + 2*0.75rem) + 6rem));
}
/*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(--background);
color: var(--accent);
height: 2rem;
}
header > form {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
padding: 2px 8px;
border: solid 2px var(--accent);
border-radius: var(--radius);
&>input[type=text]{
border: none;
outline: none;
background: none;
color: var(--accent);
}
& 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;
}
}