Skip to content

Commit

Permalink
fix: Add highlighting for links in the blog page (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
turjoc120 authored Jul 19, 2023
1 parent 1dbe7b2 commit fd5d775
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions styles/blog_text_content_wrapper.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,76 @@
background: transparent;
white-space: pre-wrap;
}
.contentWrapper > h1 {

.contentWrapper>h1 {
font-weight: 700;
font-size: 2.75rem;
line-height: 1;
letter-spacing: -0.02em;
margin: 20px 0px;
}

.contentWrapper > h2 {
.contentWrapper>h2 {
font-weight: 700;
font-size: 2.375rem;
line-height: 2.6rem;
letter-spacing: -0.02em;
margin: 20px 0px;
}

.contentWrapper > h3 {
.contentWrapper>h3 {
font-weight: 700;
font-size: 2rem;
line-height: 2.5rem;
letter-spacing: -0.02em;
margin: 20px 0px;
}

.contentWrapper > h4 {
.contentWrapper>h4 {
font-weight: 700;
font-size: 1.625rem;
line-height: 2.2rem;
letter-spacing: -0.02em;
margin: 20px 0px;
}

.contentWrapper > h5 {
.contentWrapper>h5 {
font-weight: 700;
font-size: 1.375rem;
line-height: 2rem;
letter-spacing: -0.02em;
margin: 20px 0px;
}

.contentWrapper > h6 {
.contentWrapper>h6 {
font-weight: 700;
font-size: 1.25rem;
line-height: 1.75rem;
letter-spacing: -0.02em;
margin: 20px 0px;
}

.contentWrapper > p {
.contentWrapper>p {
font-weight: 400;
font-size: 1.125rem;
line-height: 1.75rem;
letter-spacing: -0.02em;
opacity: 0.7;
}

.contentWrapper > ul {
.contentWrapper a {
color: rgb(178, 178, 253);
}

.contentWrapper a:hover {
text-decoration: underline;
}

.contentWrapper>ul {
padding-left: 24px;
}

.contentWrapper > ul > li {
.contentWrapper>ul>li {
font-weight: 400;
font-size: 1.125rem;
line-height: 1.75rem;
Expand All @@ -71,14 +80,14 @@
list-style: disc;
}

.contentWrapper > ol {
.contentWrapper>ol {
padding-left: 24px;
}

.contentWrapper > ol > li {
.contentWrapper>ol>li {
font-weight: 400;
font-size: 1.125rem;
line-height: 1.75rem;
letter-spacing: -0.02em;
opacity: 0.7;
}
}

0 comments on commit fd5d775

Please sign in to comment.