view gpp/messages/static/css/messages.css @ 314:03b70aa5c872

The home page was taking 27 seconds to load; 99% of the time was being spent in the new_posts template tag query. Reworked it a bit to be much more sane.
author Brian Neal <bgneal@gmail.com>
date Sat, 29 Jan 2011 20:34:36 +0000
parents 88b2b9cb8c1f
children 76ba9478ebbd
line wrap: on
line source
blockquote {
   margin-left: 2em;
   border-left: 3px solid grey;
   padding-left: 3px;
}
blockquote ul {
    margin-left: 1em;
}

table.messages {
   border: 1px solid black;
   border-spacing: 0px;
   border-collapse: collapse;
   margin-left: 1em;
}

table.messages th {
   color: black;
   background: #bdd6d6;
   padding: 3px 4px 3px 4px;
   font-weight: bold;
}

table.messages td {
   border: 1px solid black;
   padding: 10px 8px;
}

table.message-header {
   border-spacing: 0px;
   border-collapse: collapse;
   border-top: 1px solid black;
   border-bottom: 1px solid black;
}

table.message-header tr {
   border-bottom: 1px solid black;
}

table.message-header th {
   text-align: left;
   font-weight: bold;
   padding: 3px;
}

table.message-header td {
   text-align: left;
   padding: 3px;
}

div.message-body {
   margin: 1em 1em;
   padding-top: 5px;
}
div.message-signature {
   font-size: smaller;
   margin-left: 1em;
}
div.message-hr {
   width: 20%;
   margin-left: 0;
   border-top: 1px solid black;
}
form.messages-button {
   display: inline;
}