プロジェクト:ウィキ技術部/スクリプト開発/trunk/newvector-maxwidth.css

これはこのページの過去の版です。青子守歌 (会話 | 投稿記録) による 2022年6月13日 (月) 10:04個人設定で未設定ならUTC)時点の版 (+.vector-layout-legacy)であり、現在の版とは大きく異なる場合があります。

/*
 ***********************************************************************
 * ja> = NewVector-MaxWidth =
 *   > 新しいベクター外装で、幅制限を解除し最大幅で閲覧可能にするCSS
 *   > 注意:新しいベクター外装は開発中のため、動作しなくなることがあります。見つけたら作者へ連絡ください。
 *   > ;作者: 青子守歌
 *   > ;URL: https://ja.wikipedia.org/wiki/User:aokomoriuta
 *   >
 *   > == ライセンス ==
 *   > このスクリプトは、複数ライセンスで利用可能です。
 *   > 選択可能なライセンスは次の通り:
 *   > * クリエイティブ・コモンズ 表示-継承 3.0 非移植
 *   > * クリエイティブ・コモンズ 表示-非営利 3.0 非移植
 *   > * GNU一般公衆利用許諾書 バージョン3.0以降
************************************************************************
 * en> = NewVector-MaxWidth =
 *   > On new vector skin; This css removes limit of a page width limit, and you can read articles with your window width
 *   > Note: Possibly broken since new vector skin is under development. Please contant the author if you find.
 *   > ;author: 青子守歌
 *   > ;URL: https://ja.wikipedia.org/wiki/User:aokomoriuta
 *   >
 *   > == License ==
 *   > This script is multi-licensed.
 *   > You can select the license of your choice from as following:
 *   > * Creative Commons Attribution-ShareAlike 3.0 Unported
 *   > * Creative Commons Attribution-Noncommercial 3.0 Unported
 *   > * GNU General Public License v3.0 or later
 */

/* remove limits */
.mw-page-container,
.vector-layout-legacy .mw-workspace-container,
.vector-layout-legacy .mw-content-container,
.vector-layout-legacy .mw-article-toolbar-container {
 max-width: none;
}

/* add margin when the sidebar is shown */
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container,
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container {
  margin-left: 11em;
}