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