Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix(css): fix some css bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Jan 31, 2020
1 parent 7e62363 commit 344f0a9
Show file tree
Hide file tree
Showing 36 changed files with 706 additions and 430 deletions.
6 changes: 3 additions & 3 deletions archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ draft: true
description: ""
show_in_homepage: true
show_description: false
license: ''
license: ""

tags: []
categories: []

featured_image: ''
featured_image_preview: ''
featured_image: ""
featured_image_preview: ""

comment: true
toc: false
Expand Down
4 changes: 1 addition & 3 deletions assets/css/_core/_base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900);

html {
font-family: "Lato", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft Yahei", "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;
font-family: $global-font-family;

/* scrollbar, only support webkit */
&::-webkit-scrollbar {
Expand Down
10 changes: 5 additions & 5 deletions assets/css/_core/_media.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@media only screen and (max-width: 1800px) {
.post-warp {
.warpper {
max-width: 780px;

.post-toc {
Expand All @@ -9,7 +9,7 @@
}

@media only screen and (max-width: 1300px) {
.post-warp {
.warpper {
max-width: 560px;

.post-toc {
Expand All @@ -25,7 +25,7 @@
}
}

.post-warp {
.warpper {
max-width: 80%;

.post-toc {
Expand All @@ -38,7 +38,7 @@
}
}

@media only screen and (max-width: 480px) {
@media only screen and (max-width: 560px) {
.navbar {
display: none;
}
Expand All @@ -47,7 +47,7 @@
display: block;
}

.post-warp {
.warpper {
max-width: 100%;

.categories-card {
Expand Down
Loading

0 comments on commit 344f0a9

Please sign in to comment.