MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第23行: | 第23行: | ||
@media screen and (max-width: 850px) | @media screen and (max-width: 850px) | ||
#mw-content p > img { | #mw-content-text p > img { | ||
height: auto !important; | height: auto !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
} | } | ||
2019年9月29日 (日) 19:14的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* == 浮动目录 == */
#toc, .toc {
display: block;
position: fixed;
top: 100px;
right: 0px;
min-width: 200px;
max-width: 350px;
max-height: 600px;
overflow-y: scroll;
border: 1px solid #aaa;
border-radius: 0 0 1px 1px;
-moz-border-radius: 0 0 1px 1px;
background: rgba(249,249,249,0.85);
padding: 12px;
box-shadow: 0 1px 8px #000;
-webkit-box-shadow: 0 1px 8px #000;
-moz-box-shadow: 0 1px 8px #000;
}
body { overflow-x: hidden;}
@media screen and (max-width: 850px)
#mw-content-text p > img {
height: auto !important;
max-width: 100% !important;
}