♻️ refactor: 优化管理员页面字体大小设置
This commit is contained in:
@@ -20,9 +20,6 @@ require_once ("../include/my_func.inc.php");
|
||||
|
||||
:root {
|
||||
--hustoj-admin-font-family: 'Sarasa Mono SC Local', '等距更纱黑体 SC', 'Sarasa Mono SC', 'Sarasa Fixed SC', 'Sarasa Gothic SC', Consolas, 'Cascadia Mono', 'JetBrains Mono', 'Courier New', monospace;
|
||||
--hustoj-admin-font-size: 24px;
|
||||
--hustoj-admin-heading-size: 24px;
|
||||
--hustoj-admin-subheading-size: 24px;
|
||||
--hustoj-admin-line-height: 1.6;
|
||||
}
|
||||
|
||||
@@ -44,23 +41,8 @@ require_once ("../include/my_func.inc.php");
|
||||
.ui.message,
|
||||
.ui.table {
|
||||
font-family: var(--hustoj-admin-font-family) !important;
|
||||
font-size: var(--hustoj-admin-font-size) !important;
|
||||
line-height: var(--hustoj-admin-line-height) !important;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
.h-head,
|
||||
.h2-head {
|
||||
font-size: var(--hustoj-admin-heading-size) !important;
|
||||
}
|
||||
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-size: var(--hustoj-admin-subheading-size) !important;
|
||||
}
|
||||
</style>
|
||||
<script src="../template/syzoj/jquery.min.js"></script>
|
||||
<script>
|
||||
|
||||
@@ -80,7 +80,6 @@ div .bottom-space{
|
||||
|
||||
.news-header{
|
||||
padding-top: 15px;
|
||||
font-size: 22px;
|
||||
}
|
||||
.news-content{
|
||||
background:#f9f9f9;
|
||||
@@ -105,7 +104,6 @@ div .bottom-space{
|
||||
.h-head{
|
||||
padding-top: 30px;
|
||||
padding-bottom: 15px;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.a-color{
|
||||
@@ -176,7 +174,6 @@ button a:hover{
|
||||
.changepass{
|
||||
margin: 0 auto;
|
||||
width: 280px;
|
||||
font-size: 16px;
|
||||
height: 175px;
|
||||
padding-top: 10px;
|
||||
background:#f9f9f9;
|
||||
@@ -193,7 +190,6 @@ button a:hover{
|
||||
.changepass .change{
|
||||
margin: 0 auto;
|
||||
width:170px;
|
||||
font-size: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.changepass .btn{
|
||||
@@ -263,7 +259,6 @@ button a:hover{
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
padding-top: 10px;
|
||||
font-size: 14px;
|
||||
|
||||
}
|
||||
.copy-problem ol {
|
||||
@@ -277,7 +272,6 @@ button a:hover{
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
padding-top: 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.changeid input{
|
||||
margin-bottom: 0;
|
||||
@@ -292,6 +286,5 @@ button a:hover{
|
||||
}
|
||||
|
||||
.return{
|
||||
font-size: 20px;
|
||||
float: right;
|
||||
}
|
||||
Reference in New Issue
Block a user