diff --git a/layouts/embed/index.html b/layouts/embed/index.html deleted file mode 100644 index 589e6ec..0000000 --- a/layouts/embed/index.html +++ /dev/null @@ -1,37 +0,0 @@ - - -
- - - - - - - - - - \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c4f110c..00b7e26 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -9,13 +9,13 @@ {{if .Params.video}} - - - + + + - + {{else}} {{if .Params.peertubeURL}} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index b7a9557..2975da8 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -15,12 +15,19 @@ {{end}} {{end}} +{{.Get 2 }}
diff --git a/layouts/shortcodes/video-player.html b/layouts/shortcodes/video-player.html new file mode 100644 index 0000000..652c50c --- /dev/null +++ b/layouts/shortcodes/video-player.html @@ -0,0 +1,27 @@ + + + + diff --git a/static/css/theme.css b/static/css/theme.css index 594317a..9d3e19e 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -42,6 +42,9 @@ nav{ border-radius:30%; } +h1{ + font-size:250%; +} p { } @@ -159,6 +162,7 @@ section { padding: 1.25rem; border-radius: 1rem; min-width: 30vw; + font-size:125%; } article { @@ -212,15 +216,22 @@ article img, article video, article iframe { align-self: center; - max-width: 40rem; + max-width: 60rem; + width: 80%; + min-height: fit-content; +} +article iframe{ + height:30rem; } -section iframe, -article iframe { - width: 80%; - height: 25rem; +article>section>a{ + display:flex; + flex-direction: column; + align-items: center; } + + table{ width:fit-content; } @@ -246,9 +257,6 @@ video{ text-align: left; max-width: 80%; } -.link-preview>*{ - margin:0.5rem; -} .link-preview>img{ max-width: 20%; } @@ -285,7 +293,9 @@ aside .listing img{ padding:0; } .recent img, -.featured img{ +.featured img, +.recent video, +.featured video{ max-width:20rem; max-height:10rem; margin:1rem;