打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

本站正在进行早期测试,目前仍存在许多内容的缺失。

模板:Item/styles.css:修订间差异

来自星砂岛百科
Sizau留言 | 贡献
创建页面
 
Sizau留言 | 贡献
无编辑摘要
第23行: 第23行:
   margin-right: 4px;
   margin-right: 4px;
   overflow: hidden;
   overflow: hidden;
}
.item-icon-container a,
.item-icon-container .image {
  display: inline-flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
}


.item-icon-container img {
.item-icon-container img {
   display: block;
   display: block;
  width: 100% !important;
  height: 100% !important;
   max-width: 100%;
   max-width: 100%;
   max-height: 100%;
   max-height: 100%;
  width: auto !important;
  height: auto !important;
   object-fit: contain;
   object-fit: contain;
}
}

2026年3月9日 (一) 21:25的版本

.itemtemplate {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  white-space: nowrap;
  margin: 2px 0;
  line-height: 1.2;
}

.itemtemplateblock {
  display: flex;
  align-items: center;
  margin: 2px 5px 1px 2px;
}

.item-icon-container {
  width: 24px;
  height: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 4px;
  overflow: hidden;
}

.item-icon-container a,
.item-icon-container .image {
  display: inline-flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.item-icon-container img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.item-text {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.itemtemplate img,
.itemtemplateblock img {
  max-width: none;
}

/* [[分类:模板]] */