「模組:Sidebar/styles.css」:修訂間差異

增加 529 位元組 、​ 2024年8月4日 (星期日)
無編輯摘要
(建立內容為「→‎TODO: Invert width design to be "mobile first":​ .sidebar { →‎TODO: Ask if we should have max-width 22em instead:​ width: 22em; →‎@noflip:​ float: right; →‎@noflip:​ clear: right; →‎@noflip:​ margin: 0.5em 0 1em 1em; background: #f8f9fa; border: 1px solid #aaa; padding: 0.2em; text-align: center; line-height: 1.4em; font-size: 88%; border-collapse: collapse; /* Timeless has display: none on .nomobile at mobile resolutions, so we…」的新頁面
 
無編輯摘要
標籤已被回退
第9行: 第9行:
/* @noflip */
/* @noflip */
margin: 0.5em 0 1em 1em;
margin: 0.5em 0 1em 1em;
background: #f8f9fa;
border: 1px solid #aaa;
padding: 0.2em;
padding: 0.2em;
text-align: center;
text-align: center;
第128行: 第126行:
.sidebar-navbar {
.sidebar-navbar {
text-align: right;
text-align: right;
font-size: 100%;
font-size: 115%;
padding: 0 0.4em 0.4em;
padding: 0 0.4em 0.4em;
}
}
第162行: 第160行:
* query.
* query.
*/
*/
}
/* Fixes: T367463 */
body.skin--responsive .sidebar a > img {
max-width: none !important;
}
/* Disable backgrounds via style attribute in night mode Eg.https://phabricator.wikimedia.org/F55243859
* https://en.wikipedia.org/w/index.php?title=Laissez-faire
*/
@media screen {
    html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-list-title,
    html.skin-theme-clientpref-night .sidebar:not( .notheme ) .sidebar-title-with-pretitle {
  background: transparent !important;
    }
  }
@media print {
body.ns-0 .sidebar {
display: none !important;
}
}
}
137

次編輯