「MediaWiki:Mobile.css」の版間の差分
ナビゲーションに移動
検索に移動
編集の要約なし |
編集の要約なし |
||
7行目: | 7行目: | ||
#mw-content-text { | #mw-content-text { | ||
word-break: break-all; | word-break: break-all; | ||
} | |||
img { | |||
max-width: 100%; | |||
} | } | ||
2021年3月2日 (火) 13:54時点における版
/* レスポンシブ */
.desktop_only {
display: none;
}
/* はみ出し防止 */
#mw-content-text {
word-break: break-all;
}
img {
max-width: 100%;
}
/* 駅名標テンプレ用 */
.nextstation {
font-weight: normal;
}
a > .nextstation {
text-decoration: underline;
}
/* NavFrame関係。[[MediaWiki:Monobook.css]]も参照 20100729 Muttley */
.Boxmerge,
.NavFrame {
margin: 0;
padding: 2px;
border: 1px solid #aaaaaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
.Boxmerge .NavFrame {
border-style: none;
border-style: hidden;
}
.NavPic {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
.NavFrame .NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background-color: #efefef;
position: relative;
text-align: center;
}
.NavFrame p {
font-size: 100%;
}
.NavFrame .NavContent {
font-size: 100%;
}
.NavFrame .NavContent p {
font-size: 100%;
}
.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
.NavToggle {
position: absolute;
top: 0px;
right: 3px;
font-weight: normal;
/* font-size: 83.3%;*/
}
.NavWhiteAnchor > a.NavToggle {
color: #ffffff;
}
/* [[ポケットモンスター/種類別]]用 */
.pokemontable td {
background-color:#ffffff;
}
/* リンク */
.link.white a {
color: white;
text-decoration: underline;
}
/* 日本地図 */
ul.map {
list-style: none;
position: relative;
overflow-x: auto;
max-width: 100%;
width: 30rem;
height: 25rem;
font-size: smaller;
}
ul.map li {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
font-weight: bold;
box-sizing: border-box;
}