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

用户:RedDragon/common.css:修订间差异

来自Rizline中文维基
RedDragon留言 | 贡献
无编辑摘要
RedDragon留言 | 贡献
无编辑摘要
第25行: 第25行:


@media (max-width: 768px) {
@media (max-width: 768px) {
  .citizen-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
 
   .infobox {
   .infobox {
     float: none;
     float: none;
     margin: 0 auto 20px;
     margin-left: 0;
     display: table;
    margin-bottom: 20px;
     order: 1;
   }
   }
    
    
   .citizen-section > p {
   .citizen-section > p {
     display: block;
     order: 2;
     width: 100%;
     width: 100%;
     text-align: justify;
     text-align: center;
    margin-top: 20px;
   }
   }
    
    
}
}

2025年4月10日 (四) 13:16的版本

#home-nav .home-card {
    overflow: hidden;
    position: relative;
}

#home-nav .home-card__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
}

#home-nav .home-card:hover .home-card__background img {
    transform: scale(1.1);
}



.infobox{
	padding-left: 13px;
}

@media (max-width: 768px) {
  .citizen-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .infobox {
    float: none;
    margin-left: 0;
    margin-bottom: 20px;
    order: 1;
  }
  
  .citizen-section > p {
    order: 2;
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }
  
}