адаптация под смартфоны

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2023-03-05 16:39:38 +10:00
parent 13409e711e
commit eaeb2babfe
4 changed files with 13 additions and 4 deletions

View File

@ -186,3 +186,9 @@ main>ol>li::marker {
footer { footer {
z-index : 3000; z-index : 3000;
} }
@media (max-width: 800px) {
body {
padding-bottom: unset;
}
}

View File

@ -3,8 +3,8 @@ section.popup {
left: 0; left: 0;
top: 0; top: 0;
position: fixed; position: fixed;
width: 100vw; width: 100%;
height: 100vh; height: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;

View File

@ -4,7 +4,10 @@
{% block meta %} {% block meta %}
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=800px">
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="width">
<meta content='yes' name='apple-mobile-web-app-capable'/>
{% for meta in head.metas %} {% for meta in head.metas %}
<meta {% for name, value in meta.attributes %}{{name}}="{{value}}" {% endfor %}> <meta {% for name, value in meta.attributes %}{{name}}="{{value}}" {% endfor %}>
{% endfor %} {% endfor %}

View File

@ -14,7 +14,7 @@
</ol> </ol>
<div class="row separated"> <div class="row separated">
<button <button
onclick="troller.instasamka.play(Math.round(Math.random() * 10)); troller.what.play(); this.parentElement.parentElement.parentElement.remove();">Прочитал</button> onclick="troller.instasamka.play(Math.round(Math.random() * 10)); this.parentElement.parentElement.parentElement.remove();">Прочитал</button>
<button onclick="troller.what.play(); alert('ты идиот?'); this.disabled = true">Не прочитал</button> <button onclick="troller.what.play(); alert('ты идиот?'); this.disabled = true">Не прочитал</button>
</div> </div>
</div> </div>