Compare commits
10 Commits
3c258c664e
...
0fe1439621
| Author | SHA1 | Date | |
|---|---|---|---|
| 0fe1439621 | |||
| 20c59f113d | |||
| e5ccd4cf97 | |||
| 0c4ab26c45 | |||
| 0d13bb2256 | |||
| 385669ac7c | |||
| fcb263d1dd | |||
| caecf366f9 | |||
| 53af3c7f42 | |||
| 4875b000ba |
@@ -20,13 +20,13 @@ git commit -m "Added desc of git init command"
|
|||||||
```
|
```
|
||||||
**Задание 4**. Дополните файл style.css. Создайте и примените на странице не менее 5-ти стилей. Индексируйте измененные файлы и выполните коммит.
|
**Задание 4**. Дополните файл style.css. Создайте и примените на странице не менее 5-ти стилей. Индексируйте измененные файлы и выполните коммит.
|
||||||
```sh
|
```sh
|
||||||
git <команда добавления>
|
git add .
|
||||||
git <команда коммита>
|
git commit -m "Changed page font to Erbaum Book"
|
||||||
```
|
```
|
||||||
**Задание 5**. Создайте пустой (без файлов) публичный удаленный репозиторий в своем аккаунте на GitHub.
|
**Задание 5**. Создайте пустой (без файлов) публичный удаленный репозиторий в своем аккаунте на GitHub.
|
||||||
|
|
||||||
**Задание 6**. Отправьте изменения на удаленный репозиторий. Если будет необходимость, настройте подключения к удаленному репозиторию.
|
**Задание 6**. Отправьте изменения на удаленный репозиторий. Если будет необходимость, настройте подключения к удаленному репозиторию.
|
||||||
```sh
|
```sh
|
||||||
git <команда подключения к удаленному репозиторию, если это было необходимо>
|
git remote add origin https://git.pavetr.ru/pavetr/GitCheatSheet.git
|
||||||
git <команда отправки изменений>
|
git push
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -10,13 +10,13 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="header exam">
|
<div class="header exam">
|
||||||
<h2>
|
<h2 class="themed">
|
||||||
Шпаргалка по Git
|
Шпаргалка по Git
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="exam" id="table">
|
<div class="exam" id="table">
|
||||||
<table>
|
<table>
|
||||||
<caption>Команды Git</caption>
|
<caption class="themed">Команды Git</caption>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Команда</th>
|
<th>Команда</th>
|
||||||
<th>Описание</th>
|
<th>Описание</th>
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div >
|
</div >
|
||||||
<div class="exam">
|
<div class="exam">
|
||||||
<h4>Тесты на знание команд Git</h4>
|
<h4 class="themed">Тесты на знание команд Git</h4>
|
||||||
<ol >
|
<ol >
|
||||||
<li><a href="https://progtask.ru/test-po-git/">Тест по Git</a></li>
|
<li><a href="https://progtask.ru/test-po-git/">Тест по Git</a></li>
|
||||||
<li><a href="https://www.learnqa.ru/gittest">Тест на знание Git</a></li>
|
<li><a href="https://www.learnqa.ru/gittest">Тест на знание Git</a></li>
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<div class="exam">
|
<div class="exam">
|
||||||
<lh>Полезные ссылки</lh>
|
<lh class="themed">Полезные ссылки</lh>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a class="foo" href="https://labs-org.ru/html/">html</a></li>
|
<li><a class="foo" href="https://labs-org.ru/html/">html</a></li>
|
||||||
<li><a class="foo" href="https://labs-org.ru/css/">css</a></li>
|
<li><a class="foo" href="https://labs-org.ru/css/">css</a></li>
|
||||||
|
|||||||
BIN
static/Erbaum-Book.ttf
Normal file
BIN
static/Erbaum-Book.ttf
Normal file
Binary file not shown.
74
style.css
74
style.css
@@ -1,28 +1,68 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: "Erbaum Book";
|
||||||
|
src: url("static/Erbaum-Book.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
|
.themed {
|
||||||
|
color: #71ff55;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: "Erbaum Book", "Courier New", Courier, monospace;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align:center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
ol li {
|
ol li {
|
||||||
list-style-position: inside;
|
list-style-position: inside;
|
||||||
}
|
}
|
||||||
.exam {
|
|
||||||
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
|
||||||
}
|
|
||||||
#table {
|
#table {
|
||||||
line-height:200%
|
line-height: 200%;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
color: #71ff55;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: white;
|
||||||
|
transition: color 300ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border: 1px white solid;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
border: 1px white solid;
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
tr:nth-child(even) {
|
||||||
|
background-color: rgba(100, 100, 100, 0.25);
|
||||||
}
|
}
|
||||||
footer {
|
footer {
|
||||||
padding-top: 3px;
|
background: #9e9e9e;
|
||||||
padding-bottom: 3px;
|
background: linear-gradient(
|
||||||
padding-left: 30px;
|
0deg,
|
||||||
background: #444;
|
rgba(100, 100, 100, 1) 0%,
|
||||||
color: white;
|
rgba(100, 100, 100, 0) 100%
|
||||||
|
);
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 100svw;
|
||||||
|
ul {
|
||||||
|
list-style: none;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
a.foo:hover {
|
.exam {
|
||||||
text-decoration-color: black;
|
margin: 10px;
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
a.foo {
|
|
||||||
text-decoration-color: white;
|
|
||||||
color: white;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user