Skip to content

Commit ae1e1f1

Browse files
committed
home: inset the [λ] background 80px from viewport edges for breathing room
1 parent 86ff802 commit ae1e1f1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

_layouts/home.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
{% include head.html %}
44

55
<body>
6-
<!-- Viewport-locked background so the [λ] logo always centers in
7-
the visible area, regardless of how tall/wide body grows. -->
8-
<div style="position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: url('/images/plab_logo_dark.svg') no-repeat center center; background-size: contain;"></div>
6+
<!-- Viewport-locked background so the [λ] logo always centers in the
7+
visible area, regardless of how tall/wide body grows. Inset from
8+
the viewport edges so the SVG doesn't push flush against the
9+
window frame. -->
10+
<div style="position: fixed; top: 80px; right: 80px; bottom: 80px; left: 80px; z-index: -1; background: url('/images/plab_logo_dark.svg') no-repeat center center; background-size: contain;"></div>
911
{% include navbar.html %}
1012
<img src="/images/DUSOM_Dept_Neurobio_stack.jpg" alt="Duke School of Medicine, Department of Neurobiology" style="width: 25%; float: right; padding-top: 50px"/>
1113
<footer>

0 commit comments

Comments
 (0)