annotate templates/styles/styles.css @ 120:62ec08c1e08d

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