Skip to content

Commit

Permalink
codeblock font size, convert video to webm (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosgauci committed Jan 6, 2023
1 parent 57f2154 commit 5acde04
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions content/overview/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ toc: false
aliases: [quick-demo]
---

<!-- ![image](https://raw.githubusercontent.com/deepset-ai/haystack-website/source/public/img/haystack-demo-short.gif) -->
<!-- use mp4 instead of gif to reduce file size -->
<!-- <video autoplay loop muted playsinline poster="/images/haystack-demo-poster.jpg" class="responsive"><source src="/images/haystack-demo-short.mp4" type="video/mp4"></video> -->

<video autoplay loop muted playsinline class="responsive"><source src="/images/haystack-demo-short.mp4" type="video/mp4"></video>
<video autoplay loop muted playsinline poster="/images/haystack-demo-poster.jpg" class="responsive"><source src="/images/haystack-demo-short.webm" type="video/webm"></video>

Try out our Explore The World live demo! Ask any question on countries or capital cities and let Haystack return the answers to you.

Expand Down
Binary file added static/images/haystack-demo-poster.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/haystack-demo-short.webm
Binary file not shown.
5 changes: 5 additions & 0 deletions themes/haystack/assets/sass/components/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -357,3 +357,8 @@ blockquote {
margin-top: 0;
}
}

// Code blocks
code {
font-size: var(--text-base);
}

1 comment on commit 5acde04

@vercel
Copy link

@vercel vercel bot commented on 5acde04 Jan 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.