Skip to content

Commit

Permalink
website: update website style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 9, 2022
1 parent a66cd02 commit 0363302
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
8 changes: 0 additions & 8 deletions website/styles/index.module.less
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
[data-color-mode*='dark'], [data-color-mode*='dark'] body {
--color-header-bg: var(--color-theme-bg);
}
[data-color-mode*='light'], [data-color-mode*='light'] body {

--color-header-bg: #333;
}

.tools {
position: absolute;
margin: 15px 0 0 15px;
Expand Down
15 changes: 13 additions & 2 deletions website/styles/reset.less
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
[data-color-mode*='dark'], [data-color-mode*='dark'] body {
--color-header-bg: var(--color-theme-bg);
}
[data-color-mode*='light'], [data-color-mode*='light'] body {
--color-header-bg: #333;
background: #f8f8f8 url(../assets/bg.jpg) repeat top left;
}

*, *:before, *:after {
box-sizing: inherit !important;
}

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

a {
text-decoration: none;
}

.wmde-markdown {
background-color: transparent !important;
}

0 comments on commit 0363302

Please sign in to comment.