「MediaWiki:Common.css」の版間の差分
| 29行: | 29行: | ||
} | } | ||
img { | img { | ||
| − | max-width: 100%; | + | max-width: 100% !important; |
| − | height: auto; | + | height: auto !important; |
} | } | ||
} | } | ||
2014年7月20日 (日) 16:04時点における版
/* ここに記述したCSSはすべての外装に反映されます */
.floatList li {
float: left;
margin-right: 3em;
}
.page-メインページ h1 {
display: none;
}
.page-メインページ .toc, #toc {
display: none;
}
@media (max-width: 767px) {
div#content {
margin-left: 0;
}
div#mw-panel {
position: relative;
top: 0;
}
#p-logo {
position: relative;
top: 0;
}
#left-navigation {
left: 0;
}
img {
max-width: 100% !important;
height: auto !important;
}
}
