forked from RDCNWebs/rd.rdlevel.cn
new
This commit is contained in:
@@ -0,0 +1,251 @@
|
||||
* {
|
||||
--line-width: 1px;
|
||||
}
|
||||
|
||||
div.theme-positions {
|
||||
position: relative;
|
||||
display: flex;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16 / 9;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
div.theme-positions>div.column {
|
||||
position: absolute;
|
||||
width: calc(var(--line-width));
|
||||
height: 100%;
|
||||
background-color: red;
|
||||
|
||||
&.ccharacter {
|
||||
left: calc(9.94% - var(--line-width) / 2);
|
||||
}
|
||||
|
||||
&.c1 {
|
||||
left: calc(18.18% - var(--line-width) / 2);
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
&.c2 {
|
||||
left: calc(25% - var(--line-width) / 2);
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
&.c3 {
|
||||
left: calc(31.82% - var(--line-width) / 2);
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
&.c4 {
|
||||
left: calc(38.64% - var(--line-width) / 2);
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
&.c5 {
|
||||
left: calc(45.45% - var(--line-width) / 2);
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
&.c6 {
|
||||
left: calc(52.27% - var(--line-width) / 2);
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
&.c7 {
|
||||
left: calc(70.74% - var(--line-width) / 2);
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
&.ccenter {
|
||||
left: calc(50% - var(--line-width) / 2);
|
||||
}
|
||||
|
||||
&.cheart {
|
||||
left: calc(90.06% - var(--line-width) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
div.theme-positions>div.row {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: calc(var(--line-width));
|
||||
background-color: lightblue;
|
||||
|
||||
&.r1 {
|
||||
top: calc(18.18% - var(--line-width) / 2);
|
||||
}
|
||||
|
||||
&.r2 {
|
||||
top: calc(28.79% - var(--line-width) / 2);
|
||||
}
|
||||
|
||||
&.r3 {
|
||||
top: calc(39.39% - var(--line-width) / 2);
|
||||
}
|
||||
|
||||
&.r4 {
|
||||
top: calc(50% - var(--line-width) / 2);
|
||||
}
|
||||
|
||||
&.r5 {
|
||||
top: calc(60.61% - var(--line-width) / 2);
|
||||
}
|
||||
|
||||
&.r6 {
|
||||
top: calc(71.21% - var(--line-width) / 2);
|
||||
}
|
||||
|
||||
&.r7 {
|
||||
top: calc(81.82% - var(--line-width) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
div.theme-positions>.selectbox {
|
||||
position: absolute;
|
||||
background-color: #09ff0069;
|
||||
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
|
||||
div.theme-positions>.infobox {
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
width: max-content;
|
||||
height: max-content;
|
||||
padding: 3px;
|
||||
border: 2px solid #535353;
|
||||
border-radius: 2px;
|
||||
background-color: #363636;
|
||||
text-align: center;
|
||||
z-index: 20;
|
||||
font-size: 15px;
|
||||
font-family: d9c, d9;
|
||||
|
||||
&>p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
&>span {
|
||||
font-weight: bold;
|
||||
|
||||
&.c {
|
||||
background-color: #177500;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
&.other {
|
||||
background-color: #177500;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.markdown-section:has(div.rdview) {}
|
||||
|
||||
div.rdview {
|
||||
& div.canvas {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
& div.editor {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: min(max-content, 50%);
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
|
||||
& textarea {
|
||||
font-family: d9c, d9;
|
||||
font-size: 15px;
|
||||
color: #9CDCFE;
|
||||
width: 100%;
|
||||
background-color: #1f1f1f;
|
||||
line-height: 22px;
|
||||
resize: none;
|
||||
overflow: hidden;
|
||||
border-width: 1px;
|
||||
border-color: gray;
|
||||
border-radius: 5px;
|
||||
|
||||
&::selection {
|
||||
color: #b5e5ff;
|
||||
background-color: #264F78;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
border-width: 1px;
|
||||
border-color: gray;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
& div.numbers {
|
||||
flex: content;
|
||||
border-right: 1px solid rgb(203, 213, 225);
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
background: transparent;
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.decoration-depth {
|
||||
&>div.row {
|
||||
&>div.character {
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
|
||||
&.samurai {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background-image: url(../style/assets/roomelements/Samurai.gif);
|
||||
}
|
||||
}
|
||||
|
||||
&>div.beat {
|
||||
display: inline-flex;
|
||||
vertical-align: middle;
|
||||
position: absolute;
|
||||
|
||||
&>div.b1-left {
|
||||
background-image: url(../style/assets/roomelements/classicbeat.png);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
width: 64px;
|
||||
height: 108px;
|
||||
margin: -10px -8px;
|
||||
}
|
||||
|
||||
&>div.cb {
|
||||
background-image: url(../style/assets/roomelements/classicbeat.png);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
width: 64px;
|
||||
height: 108px;
|
||||
margin: -10px -8px;
|
||||
|
||||
&:hover {
|
||||
background-image: url(../style/assets/roomelements/classicbeat.gif);
|
||||
}
|
||||
}
|
||||
&>div.b7 {
|
||||
background-image: url(../style/assets/roomelements/classicbeat.png);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
width: 64px;
|
||||
height: 108px;
|
||||
margin: -10px -8px;
|
||||
filter: hue-rotate(-80deg) brightness(50);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user