这是林泊百科的迁移技术测试站点,所有改动不会同步到林泊百科上,此站点将会在正式迁移后关闭,请勿存放重要数据
用户:Sam0324/Sandbox.css:修订间差异
跳转到导航
跳转到搜索
创建页面,内容为“.body{ width:100%; height:100vh; background-color:black; } .data{ margin-left:auto; margin-right:auto; margin-top:2em; margin-buttom:2em; width:90%; border:5px solid white; }” |
小无编辑摘要 |
||
| (未显示同一用户的24个中间版本) | |||
| 第1行: | 第1行: | ||
.body{ | .body { | ||
width: | margin:0; | ||
height:100vh; | padding:0.7em; | ||
width:auto; | |||
max-width:77em; | |||
min-height:100vh; | |||
background-color:black; | background-color:black; | ||
} | } | ||
.data{ | .data { | ||
margin | margin:0 auto; | ||
margin-right:auto; | border:0.3em solid white; | ||
border-top:1.4em solid white; | |||
} | |||
.button { | |||
display: inline-block; | |||
width:15em; | |||
margin-right:1em; | |||
margin-left:1em; | |||
height:6em; | |||
background-image: linear-gradient(rgba(120,128,135,0), rgba(120,128,135,1)); | |||
color:white; | |||
border-bottom:0.2em solid white; | |||
float: left; | |||
} | |||
.frame{ | |||
width:17em; | |||
margin:0 auto; | |||
padding-top: 2em; | |||
padding-bottom: 2em; | |||
} | |||
.frame:after{ | |||
content: ""; | |||
display: block; | |||
clear: both; | |||
} | |||
@media screen and (max-width:236px) { | |||
.frame{ | |||
width:220px; | |||
} | |||
.data{ | |||
width:226px; | |||
} | |||
} | |||
@media screen and (min-width:236px) { | |||
.frame{ | |||
width:220px; | |||
} | |||
.data{ | |||
width:226px; | |||
} | |||
} | |||
@media screen and (min-width:450px) { | |||
.frame{ | |||
width:440px; | |||
} | |||
.data{ | |||
width:446px; | |||
} | |||
} | |||
@media screen and (min-width:670px) { | |||
.frame{ | |||
width:662px; | |||
} | |||
.data{ | |||
width:666px; | |||
} | |||
} | |||
@media screen and (min-width:890px) { | |||
.frame{ | |||
width:880px; | |||
} | |||
.data{ | |||
width:886px; | |||
} | |||
} | |||
@media screen and (min-width:1120px) { | |||
.frame{ | |||
width:1100px; | |||
} | |||
.data{ | |||
width:1106px; | |||
} | |||
} | } | ||
2022年3月20日 (日) 22:27的最新版本
.body {
margin:0;
padding:0.7em;
width:auto;
max-width:77em;
min-height:100vh;
background-color:black;
}
.data {
margin:0 auto;
border:0.3em solid white;
border-top:1.4em solid white;
}
.button {
display: inline-block;
width:15em;
margin-right:1em;
margin-left:1em;
height:6em;
background-image: linear-gradient(rgba(120,128,135,0), rgba(120,128,135,1));
color:white;
border-bottom:0.2em solid white;
float: left;
}
.frame{
width:17em;
margin:0 auto;
padding-top: 2em;
padding-bottom: 2em;
}
.frame:after{
content: "";
display: block;
clear: both;
}
@media screen and (max-width:236px) {
.frame{
width:220px;
}
.data{
width:226px;
}
}
@media screen and (min-width:236px) {
.frame{
width:220px;
}
.data{
width:226px;
}
}
@media screen and (min-width:450px) {
.frame{
width:440px;
}
.data{
width:446px;
}
}
@media screen and (min-width:670px) {
.frame{
width:662px;
}
.data{
width:666px;
}
}
@media screen and (min-width:890px) {
.frame{
width:880px;
}
.data{
width:886px;
}
}
@media screen and (min-width:1120px) {
.frame{
width:1100px;
}
.data{
width:1106px;
}
}