Mercurial > hg-website
annotate static/css/styles.css @ 322:c5744fe4caac
Use modern fonts for code snippets, if the user has them.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Thu, 12 Nov 2009 21:47:54 -0500 |
parents | a067114a16e2 |
children | 6a2a8d386278 |
rev | line source |
---|---|
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
1 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
2 * Reset |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
3 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
4 body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
5 fieldset, img { border: none; vertical-align: middle; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
6 hr { display: none; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
7 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
8 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
9 * Margins |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
10 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
11 p, ul, ol, dl, table { margin: 0 0 1em 0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
12 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
13 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
14 * Hyperlinks |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
15 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
16 a { color: #00b5f1; text-decoration: underline; overflow: hidden; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
17 a:hover, a:focus { text-decoration: none; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
18 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
19 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
20 * General Document Settings |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
21 */ |
284
a1f67c008775
style: explicitly set background color
David Soria Parra <dsp@php.net>
parents:
267
diff
changeset
|
22 body { font: .975em/1.4285em "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif; color: #111; background-color: #fff; width: 900px; margin: 0 auto; position: relative; } |
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
23 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
24 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
25 * Headings |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
26 */ |
319
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
27 h1, h2, h3 { font-size: 1em; font-family: Palatino, "Palatino Linotype", Times, serif; margin: 0 0 .5em 0; font-weight: normal; } |
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
28 h4, h5, h6 { font-size: 1em; margin: 0 0 .5em 0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
29 h1 { font-size: 2em; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
30 h2 { font-size: 1.6em; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
31 h3 { font-size: 1.3em; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
32 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
33 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
34 * Lists |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
35 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
36 ul { margin-left: 2.2em; line-height: 1.5em; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
37 li ul, li ol { margin-top: 0; margin-bottom: 0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
38 li { margin: .3em 0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
39 ol { margin-left: 2.2em; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
40 ol li { list-style-type: decimal; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
41 ol li ol li { list-style-type: lower-alpha; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
42 ol li ol li ol li { list-style-type: upper-roman; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
43 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
44 dt { font-weight: bold; margin-top: 10px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
45 dt em { font-style: normal; display: block; font-weight: normal; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
46 dd { background: url(../images/bullet.gif) no-repeat 10px .5em; padding-left: 20px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
47 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
48 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
49 * Forms |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
50 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
51 input, textarea, select { font-family: Helvetica, Arial, sans-serif; font-size: .8571em; vertical-align: top; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
52 textarea { overflow: auto; width: 220px; height: 90px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
53 form ol { margin: 0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
54 form ol li { list-style: none; margin: 0 0 10px 0; display: inline-block; overflow: hidden; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
55 form ol li { display: block; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
56 label { float: left; width: 100px; padding-right: 10px; text-align: right; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
57 .submit { margin-left: 110px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
58 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
59 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
60 * Table |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
61 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
62 table { border-collapse: separate; border-spacing: 0; font-size: 90% } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
63 caption, th, td { text-align: left; font-weight: normal; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
64 td, th { padding: 6px 8px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
65 .latest thead td, .latest thead th { background: #00B5F1; color: #fff; font-weight: bold; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
66 thead td, thead th { background: #999; color: #fff; font-weight: bold; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
67 tbody td { border-bottom: 1px solid #ccc; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
68 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
69 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
70 * Quotes |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
71 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
72 blockquote:before, blockquote:after, q:before, q:after { content: ""; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
73 blockquote, q { quotes: "" ""; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
74 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
75 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
76 * Layout |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
77 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
78 .row { display: inline-block; overflow: hidden; border-bottom: 1px solid #ccc; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
79 .row { display: block; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
80 .col { float: right; display: inline; width: 270px; margin: 25px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
81 .big { float: left; width: 470px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
82 .quote { float: right; width: 740px; text-align: right; margin-right: 25px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
83 .big h2 { margin-top: 20px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
84 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
85 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
86 * Logo |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
87 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
88 #logo { border-bottom: 1px solid #ccc; margin: 0 0 15px 0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
89 #logo a { display: block; width: 184px; height: 61px; background: url(../images/mercurial-logo.png) no-repeat 0 0; text-indent: -9999px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
90 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
91 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
92 * Nav |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
93 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
94 #nav { position: absolute; top: 17px; right: 0; background: #999; height: 42px; margin: 0; width: 665px; font-size: 1.1428em; *font-size: 16px; line-height: 42px; font-family: Optimer, Helvetica, Arial, sans-serif; overflow: hidden; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
95 #nav li { float: left; margin: 0; padding: 0; list-style: none; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
96 #nav a { float: left; color: #fff; text-decoration: none; padding: 0 16px; *padding: 0 14px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
97 #nav a:hover, #nav a:focus, #nav .active a { background: #00b5f1; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
98 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
99 /* |
317
8ebf006007f8
Remove the bullets from the Guide index.
Steve Losh <steve@stevelosh.com>
parents:
289
diff
changeset
|
100 * Sidebar |
8ebf006007f8
Remove the bullets from the Guide index.
Steve Losh <steve@stevelosh.com>
parents:
289
diff
changeset
|
101 */ |
8ebf006007f8
Remove the bullets from the Guide index.
Steve Losh <steve@stevelosh.com>
parents:
289
diff
changeset
|
102 ul.sidebar-toc { list-style-type: none; margin-left: 0;} |
8ebf006007f8
Remove the bullets from the Guide index.
Steve Losh <steve@stevelosh.com>
parents:
289
diff
changeset
|
103 ul.sidebar-toc ul { list-style-type: none; text-indent: -1em;} |
8ebf006007f8
Remove the bullets from the Guide index.
Steve Losh <steve@stevelosh.com>
parents:
289
diff
changeset
|
104 |
8ebf006007f8
Remove the bullets from the Guide index.
Steve Losh <steve@stevelosh.com>
parents:
289
diff
changeset
|
105 /* |
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
106 * Search |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
107 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
108 #search { position: absolute; right: 15px; top: 26px; color: #fff; width: 183px; height: 23px; background: url(../images/search.png) no-repeat 0 0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
109 #search legend { display: none; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
110 #search label { position: absolute; left: -9999px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
111 #search .text { width: 150px; background: none; border: none; margin: 0 0 0 5px; position: relative; top: 5px; color: #666; outline:0; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
112 #search .submit { width: 23px; height: 23px; background: none; border: none; cursor: pointer; text-indent: -9999px; color: #10B8F0; *color: #fff; font-size: 1px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
113 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
114 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
115 * Download button |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
116 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
117 .download { display: block; width: 175px; height: 59px; padding: 14px 80px 14px 30px; background: #12baf2 url(../images/download.png) no-repeat 0 0; color: #fff; text-decoration: none; font-family: Verdana, Arial, sans-serif; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
118 .download strong { display: block; font-size: 1.2857em; margin-bottom: 4px; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
119 .download em { font-style: normal; font-weight: bold; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
120 .download span { display: block; font-size: .7142em; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
121 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
122 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
123 * Homepage |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
124 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
125 #home #logo { margin-bottom: 0 !important; } |
319
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
126 #frontpage dl { margin: 0 30px; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .80em; line-height: 1.4em; } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
127 #frontpage h1 { font-size: 48px; line-height: 1em; margin: 0 0 20px 0; font-weight: normal; } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
128 #frontpage h2, #frontpage h3 { font-size: 22px; line-height: 1.2em; margin-bottom: 20px; font-weight: normal; } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
129 #frontpage h4 { font-weight: normal; margin: 0; } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
130 #frontpage h4 a { text-decoration: none; } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
131 #frontpage h4 a:hover, #home h4 a:focus { text-decoration: underline; } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
132 #frontpage ol { margin: 0; } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
133 #frontpage ol li { list-style: none; background: url(../images/bullet-big-1.png) no-repeat 0 0; padding-left: 60px; min-height: 43px; _height: 43px; margin-bottom: 1.7em } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
134 #frontpage ol .i-2 { background-image: url(../images/bullet-big-2.png); } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
135 #frontpage ol .i-3 { background-image: url(../images/bullet-big-3.png); } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
136 #frontpage ol a { text-decoration: none; } |
bb9f90fa265d
Fix the CSS frontpage styles to apply to the frontpage only.
Steve Losh <steve@stevelosh.com>
parents:
317
diff
changeset
|
137 #frontpage ol a:hover { text-decoration: underline; } |
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
138 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
139 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
140 * Footer |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
141 */ |
320
bdd5e288c7e0
Move the footer all the way to the right -- it looks weird partially padded.
Steve Losh <steve@stevelosh.com>
parents:
319
diff
changeset
|
142 #footer { font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .6428em; display: inline-block; overflow: hidden; text-align: right; padding: 10px 0; } |
248
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
143 #footer { display: block; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
144 #footer div { float: left; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
145 #footer a { text-decoration: none; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
146 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
147 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
148 * Mercurial commands interspersed in text |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
149 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
150 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
151 #home hg { text-decoration: italic; } |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
152 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
153 /* |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
154 * Lists without big bullet type... |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
155 */ |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
156 |
53a5e100b497
Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff
changeset
|
157 #home .undecorated_list li { list-style:decimal outside; background: none; padding-left: 0px; min-height: 0px; margin-bottom: 1.7em} #home .undecorated_list li li { list-style: circle outside } |
289 | 158 |
159 /* | |
160 * Notes | |
161 */ | |
162 .note { | |
321
a067114a16e2
Make notes stand out more, and try to keep the rhythm.
Steve Losh <steve@stevelosh.com>
parents:
320
diff
changeset
|
163 border: 1px #ccc solid; |
a067114a16e2
Make notes stand out more, and try to keep the rhythm.
Steve Losh <steve@stevelosh.com>
parents:
320
diff
changeset
|
164 background-color: #f8f8f8; |
a067114a16e2
Make notes stand out more, and try to keep the rhythm.
Steve Losh <steve@stevelosh.com>
parents:
320
diff
changeset
|
165 padding: 0.5em 1em; |
289 | 166 font-size: 90%; |
321
a067114a16e2
Make notes stand out more, and try to keep the rhythm.
Steve Losh <steve@stevelosh.com>
parents:
320
diff
changeset
|
167 margin-bottom: 1.5em; |
289 | 168 } |
321
a067114a16e2
Make notes stand out more, and try to keep the rhythm.
Steve Losh <steve@stevelosh.com>
parents:
320
diff
changeset
|
169 .note-title { |
a067114a16e2
Make notes stand out more, and try to keep the rhythm.
Steve Losh <steve@stevelosh.com>
parents:
320
diff
changeset
|
170 font-weight: bold; |
322
c5744fe4caac
Use modern fonts for code snippets, if the user has them.
Steve Losh <steve@stevelosh.com>
parents:
321
diff
changeset
|
171 } |
c5744fe4caac
Use modern fonts for code snippets, if the user has them.
Steve Losh <steve@stevelosh.com>
parents:
321
diff
changeset
|
172 |
c5744fe4caac
Use modern fonts for code snippets, if the user has them.
Steve Losh <steve@stevelosh.com>
parents:
321
diff
changeset
|
173 /* |
c5744fe4caac
Use modern fonts for code snippets, if the user has them.
Steve Losh <steve@stevelosh.com>
parents:
321
diff
changeset
|
174 * Code |
c5744fe4caac
Use modern fonts for code snippets, if the user has them.
Steve Losh <steve@stevelosh.com>
parents:
321
diff
changeset
|
175 */ |
c5744fe4caac
Use modern fonts for code snippets, if the user has them.
Steve Losh <steve@stevelosh.com>
parents:
321
diff
changeset
|
176 pre, code { font-family: "Consolas", "Monaco", "Courier New", Courier, monospace; } |