]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/static/quotes/style.css
Add a massimport page
[djsite.git] / quotes / static / quotes / style.css
index e49678241fcccf381491fd186e3b291c28bcbfae..454b851f18b00792f18271be17d6f58db1a2ce81 100644 (file)
@@ -15,14 +15,15 @@ a:hover {
     border: 7px solid darkorange;
     border-radius: 15px;
     padding: 1.5em 2em;
-    margin: 2em 30em;
+    margin: 2em auto;
+    max-width: 500px;
 }
 
 .quote .author {
     text-align: right;
 }
 
-.quote .author .work_name {
+.work_name {
     font-style: italic;
 }
 
@@ -32,14 +33,11 @@ a:hover {
 }
 
 .hidden_details {
-    /* displayed through Javascript */
-    height: 0;
-    overflow: hidden;
-    transition: height 3s linear;
-    /* visibility: hidden; */
-    /* opacity: 0; */
-    /* transition: opacity 2s linear; */
-
+    /* hidden, and then toggled, from Javascript. */
+    border: 1px solid transparent;
+    /* without this invisible border there is a jump at the end of the
+       animation. */
+    padding-top: -1em;
 }
 
 .tag_link {