-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (47 loc) · 2.81 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="ru">
<head>
<script src="https://code.jquery.com/jquery-3.6.1.slim.js" integrity="sha256-tXm+sa1uzsbFnbXt8GJqsgi2Tw+m4BLGDof6eUPjbtk=" crossorigin="anonymous"></script>
<script src="js/main.js"></script>
<link rel="stylesheet" type="text/css" href="css/main.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Editor</title>
</head>
<body>
<div class="editor hidden">
<label for="input-field">Редактор:</label>
<textarea id="input-field" spellcheck="false" name="input-field" class="input-field"></textarea>
<p title="[[checkbox]]"><br>1. [[checkbox]] - использование этой комбинации символов заменит ее на HTML-код чекбокса.</p>
<p title="[[spoiler=текст в заголовке спойлера]]текст спойлера[[spoiler]]">2. [[spoiler=текст в заголовке спойлера]]текст спойлера[[spoiler]] - эта комбинация символов позволяет создавать спойлеры с заголовком и текстом, который будет скрыт до нажатия на заголовок.</p>
</div>
<div class="lib">
</div>
<div class="settings hidden">
<p>Цветовая тема:</p>
<div class="button-container">
<button style="background-color: #f2f2f3; color: #212529;">A</button>
<button style="background-color: #dce5e2; color: #27262b;">A</button>
<button style="background-color: #f5f1e5; color: #28282a;">A</button>
<button style="background-color: #e5cf9d; color: #262425;">A</button>
<button style="background-color: #434751; color: #dbdbdb;">A</button>
<button style="background-color: #141414; color: #dddddd;">A</button>
</div>
<input type="color" id="color"> <input type="color" id="background-color">
<p>Отступ:</p>
<input type="range" id="padding" min="0" max="100" step="1" value="10">
<p>Размер шрифта:</p>
<input type="range" id="font-size" min="14" max="36" step="1" value="20">
<p>Высота строк:</p>
<input type="range" id="line-height" min="1" max="2.4" step="0.1" value="1.4">
<p>Ширина контейнера:</p>
<input type="range" id="container-width" min="840" max="1268" step="10" value="840">
<p>Отступ между абзацами:</p>
<input type="range" id="paragraph-spacing" min="5" max="45" step="1" value="10">
</div>
<div id="status-bar">
<button id="editor-button" class="buttons">Редактор</button>
<button id="settings-button" class="buttons">Настройки</button>
<button id="back-button" class="buttons">Назад</button>
</div>
</body>
</html>