Skip to content

Commit

Permalink
fix: broken link and blockquote styles (fixes #7)
Browse files Browse the repository at this point in the history
  • Loading branch information
MyXoToD committed May 7, 2024
1 parent 4b57e2c commit 4db1284
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Personal website of Maximilian Boll. Feel free to look around.

![](https://img.shields.io/badge/version-v1.1.7-brightgreen?style=for-the-badge)
![](https://img.shields.io/badge/version-v1.1.8-brightgreen?style=for-the-badge)
![](https://img.shields.io/github/last-commit/MyXoToD/makkusu.dev?style=for-the-badge)
![](https://img.shields.io/github/actions/workflow/status/MyXoToD/makkusu.dev/deploy.yml?style=for-the-badge)

Expand Down
4 changes: 2 additions & 2 deletions src/assets/stylesheets/_fonts.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* Noto Sans JP: 400, 700, 900
* Noto Sans JP: 100, 400, 700, 900
* Noto Serif JP: 400, 700, 900
* Ubuntu Mono: 400
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&family=Noto+Serif+JP:wght@400;700;900&family=Ubuntu+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;400;700;900&family=Noto+Serif+JP:wght@400;700;900&family=Ubuntu+Mono&display=swap');

/*
* aoyagireisyosimo2
Expand Down
35 changes: 35 additions & 0 deletions src/assets/stylesheets/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@

.post-detail {
min-width: 0; // Trick to make mak-width work on pre
line-height: 1.8;

&__meta {
margin-bottom: 2rem;
Expand Down Expand Up @@ -304,6 +305,40 @@
height: auto;
aspect-ratio: 16 / 9;
}

blockquote {
position: relative;
border-left: 4px solid var(--c-accent);
margin-top: 2rem;
margin-bottom: 2rem;
padding: 2rem;
font-family: var(--ff-sans);
font-size: 2rem;
font-weight: 100;
line-height: 1.2;

h6:not(:first-child):last-child {
font-size: 1rem;
font-weight: 400;
font-family: var(--ff-serif);
opacity: .5;

&:before {
content: '';
}
}

&:after {
content: '';
line-height: 1;
position: absolute;
top: 0;
right: 0;
font-size: 10rem;
color: rgba(var(--c-copy-rgb), .1);
font-weight: 900;
}
}
}

.post-progress {
Expand Down
4 changes: 2 additions & 2 deletions src/assets/stylesheets/application.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 4db1284

Please sign in to comment.