Dia 20
This commit is contained in:
103
Practicas/Practicas HTML/Formularios/Practica 4/css/style.css
Normal file
103
Practicas/Practicas HTML/Formularios/Practica 4/css/style.css
Normal file
@@ -0,0 +1,103 @@
|
||||
@charset "UTF-8";
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
body{
|
||||
font-family: 'Roboto', sans-serif;
|
||||
background-image: url("../img/fondo_taller.jpg");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: repeat;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.form_flex{
|
||||
margin: auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
max-width: 650px;
|
||||
width: 100%;
|
||||
gap: 2em;
|
||||
}
|
||||
|
||||
.form_title{
|
||||
width: 100%;
|
||||
margin-top: 2em;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
border: 2px solid rgb(83, 99, 224);
|
||||
border-radius: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
.form_title h1 {
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
.fieldset_std{
|
||||
width: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
border: 2px solid rgb(83, 99, 224);
|
||||
border-radius: 0.6em;
|
||||
padding: 1em;
|
||||
color: yellow;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
.form_fieldset{
|
||||
border: 2px solid rgb(83, 99, 224);
|
||||
border-radius: 0.6em;
|
||||
padding: 1em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.6em;
|
||||
}
|
||||
|
||||
.responsive_flex{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap:1em;
|
||||
}
|
||||
|
||||
.label_std{
|
||||
display: inline-block;
|
||||
width: 5em;
|
||||
color: white;
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: transparent;
|
||||
border: 1px solid white;
|
||||
border-radius: 0.2em;
|
||||
color: white;
|
||||
padding: 0.2em 0.5em;
|
||||
}
|
||||
|
||||
.btn{
|
||||
border: 2px solid rgb(83, 99, 224);
|
||||
padding: 0.4em;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
|
||||
@media(max-width: 550px){
|
||||
body{
|
||||
background-image: url("../img/fondo_vertical_taller.jpg");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
height: 100%;
|
||||
padding: 0.5em;
|
||||
}
|
||||
.responsive_flex{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap:0.1em;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user