Last active
August 29, 2015 14:07
-
-
Save stefansl/2d18a6ad224f2cce0494 to your computer and use it in GitHub Desktop.
contao-mediaquery-reset-subcolums.less
This file contains 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
# Taken from the module contao-boilerplate | |
# Author: Andreas Isaak (Thanks for that!) | |
# https://github.com/andreasisaak/contao-boilerplate | |
@media only screen and (max-width: 480px) { | |
#header > .inside, | |
#main > .inside, | |
#footer > .inside { | |
padding: 1em; | |
} | |
#header > .inside { padding-top: 0; } | |
#header { | |
height: 100px; | |
#main-nav { display: none;} | |
#mobile-trigger { display: block; } | |
#logo { | |
width: 200px; | |
padding: 1.4em 0 0 0; | |
} | |
} | |
.ce_gallery { | |
li { width: 100%; margin-right: 0 !important; } | |
} | |
.ce_gallery > ul li.col_first { clear: none;} | |
.dlh_googlemap { width: 100% !important; } | |
.subcolumns .first, | |
.subcolumns .mod_colsetPart, | |
.subcolumns .sc_second, | |
.subcolumns > div { | |
float:none; | |
width:100%; | |
margin:0; | |
} | |
.equalize > div { | |
display:block; | |
} | |
.subcolumns .mod_colsetPart, | |
.subcolumns .ce_colsetPart, | |
.subcolumns .sc_second { | |
margin-top:0; | |
} | |
.subcolumns .subcl, | |
.subcolumns .subcr, | |
.subcolumns .subc { | |
padding:0 !important; | |
margin-bottom: 1em; | |
} | |
.ym-grid .first, | |
.ym-grid .ce_colsetStart, | |
.ym-grid .ce_colsetPart, | |
.ym-grid > div { | |
float:none; | |
width:100%; | |
margin:0; | |
} | |
.ym-grid .ym-gbox-left, | |
.ym-grid .ym-gbox, | |
.ym-grid .ym-gbox-right { | |
padding:0 !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment