mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add video-only embed support and clean up widgets.js
This commit is contained in:
parent
5733297f92
commit
fe8f482d5c
4 changed files with 112 additions and 109 deletions
|
|
@ -2,16 +2,20 @@
|
|||
@import "_mixins";
|
||||
|
||||
.embed-video {
|
||||
width: 100%;
|
||||
background-color: black;
|
||||
|
||||
.gallery-video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
background-color: black;
|
||||
top: 0%;
|
||||
left: 0%;
|
||||
}
|
||||
|
||||
.gallery-video > .attachment {
|
||||
max-height: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
video {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ proc renderHead*(prefs: Prefs; cfg: Config; req: Request; titleText=""; desc="";
|
|||
let opensearchUrl = getUrlPrefix(cfg) & "/opensearch"
|
||||
|
||||
buildHtml(head):
|
||||
link(rel="stylesheet", type="text/css", href="/css/style.css?v=84")
|
||||
link(rel="stylesheet", type="text/css", href="/css/style.css?v=85")
|
||||
link(rel="stylesheet", type="text/css", href="/css/fontello.css?v=7")
|
||||
|
||||
if theme.len > 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue