size the video player properly

save bytes
This commit is contained in:
Azareal 2020-04-30 16:39:24 +10:00
parent c32498d543
commit afd00465d5
8 changed files with 25 additions and 16 deletions

View File

@ -2,12 +2,12 @@
<div class="pageset"> <div class="pageset">
{{if gt .Page 1}}<div class="pageitem pagefirst"><a href="?page=1"aria-label="{{lang "paginator.first_page_aria"}}">{{lang "paginator.first_page"}}</a></div> {{if gt .Page 1}}<div class="pageitem pagefirst"><a href="?page=1"aria-label="{{lang "paginator.first_page_aria"}}">{{lang "paginator.first_page"}}</a></div>
<div class="pageitem pageprev"><a href="?page={{subtract .Page 1}}"rel="prev"aria-label="{{lang "paginator.prev_page_aria"}}">{{lang "paginator.prev_page"}}</a></div> <div class="pageitem pageprev"><a href="?page={{subtract .Page 1}}"rel="prev"aria-label="{{lang "paginator.prev_page_aria"}}">{{lang "paginator.prev_page"}}</a></div>
<link rel="prev" href="?page={{subtract .Page 1}}"/>{{end}} <link rel="prev"href="?page={{subtract .Page 1}}">{{end}}
{{range .PageList}} {{range .PageList}}
<div class="pageitem{{if eq . $.Page}} pagecurrent{{end}}"><a href="?page={{.}}">{{.}}</a></div> <div class="pageitem{{if eq . $.Page}} pagecurrent{{end}}"><a href="?page={{.}}">{{.}}</a></div>
{{end}} {{end}}
{{if ne .LastPage .Page}} {{if ne .LastPage .Page}}
<link rel="next" href="?page={{add .Page 1}}"/> <link rel="next"href="?page={{add .Page 1}}">
<div class="pageitem pagenext"><a href="?page={{add .Page 1}}"rel="next"aria-label="{{lang "paginator.next_page_aria"}}">{{lang "paginator.next_page"}}</a></div> <div class="pageitem pagenext"><a href="?page={{add .Page 1}}"rel="next"aria-label="{{lang "paginator.next_page_aria"}}">{{lang "paginator.next_page"}}</a></div>
<div class="pageitem pagelast"><a href="?page={{.LastPage}}"aria-label="{{lang "paginator.last_page_aria"}}">{{lang "paginator.last_page"}}</a></div>{{end}} <div class="pageitem pagelast"><a href="?page={{.LastPage}}"aria-label="{{lang "paginator.last_page_aria"}}">{{lang "paginator.last_page"}}</a></div>{{end}}
</div> </div>

View File

@ -798,6 +798,9 @@ sp.topic_item .submit_edit {
width: 100%; width: 100%;
max-width: 320px; max-width: 320px;
} }
video {
width: 100%;
}
blockquote { blockquote {
background-color: #555555; background-color: #555555;
border-radius: 3px; border-radius: 3px;

View File

@ -949,6 +949,9 @@ input[type=checkbox]:checked + label.poll_option_label .sel {
background-color: rgb(71,71,71); background-color: rgb(71,71,71);
padding: 10px; padding: 10px;
} }
video {
width: 100%;
}
blockquote { blockquote {
background-color: rgb(71,71,71); background-color: rgb(71,71,71);
margin: 0px; margin: 0px;

View File

@ -560,6 +560,9 @@ input, select {
background-color: white; background-color: white;
padding: 10px; padding: 10px;
} }
video {
width: 100%;
}
/*blockquote { /*blockquote {
background-color: #EEEEEE; background-color: #EEEEEE;
padding: 12px; padding: 12px;