Difference between revisions of "User:James Hare/vector.css"
Jump to navigation
Jump to search
James Hare (talk | contribs) (gonna do it with js instead) |
James Hare (talk | contribs) (Mobile CSS) |
||
Line 1: | Line 1: | ||
+ | /* For mobile devices */ |
||
+ | |||
+ | @media only screen and (max-device-width:480px) { |
||
+ | #p-logo, |
||
+ | #mw-head { |
||
+ | display:none; |
||
+ | } |
||
+ | #mw-panel { |
||
+ | position:absolute; |
||
+ | bottom:0; |
||
+ | } |
||
+ | #mw-panel ul li { |
||
+ | list-style:none; |
||
+ | display:inline; |
||
+ | } |
||
+ | #bodyContent { |
||
+ | position:absolute; |
||
+ | left:0; |
||
+ | } |
||
+ | } |
Revision as of 06:14, 6 June 2013
/* For mobile devices */
@media only screen and (max-device-width:480px) {
#p-logo,
#mw-head {
display:none;
}
#mw-panel {
position:absolute;
bottom:0;
}
#mw-panel ul li {
list-style:none;
display:inline;
}
#bodyContent {
position:absolute;
left:0;
}
}