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