Skip to content

Commit

Permalink
refactor(ru): Format /web/css using Prettier (part 3) (#14801)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Aug 7, 2023
1 parent 8d8504c commit 8b571ff
Show file tree
Hide file tree
Showing 108 changed files with 1,822 additions and 1,137 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ build/
/files/ru/learn/server-side/django/forms/index.md
/files/ru/learn/server-side/django/introduction/index.md
/files/ru/learn/html/introduction_to_html/the_head_metadata_in_html/index.md
/files/ru/web/css/computed_value/index.md
/files/ru/web/css/justify-content/index.md
/files/ru/web/html/element/abbr/index.md
/files/zh-cn/learn/server-side/django/forms/index.md
/files/zh-cn/web/javascript/reference/operators/exponentiation/index.md
Expand Down
4 changes: 2 additions & 2 deletions files/ru/web/css/font-variant-numeric/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ p {

## Specifications

| Specification | Status | Comment |
| ---------------------------------------------------------------------------------------------------------------- | -------------------------------- | ------------------ |
| Specification | Status | Comment |
| ----------------------------------------------------------------------------------- | ----------------------- | ------------------ |
| {{SpecName('CSS3 Fonts', '#propdef-font-variant-numeric', 'font-variant-numeric')}} | {{Spec2('CSS3 Fonts')}} | Initial definition |

## Browser Compatibility
Expand Down
15 changes: 8 additions & 7 deletions files/ru/web/css/font-weight/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: font-weight
slug: Web/CSS/font-weight
---

{{CSSRef}}

[CSS](/ru/docs/Web/CSS) свойство **`font-weight`** устанавливает начертание шрифта. Некоторые шрифты доступны только в нормальном или полужирном начертании.
Expand Down Expand Up @@ -104,14 +105,14 @@ font-weight: unset;

```html
<p>
Alice was beginning to get very tired of sitting by her sister on the
bank, and of having nothing to do: once or twice she had peeped into the
book her sister was reading, but it had no pictures or conversations in
it, 'and what is the use of a book,' thought Alice 'without pictures or
conversations?'
Alice was beginning to get very tired of sitting by her sister on the bank,
and of having nothing to do: once or twice she had peeped into the book her
sister was reading, but it had no pictures or conversations in it, 'and what
is the use of a book,' thought Alice 'without pictures or conversations?'
</p>

<div>I'm heavy<br/>
<div>
I'm heavy<br />
<span>I'm lighter</span>
</div>
```
Expand All @@ -127,7 +128,7 @@ p {
/* Назначение тексту элемента <div> жирности, которая больше на два уровня,
чем normal, но все ещё меньше, чем стандартный bold. */
div {
font-weight: 600;
font-weight: 600;
}

/* Назначение тексту элемента <span> жирности,
Expand Down
Loading

0 comments on commit 8b571ff

Please sign in to comment.