mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-10 08:13:24 +00:00
28f397574f
- Refonte de l'organisation des pages utilisateurs (principalement du front) - Page des parrains/fillots - Page d'édition du profil - Page du profil - Page des outils - Page des préférences - Page des stats utilisateurs - Refonte du CSS / organisation de la navbar principale (en haut de l'écran) - Refonte du CSS de la navbar bleu clair (le menu) - Refonte du CSS du SAS : - Page de photo - Page d'albums
108 lines
1.8 KiB
SCSS
108 lines
1.8 KiB
SCSS
html,
|
|
body {
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#page {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
#content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 10px;
|
|
box-shadow: none;
|
|
background-color: white;
|
|
margin: 0;
|
|
|
|
> .title {
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
> div,
|
|
> form {
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
max-width: 500px;
|
|
margin-top: 20px;
|
|
|
|
> p,
|
|
> div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin: 0;
|
|
|
|
> label {
|
|
width: 100%;
|
|
|
|
@media (min-width: 500px) {
|
|
width: 300px;
|
|
}
|
|
}
|
|
}
|
|
|
|
> input,
|
|
> p > input,
|
|
> div > input {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
max-width: 500px;
|
|
|
|
@media (min-width: 500px) {
|
|
max-width: 300px;
|
|
}
|
|
}
|
|
|
|
> .errorlist {
|
|
color: red;
|
|
text-align: center;
|
|
margin: 10px 0 0 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
> .required > .helptext {
|
|
text-align: center;
|
|
font-style: italic;
|
|
}
|
|
|
|
> .required:last-of-type {
|
|
box-sizing: border-box;
|
|
max-width: 300px;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
|
|
> label {
|
|
width: 100%;
|
|
}
|
|
|
|
> img {
|
|
width: 70px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
> input {
|
|
width: 200px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |