Skip to content

Commit

Permalink
chore: update css & config
Browse files Browse the repository at this point in the history
  • Loading branch information
p208p2002 committed Nov 26, 2024
1 parent 5d2be06 commit 033a267
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/configs/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export const BLOG_NAME = 'Philip\'s blog'
export const HOME_PAGE = '/'
export const GITHUB = `https://github.com/${GITHUB_USER}`
export const IMG_FILE_PREFIX = NODE_ENV === "production" ? `https://media.githubusercontent.com/media/${GITHUB_USER}/blog/main/public/docs` : "http://localhost:3000/docs"
export const POST_PRE_PAGE = 8
export const POST_PRE_PAGE = 10
export const CODE_LAB_PREFIX = `https://colab.research.google.com/github/${GITHUB_USER}/blog/blob/main/public`
export const GITHUB_USER_CONTENT_PREFIX = `https://raw.githubusercontent.com/${GITHUB_USER}/blog/main/public`
13 changes: 5 additions & 8 deletions src/modules/MdRender/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
}

#MD p {
line-height: 1.8;
margin-bottom: 12px;
line-height: 2.2;
margin-bottom: 24px;
}

#MD .footer {
Expand Down Expand Up @@ -140,11 +140,6 @@
color: var(--text-3);
padding-right: 2px;
}

#MD blockquote{
position: relative;
margin-top: 25px;
}
#MD blockquote::before{
content: "! Note";
width: 100%;
Expand All @@ -162,9 +157,11 @@


#MD blockquote {
position: relative;
margin-top: 16px;
background-color: var(--support-3);
font-size: smaller;
margin-bottom: 12px;
margin-bottom: 34px;
padding: 8px;
padding-left: 12px;
vertical-align: middle;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/MdRender/preview.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#MD-Preview{
overflow: hidden;
line-height: 1.5;
line-height: 2;
margin-top: -20px;
color: var(--text-1);
min-height:80px
Expand Down

0 comments on commit 033a267

Please sign in to comment.