TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.3 KiB
73 lines
1.3 KiB
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400&display=swap');
|
|
|
|
select {
|
|
height: 24px;
|
|
}
|
|
|
|
#preCode code,
|
|
textarea,
|
|
#lineNumbers,
|
|
.lineNumbers {
|
|
font-family: "Roboto Mono", monospace;
|
|
font-weight: 400;
|
|
font-size: 12pt;
|
|
line-height: 150%;
|
|
}
|
|
|
|
#divCodeWrapper {
|
|
height: calc(100vh - 200px);
|
|
max-height: 800px;
|
|
width: 1200px;
|
|
overflow: hidden;
|
|
border: 1px solid #a5a5a5;
|
|
position: relative;
|
|
}
|
|
|
|
#preCode {
|
|
height: 100%;
|
|
width: calc(100% - 50px);
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
margin: 0;
|
|
background: #1b1b1b;
|
|
border: none;
|
|
}
|
|
|
|
#preCode code {
|
|
padding: 15px;
|
|
height: calc(100% - 30px);
|
|
width: calc(100% - 30px);
|
|
overflow-y: scroll;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
textarea {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50px;
|
|
height: calc(100% - 30px);
|
|
width: calc(100% - 80px);
|
|
padding: 15px;
|
|
z-index: 2;
|
|
overflow-x: auto;
|
|
overflow-y: scroll;
|
|
white-space: nowrap;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
color: rgba(0, 0, 0, 0);
|
|
caret-color: white;
|
|
border: none;
|
|
outline: none;
|
|
border-left: 1px solid #383838;
|
|
}
|
|
|
|
#lineNumbers {
|
|
position: absolute;
|
|
text-align: right;
|
|
top: 0;
|
|
left: 0;
|
|
height: calc(100% - 50px);
|
|
overflow: hidden;
|
|
}
|
|
|