mirror of
https://github.com/storytold/spark.git
synced 2026-10-21 08:06:45 +00:00
Tweak mobile CSS
This commit is contained in:
@@ -361,6 +361,7 @@
|
|||||||
<a href="/examples/raycasting/index.html" class="example-link">Raycasting</a>
|
<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/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/particle-simulation/index.html" class="example-link">Particle Simulation</a>
|
||||||
|
<a href="/examples/editor/index.html" class="example-link">Editor</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<iframe class="example-frame" src=""></iframe>
|
<iframe class="example-frame" src=""></iframe>
|
||||||
|
|||||||
@@ -32,14 +32,34 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 2rem;
|
margin-right: 2rem;
|
||||||
margin-bottom: 0.5rem;
|
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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<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>
|
<label><input type="checkbox" id="daynight" checked="checked" autocomplete="off"> Enable Lighting</label>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user