fix styling on some pages

This commit is contained in:
2023-05-23 14:07:17 -04:00
parent 2a4c6c8fca
commit 8481146591
8 changed files with 11 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ h2 {
}
/* Used for the mobile menu */
@media (max-width: 800px) {
@media (max-width: 900px) {
.menu-nav {
height: 63px;
padding: 0px;

View File

@@ -43,7 +43,7 @@
foreach ($youtubeInfo["items"] as $link) {
if ($link["id"]["kind"] == "youtube#video") {
$ID = $link["id"]["videoId"];
echo "<iframe width='560' height='315' src='https://www.youtube-nocookie.com/embed/$ID' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>";
echo "<iframe width='560' height='315' style='max-width:99%' src='https://www.youtube-nocookie.com/embed/$ID' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>";
}
}
?>

View File

@@ -16,7 +16,7 @@
include '../include/menu.php';
echo "<div class='main'>";?>
<h1>Idle Bouncer</h1>
<iframe src='../gameData/idleBouncer/Idle Bouncer.html' height='600', width='1024'></iframe>
<iframe src='../gameData/idleBouncer/Idle Bouncer.html' style="width:100%; aspect-ratio: 16/9;"></iframe>
<h3>How To Play</h3>
<p>A very simple idle game where a ball bounces around and you try to hit the sqaures on the edges to get money and the circle in the middle gives you another ball for 15 seconds. Also there are golden circles that appear randomly every few minutes that when clicked give you a bonus.</p>
<h3>What is this Game?</h3>

View File

@@ -9,7 +9,7 @@ include 'functions.php';
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/site.webmanifest">
<link rel="stylesheet" type="text/css" href="/css/website.css?v=1.0.1" />
<link rel="stylesheet" type="text/css" href="/css/website.css?v=1.0.2" />
<script type="text/javascript" src="/javascript/jquery.js"></script>
<script defer="true" type="text/javascript" src="/javascript/jquery-ui.min.js"></script>
<link defer="true" rel="stylesheet" href="/css/jquery-ui.min.css">

View File

@@ -3,7 +3,7 @@
<html dir="ltr" lang="en">
<?php
if (! file_exists("config.json")) {
echo '<link rel="stylesheet" type="text/css" href="/css/website.css?v=1.0.1" />';
echo '<link rel="stylesheet" type="text/css" href="/css/website.css?v=1.0.2" />';
echo "<h2>Missing configuration please input configuration</h2>";
}
?>

View File

@@ -35,4 +35,7 @@
<url>
<loc>https://www.lschaefer.xyz/logic/index.php</loc>
</url>
<url>
<loc>https://www.lschaefer.xyz/random_stuff/index.php</loc>
</url>
</urlset>

View File

@@ -18,7 +18,7 @@
echo "<div class='main'>";
?>
<h1>Soccer Videos!</h1>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/kPdi0NANkwg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<iframe width="560" style="max-width:99%" height="315" src="https://www.youtube-nocookie.com/embed/kPdi0NANkwg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<?php
if (file_exists("soccer.json")) {
$youtubeInfo = file_get_contents("soccer.json");
@@ -44,7 +44,7 @@
foreach ($youtubeInfo["items"] as $link) {
if ($link["id"]["kind"] == "youtube#video") {
$ID = $link["id"]["videoId"];
echo "<iframe width='560' height='315' src='https://www.youtube-nocookie.com/embed/$ID' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>";
echo "<iframe width='560' style='max-width:99%' height='315' src='https://www.youtube-nocookie.com/embed/$ID' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>";
}
}
?>

View File

@@ -16,7 +16,7 @@
include '../include/menu.php';
echo "<div class='main'>";?>
<h1>Space 3</h1>
<iframe src='../gameData/Space3/Space3.html' height='480', width='853'></iframe>
<iframe src='../gameData/Space3/Space3.html' style="width:100%; aspect-ratio: 16/9;"></iframe>
<h3>How To Play</h3>
<p>Use the arrow keys to move and the spacebar to shoot and the a key to use the ability.</p>
<h3>What is this Game?</h3>