MediaWiki:Gadget-ResponsiveStyle.css: Difference between revisions
From Halopedia, the Halo wiki
(Created page with "→Responsive CSS applied to both desktop and mobile: ") |
mNo edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Responsive CSS applied to both desktop and mobile */ | /* Responsive CSS applied to both desktop and mobile */ | ||
/* Mobile phone */ | |||
@media all and (max-width: 719px) { | |||
/* Echo extension */ | |||
.mw-echo-ui-notificationItemWidget-content-actions-buttons { | |||
font-size: 10px; | |||
} | |||
/* User board */ | |||
.user-board-message { | |||
width: auto !important; | |||
} | |||
.user-page-message-form textarea { | |||
width: 100% !important; | |||
} | |||
/* Template:Ref/List */ | |||
.reflist { | |||
column-count: 1 !important; | |||
} | |||
/* Template:Notice */ | |||
.notice { | |||
min-width: 0 !important; | |||
max-width: none !important; | |||
} | |||
.notice-wrapper { | |||
width: auto !important; | |||
display: block !important; | |||
} | |||
/* Hub pages */ | |||
.hub-body { | |||
display: block !important; | |||
} | |||
.hub-body-col { | |||
width: auto !important; | |||
max-width: none !important; | |||
} | |||
.hub-body-box { | |||
margin-left: 0 !important; | |||
margin-right: 0 !important; | |||
} | |||
.mobile #hub-contents { | |||
display: none !important; | |||
} | |||
} | |||
/* Desktop/tablet */ | |||
@media all and (min-width: 720px) { | |||
/* User profile */ | |||
#user-page-left > .profile-info-container > div { | |||
width: 50%; | |||
float: left; | |||
} | |||
} |
Latest revision as of 13:36, January 28, 2024
/* Responsive CSS applied to both desktop and mobile */
/* Mobile phone */
@media all and (max-width: 719px) {
/* Echo extension */
.mw-echo-ui-notificationItemWidget-content-actions-buttons {
font-size: 10px;
}
/* User board */
.user-board-message {
width: auto !important;
}
.user-page-message-form textarea {
width: 100% !important;
}
/* Template:Ref/List */
.reflist {
column-count: 1 !important;
}
/* Template:Notice */
.notice {
min-width: 0 !important;
max-width: none !important;
}
.notice-wrapper {
width: auto !important;
display: block !important;
}
/* Hub pages */
.hub-body {
display: block !important;
}
.hub-body-col {
width: auto !important;
max-width: none !important;
}
.hub-body-box {
margin-left: 0 !important;
margin-right: 0 !important;
}
.mobile #hub-contents {
display: none !important;
}
}
/* Desktop/tablet */
@media all and (min-width: 720px) {
/* User profile */
#user-page-left > .profile-info-container > div {
width: 50%;
float: left;
}
}