annotate media/css/bio.css @ 265:1ba2c6bf6eb7

Closing #98. Animated GIFs were losing their transparency and animated properties when saved as avatars. Reworked the avatar save process to only run the avatar through PIL if it is too big. This preserves the original uploaded file if it is within the desired size settings. This may still mangle big animated gifs. If this becomes a problem, then maybe look into calling the PIL Image.resize() method directly. Moved the PIL image specific functions from bio.forms to a new module: core.image for better reusability in the future.
author Brian Neal <bgneal@gmail.com>
date Fri, 24 Sep 2010 02:12:09 +0000
parents a4635c094f24
children
rev   line source
bgneal@130 1 div.user_profile th {
gremmie@1 2 font-weight: bold;
gremmie@1 3 text-align: left;
gremmie@1 4 padding: 5px 5px;
gremmie@1 5 }
bgneal@130 6 div.user_profile td {
gremmie@1 7 font-weight: normal;
gremmie@1 8 text-align: left;
gremmie@1 9 padding: 5px 5px;
gremmie@1 10 }
gremmie@1 11
gremmie@1 12 div.members-list table {
gremmie@1 13 border-collapse: collapse;
gremmie@1 14 width: 95%;
gremmie@1 15 border: 1px solid black;
gremmie@1 16 margin: 1em auto 1em auto;
gremmie@1 17 }
gremmie@1 18
bgneal@130 19 div.members-list th {
gremmie@1 20 font-weight: bold;
gremmie@1 21 text-align: center;
gremmie@1 22 padding: 5px 5px;
gremmie@1 23 }
gremmie@1 24
bgneal@130 25 div.members-list tr {
gremmie@1 26 border-top: 1px solid black;
gremmie@1 27 border-bottom: 1px solid black;
gremmie@1 28 text-align: center;
gremmie@1 29 }
gremmie@1 30
bgneal@130 31 div.members-list td {
gremmie@1 32 padding: 5px 5px;
bgneal@130 33 text-align: center;
gremmie@1 34 }
gremmie@1 35
bgneal@130 36 div.members-list tr.odd {
gremmie@1 37 background-color: #ddd;
gremmie@1 38 }