Update style.css
Browse files
style.css
CHANGED
|
@@ -3,7 +3,7 @@ body {
|
|
| 3 |
padding: 0;
|
| 4 |
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 5 |
margin: 0;
|
| 6 |
-
overflow: hidden;
|
| 7 |
}
|
| 8 |
|
| 9 |
h1 {
|
|
@@ -30,7 +30,6 @@ p {
|
|
| 30 |
margin-bottom: 0;
|
| 31 |
}
|
| 32 |
|
| 33 |
-
/* Адаптивные стили */
|
| 34 |
@media (min-width: 640px) {
|
| 35 |
body {
|
| 36 |
padding: 0;
|
|
@@ -48,7 +47,6 @@ p {
|
|
| 48 |
}
|
| 49 |
}
|
| 50 |
|
| 51 |
-
/* Стили для iframe */
|
| 52 |
iframe {
|
| 53 |
position: fixed;
|
| 54 |
top: 0;
|
|
@@ -60,7 +58,6 @@ iframe {
|
|
| 60 |
padding: 0;
|
| 61 |
}
|
| 62 |
|
| 63 |
-
/* Стили для кнопок установки */
|
| 64 |
#installButton, #iosInstallPrompt {
|
| 65 |
display: none;
|
| 66 |
position: fixed;
|
|
@@ -81,13 +78,11 @@ iframe {
|
|
| 81 |
transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
|
| 82 |
}
|
| 83 |
|
| 84 |
-
/* Hover эффект с усилением свечения и небольшим подъемом */
|
| 85 |
#installButton:hover, #iosInstallPrompt:hover {
|
| 86 |
box-shadow: 0 0 20px #007bff, 0 0 30px #007bff;
|
| 87 |
-
transform: translateX(-50%) scale(1.05);
|
| 88 |
}
|
| 89 |
|
| 90 |
-
/* Дополнительный эффект пульсации с использованием keyframes */
|
| 91 |
@keyframes pulse {
|
| 92 |
0% {
|
| 93 |
box-shadow: 0 0 10px #007bff;
|
|
@@ -100,7 +95,6 @@ iframe {
|
|
| 100 |
}
|
| 101 |
}
|
| 102 |
|
| 103 |
-
/* Применение анимации к кнопке */
|
| 104 |
#installButton.pulse-animation, #iosInstallPrompt.pulse-animation {
|
| 105 |
animation: pulse 2s infinite;
|
| 106 |
}
|
|
@@ -114,16 +108,15 @@ iframe {
|
|
| 114 |
box-shadow: 0 0 20px #28a745, 0 0 30px #28a745;
|
| 115 |
}
|
| 116 |
|
| 117 |
-
/* Стили для модального окна (iOS) */
|
| 118 |
#iosInstallModal {
|
| 119 |
-
display: none;
|
| 120 |
position: fixed;
|
| 121 |
top: 0;
|
| 122 |
left: 0;
|
| 123 |
width: 100%;
|
| 124 |
height: 100%;
|
| 125 |
-
background-color: rgba(0, 0, 0, 0.7);
|
| 126 |
-
z-index: 1001;
|
| 127 |
}
|
| 128 |
|
| 129 |
#iosInstallModal .modal-content {
|
|
@@ -135,20 +128,20 @@ iframe {
|
|
| 135 |
padding: 20px;
|
| 136 |
border-radius: 10px;
|
| 137 |
text-align: center;
|
| 138 |
-
max-width: 80%;
|
| 139 |
-
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
| 140 |
}
|
| 141 |
|
| 142 |
#iosInstallModal img {
|
| 143 |
-
max-width: 100%;
|
| 144 |
height: auto;
|
| 145 |
margin-bottom: 10px;
|
| 146 |
-
border: 1px solid #ddd;
|
| 147 |
-
cursor: pointer;
|
| 148 |
}
|
| 149 |
|
| 150 |
#iosInstallModal h2 {
|
| 151 |
-
font-size: 1.5rem;
|
| 152 |
margin-bottom: 1rem;
|
| 153 |
}
|
| 154 |
|
|
@@ -159,37 +152,36 @@ iframe {
|
|
| 159 |
border: none;
|
| 160 |
border-radius: 5px;
|
| 161 |
cursor: pointer;
|
| 162 |
-
margin-top: 15px;
|
| 163 |
font-size: 1rem;
|
| 164 |
transition: background-color 0.3s ease;
|
| 165 |
}
|
| 166 |
-
|
| 167 |
-
|
|
|
|
| 168 |
}
|
| 169 |
|
| 170 |
-
/* Стили для модального окна увеличения изображения */
|
| 171 |
#imageZoomModal {
|
| 172 |
-
display: none;
|
| 173 |
position: fixed;
|
| 174 |
top: 0;
|
| 175 |
left: 0;
|
| 176 |
width: 100%;
|
| 177 |
height: 100%;
|
| 178 |
-
background-color: rgba(0, 0, 0, 0.9);
|
| 179 |
-
z-index: 1002;
|
| 180 |
-
overflow: auto;
|
| 181 |
}
|
| 182 |
|
| 183 |
#zoomedImage {
|
| 184 |
-
margin: auto;
|
| 185 |
display: block;
|
| 186 |
-
max-width: 90%;
|
| 187 |
max-height: 90%;
|
| 188 |
-
position: absolute;
|
| 189 |
-
top: 50%;
|
| 190 |
-
left: 50%;
|
| 191 |
-
transform: translate(-50%, -50%);
|
| 192 |
-
|
| 193 |
}
|
| 194 |
|
| 195 |
#closeZoomModal {
|
|
|
|
| 3 |
padding: 0;
|
| 4 |
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 5 |
margin: 0;
|
| 6 |
+
overflow: hidden;
|
| 7 |
}
|
| 8 |
|
| 9 |
h1 {
|
|
|
|
| 30 |
margin-bottom: 0;
|
| 31 |
}
|
| 32 |
|
|
|
|
| 33 |
@media (min-width: 640px) {
|
| 34 |
body {
|
| 35 |
padding: 0;
|
|
|
|
| 47 |
}
|
| 48 |
}
|
| 49 |
|
|
|
|
| 50 |
iframe {
|
| 51 |
position: fixed;
|
| 52 |
top: 0;
|
|
|
|
| 58 |
padding: 0;
|
| 59 |
}
|
| 60 |
|
|
|
|
| 61 |
#installButton, #iosInstallPrompt {
|
| 62 |
display: none;
|
| 63 |
position: fixed;
|
|
|
|
| 78 |
transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
|
| 79 |
}
|
| 80 |
|
|
|
|
| 81 |
#installButton:hover, #iosInstallPrompt:hover {
|
| 82 |
box-shadow: 0 0 20px #007bff, 0 0 30px #007bff;
|
| 83 |
+
transform: translateX(-50%) scale(1.05);
|
| 84 |
}
|
| 85 |
|
|
|
|
| 86 |
@keyframes pulse {
|
| 87 |
0% {
|
| 88 |
box-shadow: 0 0 10px #007bff;
|
|
|
|
| 95 |
}
|
| 96 |
}
|
| 97 |
|
|
|
|
| 98 |
#installButton.pulse-animation, #iosInstallPrompt.pulse-animation {
|
| 99 |
animation: pulse 2s infinite;
|
| 100 |
}
|
|
|
|
| 108 |
box-shadow: 0 0 20px #28a745, 0 0 30px #28a745;
|
| 109 |
}
|
| 110 |
|
|
|
|
| 111 |
#iosInstallModal {
|
| 112 |
+
display: none;
|
| 113 |
position: fixed;
|
| 114 |
top: 0;
|
| 115 |
left: 0;
|
| 116 |
width: 100%;
|
| 117 |
height: 100%;
|
| 118 |
+
background-color: rgba(0, 0, 0, 0.7);
|
| 119 |
+
z-index: 1001;
|
| 120 |
}
|
| 121 |
|
| 122 |
#iosInstallModal .modal-content {
|
|
|
|
| 128 |
padding: 20px;
|
| 129 |
border-radius: 10px;
|
| 130 |
text-align: center;
|
| 131 |
+
max-width: 80%;
|
| 132 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
| 133 |
}
|
| 134 |
|
| 135 |
#iosInstallModal img {
|
| 136 |
+
max-width: 100%;
|
| 137 |
height: auto;
|
| 138 |
margin-bottom: 10px;
|
| 139 |
+
border: 1px solid #ddd;
|
| 140 |
+
cursor: pointer;
|
| 141 |
}
|
| 142 |
|
| 143 |
#iosInstallModal h2 {
|
| 144 |
+
font-size: 1.5rem;
|
| 145 |
margin-bottom: 1rem;
|
| 146 |
}
|
| 147 |
|
|
|
|
| 152 |
border: none;
|
| 153 |
border-radius: 5px;
|
| 154 |
cursor: pointer;
|
| 155 |
+
margin-top: 15px;
|
| 156 |
font-size: 1rem;
|
| 157 |
transition: background-color 0.3s ease;
|
| 158 |
}
|
| 159 |
+
|
| 160 |
+
#closeIosModal:hover {
|
| 161 |
+
background-color: #0056b3;
|
| 162 |
}
|
| 163 |
|
|
|
|
| 164 |
#imageZoomModal {
|
| 165 |
+
display: none;
|
| 166 |
position: fixed;
|
| 167 |
top: 0;
|
| 168 |
left: 0;
|
| 169 |
width: 100%;
|
| 170 |
height: 100%;
|
| 171 |
+
background-color: rgba(0, 0, 0, 0.9);
|
| 172 |
+
z-index: 1002;
|
| 173 |
+
overflow: auto;
|
| 174 |
}
|
| 175 |
|
| 176 |
#zoomedImage {
|
| 177 |
+
margin: auto;
|
| 178 |
display: block;
|
| 179 |
+
max-width: 90%;
|
| 180 |
max-height: 90%;
|
| 181 |
+
position: absolute;
|
| 182 |
+
top: 50%;
|
| 183 |
+
left: 50%;
|
| 184 |
+
transform: translate(-50%, -50%);
|
|
|
|
| 185 |
}
|
| 186 |
|
| 187 |
#closeZoomModal {
|