Skip to content

Commit

Permalink
Стартует
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Makeev committed Feb 9, 2021
0 parents commit f640532
Show file tree
Hide file tree
Showing 13 changed files with 95 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
20 changes: 20 additions & 0 deletions .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: EditorConfig

on:
pull_request:
push:
branches:
- master

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npx editorconfig-checker
20 changes: 20 additions & 0 deletions .github/workflows/yaspeller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: YaSpeller

on:
pull_request:
push:
branches:
- master

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npx yaspeller src/**/*.md
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
8 changes: 8 additions & 0 deletions .yaspeller.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"lang": "ru",
"ignoreUrls": true,
"checkYo": true,
"dictionary": [
"гайд"
]
}
Empty file added docs/demos.md
Empty file.
Empty file added docs/longs.md
Empty file.
4 changes: 4 additions & 0 deletions src/html/doka/a/demos/basic/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Обычная ссылка"
height: 120
---
16 changes: 16 additions & 0 deletions src/html/doka/a/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "<a>"
author: solarrust
---

## Кратко

Преврати любой объект в ссылку с помощью тега `<a>`.

[⚙️ Демо](demos/basic)

## Как пишется

```html
<a href="URL">…</a>
```
1 change: 1 addition & 0 deletions src/html/doka/a/practice/pepelsbey/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
🛠 Когда нужно сделать навигацию в пределах одной страницы, например, оглавление, удобно использовать якоря — то есть ссылки на отдельные элементы. При нажатии на ссылку, браузер мгновенно переместится к этому элементу.
5 changes: 5 additions & 0 deletions src/html/doka/a/practice/solarrust/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
🛠 По умолчанию ссылка является строчным элементом. Поэтому, если нужно обернуть в неё целый блок, то задай для ссылки `display: block`.

🛠 Ссылку нельзя вкладывать в ссылки 🤷‍♀️

🛠 Поскольку ссылка строчная, лучше вкладывать её в блочный элемент, а не наоборот. Для примера возьмём заголовок, который должен быть ссылкой.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/html/long/flexbox-guide/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "Гайд по flexbox"
author: solarrust
---

## Что это?

Долгое время веб существовал в статичном виде. Сайты разрабатывались и просматривались только на экранах мониторов стационарных компьютеров. В масштабах истории совсем недавно у нас появилось огромное разнообразие различных экранов — от мобильных телефонов, до телевизоров — на которых мы можем взаимодействовать с сайтами. Отсюда появилась необходимость в гибких системах раскладки.

![Пример флекс-контейнера и вложенных в него флекс-элементов](images/flexbox-1.png)

0 comments on commit f640532

Please sign in to comment.