Tweak mobile CSS

This commit is contained in:
Diego Marcos Segura
2025-06-02 05:17:05 -07:00
parent d2c09cef20
commit 2a23946eed
2 changed files with 23 additions and 2 deletions
+1
View File
@@ -361,6 +361,7 @@
<a href="/examples/raycasting/index.html" class="example-link">Raycasting</a>
<a href="/examples/dynamic-lighting/index.html" class="example-link">Dynamic Lighting</a>
<a href="/examples/particle-simulation/index.html" class="example-link">Particle Simulation</a>
<a href="/examples/editor/index.html" class="example-link">Editor</a>
</div>
<div class="content">
<iframe class="example-frame" src=""></iframe>
+22 -2
View File
@@ -32,14 +32,34 @@
cursor: pointer;
margin-right: 2rem;
margin-bottom: 0.5rem;
display: inline-block;
background-color: black;
border-radius: 10px;
}
header {
width: 100%;
padding: 0;
margin-left: 0;
padding-top: 20px;
text-align: center;
}
@media screen and (max-width: 60em) {
label {
font-size: 18px;
}
header {
margin-left: 1.2rem;
}
}
</style>
</head>
<body>
<header>
<label><input type="checkbox" id="debug" autocomplete="off"> Debug Light SDFs</label>
<label><input type="checkbox" id="debug" autocomplete="off">Debug Light SDFs</label>
<label><input type="checkbox" id="daynight" checked="checked" autocomplete="off"> Enable Lighting</label>
</header>