use consolas.

This commit is contained in:
2023-06-27 08:43:36 +08:00
parent 9fe9cc938a
commit 6ddb69531c
2 changed files with 3 additions and 0 deletions

View File

@@ -178,6 +178,7 @@ function type(status: ProblemStatus) {
.problemContent .testcase { .problemContent .testcase {
font-size: 14px; font-size: 14px;
white-space: pre; white-space: pre;
font-family: "Consolas";
} }
.problemContent .success { .problemContent .success {
@@ -203,6 +204,7 @@ function type(status: ProblemStatus) {
box-sizing: border-box; box-sizing: border-box;
transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1); border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-family: "Consolas";
} }
.__layout-dark .problemContent > .content > pre { .__layout-dark .problemContent > .content > pre {

View File

@@ -42,5 +42,6 @@ function clear() {
.testcase { .testcase {
white-space: pre; white-space: pre;
font-size: 16px; font-size: 16px;
font-family: "Consolas";
} }
</style> </style>