IFCD0210/Practicas/Practicas_PHP/ejercicios/Plantilla Examen/estilos.css
2024-02-28 01:37:44 +01:00

129 lines
1.9 KiB
CSS
Executable File

@charset "UTF-8";
*{
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
border: none;
outline: none;
}
p{
margin-bottom: 10px;
}
table {
width:80%;
min-width:350px;
margin:auto;
background-color:#9d2236;
border:2px solid #000000;
color:white;
}
td,th {
text-align: center;
padding:3px;
}
form,div {
width:80%;
min-width:350px;
background-color:#9d2236;
border:2px solid #000000;
padding:10px;
box-sizing:border-box;
color:white;
font-size:18px;
margin:auto;
margin-top: 20px;
}
fieldset {
background-color:#9d2236;
border:2px solid #ffffff;
padding:10px;
box-sizing:border-box;
}
#flex {
display:flex;
justify-content:space-between;
}
label {
margin-right:10px;
margin-bottom: 5px;
}
input {
color:white;
background-color:#9d2236;
border: 2px solid white;
padding: 2px;
min-width: 300px;
}
legend {
font-weight: bold;
font-size: 20px;
margin:10px;
}
select,option {
color:white;
background-color:#9d2236;
border: 2px solid white;
padding: 2px;
}
textarea {
background-color:#9d2236;
width:100%;
height:200px;
color:white;
border: 2px solid white;
padding:10px;
box-sizing:border-box;
margin-left: 10px;
}
input[type=submit], input[type=button],input[type=reset] {
background-color:#9d2236;
color:white;
font-size: 16px;
font-weight: lighter;
margin-top: 10px;
padding: 5px;
border:2px solid #000000;
border-radius:5px;
box-shadow: 1px 2px 3px #fff;
}
/* Media query para pantallas de menos de 450 píxeles de ancho */
@media (max-width: 450px) {
label {
display: block;
margin-bottom: 5px;
}
#flex {
flex-wrap:wrap;
flex-direction: column-reverse;
}
textarea {
margin-left: 0px;
}
table {
display: block;
width: 80%;
overflow-x: auto;
}
}