Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0, maximum-scale=1, user-scalable=no, minimal-ui">
</head>
<body>
<script>
if (window.Telegram && window.Telegram.WebApp) {
window.Telegram.WebApp.expand(); // Разворачивает WebApp на весь экран
}
</script>
<div class="container">
<div class="heading">
<h1 class="title">2048</h1>
Expand Down Expand Up @@ -77,7 +82,7 @@ <h1 class="title">2048</h1>
</p>
<hr>
<p>
<strong class="important">Note:</strong> This site is the official version of 2048. You can play it on your phone via <a href="http://git.io/2048">http://git.io/2048.</a> All other apps or sites are derivatives or fakes, and should be used with caution.
<strong class="footer-text">Note:</strong> This site is the official version of 2048. You can play it on your phone via <a href="http://git.io/2048">http://git.io/2048.</a> All other apps or sites are derivatives or fakes, and should be used with caution.
</p>
<hr>
<p>
Expand Down
9 changes: 9 additions & 0 deletions style/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -756,3 +756,12 @@ hr {
margin-top: 90px !important; }
.game-message .lower {
margin-top: 30px !important; } }

footer, .footer-text { /* Укажите правильный селектор вашего текста */
font-size: 5px; /* Очень маленький текст */
color: rgba(128, 128, 128, 0.7); /* Светло-серый цвет с прозрачностью */
position: fixed; /* Фиксируем текст внизу */
bottom: 5px; /* Отступ от низа страницы */
width: 100%; /* Растягиваем по ширине */
text-align: center; /* Выравниваем по центру */
}