Skip to content

Commit 0363302

Browse files
committed
website: update website style.
1 parent a66cd02 commit 0363302

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

website/styles/index.module.less

-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
[data-color-mode*='dark'], [data-color-mode*='dark'] body {
2-
--color-header-bg: var(--color-theme-bg);
3-
}
4-
[data-color-mode*='light'], [data-color-mode*='light'] body {
5-
6-
--color-header-bg: #333;
7-
}
8-
91
.tools {
102
position: absolute;
113
margin: 15px 0 0 15px;

website/styles/reset.less

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
1+
[data-color-mode*='dark'], [data-color-mode*='dark'] body {
2+
--color-header-bg: var(--color-theme-bg);
3+
}
4+
[data-color-mode*='light'], [data-color-mode*='light'] body {
5+
--color-header-bg: #333;
6+
background: #f8f8f8 url(../assets/bg.jpg) repeat top left;
7+
}
8+
19
*, *:before, *:after {
210
box-sizing: inherit !important;
311
}
412

513
body {
614
font-family: "PingHei","Lucida Grande", "Lucida Sans Unicode", "STHeitiSC-Light", "Helvetica","Arial","Verdana","sans-serif";
7-
// color:#535353;
8-
// background: #f8f8f8 url(../assets/bg.jpg) repeat top left;
915
transition: all 0.3s;
16+
margin: 0;
1017
}
1118

1219
a {
1320
text-decoration: none;
1421
}
22+
23+
.wmde-markdown {
24+
background-color: transparent !important;
25+
}

0 commit comments

Comments
 (0)