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

Home.css:修订间差异

来自失传媒体中文维基

页面于 8天前前HW 建立

页面于 4天前HW 编辑

状态:未填写 | 类型:未填写

HW
HW留言 | 贡献 (HW将页面Home.css的内容模型从“wikitext”更改为“CSS”)
HW
HW留言 | 贡献
 
(未显示同一用户的16个中间版本)
第7行: 第7行:
overflow-y: auto;
overflow-y: auto;
}
}
.other-sites {
.other-sites {
display: grid;
display: grid;
第13行: 第12行:
justify-items: center;
justify-items: center;
justify-content: center;
justify-content: center;
background: rgba(var(--lightblock-background-color));
background: var(--color-surface-1);
}
}


.other-sites .site {
.other-sites .site {
position: relative;
  position: relative;
cursor: pointer;
  cursor: pointer;
display: block;
  display: block;
width: 50px;
  background-size: contain;
height: 50px;
  background-repeat: no-repeat;
background-image: var(--img);
  background-position: center;
background-size: contain;
    margin-bottom: 30px;
background-repeat: no-repeat;
    margin-top: 30px;
background-position: center;
  transition: all 0.3s ease;
margin-bottom: 30px;
}
margin-top: 30px;
 
transition: all 0.3s ease;
.other-sites .site  img{
  width: 50px;
  height: 50px;
}
 
.site::after {
  content: attr(data-name);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  background: var(--color-surface-0);
  transform: translateX(-50%) translateY(80%);
  color: var(--color-base);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px 0px var(--color-base);
  z-index: 30;
}
 
.site:hover{
transform:scale(1.3);
}
 
.site:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0%);
}
}

2026年4月10日 (五) 23:49的最新版本

.page-header-info {
	display: none !important;
}

.recent-article {
	max-height: 40vh;
	overflow-y: auto;
}
.other-sites {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	justify-items: center;
	justify-content: center;
	background: var(--color-surface-1);
}

.other-sites .site {
  position: relative;
  cursor: pointer;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
    margin-bottom: 30px;
    margin-top: 30px;
  transition: all 0.3s ease;
}

.other-sites .site  img{
  width: 50px;
  height: 50px;
}

.site::after {
  content: attr(data-name);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  background: var(--color-surface-0);
  transform: translateX(-50%) translateY(80%);
  color: var(--color-base);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px 0px var(--color-base);
  z-index: 30;
}

.site:hover{
transform:scale(1.3);
}

.site:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0%);
}