Spaces:
Sleeping
Sleeping
Update spoller.html
Browse files- spoller.html +39 -13
spoller.html
CHANGED
@@ -1,45 +1,71 @@
|
|
|
|
1 |
<style>
|
2 |
-
/* УНИВЕРСАЛЬНЫЕ СТИЛИ
|
3 |
.spoiler1-button,
|
4 |
.spoiler2-button {
|
5 |
display: flex;
|
6 |
align-items: center;
|
7 |
justify-content: center;
|
8 |
width: 100%;
|
9 |
-
padding:
|
10 |
background-color: #f5f5f5;
|
11 |
border: none;
|
12 |
-
border-radius:
|
13 |
cursor: pointer;
|
14 |
-
font-size:
|
15 |
text-transform: uppercase;
|
16 |
-
letter-spacing: 0.
|
17 |
-
transition:
|
18 |
-
margin:
|
19 |
-
gap:
|
|
|
20 |
}
|
21 |
-
|
22 |
.spoiler1-button:hover,
|
23 |
.spoiler2-button:hover {
|
24 |
background-color: #e0e0e0;
|
25 |
}
|
26 |
-
|
27 |
.spoiler1-content,
|
28 |
.spoiler2-content {
|
29 |
-
padding:
|
30 |
border: 1px solid #ddd;
|
31 |
border-top: none;
|
32 |
-
border-radius: 0 0
|
33 |
display: none;
|
34 |
margin-top: -4px;
|
|
|
|
|
35 |
}
|
36 |
|
37 |
.arrow {
|
38 |
flex-shrink: 0;
|
39 |
transition: transform 0.3s;
|
|
|
|
|
40 |
}
|
41 |
-
</style>
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
<!-- Первый блок HTML сдесь класс и ИД боков с номером 1 -->
|
44 |
|
45 |
<div class="spoiler-divider"></div>
|
|
|
1 |
+
|
2 |
<style>
|
3 |
+
/* УНИВЕРСАЛЬНЫЕ СТИЛИ */
|
4 |
.spoiler1-button,
|
5 |
.spoiler2-button {
|
6 |
display: flex;
|
7 |
align-items: center;
|
8 |
justify-content: center;
|
9 |
width: 100%;
|
10 |
+
padding: 16px 20px; /* Увеличил padding */
|
11 |
background-color: #f5f5f5;
|
12 |
border: none;
|
13 |
+
border-radius: 6px; /* Увеличил радиус */
|
14 |
cursor: pointer;
|
15 |
+
font-size: 18px; /* Увеличил шрифт */
|
16 |
text-transform: uppercase;
|
17 |
+
letter-spacing: 0.8px;
|
18 |
+
transition: all 0.3s;
|
19 |
+
margin: 12px 0; /* Увеличил отступ */
|
20 |
+
gap: 10px;
|
21 |
+
min-height: 50px; /* Минимальная высота */
|
22 |
}
|
23 |
+
|
24 |
.spoiler1-button:hover,
|
25 |
.spoiler2-button:hover {
|
26 |
background-color: #e0e0e0;
|
27 |
}
|
28 |
+
|
29 |
.spoiler1-content,
|
30 |
.spoiler2-content {
|
31 |
+
padding: 18px;
|
32 |
border: 1px solid #ddd;
|
33 |
border-top: none;
|
34 |
+
border-radius: 0 0 6px 6px;
|
35 |
display: none;
|
36 |
margin-top: -4px;
|
37 |
+
font-size: 16px; /* Размер текста контента */
|
38 |
+
line-height: 1.5;
|
39 |
}
|
40 |
|
41 |
.arrow {
|
42 |
flex-shrink: 0;
|
43 |
transition: transform 0.3s;
|
44 |
+
width: 20px; /* Увеличил стрелку */
|
45 |
+
height: 20px;
|
46 |
}
|
|
|
47 |
|
48 |
+
/* АДАПТИВНЫЕ СТИЛИ */
|
49 |
+
@media (max-width: 767px) {
|
50 |
+
.spoiler1-button,
|
51 |
+
.spoiler2-button {
|
52 |
+
padding: 18px 16px; /* Еще больше на мобилках */
|
53 |
+
font-size: 16px;
|
54 |
+
min-height: 56px;
|
55 |
+
}
|
56 |
+
|
57 |
+
.spoiler1-content,
|
58 |
+
.spoiler2-content {
|
59 |
+
padding: 16px;
|
60 |
+
font-size: 15px;
|
61 |
+
}
|
62 |
+
|
63 |
+
.arrow {
|
64 |
+
width: 18px;
|
65 |
+
height: 18px;
|
66 |
+
}
|
67 |
+
}
|
68 |
+
</style>
|
69 |
<!-- Первый блок HTML сдесь класс и ИД боков с номером 1 -->
|
70 |
|
71 |
<div class="spoiler-divider"></div>
|