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

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

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


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

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

#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: 500px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .content-block {
    width: 90%;
    max-width: 600px;
    order: 1;
  }

  .intro-text {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    order: 2;
  }
  
}