488 lines
10 KiB
CSS
488 lines
10 KiB
CSS
* {
|
|
--line-width: 1px;
|
|
}
|
|
|
|
div.qqgroup{
|
|
height: 80px;
|
|
display: flex;
|
|
justify-self: center;
|
|
position: relative;
|
|
&>img{
|
|
}
|
|
&>p{
|
|
container: qqgroup;
|
|
position: absolute;
|
|
left: 5%;
|
|
top: 19%;
|
|
font-size: 23px;
|
|
resize: both;
|
|
color: #3b8e59;
|
|
}
|
|
}
|
|
|
|
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 var( --background-border-color);
|
|
border-radius: 2px;
|
|
background-color: var(--background-color);
|
|
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: var(--special-theme-position-backgound-color);
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
&.other {
|
|
background-color: #177500;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.markdown-section:has(div.rdview) {}
|
|
|
|
div.rdview, div.rdview2 {
|
|
& 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);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div.custommethods-search {
|
|
position: relative;
|
|
margin: 16px 0;
|
|
|
|
& .cm-search {
|
|
position: relative;
|
|
}
|
|
|
|
& .cm-query {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
font-family: d9c, d9, monospace;
|
|
font-size: 15px;
|
|
color: inherit;
|
|
background-color: var(--background-color);
|
|
border: 1px solid var(--background-border-color);
|
|
border-radius: 6px;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: #3b8e59;
|
|
}
|
|
}
|
|
|
|
& .cm-suggest {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: calc(100% + 4px);
|
|
z-index: 30;
|
|
margin: 0;
|
|
padding: 4px;
|
|
list-style: none;
|
|
max-height: 260px;
|
|
overflow-y: auto;
|
|
background-color: var(--background-color);
|
|
border: 1px solid var(--background-border-color);
|
|
border-radius: 6px;
|
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
& .cm-suggest-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
padding: 6px 8px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: rgba(127, 127, 127, 0.16);
|
|
}
|
|
}
|
|
|
|
& .cm-suggest-name {
|
|
font-family: d9c, d9, monospace;
|
|
}
|
|
|
|
& .cm-suggest-desc {
|
|
font-size: 12px;
|
|
opacity: 0.6;
|
|
text-align: right;
|
|
}
|
|
|
|
& .cm-selected {
|
|
position: relative;
|
|
margin-top: 10px;
|
|
padding: 12px;
|
|
border: 1px solid var(--background-border-color);
|
|
border-radius: 6px;
|
|
background-color: rgba(127, 127, 127, 0.06);
|
|
}
|
|
|
|
& .cm-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
padding-right: 56px;
|
|
}
|
|
|
|
& .cm-name {
|
|
font-family: d9c, d9, monospace;
|
|
font-weight: bold;
|
|
}
|
|
|
|
& .cm-desc {
|
|
font-size: 12px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
& .cm-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
& .cm-param {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
& .cm-param-name {
|
|
font-family: d9c, d9, monospace;
|
|
font-size: 13px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
& .cm-input {
|
|
padding: 4px 6px;
|
|
font-size: 14px;
|
|
color: inherit;
|
|
background-color: var(--background-color);
|
|
border: 1px solid var(--background-border-color);
|
|
border-radius: 4px;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: #3b8e59;
|
|
}
|
|
}
|
|
|
|
& select.cm-input {
|
|
min-width: 90px;
|
|
}
|
|
|
|
& input.cm-input[type="number"] {
|
|
width: 96px;
|
|
}
|
|
|
|
& input.cm-input[type="text"] {
|
|
width: 150px;
|
|
}
|
|
|
|
& .cm-preview {
|
|
display: block;
|
|
margin-top: 12px;
|
|
padding: 8px 10px;
|
|
font-family: d9c, d9, monospace;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
background-color: rgba(127, 127, 127, 0.12);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
& .cm-empty {
|
|
font-size: 13px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
& .cm-input.cm-invalid,
|
|
& .cm-combo.cm-invalid .cm-input {
|
|
border-color: #e5484d;
|
|
box-shadow: 0 0 0 1px #e5484d;
|
|
}
|
|
|
|
& .cm-combo {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
& .cm-combo-input {
|
|
width: 150px;
|
|
}
|
|
|
|
& .cm-combo-list {
|
|
position: absolute;
|
|
top: calc(100% + 2px);
|
|
left: 0;
|
|
min-width: 100%;
|
|
z-index: 40;
|
|
margin: 0;
|
|
padding: 4px;
|
|
list-style: none;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
background-color: var(--background-color);
|
|
border: 1px solid var(--background-border-color);
|
|
border-radius: 4px;
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
& .cm-combo-item {
|
|
padding: 4px 8px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: rgba(127, 127, 127, 0.16);
|
|
}
|
|
}
|
|
|
|
& .cm-copy {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
padding: 2px 10px;
|
|
font-size: 12px;
|
|
color: inherit;
|
|
background-color: var(--background-color);
|
|
border: 1px solid var(--background-border-color);
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
color: #3b8e59;
|
|
border-color: #3b8e59;
|
|
}
|
|
}
|
|
} |