MediaWiki:Gadget-ResponsiveStyle.css: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
.columns { | .columns { | ||
column-count: auto !important; | column-count: auto !important; | ||
} | |||
/* Userboxes */ | |||
#userboxes { | |||
float: none !important; | |||
margin: 15px 0 15.75px !important; | |||
max-width: none !important; | |||
} | |||
.userbox { | |||
width: 99% !important; | |||
} | } | ||
} | } | ||
Line 14: | Line 24: | ||
.notice-template.file { | .notice-template.file { | ||
text-align: center; | text-align: center; | ||
} | |||
/* Userboxes */ | |||
#userboxes { | |||
max-width: 275px !important; | |||
} | |||
.userbox { | |||
width: 98.5% !important; | |||
} | } | ||
} | } |
Revision as of 16:23, November 15, 2024
/* Responsive CSS applied to both desktop and mobile */
/* Mobile phone */
@media all and (max-width: 719px) {
/* Template:Columns */
.columns {
column-count: auto !important;
}
/* Userboxes */
#userboxes {
float: none !important;
margin: 15px 0 15.75px !important;
max-width: none !important;
}
.userbox {
width: 99% !important;
}
}
/* Desktop/tablet */
@media all and (min-width: 720px) {
/* Notice templates */
.notice-template.file {
text-align: center;
}
/* Userboxes */
#userboxes {
max-width: 275px !important;
}
.userbox {
width: 98.5% !important;
}
}