hgbook

diff web/support/styles/styles.css @ 900:5e63e72aed10

Restructure the folders layout to allow easier static serving with a real webserver in the future.
author dukebody <dukebody@gmail.com>
date Mon Oct 26 14:46:22 2009 +0100 (2009-10-26)
parents web/styles/styles.css@56eed78c4395
children 0b3de6304f0a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/web/support/styles/styles.css	Mon Oct 26 14:46:22 2009 +0100
     1.3 @@ -0,0 +1,286 @@
     1.4 +body {
     1.5 +  background: #F2F1F0;
     1.6 +  font-family: verdana,sans-serif;
     1.7 +}
     1.8 +
     1.9 +.navheader, .book, .preface, .chapter, .appendix, .bibliography, .navfooter, .basetemplate {
    1.10 +  width: 50em;
    1.11 +  margin-left: auto;
    1.12 +  margin-right: auto;
    1.13 +}
    1.14 +
    1.15 +a.commenttoggle:hover, a.commenttoggle:active {
    1.16 +  opacity: 0.7;
    1.17 +}
    1.18 +
    1.19 +a:hover, a:active {
    1.20 +  border-bottom: 1px solid #aaaaaa;
    1.21 +}
    1.22 +
    1.23 +.book, .preface, .chapter, .appendix, .bibliography, .basetemplate {
    1.24 +  background: white;
    1.25 +  padding: 2em;
    1.26 +}
    1.27 +
    1.28 +h1 {
    1.29 +  margin-top: 1.5em;
    1.30 +}
    1.31 +
    1.32 +span.beta {
    1.33 +  font-size: 80%;
    1.34 +  font-style: italic;
    1.35 +  opacity: 0.4;
    1.36 +}
    1.37 +
    1.38 +h2, h3 {
    1.39 +  margin-top: 2em;
    1.40 +}
    1.41 +
    1.42 +h1, h2, h3 {
    1.43 +  font-family: georgia,serif;
    1.44 +  font-weight: normal;
    1.45 +  margin-bottom: 0.5em;
    1.46 +}
    1.47 +
    1.48 +h1.booktitle {
    1.49 +  margin-bottom: 0px;
    1.50 +}
    1.51 +
    1.52 +h2.booktitle {
    1.53 +  text-align: center;
    1.54 +}
    1.55 +
    1.56 +h2.booktitle > a {
    1.57 +  color: black;
    1.58 +}
    1.59 +
    1.60 +.authors {
    1.61 +  font-size: 80%;
    1.62 +  opacity: 0.55;
    1.63 +  padding-left: 0.5em;
    1.64 +}
    1.65 +
    1.66 +div.note th, div.tip th, div.warning th {
    1.67 +  font-family: georgia,serif;
    1.68 +  font-weight: normal;
    1.69 +  font-size: 110%;
    1.70 +}
    1.71 +
    1.72 +div.navheader th, div.navfooter td {
    1.73 +  font-family: georgia,serif;
    1.74 +}
    1.75 +
    1.76 +div.navheader th {
    1.77 +  opacity: 0;
    1.78 +  font-size: 0;
    1.79 +}
    1.80 +
    1.81 +pre.screen {
    1.82 +  background-image: url(figs/shell.png);
    1.83 +}
    1.84 +
    1.85 +pre.programlisting {
    1.86 +  background-image: url(figs/source.png);
    1.87 +}
    1.88 +
    1.89 +pre.programlisting, pre.screen, p.remark {
    1.90 +  border-style: solid;
    1.91 +  border-width: 1px;
    1.92 +  font-size: medium;
    1.93 +  padding: 1em;
    1.94 +  background-repeat: no-repeat;
    1.95 +  background-position: 10px 10px;
    1.96 +  padding-left: 70px;
    1.97 +}
    1.98 +
    1.99 +strong.command, code, pre, span.type {
   1.100 +  font-family: monospace;
   1.101 +  font-weight: normal;
   1.102 +}
   1.103 +
   1.104 +strong.userinput > code {
   1.105 +  font-weight: bolder;
   1.106 +  color: #303030;
   1.107 +}
   1.108 +
   1.109 +div.toc > p {
   1.110 +  opacity: 0.35;
   1.111 +  font-family: georgia,serif;
   1.112 +  cursor: pointer;
   1.113 +}
   1.114 +
   1.115 +div.toc b {
   1.116 +  font-weight: normal;
   1.117 +  font-size: large;
   1.118 +}
   1.119 +
   1.120 +ul.booktoc {
   1.121 +  padding-left: 0px;
   1.122 +  list-style-type: none;
   1.123 +}
   1.124 +
   1.125 +.booktoc > li {
   1.126 +  padding: 0.5em;
   1.127 +}
   1.128 +
   1.129 +.chapinfo {
   1.130 +  float: right;
   1.131 +  color: #a0a0a0;
   1.132 +}
   1.133 +
   1.134 +.unpublished {
   1.135 +  color: #a0a0a0;
   1.136 +}
   1.137 +
   1.138 +.chapinfo img {
   1.139 +  vertical-align: -35%;
   1.140 +  border: 0px;
   1.141 +}
   1.142 +
   1.143 +.zebra_b {
   1.144 +  background: #f4f4f4;
   1.145 +}
   1.146 +
   1.147 +.book .titlepage {
   1.148 +  display: none;
   1.149 +}
   1.150 +
   1.151 +.chapter div.toc > dl {
   1.152 +  display: none;
   1.153 +}
   1.154 +
   1.155 +pre.programlisting, pre.screen, p.remark {
   1.156 +  overflow: hidden;
   1.157 +}
   1.158 +
   1.159 +p.remark {
   1.160 +  background-image: url(figs/remark.png);
   1.161 +}
   1.162 +
   1.163 +div.warning, p.remark {
   1.164 +  background-color: #FFEFE8;
   1.165 +  border-color: #e0a8a0;
   1.166 +}
   1.167 +
   1.168 +span.remark {
   1.169 +  font-style: normal;
   1.170 +  color: #707070;
   1.171 +}
   1.172 +
   1.173 +.screen {
   1.174 +  background: #e7ffc7 none repeat scroll 0% 50%;
   1.175 +  border-color: #94DA3A;
   1.176 +}
   1.177 +
   1.178 +.programlisting {
   1.179 +  background: #F0F4FF none repeat scroll 0% 50%;
   1.180 +  border-color: #B4BAEA;
   1.181 +}
   1.182 +
   1.183 +.prompt {
   1.184 +  color: #448844;
   1.185 +}
   1.186 +
   1.187 +div.note, div.tip {
   1.188 +  background: #ffffc9;
   1.189 +  border-color: #B4BAEA;
   1.190 +}
   1.191 +
   1.192 +div.note, div.warning, div.tip {
   1.193 +  border-style: solid;
   1.194 +  border-width: 1px;
   1.195 +  padding: 1em;
   1.196 +}
   1.197 +
   1.198 +.note .title {
   1.199 +  font-size: 90%;
   1.200 +}
   1.201 +
   1.202 +.comment {
   1.203 +  font-size: 80%;
   1.204 +}
   1.205 +
   1.206 +div.comment, div.new_comment {
   1.207 +  padding: 0.5em;
   1.208 +  margin: 0.5em;
   1.209 +  margin-left: 2em;
   1.210 +  border-style: solid;
   1.211 +  border-width: 1px;
   1.212 +  border-color: #aaaaff;
   1.213 +}
   1.214 +
   1.215 +div.comment {
   1.216 +  background: #eeeeff;
   1.217 +}
   1.218 +
   1.219 +div.new_comment {
   1.220 +  background: #d0d0ff;
   1.221 +}
   1.222 +
   1.223 +.commenttoggle {
   1.224 +  opacity: 0.35;
   1.225 +}
   1.226 +
   1.227 +.comment_help {
   1.228 +  font-size: 80%;
   1.229 +}
   1.230 +
   1.231 +.comment_header {
   1.232 +  opacity: 0.75;
   1.233 +}
   1.234 +
   1.235 +.comment_id {
   1.236 +  float: right;
   1.237 +  opacity: 0.3;
   1.238 +  font-size: 60%;
   1.239 +}
   1.240 +
   1.241 +.comment_name {
   1.242 +  font-weight: bolder;
   1.243 +}
   1.244 +
   1.245 +.comment_reviewed {
   1.246 +  color: darkgreen;
   1.247 +  margin-left: 1em;
   1.248 +  font-style: italic;
   1.249 +}
   1.250 +
   1.251 +.comment_date {
   1.252 +  opacity: 0.75;
   1.253 +}
   1.254 +
   1.255 +.comment_thanks {
   1.256 +  color: darkblue;
   1.257 +  margin-left: 1em;
   1.258 +  font-style: italic;
   1.259 +  font-weight: bolder;
   1.260 +}
   1.261 +
   1.262 +.comment_error {
   1.263 +  padding-left: 1em;
   1.264 +  font-weight: bolder;
   1.265 +  font-size: 80%;
   1.266 +  color: darkred;
   1.267 +}
   1.268 +
   1.269 +.hgfooter {
   1.270 +  width: 60em;
   1.271 +  margin-left: auto;
   1.272 +  margin-right: auto;
   1.273 +  margin-top: 2em;
   1.274 +  margin-bottom: 2em;
   1.275 +  font-size: 80%;
   1.276 +  color: #727272;
   1.277 +}
   1.278 +
   1.279 +.hgfooter a {
   1.280 +  color: #5555ff;
   1.281 +}
   1.282 +
   1.283 +.hgfooter a:visited {
   1.284 +  opacity: 0.7;
   1.285 +}
   1.286 +
   1.287 +.hgfooter img {
   1.288 +  vertical-align: -45%;
   1.289 +}