SharpMeow commited on
Commit
d27240d
·
verified ·
1 Parent(s): 3a4e505

Phone layout: nothing cut off at the right

Browse files
Files changed (2) hide show
  1. index.html +1 -1
  2. style.css +2 -0
index.html CHANGED
@@ -85,7 +85,7 @@
85
  <canvas id="gl" aria-label="3D view of the selected segment"></canvas>
86
 
87
  <header class="hud tl">
88
- <div class="kicker mono dim">VESUVIUS CHALLENGE<span class="sep">/</span>OPEN DATA<span class="sep">/</span><span id="k-count">…</span> MESHES</div>
89
  <h1>Segment <em>Lens</em></h1>
90
  <p class="lede">Traced segments as surfaces, with the grid's problems painted on: <span class="c-hole">holes</span>, <span class="c-fold">folds</span> and <span class="c-str">over-stretched</span> edges. Numbers from the <a href="https://huggingface.co/datasets/SharpMeow/vesuvius-segment-atlas" target="_blank" rel="noopener">Segment Atlas</a>.</p>
91
  </header>
 
85
  <canvas id="gl" aria-label="3D view of the selected segment"></canvas>
86
 
87
  <header class="hud tl">
88
+ <div class="kicker mono dim"><span class="k-src">VESUVIUS CHALLENGE<span class="sep">/</span>OPEN DATA<span class="sep">/</span></span><span id="k-count">…</span> MESHES</div>
89
  <h1>Segment <em>Lens</em></h1>
90
  <p class="lede">Traced segments as surfaces, with the grid's problems painted on: <span class="c-hole">holes</span>, <span class="c-fold">folds</span> and <span class="c-str">over-stretched</span> edges. Numbers from the <a href="https://huggingface.co/datasets/SharpMeow/vesuvius-segment-atlas" target="_blank" rel="noopener">Segment Atlas</a>.</p>
91
  </header>
style.css CHANGED
@@ -100,6 +100,8 @@ html.guide .tablewrap { overflow: hidden; }
100
  .br { width: calc(100vw - 2 * var(--gut)); max-height: calc(100vh - 78px - 3 * var(--gut) - 225px); }
101
  .list { min-height: 56px; }
102
  }
 
 
103
  @media (max-width: 760px) and (max-height: 500px) {
104
  /* a phone on its side: the picker and the card side by side, as on a wide screen */
105
  .bl { top: auto; bottom: var(--gut); width: calc(50vw - 1.5 * var(--gut)); max-height: calc(100vh - 78px - 3 * var(--gut)); }
 
100
  .br { width: calc(100vw - 2 * var(--gut)); max-height: calc(100vh - 78px - 3 * var(--gut) - 225px); }
101
  .list { min-height: 56px; }
102
  }
103
+ /* a phone: the view buttons take the top right, so the kicker keeps only the mesh count */
104
+ @media (max-width: 560px) { .k-src { display: none; } }
105
  @media (max-width: 760px) and (max-height: 500px) {
106
  /* a phone on its side: the picker and the card side by side, as on a wide screen */
107
  .bl { top: auto; bottom: var(--gut); width: calc(50vw - 1.5 * var(--gut)); max-height: calc(100vh - 78px - 3 * var(--gut)); }