annotate static/css/styles.css @ 457:19ea041943ed

frontpage: don't cut off text in quick start snippet, resize the column instead Otherwise it looks like it says 'hg clone https://selenic.com/repo/hell'.
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 28 May 2016 09:28:13 +0800
parents c3c50748a20b
children 9f7df5119cc3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
397
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 395
diff changeset
1 @font-face
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 395
diff changeset
2 {
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 395
diff changeset
3 font-family: Optimer;
408
595c6707635f Serve our font directly
David Soria Parra <davidsp@fb.com>
parents: 397
diff changeset
4 src: url(/MgOpenCosmeticaRegular.ttf);
397
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 395
diff changeset
5 }
29d4b5e45423 Use flask to render site and get rid of submodules
David Soria Parra <davidsp@fb.com>
parents: 395
diff changeset
6
248
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 * Reset
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
9 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
10 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
11 fieldset, img { border: none; vertical-align: middle; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
12 hr { display: none; }
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 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
15 * Margins
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
16 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
17 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
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 * Hyperlinks
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
21 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
22 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
23 a:hover, a:focus { text-decoration: none; }
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 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
26 * General Document Settings
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
27 */
393
5dc640877bb8 Added DejaVuSans to the fonts (bug #8: https://bitbucket.org/segv/hg-website/issue/8/use-dejavusans-too-instead-of-just )
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 392
diff changeset
28 body { font: .975em/1.4285em "Helvetica Neue", DejaVuSans, 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
29
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
30 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
31 * Headings
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
32 */
395
8c86fcab8178 fixed non-hierarchic header sizes in the guide (and generally fixed some stuff for the headers…). Thanks to Johan Samyn → https://bitbucket.org/segv/hg-website/issue/12/workflow-headers-not-clearly-shown
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 394
diff changeset
33 h1, h2, h3 { font-family: Optimer, DejaVuSans, Helvetica, Arial, sans-serif; margin: 0 0 .5em 0; font-weight: normal; line-height: 1em; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
34 h4, h5, h6 { font-size: 1em; margin: 0 0 .5em 0; }
395
8c86fcab8178 fixed non-hierarchic header sizes in the guide (and generally fixed some stuff for the headers…). Thanks to Johan Samyn → https://bitbucket.org/segv/hg-website/issue/12/workflow-headers-not-clearly-shown
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 394
diff changeset
35 h1 { font-size: 3em; }
8c86fcab8178 fixed non-hierarchic header sizes in the guide (and generally fixed some stuff for the headers…). Thanks to Johan Samyn → https://bitbucket.org/segv/hg-website/issue/12/workflow-headers-not-clearly-shown
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 394
diff changeset
36 h2 { font-size: 1.8em; }
8c86fcab8178 fixed non-hierarchic header sizes in the guide (and generally fixed some stuff for the headers…). Thanks to Johan Samyn → https://bitbucket.org/segv/hg-website/issue/12/workflow-headers-not-clearly-shown
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 394
diff changeset
37 h3 { font-size: 1.4em; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
38
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
39 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
40 * Lists
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
41 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
42 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
43 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
44 li { margin: .3em 0; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
45 ol { margin-left: 2.2em; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
46 ol li { list-style-type: decimal; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
47 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
48 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
49
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
50 dt { font-weight: bold; margin-top: 10px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
51 dt em { font-style: normal; display: block; font-weight: normal; }
347
871e9821b5b9 remove python requirement from main page, moving to downloads page
David Champion <dgc@uchicago.edu>
parents: 310
diff changeset
52 dd em { font-style: normal; font-weight: bolder; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
53 dd { background: url(../images/bullet.gif) no-repeat 10px .5em; padding-left: 20px; }
363
e1830acad2a7 Make sure that we have space between multiple dl's
David Soria Parra <dsp@php.net>
parents: 355
diff changeset
54 dl {
e1830acad2a7 Make sure that we have space between multiple dl's
David Soria Parra <dsp@php.net>
parents: 355
diff changeset
55 padding-bottom: 1em;
e1830acad2a7 Make sure that we have space between multiple dl's
David Soria Parra <dsp@php.net>
parents: 355
diff changeset
56 }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
57
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 * Forms
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
60 */
394
26e528281d00 added DejaVuSans in front of every Helvetica, because helvetica is a bitmap font on linux → https://bitbucket.org/segv/hg-website/issue/8/use-dejavusans-too-instead-of-just .
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 393
diff changeset
61 input, textarea, select { font-family: DejaVuSans, Helvetica, Arial, sans-serif; font-size: .8571em; vertical-align: top; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
62 textarea { overflow: auto; width: 220px; height: 90px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
63 form ol { margin: 0; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
64 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
65 form ol li { display: block; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
66 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
67 .submit { margin-left: 110px; }
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 * Table
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 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
73 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
74 td, th { padding: 6px 8px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
75 .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
76 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
77 tbody td { border-bottom: 1px solid #ccc; }
350
987caba84824 downloads: highlight preferred options with <em>
David Champion <dgc@uchicago.edu>
parents: 347
diff changeset
78 tbody td em { font-style: normal; font-weight: bolder; }
355
e4d31654a9d3 downloads: put each available version into a separate table
David Champion <dgc@uchicago.edu>
parents: 350
diff changeset
79 tbody td:last-child { width: 5em; }
e4d31654a9d3 downloads: put each available version into a separate table
David Champion <dgc@uchicago.edu>
parents: 350
diff changeset
80
e4d31654a9d3 downloads: put each available version into a separate table
David Champion <dgc@uchicago.edu>
parents: 350
diff changeset
81 /*
e4d31654a9d3 downloads: put each available version into a separate table
David Champion <dgc@uchicago.edu>
parents: 350
diff changeset
82 * Table expansion
e4d31654a9d3 downloads: put each available version into a separate table
David Champion <dgc@uchicago.edu>
parents: 350
diff changeset
83 */
e4d31654a9d3 downloads: put each available version into a separate table
David Champion <dgc@uchicago.edu>
parents: 350
diff changeset
84 div #more { font-size: smaller; color: #999; }
248
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 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
87 * Quotes
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
88 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
89 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
90 blockquote, q { quotes: "" ""; }
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 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
93 * Layout
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
94 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
95 .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
96 .row { display: block; }
294
8e1d8d9ef5be Fix layout
David Soria Parra <dsp@php.net>
parents: 289
diff changeset
97 .col { float: right; display: inline; width: 295px; margin: 25px; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
98 .big { float: left; width: 470px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
99 .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
100 .big h2 { margin-top: 20px; }
457
19ea041943ed frontpage: don't cut off text in quick start snippet, resize the column instead
Anton Shestakov <av6@dwimlabs.net>
parents: 456
diff changeset
101 .autowidth { width: auto; margin-right: 0; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
102
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
103 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
104 * Logo
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
105 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
106 #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
107 #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
108
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
109 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
110 * Nav
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
111 */
394
26e528281d00 added DejaVuSans in front of every Helvetica, because helvetica is a bitmap font on linux → https://bitbucket.org/segv/hg-website/issue/8/use-dejavusans-too-instead-of-just .
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 393
diff changeset
112 #nav { position: absolute; top: 17px; right: 0; background: #999; height: 42px; margin: 0; width: 725px; font-size: 1em; *font-size: 16px; line-height: 42px; font-family: Optimer, DejaVuSans, Helvetica, Arial, sans-serif; overflow: hidden; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
113 #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
114 #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
115 #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
116
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
117 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
118 * Search
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
119 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
120 #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
121 #search legend { display: none; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
122 #search label { position: absolute; left: -9999px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
123 #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
124 #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
125
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
126 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
127 * Download button
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
128 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
129 .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
130 .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
131 .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
132 .download span { display: block; font-size: .7142em; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
133
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
134 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
135 * Homepage
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
136 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
137 #home #logo { margin-bottom: 0 !important; }
456
c3c50748a20b downloads: add link to DeveloperRepos on wiki
Kevin Bullock <kbullock+mercurial@ringworld.org>
parents: 424
diff changeset
138 #home dl,
c3c50748a20b downloads: add link to DeveloperRepos on wiki
Kevin Bullock <kbullock+mercurial@ringworld.org>
parents: 424
diff changeset
139 #home .dl-note { margin: 0 30px; font-family: Verdana, DejaVuSans, Helvetica, Arial, sans-serif; font-size: .80em; line-height: 1.4em; }
c3c50748a20b downloads: add link to DeveloperRepos on wiki
Kevin Bullock <kbullock+mercurial@ringworld.org>
parents: 424
diff changeset
140 #home .dl-note { padding-bottom: 1em; }
395
8c86fcab8178 fixed non-hierarchic header sizes in the guide (and generally fixed some stuff for the headers…). Thanks to Johan Samyn → https://bitbucket.org/segv/hg-website/issue/12/workflow-headers-not-clearly-shown
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 394
diff changeset
141 /* #home h1 { font-size: 48px; line-height: 1em; margin: 0 0 20px 0; font-weight: normal; } */
8c86fcab8178 fixed non-hierarchic header sizes in the guide (and generally fixed some stuff for the headers…). Thanks to Johan Samyn → https://bitbucket.org/segv/hg-website/issue/12/workflow-headers-not-clearly-shown
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 394
diff changeset
142 #header { font-size: 48px; line-height: 1em; margin: 0 0 20px 0; font-weight: normal; }
8c86fcab8178 fixed non-hierarchic header sizes in the guide (and generally fixed some stuff for the headers…). Thanks to Johan Samyn → https://bitbucket.org/segv/hg-website/issue/12/workflow-headers-not-clearly-shown
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 394
diff changeset
143 #subheader { font-size: 22px; line-height: 1.2em; margin-bottom: 20px; font-weight: normal; }
8c86fcab8178 fixed non-hierarchic header sizes in the guide (and generally fixed some stuff for the headers…). Thanks to Johan Samyn → https://bitbucket.org/segv/hg-website/issue/12/workflow-headers-not-clearly-shown
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 394
diff changeset
144 /* #home h2, #home h3 { font-size: 22px; line-height: 1.2em; margin-bottom: 20px; font-weight: normal; } */
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
145 #home h4 { font-weight: normal; margin: 0; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
146 #home h4 a { text-decoration: none; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
147 #home h4 a:hover, #home h4 a:focus { text-decoration: underline; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
148 #home ol { margin: 0; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
149 #home 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 }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
150 #home ol .i-2 { background-image: url(../images/bullet-big-2.png); }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
151 #home ol .i-3 { background-image: url(../images/bullet-big-3.png); }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
152 #home ol a { text-decoration: none; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
153 #home ol a:hover { text-decoration: underline; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
154
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 * Footer
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
157 */
394
26e528281d00 added DejaVuSans in front of every Helvetica, because helvetica is a bitmap font on linux → https://bitbucket.org/segv/hg-website/issue/8/use-dejavusans-too-instead-of-just .
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 393
diff changeset
158 #footer { font-family: Verdana, DejaVuSans, Helvetica, Arial, sans-serif; font-size: .6428em; display: inline-block; overflow: hidden; text-align: right; padding: 10px 25px; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
159 #footer { display: block; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
160 #footer div { float: left; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
161 #footer a { text-decoration: none; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
162
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
163 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
164 * Mercurial commands interspersed in text
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
165 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
166
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
167 #home hg { text-decoration: italic; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
168
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
169 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
170 * Lists without big bullet type...
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
171 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
172
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
173 #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
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
174
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
175 /*
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
176 * Notes
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
177 */
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
178 .note {
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
179 border-top: 1px #ccc solid;
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
180 border-bottom: 1px #ccc solid;
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
181 padding: 0.3em 1em;
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
182 margin: 0.2em 1em 1em;
392
4aef227e929c css: reduce font size of code (pre-tags) and use em instead of % for font-size (for consistency).
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 383
diff changeset
183 font-size: .90em;
289
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
184 }
383
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
185
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
186 /*
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
187 * code and commands
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
188 */
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
189 pre, .output {
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
190 font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
392
4aef227e929c css: reduce font size of code (pre-tags) and use em instead of % for font-size (for consistency).
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 383
diff changeset
191 font-size: .90em;
424
e7c2f48726ad styles: visible overflow-x for pre & .output
Anton Shestakov <engored@ya.ru>
parents: 408
diff changeset
192 overflow-x: visible;
383
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
193 }
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
194
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
195 .output {
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
196 border-left: 1px #ccc solid;
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
197 border-right: 1px #ccc solid;
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
198 background-color: #eee;
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
199 margin: 0.2em 1em 1em;
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
200 padding: 0.3em 1em;
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
201 white-space: pre-wrap;
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
202 }
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
203
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
204 .output:first-line {
392
4aef227e929c css: reduce font size of code (pre-tags) and use em instead of % for font-size (for consistency).
Arne Babenhauserheide <arne.babenhauserheide@fzk.de>
parents: 383
diff changeset
205 font-size: .90em;
383
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
206 font-style: italic;
60fe705f6df0 css: added an output class for the command output display in the guide and updated the content.
Arne Babenhauserheide <bab@draketo.de>
parents: 363
diff changeset
207 }