]> git.plutz.net Git - serve0/blob - templates/videoview.css.sh
enable video filenames containing ampersand
[serve0] / templates / videoview.css.sh
1 # Copyright 2014 Paul Hänsch
2 #
3 # This file is part of Serve0
4
5 # Serve0 is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9
10 # Serve0 is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU Affero General Public License for more details.
14
15 # You should have received a copy of the GNU Affero General Public License
16 # along with Serve0  If not, see <http://www.gnu.org/licenses/>. 
17
18 cat <<EOF
19
20 * {
21   box-sizing: border-box;
22 }
23
24 body {
25   padding: 0;
26   margin: 0;
27   background-color: #000;
28   color: #DDD;
29 }
30 a {
31   color: #EEE;
32 }
33
34 .label {
35   font-weight: bold;
36 }
37
38 .info {
39   margin: 0;
40   padding: 0 .25em;
41   background-color: #BBD;
42   color: #000;
43   border: #000 1px solid;
44 }
45 .info.tag {
46   line-height: 1.6em;
47   background-color: #DBB;
48 }
49
50 .panel {
51   display: block;
52   width: 100%;
53   margin: 0;
54   padding: .25em 1em;
55   background-color: #333;
56   border-width: 1px;
57   border-style: none none solid none;
58 }
59 a.panel {
60   font-weight: bold;
61 }
62 a.clearsearch, a.advanced, a.tagger, .pagination_nav {
63   display: inline;
64   border: none;
65 }
66 .pagination_nav {
67   position: absolute;
68   right: 1em;
69   padding-top: .125em;
70 }
71
72 .panel .filter, .panel .quicklinks,
73 .footer .newtag, .footer input[type=submit] {
74   display: inline-block;
75   vertical-align: top;
76   margin-top: 2em;
77 }
78 .panel .help {
79   display: block;
80 }
81 .panel .filter select, .panel .filter .help,
82 .footer .newtag select, .footer .newtag .label{
83   display: block;
84   width: 10em;
85 }
86 .panel .filter .help.conjunction {
87   font-weight: bold;
88 }
89 .panel .filter .label.category {
90   display: block;
91   margin-top: 1em;
92 }
93 .panel .quicklinks * {
94   display: block
95 }
96
97 #thumblist {
98   padding: .5em 0 3em 0;
99 }
100
101 #thumblist .thumb {
102   display: inline-block;
103   width: 212px;
104   padding: 0;
105   margin: .5em;
106   vertical-align: top;
107   word-wrap: break-word;
108 }
109 #thumblist .thumb img {
110   height: 162px;
111 }
112 #thumblist .thumb a {
113   display: block;
114 }
115 #thumblist .thumb a.fake-mp4 {
116   margin-top: .5em;
117 }
118
119 .footer {
120   position: fixed;
121   bottom: 0px;
122   border-style: solid none none none;
123 }
124
125 #videoview a.panel {
126   position: absolute;
127   right: 1em;
128   width: auto;
129   border: none;
130 }
131 #videoview .video {
132   display: inline-block;
133   width: 60%;
134   vertical-align: top;
135 }
136 #videoview .video * {
137   display: block;
138 }
139 #videoview .videoinfo {
140   display: inline-block;
141   width: 39%;
142   margin-top: 2em;
143 }
144 #videoview .videoinfo h2 {
145   display: inline;
146
147 #videoview .videoinfo a.meta:after {
148   content: "\A";
149   white-space: pre;
150 }
151 #videoview .videoinfo .label {
152   display: block;
153   margin-top: 1em;
154 }
155 #videoview .videoinfo .info.description {
156   display: block;
157   background-color: #DDF;
158 }
159 #videoview .videoinfo .edit {
160   width: 100%
161 }
162 EOF
163
164 # vi:set filetype=css: