comparison src/en/styles/styles.css @ 19:93dadfa3c4b6

Initial commit of the new hg website. Thanks to Jesper Noehr (bitbucket.org) for sponsoring the layout.
author David Soria Parra <dsp@php.net>
date Fri, 13 Feb 2009 15:55:54 +0100
parents
children fcc7030d01db
comparison
equal deleted inserted replaced
18:8dce7248dd3d 19:93dadfa3c4b6
1 /*
2 * Reset
3 */
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; }
5 fieldset, img { border: none; vertical-align: middle; }
6 hr { display: none; }
7
8 /*
9 * Margins
10 */
11 p, ul, ol, dl, table { margin: 0 0 1em 0; }
12
13 /*
14 * Hyperlinks
15 */
16 a { color: #00b5f1; text-decoration: underline; overflow: hidden; }
17 a:hover, a:focus { text-decoration: none; }
18
19 /*
20 * General Document Settings
21 */
22 body { font: .875em/1.4285em "Times New Roman", Times, Georgia, serif; color: #666; width: 900px; margin: 0 auto; position: relative; }
23
24 /*
25 * Headings
26 */
27 h1, h2, h3 { font-size: 1em; font-family: Optimer, Helvetica, Arial, sans-serif; margin: 0 0 .5em 0; font-weight: normal; }
28 h4, h5, h6 { font-size: 1em; margin: 0 0 .5em 0; }
29 h1 { font-size: 2em; }
30 h2 { font-size: 1.6em; }
31 h3 { font-size: 1.3em; }
32
33 /*
34 * Lists
35 */
36 ul { margin-left: 2.2em; line-height: 1.5em; }
37 li ul, li ol { margin-top: 0; margin-bottom: 0; }
38 li { margin: .3em 0; }
39 ol { margin-left: 2.2em; }
40 ol li { list-style-type: decimal; }
41 ol li ol li { list-style-type: lower-alpha; }
42 ol li ol li ol li { list-style-type: upper-roman; }
43
44 dt { font-weight: bold; margin-top: 10px; }
45 dt em { font-style: normal; display: block; font-weight: normal; }
46 dd { background: url(../images/bullet.gif) no-repeat 10px .5em; padding-left: 20px; }
47
48 /*
49 * Forms
50 */
51 input, textarea, select { font-family: Helvetica, Arial, sans-serif; font-size: .8571em; vertical-align: top; }
52 textarea { overflow: auto; width: 220px; height: 90px; }
53 form ol { margin: 0; }
54 form ol li { list-style: none; margin: 0 0 10px 0; display: inline-block; overflow: hidden; }
55 form ol li { display: block; }
56 label { float: left; width: 100px; padding-right: 10px; text-align: right; }
57 .submit { margin-left: 110px; }
58
59 /*
60 * Table
61 */
62 table { border-collapse: separate; border-spacing: 0; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .7875em; }
63 caption, th, td { text-align: left; font-weight: normal; }
64 td, th { padding: 6px 8px; }
65 thead td, thead th { background: #00B5F1; color: #fff; font-weight: bold; }
66 tbody td { border-bottom: 1px solid #ccc; }
67
68 /*
69 * Quotes
70 */
71 blockquote:before, blockquote:after, q:before, q:after { content: ""; }
72 blockquote, q { quotes: "" ""; }
73
74 /*
75 * Layout
76 */
77 .row { display: inline-block; overflow: hidden; border-bottom: 1px solid #ccc; }
78 .row { display: block; }
79 .col { float: right; display: inline; width: 270px; margin: 25px; }
80 .big { float: left; width: 470px; }
81 .big h2, .big h3 { margin-top: 20px; }
82
83 /*
84 * Logo
85 */
86 #logo { border-bottom: 1px solid #ccc; margin: 0 0 15px 0; }
87 #logo a { display: block; width: 184px; height: 61px; background: url(../images/mercurial-logo.png) no-repeat 0 0; text-indent: -9999px; }
88
89 /*
90 * Nav
91 */
92 #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; }
93 #nav li { float: left; margin: 0; padding: 0; list-style: none; }
94 #nav a { float: left; color: #fff; text-decoration: none; padding: 0 16px; *padding: 0 14px; }
95 #nav a:hover, #nav a:focus, #nav .active a { background: #00b5f1; }
96
97 /*
98 * Search
99 */
100 #search { position: absolute; right: 15px; top: 26px; color: #fff; width: 183px; height: 23px; background: url(../images/search.png) no-repeat 0 0; }
101 #search legend { display: none; }
102 #search label { position: absolute; left: -9999px; }
103 #search .text { width: 150px; background: none; border: none; margin: 0 0 0 5px; position: relative; top: 5px; color: #666; }
104 #search .submit { width: 23px; height: 23px; background: none; border: none; cursor: pointer; text-indent: -9999px; color: #10B8F0; *color: #fff; font-size: 1px; }
105
106 /*
107 * Download button
108 */
109 .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; }
110 .download strong { display: block; font-size: 1.2857em; margin-bottom: 4px; }
111 .download em { font-style: normal; font-weight: bold; }
112 .download span { display: block; font-size: .7142em; }
113
114 /*
115 * Homepage
116 */
117 #home #logo { margin-bottom: 0 !important; }
118 #home dl { margin: 0 30px; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .7142em; line-height: 1.4em; }
119 #home h1 { font-size: 48px; line-height: 1em; margin: 0 0 20px 0; font-weight: normal; }
120 #home h2, #home h3 { font-size: 22px; line-height: 1.2em; margin-bottom: 20px; font-weight: normal; }
121 #home h4 { font-weight: normal; margin: 0; }
122 #home h4 a { text-decoration: none; }
123 #home h4 a:hover, #home h4 a:focus { text-decoration: underline; }
124 #home ol { margin: 0; }
125 #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; }
126 #home ol .i-2 { background-image: url(../images/bullet-big-2.png); }
127 #home ol .i-3 { background-image: url(../images/bullet-big-3.png); }
128
129 /*
130 * Footer
131 */
132 #footer { font-family: Verdana, Helvetica, Arial, sans-serif; font-size: .6428em; display: inline-block; overflow: hidden; text-align: right; padding: 10px 25px; }
133 #footer { display: block; }
134 #footer div { float: left; }
135 #footer a { text-decoration: none; }