2023年政策修订增补工作正在进行中,欢迎参与!
User:Sirogohan/sandbox.css
跳转到导航
跳转到搜索
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
- Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
- Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
- Opera:在“工具→首选项”中清除缓存
- 如果您已登录但该页面出现未登录状态,请尝试在地址栏的地址最后添加代码
?_=1
来访问最新页面。 - 添加代码后的本页地址如下:
-{R|https://moegirl.icu/User:Sirogohan/sandbox.css?_=1}-
.game {
color: #fff; font-size:16px; line-height:1.8;
}
.game__read {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 6.5em;
font-size: 2em;
line-height: 1.5;
text-align: center;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
z-index: 100;
cursor: pointer;
}
.game__read::before {
content: "";
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #fff;
opacity: 0.8;
z-index: 0;
}
.game__inner {
max-width: 900px;
margin: auto;
}
.game__question {
display: flex;
flex-direction: column;
padding: 2.5rem 0 0.75rem;
overflow: hidden;
}
.game__kv {
order: 0;
position: relative;
}
.game__kv-txt {
position: relative;
padding: 1em;
z-index: 10;
}
.game__kv-txt::after {
content: attr(data-status);
display: block;
font-size: 1.2em;
letter-spacing: 0.1em;
}
.game__kv .game__kv-txt {
max-width: 60%;
line-height: 1.1;
}
.game__kv-bg {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #0b3651;
z-index: 0;
overflow: hidden;
}
.game__kv-bg::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
content: "";
border: 1px solid #51bcff;
filter: drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff);
z-index: 10;
}
.game__title {
position: absolute;
top: 1em;
left: 0;
width: 50%;
font-size: 1.1em;
}
.game__charaName {
position: absolute;
bottom: 1em;
left: 0;
width: 50%;
font-size: 1.1em;
}
.game__charaImg {
position: absolute;
bottom: -2.5rem;
right: 0;
width: 23%;
z-index: 15;
}
.game__kvImg {
position: relative;
background: #0b3651;
border: 0.4rem solid #0b3651;
border-radius: 50%;
width: 50%;
margin: auto;
}
.game__kvImg img {
z-index: 10;
position: relative;
}
.game__line {
position: absolute;
top: -0.4rem;
bottom: -0.4rem;
right: -0.4rem;
left: -0.4rem;
background: #5cdcff;
border-radius: 300px;
margin: auto;
clip-path: polygon(0 60%, 0 60%, 0 60%, 50% 50%);
}
.game__egg {
position: absolute;
right: -6.5%;
bottom: 40%;
width: 10%;
z-index: 20;
}
.game__txt {
order: 1;
position: relative;
margin-top: 1em;
}
.game__answer {
order: 2;
line-height: 1.2;
}
.game__answer ul{
margin:0 0 1em 0 !important;
}
.game__answer li {
display: flex;
justify-content: space-between;
background: linear-gradient(to right, #fff, #0b3651, #0b3651);
margin-bottom: 1.5em;
font-size: 1.25em;
min-height: 3.5em;
}
.game__answer-txt {
width: 100%;
display: flex;
align-items: center;
opacity: 0;
}
.game__answer-button {
width: 150px;
max-width: 20%;
margin: -0.6em -1.2em -0.6em 0;
flex-shrink: 0;
display: flex;
}
@media screen and (max-width: 1000px) {
.game__answer li {
margin-right: 1.2em;
}
}
@media screen and (max-width: 899px) {
.game__read {
font-size: 1.5em;
}
}
@media screen and (max-width: 600px) {
.game__kvImg {
margin-right: 10%;
}
.game__title, .game__charaName {
width: 65%;
}
.game__kv .game__kv-txt {
max-width: 80%;
}
.game__answer li {
min-height: 4em;
font-size: 1.1em;
}
.game__read {
font-size: 4.5vw;
}
}
@media screen and (max-width: 400px) {
.game__kvImg {
margin-right: 5%;
width: 60%;
}
.game__title {
top: -2.5rem;
width: 100%;
}
.game__charaName {
bottom: 0;
width: 100%;
}
.game__kv {
padding-bottom: 2.5rem;
}
.game__kv .game__kv-txt {
max-width: 100%;
}
.game__charaImg {
bottom: 0;
}
}
.clear {
font-size:16px; line-height:1.8;
}
.clear__inner {
position: relative;
max-width: 1200px;
margin: auto;
padding: 2em 0;
}
.clear__head {
display: flex;
justify-content: space-between;
max-width: 900px;
margin: auto;
}
.clear__name {
display: flex;
align-items: center;
border-bottom: 4px solid #fdbad5;
font-size: 1.8rem;
width: 40%;
}
.clear__name-egg {
width: 2.5em;
padding: 0.2em;
}
.clear__name-name {
padding: 0.5em;
}
.clear__comment {
position: relative;
border: 2px solid #6fc2ff;
background: #fff;
padding: 1em 1.5em;
margin: 0;
}
.clear__comment::after {
position: absolute;
bottom: -0.5em;
left: 1.5em;
content: "";
display: block;
width: 1em;
height: 1em;
border: 2px solid;
border-color: transparent #6fc2ff #6fc2ff transparent;
background: #fff;
transform: rotate(45deg) skew(15deg, 15deg);
}
.clear__dialogue {
max-width: 600px;
margin: 2em auto;
font-size: 1.1em;
position: relative;
}
.clear__dialogue ul{
margin:0 0 1em 0 !important;
}
.clear__dialogue ul:nth-child(2) {
position: absolute;
top: 0;
bottom: 0;
margin: auto;
}
.clear__dialogue li {
display: flex;
align-items: center;
margin-bottom: 1.5em;
}
.clear__dialogue-txt {
position: relative;
width: 100%;
min-height: 4em;
line-height: 1.2;
border: 2px solid #6fc2ff;
background: #fff;
padding: 0.5em 1em;
margin: auto 0 auto 1.5em;
display: flex;
align-items: center;
}
.clear__dialogue-txt::after {
position: absolute;
top: 0;
bottom: 0;
left: -0.5em;
margin: auto;
content: "";
display: block;
width: 1em;
height: 1em;
border: 2px solid;
border-color: transparent #6fc2ff #6fc2ff transparent;
background: #fff;
transform: rotate(135deg) skew(15deg, 15deg);
}
.clear__button {
text-align: center;
}
.clear__button button {
display: inline-block;
padding: 0.8em 1.5em;
background: #6fc2ff;
color: #fff;
font-family: "Rubik", "Noto Sans JP", "Noto Sans JP", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
font-weight: 300;
font-size: 1.4rem;
line-height: 1.2;
border-radius: 0.3em;
}
.clear__read {
display: flex;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 6em;
font-size: 1.5em;
color: #fff;
text-align: center;
margin: auto;
justify-content: center;
align-items: center;
z-index: 100;
cursor: pointer;
}
.clear__read::before {
content: "";
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #fff;
opacity: 0.8;
z-index: 0;
}
.clear__read-txt {
position: relative;
padding: 1em;
z-index: 10;
}
.clear__read-bg {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #0b3651;
z-index: 0;
overflow: hidden;
}
.clear__read-bg::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
content: "";
border: 1px solid #51bcff;
filter: drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff);
z-index: 10;
}
@media screen and (max-width: 600px) {
.clear__head {
display: flex;
flex-direction: column;
align-items: center;
}
.clear__head > div {
width: 90%;
margin-bottom: 0.5em;
}
.clear__dialogue {
padding: 0 5%;
}
.clear__read {
font-size: 5vw;
}
}
.comics__inner {
max-width: 800px;
margin: auto;
}
.comics__ph {
margin: 2em auto;
}
.comics__dialogue {
cursor: pointer;
position: relative;
}
.comics__dialogue ul {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 0;
margin-left: 0 !important;
}
.comics__dialogue li {
position: relative;
background: #0b3651;
z-index: -1;
overflow: hidden;
width: 100%;
padding: 1em 1.5em;
margin-bottom: 1em;
color: #fff;
box-sizing:border-box;
}
.comics__dialogue li::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
content: "";
border: 1px solid #51bcff;
filter: drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff) drop-shadow(0px 0px 0.25em #51bcff);
}
.comics__dialogue li > div {
position: relative;
}
.comics__dialogue-name {
display: inline-block;
background: #53bbff;
padding: 0.2em 0.5em;
margin-bottom: 0.5em;
line-height: 1;
border-radius: 0.4rem;
}