Skip to content

Commit c08c486

Browse files
committed
style changes
Signed-off-by: zhangtianli2006 <zhangtianli2006@163.com>
1 parent 7fec4a4 commit c08c486

File tree

3 files changed

+26
-17
lines changed

3 files changed

+26
-17
lines changed

src/assets/css/basic.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
::-webkit-scrollbar-thumb {
1212
background-color: #b3b3b3;
13+
transition: all 0.5s;
1314
}
1415

1516
::-webkit-scrollbar-thumb:hover {
@@ -31,6 +32,19 @@
3132
opacity: 0.2;
3233
}
3334

35+
body {
36+
color: #606266;
37+
}
38+
39+
h1,
40+
h2,
41+
h3,
42+
h4,
43+
h5 {
44+
font-weight: 400;
45+
color: #303133;
46+
}
47+
3448
.markdown-container pre {
3549
white-space: pre-wrap;
3650
white-space: -moz-pre-wrap;
@@ -47,13 +61,8 @@
4761
margin: 20px 0 20px 0;
4862
}
4963

50-
h1,
51-
h2,
52-
h3,
53-
h4,
54-
h5 {
55-
font-weight: 400;
56-
color: #303133;
64+
.markdown-container thead {
65+
background-color: #f9f9f9;
5766
}
5867

5968
.markdown-container h1::before,
@@ -92,15 +101,6 @@ h3::before {
92101
font-size: 14px;
93102
}
94103

95-
.cm-header,
96-
.cm-strong {
97-
font-weight: 400 !important;
98-
}
99-
100-
body {
101-
color: #606266;
102-
}
103-
104104
.markdown-container blockquote {
105105
background-color: #f8f8f8;
106106
border-left: 5px solid #a8a8a8;

src/assets/css/mde.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
height: 500px;
33
border: none;
44
}
5+
6+
.cm-header,
7+
.cm-strong {
8+
font-weight: 400 !important;
9+
}

src/components/problem/content.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<el-menu-item index="2-2">Settings</el-menu-item>
4444
</el-submenu>
4545
</el-menu>
46-
<el-button @click="$router.push('/problem/list');">Back</el-button>
46+
<el-button @click="$router.push('/problem/list');" class="margin-top">Back</el-button>
4747
</el-card>
4848
</div>
4949
<div id="info">
@@ -254,4 +254,8 @@ export default {
254254
.tool-content {
255255
color: #606266;
256256
}
257+
258+
.margin-top {
259+
margin-top: 10px;
260+
}
257261
</style>

0 commit comments

Comments
 (0)