User:11LAM11/common.css:修订间差异
(创建页面,内容为“→General styles for the code viewer container: .code-viewer-container { font-family: 'consolas', Menlo, sans-serif; margin: 5px; border-radius: 5px; background: #404050; border: #aaaaaf 1px solid; user-select: none; -webkit-user-select: none; box-shadow: 0 0 10px #000000aa; min-width: 300px; max-width: 800px; width: 600px; } samp { font-family: 'Consolas', 'Menlo', sans-serif; outline: none; border: n…”) |
小无编辑摘要 |
||
第71行: | 第71行: | ||
font-style: italic; | font-style: italic; | ||
color: #439970; | color: #439970; | ||
border: none; | |||
} | } | ||
第76行: | 第77行: | ||
font-style: italic; | font-style: italic; | ||
color: #64cd9a; | color: #64cd9a; | ||
border: none; | |||
} | } | ||
第81行: | 第83行: | ||
.cs-keyword { | .cs-keyword { | ||
color: #ec5aec; | color: #ec5aec; | ||
border: none; | |||
} | } | ||
第86行: | 第89行: | ||
.cs-type { | .cs-type { | ||
color: #48ffff; | color: #48ffff; | ||
border: none; | |||
} | } | ||
.cs-method { | .cs-method { | ||
color: #e6c56b; | color: #e6c56b; | ||
border: none; | |||
} | } | ||
第95行: | 第100行: | ||
.cs-literal { | .cs-literal { | ||
color: #62f0ba; | color: #62f0ba; | ||
border: none; | |||
} | } | ||
.cs-comment { | .cs-comment { | ||
color: #439970; | color: #439970; | ||
border: none; | |||
} | } | ||
.cs-punctuation { | .cs-punctuation { | ||
color: #45caff; | color: #45caff; | ||
border: none; | |||
} | } | ||
.cs-switch { | .cs-switch { | ||
color: #ffc94b; | color: #ffc94b; | ||
border: none; | |||
} | } | ||
.cs-brace { | .cs-brace { | ||
color: #ff6695; | color: #ff6695; | ||
border: none; | |||
} | } | ||
.cs-normal { | .cs-normal { | ||
color: #6fccca; | color: #6fccca; | ||
border: none; | |||
} | } | ||
第120行: | 第131行: | ||
.pre-space { | .pre-space { | ||
white-space: pre; | white-space: pre; | ||
border: none; | |||
} | } |
2024年3月24日 (日) 03:02的版本
/* General styles for the code viewer container */
.code-viewer-container {
font-family: 'consolas', Menlo, sans-serif;
margin: 5px;
border-radius: 5px;
background: #404050;
border: #aaaaaf 1px solid;
user-select: none;
-webkit-user-select: none;
box-shadow: 0 0 10px #000000aa;
min-width: 300px;
max-width: 800px;
width: 600px;
}
samp {
font-family: 'Consolas', 'Menlo', sans-serif;
outline: none;
border: none;
font-size: 15px;
}
/* Style for the window controls (red, yellow, green circles) */
.window-controls {
position: relative;
top: 7px;
}
.window-controls div {
width: 12px;
height: 12px;
border-radius: 50%;
position: absolute;
border: 2px solid #00000033;
}
.red-circle {
background: #f04545;
left: 10px;
}
.yellow-circle {
background: #ffba00;
left: 35px;
}
.green-circle {
background: #0faa58;
left: 60px;
}
/* Style for the file name */
.file-name {
font-size: 13px;
font-family: sans-serif;
text-align: center;
margin: 5px;
color: #fafaff;
}
/* Styles for the code content */
.code-content {
font-family: 'Consolas', 'Menlo', sans-serif;
padding: 5px 15px;
border-radius: 0px 0px 5px 5px;
background: #10101f;
}
/* Styles for XML comments */
.xml-comment {
font-style: italic;
color: #439970;
border: none;
}
.xml-tag {
font-style: italic;
color: #64cd9a;
border: none;
}
/* Styles for C# keywords */
.cs-keyword {
color: #ec5aec;
border: none;
}
/* Styles for C# types and method names */
.cs-type {
color: #48ffff;
border: none;
}
.cs-method {
color: #e6c56b;
border: none;
}
/* Styles for C# literals and miscellaneous */
.cs-literal {
color: #62f0ba;
border: none;
}
.cs-comment {
color: #439970;
border: none;
}
.cs-punctuation {
color: #45caff;
border: none;
}
.cs-switch {
color: #ffc94b;
border: none;
}
.cs-brace {
color: #ff6695;
border: none;
}
.cs-normal {
color: #6fccca;
border: none;
}
/* Styles for preformatted text spaces */
.pre-space {
white-space: pre;
border: none;
}