MediaWiki:Mobile.css
ナビゲーションに移動
検索に移動
注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。
- Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
- Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
- Internet Explorer: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
- Opera: メニュー → 設定 (Mac では Opera → 環境設定) に移動し、プライバシーとセキュリティ → 閲覧データを消去 → キャッシュされた画像およびファイル からキャッシュをクリアしてください。
/* ここに記述したCSSは携帯機器版サイトの利用者に影響します */ #content { background-color: rgb(251, 214, 45); border-color: rgb(191, 190, 115); margin: 8px; margin-top: -5px; } /* Body Styling */ body { background: black url("/mediawiki/skins/eastward/site-bg.jpg") no-repeat fixed center center; font-family: sans-serif; } #bodyContent hr { border-bottom: 1px solid #aaa; border-top: none; } #searchInput { padding: 7px; } li#ca-watch { display:none; } pre { background-color: white; } .client-js .collapsible-heading { border-bottom: solid 1px #aaa !important; } #mainmenutable { display: table; } #mw-panel { display: none; } #footer { background: rgba(0,0,0,0.8) none repeat scroll 0% 0%; color: #8c8c8c; margin-top: 20px; border-top: none !important; } footer > .post-content, .mw-footer > .post-content { color: #8c8c8c; } .toc-mobile { background-color: rgba(255,255,255,0.58) !important; } #footer a { color: white; } .overlay .overlay-content { background-color:white; } .overlay-header-container { background: #8dc4e5; } .overlay.visible { background: none; } img { max-width:100%; height: auto; } #mw-mf-page-center, .animations #mw-mf-page-center { background-color:transparent !important; } header.header-container.header-chrome { background-color:transparent !important; } .header .branding-box h1 span, .header .branding-box a span { color: #fbd62d; } .minerva-user-navigation { display: none; } input.search, .mw-ui-icon-minerva-magnifying-glass:before { background-image: none; } .last-modified-bar.active { background-color: #896abb !important; color: #fff; } #mainbannermiddle table.wikitable { width:100% !important; display:table; } /* Main Page Content */ body.page-Eastward_Wiki h1#section_0, body.page-Eastward_Wiki .pre-content heading-holder, body.page-Eastward_Wiki #bodyContent hr { display: none; } body.page-Eastward_Wiki .content table { width: 100% !important; margin: 0 auto 0; } #mainbannermiddle table { margin: 0 auto 0 !important; } #mainbannerleft, #mainbannerright, td#sidebar, th#sidebar { display: none; } /* Main Menu */ #menucontent { padding-right:5px; padding-left: 5px; vertical-align:top; } .mainmenuwrapper { background-color: #ffffff94; float:left; width: 100%; } .mainmenusection { vertical-align: top; } .mainmenusection table.wikitable { margin:0px } #singlemainmenu { width: 25%; float:left; } #mainmenuselections { width:100%; display: inline-table !important; } table#mainmenuselections td { background-color: transparent; border: none; } table#mainmenutrailer { width: 100%; } @media screen and (max-width: 880px) { #singlemainmenu { width: 100%; clear:both; min-height: auto; } table#mainmenutrailer { display: inline-table } div.embedvideowrap { width: initial !important; } div.embedvideowrap iframe { width: -webkit-fill-available; } } /* Infobox Styling */ #infoboxtable { max-width:400px; width:100%; background-color: #010a1d; float:right; margin-left: 30px; border: 4px white solid; box-shadow: 5px 5px 3px #010a1da6; border-radius: 10px; font-size: 18px; } #infoboxtable td { border: none; background-color: transparent; } #infoboxheader { text-align:center; font-size: 34px; font-weight: 700; line-height: 1.1em; padding-top:5px; color: #ffffbd; text-shadow: 0px 2px 0px rgba(0,0,0,0.5); } #infoboxdescription { text-align:center; color: #ffffbd; padding-left: 10px; padding-right: 10px; } #infoboxheader img { vertical-align: text-bottom; } #infoboxsection { background-image: radial-gradient(#3a3c47 20%, transparent 20%); background-size: 3px 3px; vertical-align:top; padding-left:35px; padding-right:5px; width:180px; color: #ffffbd; font-weight: 700; text-shadow: 0px 2px #000000; } #infoboxsection a { color: white; font-weight: 600; } #infoboxsection a:hover, #infoboxsection a:focus { text-decoration:none; } #infoboxdetail { vertical-align:top; padding-left:3px; padding-right:6px; background-image: radial-gradient(#1d7790 20%, transparent 20%); background-size: 3px 3px; color: #ffffbd; text-align: center; font-weight: 700; border-radius: 8px; text-transform: capitalize; } #infoboxdetail a { color: #ffffbd; } #infoboxdetail p { margin:0px; } #infoboxfooter { width:100%; padding-top:5px; } #infoboxdetail ul { margin: 0em 0px 0px 0.9em; } #infoboxsep { text-align:center; background-color:#a47750; vertical-align:top; border-color:#007448; box-shadow: 0px 1px rgba(0,0,0,0.3); color: white; text-shadow: 0px 2px #00321f; } #infoboxtable img { max-width:100%; height:auto; } /* Navboxstyling */ #navbox { margin:auto; border: 1px solid black; padding: 5px; border-radius:11px; clear: both; margin-top: 15px; } .center { text-align: center; } /* Table Styling */ table.wikitable { background-color: transparent; border-collapse: separate; border: none; } table#overflow { display: block; overflow: auto; } table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { border: 1px solid #454393; padding: 0.2em; background-color: #ffffff94; } table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #042b6b; text-align: center; border-color: #201520; box-shadow: 0px 1px rgba(0,0,0,0.3); color: white; text-shadow: 0px 2px #454393; } table.wikitable > tr > th a, table.wikitable > * > tr > th a { color:white; } .no-wrap { white-space: nowrap; } /* Quality Star Template */ #qualitycontainer { position:relative; height:64px; width:64px; text-align:left; } #qualitycontainer div.qualityindicator { text-align:left; } #qualityimage img { position:absolute; } #qualityimage p { margin:0px; } /* Alert Templates */ .alert { border: 3px solid rgb(192 82 117 / 33%); background: #c0527561; border-radius: 0.5em; margin-left: auto; margin-right: auto; font-size: 14px; padding: 5px; margin-bottom: 15px; height: 80px; width: 50%; max-width:700px; } .alert span.header { font-size:22px; } .alert strong { font-size: 18px; } .alert th { width: 100px; } .alert th img { text-align: center; } #stub { border-color: #ab9c00; background-color: rgb(255 252 219 / 36%); box-shadow: 0px 4px 4px grey; } #construction { border-color: #ffaa40; background-color: rgb(165 97 12 / 18%); box-shadow: 0px 4px 4px grey; } /* Talk Page Headers */ #talkheadertitle { background-color: #03A007; text-align: center; color: white; text-shadow: 0px 2px #00321f; font-size: 120%; } #talkheaderbody { width: 80%; margin: 0px auto 1em; border: 1px solid rgb(170, 170, 170); background-color: rgba(255, 255, 255, 0.58); color: rgb(0, 0, 0); } /* Copyright Templates */ #c-fairuse { padding:10px; max-width:700px; margin: 0px auto; border: 1px solid #8DCAF0; background-color: rgba(255, 255, 255, 0.58); } #c-fairuse td { vertical-align:middle; } /* History Section in articles */ table.historysection { line-height: 0.8; } td#devblog, th#devblog { display: none; } div.embedvideowrap { margin: auto; } div#player { margin: auto; } /* MainLinks Template Styling */ #platform_link_table { width:100%; height: 100%; min-height: 242px; max-width:650px; text-align:center; margin-bottom: 0px; display: inline-table; } table#platform_link_table.wikitable tbody { width:100% !important; display: table; } #version_link_table { width:100% !important; max-width:650px; text-align:center; margin-top: 0px; display: inline-table; } .version_number_left { text-align:left; vertical-align: top; } .version_number_right { text-align:right; vertical-align: top; } .platform_links { width: 20%; height: 33%; } .platform_link a.external, .mobile_link a.external, .mobile_link_update a.external { display:block; text-decoration:none; background:none !important; padding: 0px !important; line-height: 60px; } #platform-version { width:50%; vertical-align:top; display: inline; } #main-links-table { width:100%; text-align:center; } /* Ads Styling */ div#siteNotice { font-size:0; } div.responsiveadtop { width: 100%; text-align: center; height: 100%; margin: auto; background-color: rgb(255 255 255 / 32%); } div.responsiveadbottom { width: 100%; text-align:center; height: 100%; margin: auto; background-color: rgb(255 255 255 / 12%); } @media screen and (max-width: 540px) { #infoboxborder { width: 95%; } #infoboxtable { max-width: none; } table#infoboxtable tbody { width: 100%; display: inline-table; } }