X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=blobdiff_plain;f=quotes%2Fstatic%2Fquotes%2Fstyle.css;h=454b851f18b00792f18271be17d6f58db1a2ce81;hp=db5467189a4638c85f27d2bd39d3d02042871301;hb=bb8b5bd36c5f921ba31635bb858db3d4788ef0e9;hpb=a9afd9f8e0f00de00d27fc7569c0d0b8f22f4302 diff --git a/quotes/static/quotes/style.css b/quotes/static/quotes/style.css index db54671..454b851 100644 --- a/quotes/static/quotes/style.css +++ b/quotes/static/quotes/style.css @@ -1,23 +1,29 @@ -a { +body { color: black; + background-color: #d6d6d6; + font-family: Calibri, sans-serif; } +a { color: black; } + a:hover { text-decoration: none; } .quote { - background-color: #ffbd33; - border: 3px solid #ff5733; + background-color: #fccb51; + border: 7px solid darkorange; + border-radius: 15px; padding: 1.5em 2em; - margin: 2em 30em; + margin: 2em auto; + max-width: 500px; } .quote .author { - padding-left: 5em; + text-align: right; } -.quote .author .name { +.work_name { font-style: italic; } @@ -25,3 +31,16 @@ a:hover { font-size: 0.8em; text-align: right; } + +.hidden_details { + /* 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 { + font-weight: bold; + text-decoration: none; +}