forked from rebillar/site-accueil-insa
53 lines
No EOL
732 B
CSS
53 lines
No EOL
732 B
CSS
* {
|
|
text-align: center;
|
|
}
|
|
|
|
section {
|
|
display: block;
|
|
background-color: rgba(255,255,255,0.5);
|
|
width: 80%;
|
|
max-width: 800px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 50px;
|
|
font-size: 1.2rem;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.input {
|
|
width: 50%;
|
|
background-color: white;
|
|
border: 3px solid grey;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
height: 50px;
|
|
margin: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.submit {
|
|
width: 50%;
|
|
background-color: grey;
|
|
border: 3px solid grey;
|
|
color: white;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
height: 50px;
|
|
margin: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.submit:hover {
|
|
transition: 0.3s ease;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.submit {
|
|
width: 80%;
|
|
}
|
|
|
|
.input {
|
|
width: 80%;
|
|
}
|
|
} |