Skip to content

Commit

Permalink
fix: adjust typography styles in blog pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Dec 15, 2023
1 parent e9dc989 commit 7ebeeac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions packages/logos-docusaurus-theme/src/client/css/blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
.blog-wrapper {
}

.blog-wrapper h1[itemprop='headline'] {
@include lsd.typography('h1');
}

.blog-wrapper > .container {
display: flex;
width: 100%;
Expand Down Expand Up @@ -62,13 +66,19 @@
}

.blog-wrapper--index h2[itemprop='headline'] {
@include lsd.typography('h5');
@include lsd.typography('h4');

> a {
text-decoration: none;
}
}

.blog-wrapper--index [itemprop='blogPost'] {
.markdown {
@include lsd.typography('body2');
}
}

.blog-wrapper .breadcrumbs__item {
text-decoration: none;
}
Expand Down Expand Up @@ -164,7 +174,7 @@
}

.blog-wrapper h1[itemprop='headline'] {
@include lsd.typography('h3');
@include lsd.typography('h2');
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
@include utils.responsive('lg', 'down') {
.blogPostSubtitle {
margin-top: 4px;
@include lsd.typography('body1');
@include lsd.typography('subtitle2');
}
}

0 comments on commit 7ebeeac

Please sign in to comment.