Last active
December 16, 2024 22:57
-
-
Save cdmoro/b9c2bc5e78297db484d31aa6cde8a7f1 to your computer and use it in GitHub Desktop.
Mobile view of https://www.epublibre.org/catalogo/index and https://www.epublibre.org/acceso/login
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/catalogo/index (https://imgur.com/a/OfoCZAD) | |
* - https://www.epublibre.org/acceso/login (https://imgur.com/a/hhfNFOb) | |
* | |
* 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; | |
} | |
.aviso { | |
padding: 0 1rem; | |
} | |
.pull-right.txt_pequena.txt_blanco { | |
padding: .5rem 1rem; | |
} | |
.span2.margen_b_5 { | |
margin-left: .5rem; | |
} | |
/* LOGIN */ | |
.span8.offset2:has(div #login) { | |
margin: 0 .5rem; | |
width: unset; | |
float: none | |
} | |
.span8.offset2:has(div #login) .control-label { | |
float: unset; | |
text-align: left; | |
} | |
.span8.offset2:has(div #login) .controls { | |
margin: 0; | |
} | |
.span8.offset2:has(div #login) .controls input[type="text"], | |
.span8.offset2:has(div #login) .controls input[type="password"] { | |
width: 100%; | |
} | |
/* END LOGIN */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment