-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR fixes the rendering issue with blog 5 on small screen. This PR **does not** change the content of the blog.
- Loading branch information
1 parent
b62ddd7
commit 95875a8
Showing
15 changed files
with
610 additions
and
796 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,9 +121,4 @@ pre { | |
} | ||
|
||
|
||
.navbar { | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
.navbar a:not(:last-child)::after { | ||
content: "|"; | ||
margin: 0 2px; | ||
color: #000; | ||
} | ||
|
||
@media only screen and (min-width: 768px) { | ||
.navbar a:not(:last-child)::after { | ||
margin: 0 10px; | ||
} | ||
} | ||
|
||
.navbar { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
|
||
|
||
pre { | ||
white-space: pre-wrap; | ||
width: 100%; | ||
overflow-x: auto; | ||
background-color: #f4f4f4; | ||
} | ||
|
||
|
||
body, html, p, h1, h2, h3, .author-date, .blog-title, .author, .date { | ||
white-space: normal; | ||
word-wrap: break-word; | ||
overflow-wrap: break-word; | ||
} | ||
|
||
|
||
.container { | ||
max-width: 100%; | ||
width: auto; | ||
} | ||
|
||
|
||
@media (max-width: 768px) { | ||
h1 { | ||
font-size: 24px; | ||
} | ||
|
||
h2 { | ||
font-size: 18px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.