“MediaWiki:Mobile.css”的版本间的差异
(创建页面,内容为“→这里放置的CSS将影响使用移动版网站的用户: .floatleft, .floatright { margin: 0; } .floatleft .image, .floatright .image { width: 100%; height: a…”) |
标签:移动网页编辑 移动版编辑 |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
/* 这里放置的CSS将影响使用移动版网站的用户 */ | /* 这里放置的CSS将影响使用移动版网站的用户 */ | ||
− | .floatleft, .floatright { | + | .content .floatleft, .content .floatright { |
margin: 0; | margin: 0; | ||
} | } | ||
− | .floatleft .image, .floatright .image { | + | @media screen and (max-width: 720px) |
+ | .floatleft .image img, .floatright .image img { | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
} | } |
2020年7月22日 (三) 19:12的最新版本
/* 这里放置的CSS将影响使用移动版网站的用户 */ .content .floatleft, .content .floatright { margin: 0; } @media screen and (max-width: 720px) .floatleft .image img, .floatright .image img { width: 100%; height: auto; }