Skip to content

Commit 7f9bb4c

Browse files
committed
layout improvements
1 parent e004626 commit 7f9bb4c

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

docs/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ <h1>Method</h1>
191191
</p>
192192
<div class="row">
193193

194-
<figure style="width: 49%;">
194+
<figure style="flex: 0.48;">
195195
<img src="resources/images/st_intro.png" alt="Stochastic transparency introduction"
196196
style="width: 100%; display: block;" />
197197
<figcaption class="subcaption-container">
@@ -204,7 +204,7 @@ <h1>Method</h1>
204204
</figcaption>
205205
</figure>
206206

207-
<figure style="width: 49%;">
207+
<figure style="flex: 0.48;">
208208
<img src="resources/images/pseudocode.png" alt="Stochastic transparency pseudocode"
209209
style="width: 100%; display: block;" />
210210
<figcaption> <b>Pseudocode for stochastic transparency</b> - We denote \(\alpha_i\) the opacity,
@@ -243,7 +243,7 @@ <h1>Method</h1>
243243
showcase both the plane-approximation and full intermixing in the following figures:
244244
</p>
245245
<div class="row">
246-
<figure style="width: 49%;">
246+
<figure style="flex: 0.48;">
247247
<img src="resources/images/popfree.png" alt="popfree rendering by plane approximation"
248248
style="width: 100%; display: block;" />
249249
<figcaption class="subcaption-container">
@@ -261,7 +261,7 @@ <h1>Method</h1>
261261
</figcaption>
262262
</figure>
263263

264-
<figure style="width: 49%;">
264+
<figure style="flex: 0.48;">
265265
<img src="resources/images/intermixing.png"
266266
alt="Comparison of sorting, pop-free rendering and 3D intermixing"
267267
style="width: 100%; display: block;" />

docs/resources/css/index.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,4 +355,15 @@ img.copy-icon {
355355
img.copy-icon:hover {
356356
transform: scale(1.05);
357357
transition: all ease 150ms;
358-
}
358+
}
359+
360+
.row {
361+
display: flex;
362+
justify-content: space-between;
363+
align-items: center;
364+
}
365+
366+
.row figure {
367+
flex: 1;
368+
}
369+

0 commit comments

Comments
 (0)