User:11LAM11/common.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 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;
}
.xml-tag {
font-style: italic;
color: #64cd9a;
}
/* Styles for C# keywords */
.cs-keyword {
color: #ec5aec;
}
/* Styles for C# types and method names */
.cs-type {
color: #48ffff;
}
.cs-method {
color: #e6c56b;
}
/* Styles for C# literals and miscellaneous */
.cs-literal {
color: #62f0ba;
}
.cs-comment {
color: #439970;
}
.cs-punctuation {
color: #45caff;
}
.cs-switch {
color: #ffc94b;
}
.cs-brace {
color: #ff6695;
}
.cs-normal {
color: #6fccca;
}
/* Styles for preformatted text spaces */
.pre-space {
white-space: pre;
}