hgbook

annotate web/styles.css @ 890:2887b61fa4fe

Change fields to fieldsets in the Comment admin model. The 'date'
field isn't working properly for an unknown reason, so it has been
removed from the interface temporarily.
author dukebody <dukebody@gmail.com>
date Sun Oct 11 21:12:46 2009 +0200 (2009-10-11)
parents 846a41c4fd46
children
rev   line source
bos@576 1 body {
bos@576 2 background: #f2f1f0;
bos@576 3 font-family: verdana,sans-serif;
bos@576 4 }
bos@576 5
bos@576 6 .navheader, .book, .preface, .chapter, .appendix, .bibliography, .navfooter, .basetemplate {
bos@576 7 width: 50em;
bos@576 8 margin-left: auto;
bos@576 9 margin-right: auto;
bos@576 10 }
bos@576 11
bos@576 12 a.commenttoggle:hover, a.commenttoggle:active {
bos@576 13 opacity: 0.7;
bos@576 14 }
bos@576 15
bos@576 16 a:hover, a:active {
bos@576 17 border-bottom: 1px solid #aaaaaa;
bos@576 18 }
bos@576 19
bos@576 20 .book, .preface, .chapter, .appendix, .bibliography, .basetemplate {
bos@576 21 background: white;
bos@576 22 padding: 2em;
bos@576 23 }
bos@576 24
bos@576 25 h1 {
bos@576 26 margin-top: 1.5em;
bos@576 27 }
bos@576 28
bos@576 29 span.beta {
bos@576 30 font-size: 80%;
bos@576 31 font-style: italic;
bos@576 32 opacity: 0.4;
bos@576 33 }
bos@576 34
bos@576 35 h2, h3 {
bos@576 36 margin-top: 2em;
bos@576 37 }
bos@576 38
bos@576 39 h1, h2, h3 {
bos@576 40 font-family: georgia,serif;
bos@576 41 font-weight: normal;
bos@576 42 margin-bottom: 0.5em;
bos@576 43 }
bos@576 44
bos@576 45 h1.booktitle {
bos@576 46 margin-bottom: 0px;
bos@576 47 }
bos@576 48
bos@576 49 h2.booktitle {
bos@576 50 text-align: center;
bos@576 51 }
bos@576 52
bos@576 53 h2.booktitle > a {
bos@576 54 color: black;
bos@576 55 }
bos@576 56
bos@576 57 div.authors {
bos@576 58 font-size: 80%;
bos@576 59 margin-bottom: 1em;
bos@576 60 padding-left: 0.25em;
bos@576 61 }
bos@576 62
bos@576 63 span.authors {
bos@576 64 font-size: 80%;
bos@576 65 opacity: 0.55;
bos@576 66 padding-left: 0.5em;
bos@576 67 }
bos@576 68
bos@576 69 div.note th, div.tip th, div.warning th {
bos@576 70 font-family: georgia,serif;
bos@576 71 font-weight: normal;
bos@576 72 font-size: 110%;
bos@576 73 }
bos@576 74
bos@576 75 div.navheader th, div.navfooter td {
bos@576 76 font-family: georgia,serif;
bos@576 77 }
bos@576 78
bos@576 79 div.navheader th {
bos@576 80 opacity: 0;
bos@576 81 font-size: 0;
bos@576 82 }
bos@576 83
bos@576 84 pre.screen {
bos@576 85 background-image: url(figs/shell.png);
bos@576 86 }
bos@576 87
bos@576 88 pre.programlisting {
bos@576 89 background-image: url(figs/source.png);
bos@576 90 }
bos@576 91
bos@576 92 pre.programlisting, pre.screen, p.remark {
bos@576 93 border-style: solid;
bos@576 94 border-width: 1px;
bos@576 95 font-size: medium;
bos@576 96 padding: 1em;
bos@576 97 background-repeat: no-repeat;
bos@576 98 background-position: 10px 10px;
bos@576 99 padding-left: 70px;
bos@576 100 }
bos@576 101
bos@576 102 strong.command, code, pre, span.type {
bos@576 103 font-family: monospace;
bos@576 104 font-weight: normal;
bos@576 105 }
bos@576 106
bos@576 107 strong.userinput > code {
bos@576 108 font-weight: bolder;
bos@576 109 color: #303030;
bos@576 110 }
bos@576 111
bos@576 112 div.toc > p {
bos@576 113 opacity: 0.35;
bos@576 114 font-family: georgia,serif;
bos@576 115 cursor: pointer;
bos@576 116 }
bos@576 117
bos@576 118 div.toc b {
bos@576 119 font-weight: normal;
bos@576 120 font-size: large;
bos@576 121 }
bos@576 122
bos@576 123 ul.booktoc {
bos@576 124 padding-left: 0px;
bos@576 125 list-style-type: none;
bos@576 126 }
bos@576 127
bos@576 128 .booktoc > li {
bos@576 129 padding: 0.5em;
bos@576 130 }
bos@576 131
bos@576 132 .chapinfo {
bos@576 133 float: right;
bos@576 134 color: #a0a0a0;
bos@576 135 }
bos@576 136
bos@576 137 .unpublished {
bos@576 138 color: #a0a0a0;
bos@576 139 }
bos@576 140
bos@576 141 .chapinfo img {
bos@576 142 vertical-align: -35%;
bos@576 143 border: 0px;
bos@576 144 }
bos@576 145
bos@576 146 .zebra_b {
bos@576 147 background: #f4f4f4;
bos@576 148 }
bos@576 149
bos@576 150 .book .titlepage {
bos@576 151 display: none;
bos@576 152 }
bos@576 153
bos@576 154 .chapter div.toc > dl {
bos@576 155 display: none;
bos@576 156 }
bos@576 157
bos@576 158 pre.programlisting, pre.screen, p.remark {
bos@576 159 overflow: hidden;
bos@576 160 }
bos@576 161
bos@576 162 p.remark {
bos@576 163 background-image: url(figs/remark.png);
bos@576 164 }
bos@576 165
bos@576 166 div.warning, p.remark {
bos@576 167 background-color: #FFEFE8;
bos@576 168 border-color: #e0a8a0;
bos@576 169 }
bos@576 170
bos@576 171 span.remark {
bos@576 172 font-style: normal;
bos@576 173 color: #707070;
bos@576 174 }
bos@576 175
bos@576 176 .screen {
bos@576 177 background: #e7ffc7 none repeat scroll 0% 50%;
bos@576 178 border-color: #94DA3A;
bos@576 179 }
bos@576 180
bos@576 181 .programlisting {
bos@576 182 background: #F0F4FF none repeat scroll 0% 50%;
bos@576 183 border-color: #B4BAEA;
bos@576 184 }
bos@576 185
bos@576 186 .prompt {
bos@576 187 color: #448844;
bos@576 188 }
bos@576 189
bos@576 190 div.note, div.tip {
bos@576 191 background: #ffffc9;
bos@576 192 border-color: #B4BAEA;
bos@576 193 }
bos@576 194
bos@576 195 div.note, div.warning, div.tip {
bos@576 196 border-style: solid;
bos@576 197 border-width: 1px;
bos@576 198 padding: 1em;
bos@576 199 }
bos@576 200
bos@576 201 .note .title {
bos@576 202 font-size: 90%;
bos@576 203 }
bos@576 204
bos@576 205 .comment {
bos@576 206 font-size: 80%;
bos@576 207 }
bos@576 208
bos@576 209 div.comment, div.new_comment {
bos@576 210 padding: 0.5em;
bos@576 211 margin: 0.5em;
bos@576 212 margin-left: 2em;
bos@576 213 border-style: solid;
bos@576 214 border-width: 1px;
bos@576 215 border-color: #aaaaff;
bos@576 216 }
bos@576 217
bos@576 218 div.comment {
bos@576 219 background: #eeeeff;
bos@576 220 }
bos@576 221
bos@576 222 div.new_comment {
bos@576 223 background: #d0d0ff;
bos@576 224 }
bos@576 225
bos@576 226 .commenttoggle {
bos@576 227 opacity: 0.35;
bos@576 228 }
bos@576 229
bos@576 230 .comment_help {
bos@576 231 font-size: 80%;
bos@576 232 }
bos@576 233
bos@576 234 .comment_header {
bos@576 235 opacity: 0.75;
bos@576 236 }
bos@576 237
bos@576 238 .comment_id {
bos@576 239 float: right;
bos@576 240 opacity: 0.3;
bos@576 241 font-size: 60%;
bos@576 242 }
bos@576 243
bos@576 244 .comment_name {
bos@576 245 font-weight: bolder;
bos@576 246 }
bos@576 247
bos@576 248 .comment_reviewed {
bos@576 249 color: darkgreen;
bos@576 250 margin-left: 1em;
bos@576 251 font-style: italic;
bos@576 252 }
bos@576 253
bos@576 254 .comment_date {
bos@576 255 opacity: 0.75;
bos@576 256 }
bos@576 257
bos@576 258 .comment_thanks {
bos@576 259 color: darkblue;
bos@576 260 margin-left: 1em;
bos@576 261 font-style: italic;
bos@576 262 font-weight: bolder;
bos@576 263 }
bos@576 264
bos@576 265 .comment_error {
bos@576 266 padding-left: 1em;
bos@576 267 font-weight: bolder;
bos@576 268 font-size: 80%;
bos@576 269 color: darkred;
bos@576 270 }
bos@576 271
bos@597 272 .hgfooter {
bos@576 273 width: 60em;
bos@576 274 margin-left: auto;
bos@576 275 margin-right: auto;
bos@576 276 margin-top: 2em;
bos@576 277 margin-bottom: 2em;
bos@576 278 font-size: 80%;
bos@576 279 color: #727272;
bos@576 280 }
bos@576 281
bos@597 282 .hgfooter a {
bos@576 283 color: #5555ff;
bos@576 284 }
bos@576 285
bos@597 286 .hgfooter a:visited {
bos@576 287 opacity: 0.7;
bos@576 288 }
bos@576 289
bos@597 290 .hgfooter img {
bos@576 291 vertical-align: -45%;
bos@576 292 }