Skip to content

Commit cd244d2

Browse files
committed
19.0 RC3
[index] - fix video chain - reduce video opacity - fix 'stop' overlay button [general] - rework projects' titles [webutils] - better styling for img options
1 parent 3e8bdc5 commit cd244d2

7 files changed

Lines changed: 35 additions & 11 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ js: index
143143
</div>
144144
</section>
145145

146-
<video id="background" autoplay loop muted playsinline></video>
146+
<video id="background" autoplay muted playsinline></video>

src/static/css/app/webutils.sass

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ table td:nth-child(2) input
4141
width: 70%
4242
height: auto
4343

44+
#img-options
45+
display: flex
46+
flex-wrap: wrap
47+
align-items: center
48+
justify-content: center
49+
50+
caption
51+
margin: 1em
52+
4453
#img-convert
4554
text-align: center
4655
margin: 1em

src/static/css/index.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ video#background
9494
left: 50%
9595
transform: translate(-50%, -50%)
9696
z-index: -3
97-
opacity: 0.125
97+
opacity: 0.1
9898
transition: all 0.5s ease
9999
width: 100%
100100
height: 100%

src/static/css/project.sass

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,20 @@
44
#back
55
position: static
66

7-
h1
8-
text-align: center
9-
margin-top: 1em
7+
#title-container
8+
display: flex
9+
flex-wrap: wrap
10+
11+
#title
12+
margin: 1em 0 0.6em
13+
font-size: 3em
14+
font-weight: bold
15+
16+
#breadcrumbs
17+
justify-content: flex-end
18+
align-items: center
19+
align-content: center
20+
width: 100%
1021

1122
body
1223
margin-left: 10%
@@ -15,8 +26,6 @@ body
1526

1627
#project-buttons
1728
display: flex
18-
justify-content: center
19-
align-items: center
2029

2130
.button
2231
height: 20px

src/static/js/index/overlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fullscreen.addEventListener('click', () => {
4545

4646
stop.addEventListener('click', () => {
4747
videoElement.remove();
48-
document.getElementById('overlay').remove();
48+
overlay_container.remove();
4949
});
5050

5151
next.addEventListener('click', () => {

src/templates/project.njk

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
---
2-
layout: navigated.njk
2+
layout: base.njk
33
css: project
44
---
55

6-
<h1>{{ title }}</h1>
6+
<div id="title-container">
7+
<span id="breadcrumbs">
8+
{% set navPages = collections.all | eleventyNavigation %}
9+
{% breadcrumbs navPages %}
10+
</span>
11+
<span id="title">{{ title }}</span>
12+
</div>
713
<div id="project-buttons">
814
{% for button in buttons %}
915
<a class="button" href="{{ button.url }}">{{ button.img | safe }}{{ button.text }}</a>

0 commit comments

Comments
 (0)