Changeset - 024ef59428cf
[Not reviewed]
0 2 0
Ben Sturmfels (bsturmfels) - 1 month ago 2024-07-19 11:39:45
ben@sturm.com.au
Improve home page video layout
2 files changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
conservancy/static/css/conservancy.css
Show inline comments
...
 
@@ -81,13 +81,12 @@ input:focus {
 
  border-color: #86b7fe;
 
  box-shadow: 0 0 0 .25rem rgb(236, 99, 67, .5);
 
}
 

	
 
video {
 
    max-width: 100%;
 
    margin: 1rem 0;
 
}
 

	
 
a.read-more {
 
    cursor: pointer;
 
    font-style: italic;
 
}
conservancy/templates/frontpage.html
Show inline comments
...
 
@@ -47,18 +47,18 @@ strategies that defend FOSS (such as copyleft). <a href="/about" class="orange">
 
  </section>
 
</div>
 

	
 
<div class="mt3 mh2-ns mb4 flex-ns">
 
  <div class="w-70-ns mh2">
 
<section class="mh0 pa3 bg-light-blue ba b--gray">
 
<p><video style="width: 95%; height: auto;" controls="" poster="/videos/sfc-introduction-video_poster.jpg">
 
<video style="height: auto;" controls="" poster="/videos/sfc-introduction-video_poster.jpg">
 
<source src="/videos/sfc-introduction_1080p.mp4" />
 
<track src="/docs/sfc-introduction-vtt-captions.txt" kind="subtitles" srclang="en" label="English" />
 
<a href="/videos/sfc-introduction_1080p.mp4"><img src="/videos/sfc-introduction-video_poster.jpg" alt="Software Freedom Conservancy introduction video"></a><br/>
 
<a href="https://youtu.be/yCCxMfW0LTM">(watch on Youtube)</a>
 
</video></p>
 
</video>
 
 </section>
 

	
 
    <section class="mv3 ph2">
 
<h2 class="f4 mt0 mb2 ttu"><!--<a href="/feeds/news/" class="feedlink"><img src="{% static 'img/feed-icon-14x14.png' %}" alt="[RSS]"/></a>--> <a href="/news/" class="dark-gray">News</a></h2>
 
{% for pressr in press_releases|slice:":4" %}
 
  {% if forloop.first %}
0 comments (0 inline, 0 general)