1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css Tue Jun 01 20:15:48 2010 +0200
1.3 @@ -0,0 +1,244 @@
1.4 +/* mercurialweb-styles.css - stylesheets resembling the MercurialWikiTheme styles
1.5 +
1.6 +Copyright (c) 2010 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann
1.8 +*/
1.9 +
1.10 +/* content styles */
1.11 +
1.12 +body {
1.13 + padding: 0;
1.14 + margin: 0;
1.15 + border: 0;
1.16 +
1.17 + /* Styling similar to the main site. */
1.18 +
1.19 + font-family: Helvetica, Verdana, Arial, sans-serif;
1.20 + color: #111;
1.21 + margin: 0 5em;
1.22 +}
1.23 +
1.24 +a, img {
1.25 + border: 0;
1.26 +}
1.27 +
1.28 +/* Styling of headings from the main site. */
1.29 +
1.30 +h1 { font-size: 2em; }
1.31 +h2 { font-size: 1.6em; }
1.32 +h3 { font-size: 1.3em; }
1.33 +
1.34 +a:link, a:visited { color: #00b5f1; text-decoration: none; }
1.35 +a:link:hover, a:link:active, a:link:focus,
1.36 +a:visited:hover, a:visited:active, a:visited:focus { text-decoration: underline; }
1.37 +
1.38 +input, select {
1.39 +
1.40 + /* Styling similar to the main site. */
1.41 +
1.42 + font-family: Helvetica, Arial, sans-serif;
1.43 + font-size: 0.8571em;
1.44 +}
1.45 +
1.46 +/* Navigational and editing controls. */
1.47 +
1.48 +.controls {
1.49 + float: right;
1.50 + text-align: right;
1.51 +}
1.52 +
1.53 +#navibar {
1.54 + display: inline-block;
1.55 + margin: 17px 0 2px 0;
1.56 + padding: 0;
1.57 + vertical-align: bottom;
1.58 +}
1.59 +
1.60 +#navibar li {
1.61 + display: inline;
1.62 + margin: 0;
1.63 + padding: 0;
1.64 +}
1.65 +
1.66 +#navibar a, #navibar li.current span {
1.67 +
1.68 + /* Need a block to redefine the height. */
1.69 +
1.70 + display: inline-block;
1.71 + height: 42px;
1.72 + line-height: 42px;
1.73 +
1.74 + color: #fff;
1.75 + margin: 0;
1.76 + padding: 0 16px;
1.77 + background: #999;
1.78 + text-decoration: none;
1.79 +}
1.80 +
1.81 +#navibar a:hover, #navibar a:focus, #navibar li.current a, #navibar li.current span {
1.82 + background: #00b5f1;
1.83 + text-decoration: none;
1.84 +}
1.85 +
1.86 +/* Other elements. */
1.87 +
1.88 +#logo {
1.89 + float: left;
1.90 + margin: 0;
1.91 + padding: 0;
1.92 +
1.93 + /* For text only logo */
1.94 +
1.95 + font-size: larger;
1.96 + font-weight: bold;
1.97 +}
1.98 +
1.99 +#logo img {
1.100 + vertical-align: bottom;
1.101 +}
1.102 +
1.103 +#logo a {
1.104 + color: black;
1.105 + text-decoration: none;
1.106 +}
1.107 +
1.108 +#searchform {
1.109 + display: inline-block;
1.110 +
1.111 + /* Margin and padding correspond to the navibar settings. */
1.112 +
1.113 + margin: 17px 0 2px 0;
1.114 + padding: 0 16px;
1.115 + background: #999;
1.116 +
1.117 + /* Height settings correspond to navibar list entries. */
1.118 +
1.119 + height: 42px;
1.120 + line-height: 42px;
1.121 +}
1.122 +
1.123 +#searchform input {
1.124 + vertical-align: middle;
1.125 +}
1.126 +
1.127 +#searchform label, .actionsmenu label {
1.128 + font-size: smaller;
1.129 + color: #fff;
1.130 +}
1.131 +
1.132 +#pageline, .pageline {
1.133 +
1.134 + /* Prevent mixing of header and content elements. */
1.135 +
1.136 + clear: both;
1.137 + margin: 0;
1.138 + padding: 0;
1.139 + border-bottom: 1px solid #ccc;
1.140 +}
1.141 +
1.142 +#message {
1.143 + clear: both;
1.144 + margin: 0;
1.145 + padding: 5px 10px;
1.146 +
1.147 + /* Styling similar to the advanced search. */
1.148 +
1.149 + border-bottom: 1px solid #ADB9CC;
1.150 + background-color: #E7E7E7;
1.151 +}
1.152 +
1.153 +#message p {
1.154 + margin: 5px 0;
1.155 + padding: 0;
1.156 +}
1.157 +
1.158 +#message div.buttons {
1.159 + font-weight: normal;
1.160 +}
1.161 +
1.162 +.dialog form {
1.163 + margin: 0 15px;
1.164 +}
1.165 +
1.166 +.dialog td {
1.167 + border: none;
1.168 + padding: 5px;
1.169 +}
1.170 +
1.171 +.dialog td.label {
1.172 + text-align: right;
1.173 + font-weight: bold;
1.174 + width: 25%;
1.175 +}
1.176 +
1.177 +*[dir="rtl"] .dialog td.label {
1.178 + text-align: left;
1.179 +}
1.180 +
1.181 +.dialog td.content input {
1.182 + width: 100%;
1.183 +}
1.184 +
1.185 +#page {
1.186 +
1.187 + /* Prevent mixing of header and content elements. */
1.188 +
1.189 + clear: both;
1.190 + background-color: white;
1.191 + margin: 0;
1.192 + padding: 0.25em;
1.193 +}
1.194 +
1.195 +#credits {
1.196 + float: right;
1.197 +
1.198 + /* Styling similar to the main site. */
1.199 +
1.200 + font-family: Verdana, Helvetica, Arial, sans-serif;
1.201 + font-size: .6428em;
1.202 + padding: 10px 25px;
1.203 +}
1.204 +
1.205 +#credits li {
1.206 + display: inline;
1.207 + padding: 0 2px;
1.208 + margin: 0 4px;
1.209 +}
1.210 +
1.211 +#credits img {
1.212 + vertical-align: middle;
1.213 +}
1.214 +
1.215 +#credits a {
1.216 + text-decoration: none;
1.217 +}
1.218 +
1.219 +.diff {
1.220 + width:99%;
1.221 +}
1.222 +
1.223 +.diff-header {
1.224 + font-weight: bold;
1.225 +}
1.226 +
1.227 +.diff-title {
1.228 + background-color: #C0C0C0;
1.229 +}
1.230 +
1.231 +.diff-added {
1.232 + background-color: #E0FFE0;
1.233 + vertical-align: sub;
1.234 +}
1.235 +
1.236 +.diff-removed {
1.237 + background-color: #FFFFE0;
1.238 + vertical-align: sub;
1.239 +}
1.240 +
1.241 +.diff-added span {
1.242 + background-color: #80FF80;
1.243 +}
1.244 +
1.245 +.diff-removed span {
1.246 + background-color: #FFFF80;
1.247 +}