www/public/styles/style.css

147 lines
2.0 KiB
CSS

body {
margin: 0;
padding: 0;
}
section {
min-height: 100vh;
}
footer {
padding: 1em;
text-align: center;
background-color: white;
}
nav ul {
display: flex;
flex-direction: row;
}
nav ul li {
list-style: none;
padding-left: 2em;
}
nav ul a {
color: black;
}
header,
section {
padding: 1em;
}
body {
background-color: black;
background-image: url("/media/pictures/terre.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: 50%;
}
div.container.flip {
min-height: 20em;
}
div.container {
background-color: white;
padding: 2em;
min-height: max-content;
}
div.container.flip:nth-child(even) {
background-color: white;
}
div.container.flip:nth-child(odd) {
background-color: transparent;
height: 25em;
}
a img {
max-height: 1em;
border-radius: 10%;
}
footer a {
text-decoration: none;
color: black
}
#map {
height: 25em;
}
.center {
position: relative;
text-align: center;
margin: auto;
}
.big-button {
background-color: green;
padding: 2em;
border-radius: 1em;
}
div.reduced {
max-height: 10em;
}
form {
display: flex;
flex-direction: column;
}
form input,
form textarea {
margin: 1em;
}
form input[type=submit] {
width: fit-content;
}
div.error {
background-color: rgba(255, 0, 0, 0.5);
border: solid red 1px;
border-radius: 1em;
padding: 1em;
}
div.msg {
background-color: rgba(0, 255, 0, 0.5);
border: solid darkgreen 1px;
border-radius: 1em;
padding: 1em;
margin: 2em;
}
img.full-height {
max-height: none;
height: 4em;
border-radius: 0;
}
.row {
display: flex;
flex-direction: row;
}
div.container.row>div {
flex: 0 0 50%;
}
div.container div p,
div.container div button,
div.container div img#logo {
position: relative;
height: fit-content;
margin-top: 20%;
}
div.container img#logo {
border-radius: 1em;
}