✨ feat: 添加全局单一字体样式以统一界面字体
This commit is contained in:
@@ -1,4 +1,32 @@
|
||||
@import url(../bootstrap/css/bootstrap.css);
|
||||
:root {
|
||||
--hustoj-global-mono-font: "Sarasa Mono SC", "Sarasa Fixed SC", "Sarasa Gothic SC", Consolas, "Cascadia Mono", "Cascadia Code", "Fira Mono", "JetBrains Mono", "Liberation Mono", Menlo, Monaco, "Courier New", monospace;
|
||||
}
|
||||
|
||||
body,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea,
|
||||
table,
|
||||
th,
|
||||
td,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
div.content,
|
||||
.sampledata,
|
||||
.toprow a,
|
||||
.toprow a:hover,
|
||||
.menu_item a,
|
||||
#profile,
|
||||
#broadcast {
|
||||
font-family: var(--hustoj-global-mono-font) !important;
|
||||
}
|
||||
|
||||
input{
|
||||
height:24px;
|
||||
}
|
||||
@@ -28,14 +56,12 @@ h2 {
|
||||
}
|
||||
.toprow a {
|
||||
color: #FFFFFF;
|
||||
font-family: Arial;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin: 15px;
|
||||
}
|
||||
.toprow a:hover {
|
||||
color: orange;
|
||||
font-family: Arial;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin: 15px;
|
||||
@@ -103,7 +129,6 @@ span.exadmin {
|
||||
}
|
||||
div.content {
|
||||
background: none repeat scroll 0 0 #E4F0F8;
|
||||
font-family: Times New Roman;
|
||||
font-size: 14px;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
@@ -113,7 +138,6 @@ div.content {
|
||||
}
|
||||
.sampledata {
|
||||
background: none repeat scroll 0 0 #8DB8FF;
|
||||
font-family: Monospace;
|
||||
font-size: 18px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user