模板:随机梗图/style.css:修订间差异

添加16字节 、​ 2022年11月30日 (星期三)
(创建页面,内容为“<includeonly> <style> #memesimg { width: 400px; height: 400px; border: 1px solid; text-align: center; } #memesimg a img { max-width: 100%; max-height: 100%; width: auto; height: auto; } </style> </includeonly>”)
 
 
(未显示1个用户的15个中间版本)
第1行: 第1行:
<includeonly>
<style>
#memesimg {
#memesimg {
   width: 400px;
   width: 300px;
   height: 400px;
   height: 300px;
   border: 1px solid;
   display:flex;
   text-align: center;
   align-items:center;
  justify-content:center;
  margin: 0 auto;
}
}
#memesimg a img {
#memesimg a img {
   max-width: 100%;
   max-width: 300px;
   max-height: 100%;
   max-height: 300px;
   width: auto;
   object-fit: cover;
  height: auto;
}
}
</style>
/* [[分类:模板样式]] */
</includeonly>
优秀编辑者、​界面管理员、​监督员、​管理员
1,760

个编辑