Last active
December 16, 2024 22:56
-
-
Save cdmoro/cab5b23385b0a243a9b2bb8e457cb9c4 to your computer and use it in GitHub Desktop.
Mobile view for https://www.epublibre.org/acceso/solicitar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Mobile view of | |
* - https://www.epublibre.org/acceso/solicitar (https://imgur.com/u1aI7xl) | |
* | |
* note: add this inside the head tag: <meta name="viewport" content="width=device-width, initial-scale=1"> | |
* in order to see the styles properly on the page | |
*/ | |
@media only screen and (max-width: 500px) { | |
.span12 { | |
max-width: 940px; | |
width: unset; | |
display: block; | |
float: unset; | |
} | |
.well_black.pad_bus .row:before { | |
content: none; | |
} | |
.well_black.pad_bus .row { | |
display: flex; | |
flex-wrap: wrap; | |
} | |
.container { | |
max-width: 940px; | |
width: unset; | |
} | |
.container:before { | |
content: none; | |
} | |
#contenido div .row:nth-child(2) { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: center; | |
gap: 20px; | |
margin: 0; | |
margin-top: 1rem; | |
} | |
#contenido.row:before, | |
#contenido.row:after, | |
#contenido div .row:nth-child(2):before, | |
#contenido div .row:nth-child(2):after { | |
content: none; | |
} | |
#contenido div .row:nth-child(2) div { | |
margin: 0; | |
padding: 0; | |
} | |
.pagination.pagination-centered ul { | |
display: flex; | |
justify-content: center; | |
flex-wrap: wrap; | |
} | |
.menu.ali_derecha { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: center; | |
padding: .5rem 1rem; | |
} | |
.well_black.pad_bus { | |
border-radius: 0; | |
} | |
.container .row:nth-of-type(2) { | |
display: grid; | |
margin: 0; | |
} | |
.container .row:nth-of-type(2) .span6 { | |
float: none; | |
margin: 0; | |
display: block; | |
width: 100%; | |
} | |
.container .row:nth-of-type(2) a img { | |
position: static !important; | |
} | |
.container .row:nth-of-type(2) .span2.txt_pequena.txt_blanco.pad_t_15 { | |
padding-top: 0rem; | |
} | |
.container .row:nth-of-type(1) .ali_derecha.pad_t.negrita { | |
padding-right: 1rem; | |
} | |
/* SOLICITAR ACCESO */ | |
.disclaimer { | |
width: unset; | |
margin: 0; | |
padding: 0 1rem; | |
} | |
.row:before, | |
.row:after { | |
content: none; | |
} | |
.container .row-fluid .span8.offset2 { | |
margin: 0 .5rem; | |
width: auto; | |
} | |
#solicitar .control-label { | |
display: block; | |
float: none; | |
text-align: left; | |
width: unset; | |
} | |
#solicitar .control-group:after, | |
#solicitar .control-group:before { | |
content: none; | |
} | |
#solicitar > div:last-child { | |
margin: 0; | |
} | |
#solicitar .controls { | |
margin: 0; | |
} | |
#solicitar textarea { | |
width: 100%; | |
} | |
#solicitar [name="captcha"] { | |
margin-top: .5rem; | |
margin-bottom: 1rem; | |
} | |
.txt_pequena.txt_naranja { | |
display: block; | |
} | |
/* END SOLICITAR ACCESO */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment