]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/static/quotes/style.css
Add a massimport page
[djsite.git] / quotes / static / quotes / style.css
index 6898422c211255b696c03672593501c7a5c26ca4..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 .name {
+.work_name {
     font-style: italic;
 }
 
@@ -32,8 +33,11 @@ a:hover {
 }
 
 .hidden_details {
-    /* displayed through Javascript */
-    display: none;
+    /* 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 {