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-ти стилей. Индексируйте измененные файлы и выполните коммит.
|
||||
```sh
|
||||
git <команда добавления>
|
||||
git <команда коммита>
|
||||
git add .
|
||||
git commit -m "Changed page font to Erbaum Book"
|
||||
```
|
||||
**Задание 5**. Создайте пустой (без файлов) публичный удаленный репозиторий в своем аккаунте на GitHub.
|
||||
|
||||
**Задание 6**. Отправьте изменения на удаленный репозиторий. Если будет необходимость, настройте подключения к удаленному репозиторию.
|
||||
```sh
|
||||
git <команда подключения к удаленному репозиторию, если это было необходимо>
|
||||
git <команда отправки изменений>
|
||||
git remote add origin https://git.pavetr.ru/pavetr/GitCheatSheet.git
|
||||
git push
|
||||
```
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="header exam">
|
||||
<h2>
|
||||
<h2 class="themed">
|
||||
Шпаргалка по Git
|
||||
</h2>
|
||||
</div>
|
||||
<div class="exam" id="table">
|
||||
<table>
|
||||
<caption>Команды Git</caption>
|
||||
<caption class="themed">Команды Git</caption>
|
||||
<tr>
|
||||
<th>Команда</th>
|
||||
<th>Описание</th>
|
||||
@@ -76,7 +76,7 @@
|
||||
</table>
|
||||
</div >
|
||||
<div class="exam">
|
||||
<h4>Тесты на знание команд Git</h4>
|
||||
<h4 class="themed">Тесты на знание команд Git</h4>
|
||||
<ol >
|
||||
<li><a href="https://progtask.ru/test-po-git/">Тест по Git</a></li>
|
||||
<li><a href="https://www.learnqa.ru/gittest">Тест на знание Git</a></li>
|
||||
@@ -85,7 +85,7 @@
|
||||
</div>
|
||||
<footer>
|
||||
<div class="exam">
|
||||
<lh>Полезные ссылки</lh>
|
||||
<lh class="themed">Полезные ссылки</lh>
|
||||
<ul>
|
||||
<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>
|
||||
|
||||
BIN
static/Erbaum-Book.ttf
Normal file
BIN
static/Erbaum-Book.ttf
Normal file
Binary file not shown.
70
style.css
70
style.css
@@ -1,3 +1,21 @@
|
||||
@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 {
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
@@ -5,24 +23,46 @@
|
||||
ol li {
|
||||
list-style-position: inside;
|
||||
}
|
||||
.exam {
|
||||
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||
}
|
||||
#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 {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 30px;
|
||||
background: #444;
|
||||
color: white;
|
||||
background: #9e9e9e;
|
||||
background: linear-gradient(
|
||||
0deg,
|
||||
rgba(100, 100, 100, 1) 0%,
|
||||
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 {
|
||||
text-decoration-color: black;
|
||||
color: black;
|
||||
}
|
||||
a.foo {
|
||||
text-decoration-color: white;
|
||||
color: white;
|
||||
.exam {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user