mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
design fix, refactoring
This commit is contained in:
@@ -30,8 +30,8 @@ div#about textarea {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
padding: 0;
|
||||
color: var(--fg-color-normal);
|
||||
background-color: var(--bg-color-menu);
|
||||
color: var(--fg-color-light);
|
||||
background-color: var(--bg-color-dark);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
outline: 0 !important;
|
||||
@@ -42,11 +42,11 @@ div#about textarea {
|
||||
}
|
||||
|
||||
div#about textarea::-moz-placeholder {
|
||||
line-height: 150px;
|
||||
line-height: 190px;
|
||||
text-align: center;
|
||||
}
|
||||
div#about textarea::-webkit-input-placeholder {
|
||||
line-height: 150px;
|
||||
line-height: 190px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ textarea#hid-pak-text {
|
||||
resize: none;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
color: var(--fg-color-dark);
|
||||
color: var(--fg-color-intensive);
|
||||
background-color: var(--bg-color-light);
|
||||
border: none;
|
||||
outline: 0 !important;
|
||||
|
||||
@@ -22,17 +22,34 @@ hr {
|
||||
}
|
||||
|
||||
p.text {
|
||||
display: table-cell;
|
||||
text-align: justify;
|
||||
}
|
||||
p:not(:first-child).text {
|
||||
margin-top: 0;
|
||||
}
|
||||
p:last-child.text {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
pre.code {
|
||||
div.code {
|
||||
white-space: nowrap;
|
||||
overflow-x: auto;
|
||||
font-family: monospace;
|
||||
border-radius: 4px;
|
||||
color: var(--fg-color-dark);
|
||||
background-color: var(--bg-color-dark);
|
||||
padding: 10px;
|
||||
}
|
||||
pre.code span.code-comment {
|
||||
div.code::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
div.code::-webkit-scrollbar-thumb {
|
||||
border-radius: 4px;
|
||||
background: var(--fg-color-inactive);
|
||||
}
|
||||
|
||||
div.code span.code-comment {
|
||||
color: var(--fg-color-inactive);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user