用户:Sam0324/Sandbox.css:修订间差异
来自Limbo Wiki
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
.body { | .body { | ||
padding: | padding:10px; | ||
width:auto; | width:auto; | ||
height:100vh; | height:100vh; | ||
第16行: | 第16行: | ||
.button { | .button { | ||
display: inline-block; | display: inline-block; | ||
width: | width:200px; | ||
margin-left: | margin-left:20px; | ||
height:6em; | height:6em; | ||
background-image: linear-gradient(rgba(120,128,135,0), rgba(120,128,135,1)); | background-image: linear-gradient(rgba(120,128,135,0), rgba(120,128,135,1)); | ||
第23行: | 第23行: | ||
border-bottom:3px solid white; | border-bottom:3px solid white; | ||
} | } | ||
.frame{ | .frame{ | ||
@media screen and (max-width: | width:680px; | ||
. | margin:0 auto; | ||
width: | } | ||
@media screen and (max-width:470px) { | |||
.frame{ | |||
width:460px; | |||
} | } | ||
} | } |
2022年3月19日 (六) 14:13的版本
.body { padding:10px; width:auto; height:100vh; background-color:black; } .data { margin:0 auto; width:100%; border:5px solid white; } .chapter { background-image: linear-gradient(rgba(128,128,128,0), rgba(128,128,128,1)); background-color: black; } .button { display: inline-block; width:200px; margin-left:20px; height:6em; background-image: linear-gradient(rgba(120,128,135,0), rgba(120,128,135,1)); color:white; border-bottom:3px solid white; } .frame{ width:680px; margin:0 auto; } @media screen and (max-width:470px) { .frame{ width:460px; } }