Skip to content

Commit

Permalink
Правит селектор для буквицы (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
monochromer authored Jan 19, 2025
1 parent b78aa04 commit fff736b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 14 additions & 0 deletions src/styles/blocks/article.css
Original file line number Diff line number Diff line change
Expand Up @@ -301,3 +301,17 @@
grid-column: 3 / -2;
}
}

/* Letter */

.article__content > p:first-of-type::first-letter {
float: left;
margin-top: 0.13em;
margin-left: -5px;
padding-right: 15px;
color: var(--token-color-content-first-letter);
font-weight: normal;
font-size: 3.5em;
font-stretch: expanded;
line-height: 0.65;
}
14 changes: 0 additions & 14 deletions src/styles/blocks/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,20 +380,6 @@
border: 0;
}

/* Letter */

.content > p:first-child::first-letter {
float: left;
margin-top: 0.13em;
margin-left: -5px;
padding-right: 15px;
color: var(--token-color-content-first-letter);
font-weight: normal;
font-size: 3.5em;
font-stretch: expanded;
line-height: 0.65;
}

/* Tables */

.content__table-wrapper {
Expand Down

0 comments on commit fff736b

Please sign in to comment.