Новое игровое окно.

This commit is contained in:
lopar 2018-03-22 21:38:45 +02:00
parent bff129f7b7
commit aa48325b3e

View File

@ -50,6 +50,21 @@ if ($msg) db::c()->query('INSERT INTO `chat` (`cid`, `uid`, `msg`) VALUES (?i, ?
width: 15%;
padding: 10px;
}
.mainwrap {
position: relative;
padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
padding-top: 30px;
height: 0;
overflow: hidden;
}
.mainwrap iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
@ -65,7 +80,9 @@ if ($msg) db::c()->query('INSERT INTO `chat` (`cid`, `uid`, `msg`) VALUES (?i, ?
<a href="/moderators.php" title="Модераторы" target="main"><img src="http://placehold.it/32x32/33ff33?text=M"/></a>
<a href="/forum.php" title="Форум" target="main"><img src="http://placehold.it/32x32?text=F"/></a>
</header>
<iframe name="main" src="main.php" width=100%></iframe>
<div class="mainwrap">
<iframe name="main" src="main.php" width=100%></iframe>
</div>
<iframe name="chat" src="chat.php" width=100%></iframe>
<footer>
<form action="chat.php" method="post">