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

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 {
z-index : 3000;
}
@media (max-width: 800px) {
body {
padding-bottom: unset;
}
}

View File

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

View File

@ -4,7 +4,10 @@
{% block meta %}
<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 %}
<meta {% for name, value in meta.attributes %}{{name}}="{{value}}" {% endfor %}>
{% endfor %}

View File

@ -14,7 +14,7 @@
</ol>
<div class="row separated">
<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>
</div>
</div>