1 /* mercurialweb-styles.css - stylesheets resembling the MercurialWikiTheme styles 2 3 Copyright (c) 2010 Paul Boddie <paul@boddie.org.uk> 4 Copyright (c) 2001, 2002, 2003 by Juergen Hermann 5 */ 6 7 /* content styles */ 8 9 body { 10 padding: 0; 11 margin: 0; 12 border: 0; 13 14 /* Styling similar to the main site. */ 15 16 font-family: Helvetica, Verdana, Arial, sans-serif; 17 color: #111; 18 margin: 0 5em; 19 } 20 21 a, img { 22 border: 0; 23 } 24 25 /* Styling of headings from the main site. */ 26 27 h1 { font-size: 2em; } 28 h2 { font-size: 1.6em; } 29 h3 { font-size: 1.3em; } 30 31 a:link, a:visited { color: #00b5f1; text-decoration: none; } 32 a:link:hover, a:link:active, a:link:focus, 33 a:visited:hover, a:visited:active, a:visited:focus { text-decoration: underline; } 34 35 input, select { 36 37 /* Styling similar to the main site. */ 38 39 font-family: Helvetica, Arial, sans-serif; 40 font-size: 0.8571em; 41 } 42 43 /* Navigational and editing controls. */ 44 45 .controls { 46 float: right; 47 text-align: right; 48 } 49 50 #navibar { 51 display: inline-block; 52 margin: 17px 0 2px 0; 53 padding: 0; 54 vertical-align: bottom; 55 } 56 57 #navibar li { 58 display: inline; 59 margin: 0; 60 padding: 0; 61 } 62 63 #navibar a, #navibar li.current span { 64 65 /* Need a block to redefine the height. */ 66 67 display: inline-block; 68 height: 42px; 69 line-height: 42px; 70 71 color: #fff; 72 margin: 0; 73 padding: 0 16px; 74 background: #999; 75 text-decoration: none; 76 } 77 78 #navibar a:hover, #navibar a:focus, #navibar li.current a, #navibar li.current span { 79 background: #00b5f1; 80 text-decoration: none; 81 } 82 83 /* Other elements. */ 84 85 #logo { 86 float: left; 87 margin: 0; 88 padding: 0; 89 90 /* For text only logo */ 91 92 font-size: larger; 93 font-weight: bold; 94 } 95 96 #logo img { 97 vertical-align: bottom; 98 } 99 100 #logo a { 101 color: black; 102 text-decoration: none; 103 } 104 105 #searchform { 106 display: inline-block; 107 108 /* Margin and padding correspond to the navibar settings. */ 109 110 margin: 17px 0 2px 0; 111 padding: 0 16px; 112 background: #999; 113 114 /* Height settings correspond to navibar list entries. */ 115 116 height: 42px; 117 line-height: 42px; 118 } 119 120 #searchform input { 121 vertical-align: middle; 122 } 123 124 #searchform label, .actionsmenu label { 125 font-size: smaller; 126 color: #fff; 127 } 128 129 #pageline, .pageline { 130 131 /* Prevent mixing of header and content elements. */ 132 133 clear: both; 134 margin: 0; 135 padding: 0; 136 border-bottom: 1px solid #ccc; 137 } 138 139 #message { 140 clear: both; 141 margin: 0; 142 padding: 5px 10px; 143 144 /* Styling similar to the advanced search. */ 145 146 border-bottom: 1px solid #ADB9CC; 147 background-color: #E7E7E7; 148 } 149 150 #message p { 151 margin: 5px 0; 152 padding: 0; 153 } 154 155 #message div.buttons { 156 font-weight: normal; 157 } 158 159 .dialog form { 160 margin: 0 15px; 161 } 162 163 .dialog td { 164 border: none; 165 padding: 5px; 166 } 167 168 .dialog td.label { 169 text-align: right; 170 font-weight: bold; 171 width: 25%; 172 } 173 174 *[dir="rtl"] .dialog td.label { 175 text-align: left; 176 } 177 178 .dialog td.content input { 179 width: 100%; 180 } 181 182 #page { 183 184 /* Prevent mixing of header and content elements. */ 185 186 clear: both; 187 background-color: white; 188 margin: 0; 189 padding: 0.25em; 190 } 191 192 #credits { 193 float: right; 194 195 /* Styling similar to the main site. */ 196 197 font-family: Verdana, Helvetica, Arial, sans-serif; 198 font-size: .6428em; 199 padding: 10px 25px; 200 } 201 202 #credits li { 203 display: inline; 204 padding: 0 2px; 205 margin: 0 4px; 206 } 207 208 #credits img { 209 vertical-align: middle; 210 } 211 212 #credits a { 213 text-decoration: none; 214 } 215 216 .diff { 217 width:99%; 218 } 219 220 .diff-header { 221 font-weight: bold; 222 } 223 224 .diff-title { 225 background-color: #C0C0C0; 226 } 227 228 .diff-added { 229 background-color: #E0FFE0; 230 vertical-align: sub; 231 } 232 233 .diff-removed { 234 background-color: #FFFFE0; 235 vertical-align: sub; 236 } 237 238 .diff-added span { 239 background-color: #80FF80; 240 } 241 242 .diff-removed span { 243 background-color: #FFFF80; 244 }