Skip to content

Commit

Permalink
Improve style sheets
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanzhong committed Nov 28, 2020
1 parent 67b888a commit 60ec476
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/_style/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ input {
}

.sidebar > h1 {
font-weight: 700;
}

.sidebar ul, .sidebar ul li {
font-weight: 600;
}

Expand All @@ -42,6 +46,17 @@ input {
border-radius: 4px;
}

.markdown-section blockquote {
background: #f8f8f8;
padding-top: 2px;
padding-bottom: 2px;
}

.markdown-section blockquote p {
margin-top: 0.5em;
margin-bottom: 0.5em;
}

@media screen and (max-width: 768px) {
.sidebar-toggle {
bottom: -10px;
Expand Down
4 changes: 4 additions & 0 deletions docs/_style/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ input {
background-color: #1e1e1e;
}

.markdown-section blockquote {
background: #1e1e1e;
}

@media screen and (max-width: 768px) {
.sidebar-toggle {
background-color: transparent;
Expand Down

0 comments on commit 60ec476

Please sign in to comment.