]> git.plutz.net Git - serve0/blobdiff - style.css
fix bug in exclusive tag support
[serve0] / style.css
index 25cfb0fdae5dc4024c6e78a1e95b03a63b687ba6..bfd8541ed38e9e5c1d22e2c5e2bdd5dd9bba4c13 100644 (file)
--- a/style.css
+++ b/style.css
@@ -346,14 +346,15 @@ a[href="#advsearch"]:before {
   display: inline-block;
   margin: 0 .125em;
   padding: .25em .5em;
-  color: black;
-  background-color: #FDD;
+  color: #DAA;
+  background-color: #000;
   border: 1px solid;
 }
 .page.current {
   font-weight: bold;
-  color: #DAA;
-  background-color: #000;
+  color: black;
+  background-color: #FDD;
+  border-color: #DAA;
 }
 
 #index label:first-of-type { font-weight: bold; }
@@ -366,7 +367,7 @@ body#view { padding-bottom: 6em; }
 
 #view h1 {
   max-width: 100%;
-  margin: 1em 0; padding: 0 .5em;
+  margin: .5em .75em;
   font-size: 1.25em;
   font-weight: bold;
   word-break: break-word;
@@ -376,7 +377,20 @@ body#view { padding-bottom: 6em; }
 #view #mainvideo {
   display: inline;
   width: 100%;
-  max-height: 70%;
+  max-height: 240px;
+}
+@media(min-height: 400px) { #view #mainvideo { max-height: 320px; } }
+@media(min-height: 480px) { #view #mainvideo { max-height: 460px; } }
+@media(min-height: 520px) { #view #mainvideo { max-height: 480px; } }
+@media(min-height: 640px) { #view #mainvideo { max-height: 600px; } }
+@media(min-height: 700px) { #view #mainvideo { max-height: 640px; } }
+@media(min-height: 760px) { #view #mainvideo { max-height: 720px; } }
+@media(min-height: 1000px){ #view #mainvideo { max-height: 960px; } }
+@media(min-height: 1200px){ #view #mainvideo { max-height: 1080px;} }
+
+#view a[href$=download],
+#view a[href^=javascript] {
+  margin-left: 1em;
 }
 
 #view .time, #view .dim,