Compare commits

...

10 Commits

Author SHA1 Message Date
0fe1439621 Changed remote repo command in readme 2026-02-24 12:53:41 +03:00
20c59f113d Changed footer margins 2026-02-24 12:49:53 +03:00
e5ccd4cf97 Highlighted even table rows 2026-02-24 12:44:52 +03:00
0c4ab26c45 Styled footer bg and links 2026-02-24 12:43:20 +03:00
0d13bb2256 Added themed components 2026-02-24 12:34:59 +03:00
385669ac7c Added table borders 2026-02-24 12:32:23 +03:00
fcb263d1dd Changed links style 2026-02-24 12:28:19 +03:00
caecf366f9 Inverted webpage theme to dark 2026-02-24 12:26:12 +03:00
53af3c7f42 Changed css task command in readme 2026-02-24 12:24:05 +03:00
4875b000ba Changed page font to Erbaum Book 2026-02-24 12:23:26 +03:00
4 changed files with 65 additions and 25 deletions

View File

@@ -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
```

View File

@@ -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

Binary file not shown.

View File

@@ -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;
}