annotate gpp/messages/static/css/messages.css @ 322:c3d3d7114749

Fix #148; Django now requires AJAX posts to present the CSRF token. Added code suggested by Django docs to shoutbox.js. Since shoutbox.js is on every page, it should cover all cases.
author Brian Neal <bgneal@gmail.com>
date Sat, 12 Feb 2011 21:37:17 +0000
parents 88b2b9cb8c1f
children 76ba9478ebbd
rev   line source
bgneal@312 1 blockquote {
bgneal@312 2 margin-left: 2em;
bgneal@312 3 border-left: 3px solid grey;
bgneal@312 4 padding-left: 3px;
bgneal@312 5 }
bgneal@312 6 blockquote ul {
bgneal@312 7 margin-left: 1em;
bgneal@312 8 }
bgneal@312 9
bgneal@312 10 table.messages {
bgneal@312 11 border: 1px solid black;
bgneal@312 12 border-spacing: 0px;
bgneal@312 13 border-collapse: collapse;
bgneal@312 14 margin-left: 1em;
bgneal@312 15 }
bgneal@312 16
bgneal@312 17 table.messages th {
bgneal@312 18 color: black;
bgneal@312 19 background: #bdd6d6;
bgneal@312 20 padding: 3px 4px 3px 4px;
bgneal@312 21 font-weight: bold;
bgneal@312 22 }
bgneal@312 23
bgneal@312 24 table.messages td {
bgneal@312 25 border: 1px solid black;
bgneal@312 26 padding: 10px 8px;
bgneal@312 27 }
bgneal@312 28
bgneal@312 29 table.message-header {
bgneal@312 30 border-spacing: 0px;
bgneal@312 31 border-collapse: collapse;
bgneal@312 32 border-top: 1px solid black;
bgneal@312 33 border-bottom: 1px solid black;
bgneal@312 34 }
bgneal@312 35
bgneal@312 36 table.message-header tr {
bgneal@312 37 border-bottom: 1px solid black;
bgneal@312 38 }
bgneal@312 39
bgneal@312 40 table.message-header th {
bgneal@312 41 text-align: left;
bgneal@312 42 font-weight: bold;
bgneal@312 43 padding: 3px;
bgneal@312 44 }
bgneal@312 45
bgneal@312 46 table.message-header td {
bgneal@312 47 text-align: left;
bgneal@312 48 padding: 3px;
bgneal@312 49 }
bgneal@312 50
bgneal@312 51 div.message-body {
bgneal@312 52 margin: 1em 1em;
bgneal@312 53 padding-top: 5px;
bgneal@312 54 }
bgneal@312 55 div.message-signature {
bgneal@312 56 font-size: smaller;
bgneal@312 57 margin-left: 1em;
bgneal@312 58 }
bgneal@312 59 div.message-hr {
bgneal@312 60 width: 20%;
bgneal@312 61 margin-left: 0;
bgneal@312 62 border-top: 1px solid black;
bgneal@312 63 }
bgneal@312 64 form.messages-button {
bgneal@312 65 display: inline;
bgneal@312 66 }