annotate static/css/styles.css @ 493:5284da57c604 default tip

display needed flag option to send patch for the website
author "Stephane" <stephane@yaal.fr>
date Mon, 26 Oct 2020 14:55:33 +0100
parents 5d30d7a34569
children
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; }
459
a891b73d9bbb css: don't set the same property twice
Anton Shestakov <av6@dwimlabs.net>
parents: 458
diff changeset
64 form ol li { list-style: none; margin: 0 0 10px 0; display: block; overflow: hidden; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
65 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
66 .submit { margin-left: 110px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
67
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 * Table
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
70 */
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
71 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
72 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
73 td, th { padding: 6px 8px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
74 .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
75 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
76 tbody td { border-bottom: 1px solid #ccc; }
350
987caba84824 downloads: highlight preferred options with <em>
David Champion <dgc@uchicago.edu>
parents: 347
diff changeset
77 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
78 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
79
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 * Table expansion
e4d31654a9d3 downloads: put each available version into a separate table
David Champion <dgc@uchicago.edu>
parents: 350
diff changeset
82 */
e4d31654a9d3 downloads: put each available version into a separate table
David Champion <dgc@uchicago.edu>
parents: 350
diff changeset
83 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
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 * Quotes
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 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
89 blockquote, q { quotes: "" ""; }
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 * Layout
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
93 */
459
a891b73d9bbb css: don't set the same property twice
Anton Shestakov <av6@dwimlabs.net>
parents: 458
diff changeset
94 .row { display: block; overflow: hidden; border-bottom: 1px solid #ccc; }
294
8e1d8d9ef5be Fix layout
David Soria Parra <dsp@php.net>
parents: 289
diff changeset
95 .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
96 .big { float: left; width: 470px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
97 .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
98 .big h2 { margin-top: 20px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
99
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
100 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
101 * Logo
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 #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
104 #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
105
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
106 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
107 * Nav
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
108 */
468
5d30d7a34569 css: attach the navigation bar to top of the page
Pulkit Goyal <7895pulkit@gmail.com>
parents: 462
diff changeset
109 #nav { position: absolute; top: 0px; right: 0; background: #999; height: 61px; 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
110 #nav li { float: left; margin: 0; padding: 0; list-style: none; }
468
5d30d7a34569 css: attach the navigation bar to top of the page
Pulkit Goyal <7895pulkit@gmail.com>
parents: 462
diff changeset
111 #nav a { float: left; color: #fff; text-decoration: none; padding: 14px 21px; *padding: 0 14px; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
112 #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
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 * Search
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
116 */
468
5d30d7a34569 css: attach the navigation bar to top of the page
Pulkit Goyal <7895pulkit@gmail.com>
parents: 462
diff changeset
117 #search { position: absolute; right: 15px; top: 21px; color: #fff; width: 180px; height: 23px; background: url(../images/search.png) no-repeat 0 0; }
248
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
118 #search legend { display: none; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
119 #search label { position: absolute; left: -9999px; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
120 #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
121 #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
122
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
123 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
124 * Download button
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 .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
127 .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
128 .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
129 .download span { display: block; font-size: .7142em; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
130
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
131 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
132 * Homepage
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 #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
135 #home dl,
c3c50748a20b downloads: add link to DeveloperRepos on wiki
Kevin Bullock <kbullock+mercurial@ringworld.org>
parents: 424
diff changeset
136 #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
137 #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
138 /* #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
139 #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
140 #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
141 /* #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
142 #home h4 { font-weight: normal; margin: 0; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
143 #home h4 a { text-decoration: none; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
144 #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
145 #home ol { margin: 0; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
146 #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
147 #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
148 #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
149 #home ol a { text-decoration: none; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
150 #home ol a:hover { text-decoration: underline; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
151
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 * Footer
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
154 */
459
a891b73d9bbb css: don't set the same property twice
Anton Shestakov <av6@dwimlabs.net>
parents: 458
diff changeset
155 #footer { font-family: Verdana, DejaVuSans, Helvetica, Arial, sans-serif; font-size: .6428em; display: 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
156 #footer div { float: left; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
157 #footer a { text-decoration: none; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
158
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
159 /*
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
160 * Mercurial commands interspersed in text
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
161 */
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 #home hg { text-decoration: italic; }
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
164
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 * Lists without big bullet type...
53a5e100b497 Convert the frontpage, except for the download button.
Steve Losh <steve@stevelosh.com>
parents:
diff changeset
167 */
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 #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
170
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
171 /*
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
172 * Notes
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
173 */
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
174 .note {
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
175 border-top: 1px #ccc solid;
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
176 border-bottom: 1px #ccc solid;
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
177 padding: 0.3em 1em;
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
178 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
179 font-size: .90em;
289
a358ffb8aea5 style: add note style
David Soria Parra <dsp@php.net>
parents: 284
diff changeset
180 }
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
181
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
182 /*
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
183 * 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
184 */
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 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
186 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
187 font-size: .90em;
424
e7c2f48726ad styles: visible overflow-x for pre & .output
Anton Shestakov <engored@ya.ru>
parents: 408
diff changeset
188 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
189 }
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
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
191 .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
192 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
193 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
194 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
195 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
196 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
197 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
198 }
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
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 .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
201 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
202 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
203 }
462
5ca151c7a4e6 frontpage: remove autowidth class, wrap words in quick start example
Anton Shestakov <av6@dwimlabs.net>
parents: 459
diff changeset
204
5ca151c7a4e6 frontpage: remove autowidth class, wrap words in quick start example
Anton Shestakov <av6@dwimlabs.net>
parents: 459
diff changeset
205 .wrap {
5ca151c7a4e6 frontpage: remove autowidth class, wrap words in quick start example
Anton Shestakov <av6@dwimlabs.net>
parents: 459
diff changeset
206 white-space: pre-wrap;
5ca151c7a4e6 frontpage: remove autowidth class, wrap words in quick start example
Anton Shestakov <av6@dwimlabs.net>
parents: 459
diff changeset
207 }