-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
52 lines (45 loc) · 1.31 KB
/
Copy pathstyle.css
File metadata and controls
52 lines (45 loc) · 1.31 KB
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
canvas {
width: 600px;
height: 400px;
border: 1px solid #ccc;
margin: 20px auto;
}
/* Контейнер-обёртка для всего блока */
.container {
display: flex; /* Включаем Flexbox */
gap: 20px; /* Отступ между canvas и формами */
align-items: flex-start; /* Выравниваем по верхнему краю */
}
/* Блок с формами (правая колонка) */
.forms-wrapper {
display: flex;
flex-direction: column; /* Размещаем формы друг под другом */
gap: 5px; /* Отступ между формами */
flex: 1; /* Занимает оставшееся место (опционально) */
}
/* Стили для самих форм (для наглядности) */
form {
border: 1px solid #ccc;
padding: 15px;
border-radius: 8px;
background: #f9f9f9;
min-width: 200px;
}
form label {
display: inline-block;
padding: 5px;
margin-bottom: 5px;
font-weight: bold;
}
form input {
width: 80px;
padding: 5px;
box-sizing: border-box;
}
form input[type="checkbox"] {
width: 20px;
}
form button {
margin-top: 10px;
padding: 5px 15px;
}