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

Commit

Permalink
fix(link): fix long words and URLs style bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Feb 13, 2020
1 parent a07f0c6 commit 917cf4a
Show file tree
Hide file tree
Showing 11 changed files with 327 additions and 314 deletions.
2 changes: 2 additions & 0 deletions assets/css/_core/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ body {
line-height: 1.5rem;
background-color: $global-background-color;
color: $global-font-color;
overflow-wrap: break-word;

&::before {
content: "";
Expand Down Expand Up @@ -59,6 +60,7 @@ body {
a {
color: $global-link-color;
text-decoration: none;
word-break: break-all;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;

&:hover {
Expand Down
12 changes: 6 additions & 6 deletions assets/css/_page/_index.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
@import "_home";
@import "_404";

.page {
position: relative;
width: 100%;
max-width: 980px;
margin: 0 auto;
padding-top: 6rem;

@import "_post";
@import "_posts";
}

@import "_home";
@import "_404";

@import "_post";
@import "_posts";

.archive {
.post-title {
text-align: right;
Expand Down
Loading

0 comments on commit 917cf4a

Please sign in to comment.