1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/COPYING.txt Sun Jan 31 02:29:49 2010 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +Licence Agreement 1.5 +----------------- 1.6 + 1.7 +Theme code: 1.8 + 1.9 +Copyright (C) 2009, 2010 Paul Boddie <paul@boddie.org.uk> 1.10 +Copyright (C) 2003-2008 MoinMoin:ThomasWaldmann, 2003-2005 Nir Soffer and others 1.11 + 1.12 +Stylesheets: 1.13 + 1.14 +Copyright (C) 2009, 2010 Paul Boddie <paul@boddie.org.uk> 1.15 +Copyright (C) 2001, 2002, 2003 by Juergen Hermann and others 1.16 + 1.17 +Images: 1.18 + 1.19 +Images from the modernized theme have been placed in the themes/fsfe/img 1.20 +directory. Their copyright is attributed to the MoinMoin development team. 1.21 + 1.22 +Licensing notice: 1.23 + 1.24 +This software is free software; you can redistribute it and/or 1.25 +modify it under the terms of the GNU General Public License as 1.26 +published by the Free Software Foundation; either version 2 of 1.27 +the License, or (at your option) any later version. 1.28 + 1.29 +This software is distributed in the hope that it will be useful, 1.30 +but WITHOUT ANY WARRANTY; without even the implied warranty of 1.31 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.32 +GNU General Public License for more details. 1.33 + 1.34 +You should have received a copy of the GNU General Public 1.35 +License along with this library; see the file LICENCE.txt 1.36 +If not, write to the Free Software Foundation, Inc., 1.37 +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/LICENCE.txt Sun Jan 31 02:29:49 2010 +0100 2.3 @@ -0,0 +1,339 @@ 2.4 + GNU GENERAL PUBLIC LICENSE 2.5 + Version 2, June 1991 2.6 + 2.7 + Copyright (C) 1989, 1991 Free Software Foundation, Inc., 2.8 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 2.9 + Everyone is permitted to copy and distribute verbatim copies 2.10 + of this license document, but changing it is not allowed. 2.11 + 2.12 + Preamble 2.13 + 2.14 + The licenses for most software are designed to take away your 2.15 +freedom to share and change it. By contrast, the GNU General Public 2.16 +License is intended to guarantee your freedom to share and change free 2.17 +software--to make sure the software is free for all its users. This 2.18 +General Public License applies to most of the Free Software 2.19 +Foundation's software and to any other program whose authors commit to 2.20 +using it. (Some other Free Software Foundation software is covered by 2.21 +the GNU Lesser General Public License instead.) You can apply it to 2.22 +your programs, too. 2.23 + 2.24 + When we speak of free software, we are referring to freedom, not 2.25 +price. Our General Public Licenses are designed to make sure that you 2.26 +have the freedom to distribute copies of free software (and charge for 2.27 +this service if you wish), that you receive source code or can get it 2.28 +if you want it, that you can change the software or use pieces of it 2.29 +in new free programs; and that you know you can do these things. 2.30 + 2.31 + To protect your rights, we need to make restrictions that forbid 2.32 +anyone to deny you these rights or to ask you to surrender the rights. 2.33 +These restrictions translate to certain responsibilities for you if you 2.34 +distribute copies of the software, or if you modify it. 2.35 + 2.36 + For example, if you distribute copies of such a program, whether 2.37 +gratis or for a fee, you must give the recipients all the rights that 2.38 +you have. You must make sure that they, too, receive or can get the 2.39 +source code. And you must show them these terms so they know their 2.40 +rights. 2.41 + 2.42 + We protect your rights with two steps: (1) copyright the software, and 2.43 +(2) offer you this license which gives you legal permission to copy, 2.44 +distribute and/or modify the software. 2.45 + 2.46 + Also, for each author's protection and ours, we want to make certain 2.47 +that everyone understands that there is no warranty for this free 2.48 +software. If the software is modified by someone else and passed on, we 2.49 +want its recipients to know that what they have is not the original, so 2.50 +that any problems introduced by others will not reflect on the original 2.51 +authors' reputations. 2.52 + 2.53 + Finally, any free program is threatened constantly by software 2.54 +patents. We wish to avoid the danger that redistributors of a free 2.55 +program will individually obtain patent licenses, in effect making the 2.56 +program proprietary. To prevent this, we have made it clear that any 2.57 +patent must be licensed for everyone's free use or not licensed at all. 2.58 + 2.59 + The precise terms and conditions for copying, distribution and 2.60 +modification follow. 2.61 + 2.62 + GNU GENERAL PUBLIC LICENSE 2.63 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 2.64 + 2.65 + 0. This License applies to any program or other work which contains 2.66 +a notice placed by the copyright holder saying it may be distributed 2.67 +under the terms of this General Public License. The "Program", below, 2.68 +refers to any such program or work, and a "work based on the Program" 2.69 +means either the Program or any derivative work under copyright law: 2.70 +that is to say, a work containing the Program or a portion of it, 2.71 +either verbatim or with modifications and/or translated into another 2.72 +language. (Hereinafter, translation is included without limitation in 2.73 +the term "modification".) Each licensee is addressed as "you". 2.74 + 2.75 +Activities other than copying, distribution and modification are not 2.76 +covered by this License; they are outside its scope. The act of 2.77 +running the Program is not restricted, and the output from the Program 2.78 +is covered only if its contents constitute a work based on the 2.79 +Program (independent of having been made by running the Program). 2.80 +Whether that is true depends on what the Program does. 2.81 + 2.82 + 1. You may copy and distribute verbatim copies of the Program's 2.83 +source code as you receive it, in any medium, provided that you 2.84 +conspicuously and appropriately publish on each copy an appropriate 2.85 +copyright notice and disclaimer of warranty; keep intact all the 2.86 +notices that refer to this License and to the absence of any warranty; 2.87 +and give any other recipients of the Program a copy of this License 2.88 +along with the Program. 2.89 + 2.90 +You may charge a fee for the physical act of transferring a copy, and 2.91 +you may at your option offer warranty protection in exchange for a fee. 2.92 + 2.93 + 2. You may modify your copy or copies of the Program or any portion 2.94 +of it, thus forming a work based on the Program, and copy and 2.95 +distribute such modifications or work under the terms of Section 1 2.96 +above, provided that you also meet all of these conditions: 2.97 + 2.98 + a) You must cause the modified files to carry prominent notices 2.99 + stating that you changed the files and the date of any change. 2.100 + 2.101 + b) You must cause any work that you distribute or publish, that in 2.102 + whole or in part contains or is derived from the Program or any 2.103 + part thereof, to be licensed as a whole at no charge to all third 2.104 + parties under the terms of this License. 2.105 + 2.106 + c) If the modified program normally reads commands interactively 2.107 + when run, you must cause it, when started running for such 2.108 + interactive use in the most ordinary way, to print or display an 2.109 + announcement including an appropriate copyright notice and a 2.110 + notice that there is no warranty (or else, saying that you provide 2.111 + a warranty) and that users may redistribute the program under 2.112 + these conditions, and telling the user how to view a copy of this 2.113 + License. (Exception: if the Program itself is interactive but 2.114 + does not normally print such an announcement, your work based on 2.115 + the Program is not required to print an announcement.) 2.116 + 2.117 +These requirements apply to the modified work as a whole. If 2.118 +identifiable sections of that work are not derived from the Program, 2.119 +and can be reasonably considered independent and separate works in 2.120 +themselves, then this License, and its terms, do not apply to those 2.121 +sections when you distribute them as separate works. But when you 2.122 +distribute the same sections as part of a whole which is a work based 2.123 +on the Program, the distribution of the whole must be on the terms of 2.124 +this License, whose permissions for other licensees extend to the 2.125 +entire whole, and thus to each and every part regardless of who wrote it. 2.126 + 2.127 +Thus, it is not the intent of this section to claim rights or contest 2.128 +your rights to work written entirely by you; rather, the intent is to 2.129 +exercise the right to control the distribution of derivative or 2.130 +collective works based on the Program. 2.131 + 2.132 +In addition, mere aggregation of another work not based on the Program 2.133 +with the Program (or with a work based on the Program) on a volume of 2.134 +a storage or distribution medium does not bring the other work under 2.135 +the scope of this License. 2.136 + 2.137 + 3. You may copy and distribute the Program (or a work based on it, 2.138 +under Section 2) in object code or executable form under the terms of 2.139 +Sections 1 and 2 above provided that you also do one of the following: 2.140 + 2.141 + a) Accompany it with the complete corresponding machine-readable 2.142 + source code, which must be distributed under the terms of Sections 2.143 + 1 and 2 above on a medium customarily used for software interchange; or, 2.144 + 2.145 + b) Accompany it with a written offer, valid for at least three 2.146 + years, to give any third party, for a charge no more than your 2.147 + cost of physically performing source distribution, a complete 2.148 + machine-readable copy of the corresponding source code, to be 2.149 + distributed under the terms of Sections 1 and 2 above on a medium 2.150 + customarily used for software interchange; or, 2.151 + 2.152 + c) Accompany it with the information you received as to the offer 2.153 + to distribute corresponding source code. (This alternative is 2.154 + allowed only for noncommercial distribution and only if you 2.155 + received the program in object code or executable form with such 2.156 + an offer, in accord with Subsection b above.) 2.157 + 2.158 +The source code for a work means the preferred form of the work for 2.159 +making modifications to it. For an executable work, complete source 2.160 +code means all the source code for all modules it contains, plus any 2.161 +associated interface definition files, plus the scripts used to 2.162 +control compilation and installation of the executable. However, as a 2.163 +special exception, the source code distributed need not include 2.164 +anything that is normally distributed (in either source or binary 2.165 +form) with the major components (compiler, kernel, and so on) of the 2.166 +operating system on which the executable runs, unless that component 2.167 +itself accompanies the executable. 2.168 + 2.169 +If distribution of executable or object code is made by offering 2.170 +access to copy from a designated place, then offering equivalent 2.171 +access to copy the source code from the same place counts as 2.172 +distribution of the source code, even though third parties are not 2.173 +compelled to copy the source along with the object code. 2.174 + 2.175 + 4. You may not copy, modify, sublicense, or distribute the Program 2.176 +except as expressly provided under this License. Any attempt 2.177 +otherwise to copy, modify, sublicense or distribute the Program is 2.178 +void, and will automatically terminate your rights under this License. 2.179 +However, parties who have received copies, or rights, from you under 2.180 +this License will not have their licenses terminated so long as such 2.181 +parties remain in full compliance. 2.182 + 2.183 + 5. You are not required to accept this License, since you have not 2.184 +signed it. However, nothing else grants you permission to modify or 2.185 +distribute the Program or its derivative works. These actions are 2.186 +prohibited by law if you do not accept this License. Therefore, by 2.187 +modifying or distributing the Program (or any work based on the 2.188 +Program), you indicate your acceptance of this License to do so, and 2.189 +all its terms and conditions for copying, distributing or modifying 2.190 +the Program or works based on it. 2.191 + 2.192 + 6. Each time you redistribute the Program (or any work based on the 2.193 +Program), the recipient automatically receives a license from the 2.194 +original licensor to copy, distribute or modify the Program subject to 2.195 +these terms and conditions. You may not impose any further 2.196 +restrictions on the recipients' exercise of the rights granted herein. 2.197 +You are not responsible for enforcing compliance by third parties to 2.198 +this License. 2.199 + 2.200 + 7. If, as a consequence of a court judgment or allegation of patent 2.201 +infringement or for any other reason (not limited to patent issues), 2.202 +conditions are imposed on you (whether by court order, agreement or 2.203 +otherwise) that contradict the conditions of this License, they do not 2.204 +excuse you from the conditions of this License. If you cannot 2.205 +distribute so as to satisfy simultaneously your obligations under this 2.206 +License and any other pertinent obligations, then as a consequence you 2.207 +may not distribute the Program at all. For example, if a patent 2.208 +license would not permit royalty-free redistribution of the Program by 2.209 +all those who receive copies directly or indirectly through you, then 2.210 +the only way you could satisfy both it and this License would be to 2.211 +refrain entirely from distribution of the Program. 2.212 + 2.213 +If any portion of this section is held invalid or unenforceable under 2.214 +any particular circumstance, the balance of the section is intended to 2.215 +apply and the section as a whole is intended to apply in other 2.216 +circumstances. 2.217 + 2.218 +It is not the purpose of this section to induce you to infringe any 2.219 +patents or other property right claims or to contest validity of any 2.220 +such claims; this section has the sole purpose of protecting the 2.221 +integrity of the free software distribution system, which is 2.222 +implemented by public license practices. Many people have made 2.223 +generous contributions to the wide range of software distributed 2.224 +through that system in reliance on consistent application of that 2.225 +system; it is up to the author/donor to decide if he or she is willing 2.226 +to distribute software through any other system and a licensee cannot 2.227 +impose that choice. 2.228 + 2.229 +This section is intended to make thoroughly clear what is believed to 2.230 +be a consequence of the rest of this License. 2.231 + 2.232 + 8. If the distribution and/or use of the Program is restricted in 2.233 +certain countries either by patents or by copyrighted interfaces, the 2.234 +original copyright holder who places the Program under this License 2.235 +may add an explicit geographical distribution limitation excluding 2.236 +those countries, so that distribution is permitted only in or among 2.237 +countries not thus excluded. In such case, this License incorporates 2.238 +the limitation as if written in the body of this License. 2.239 + 2.240 + 9. The Free Software Foundation may publish revised and/or new versions 2.241 +of the General Public License from time to time. Such new versions will 2.242 +be similar in spirit to the present version, but may differ in detail to 2.243 +address new problems or concerns. 2.244 + 2.245 +Each version is given a distinguishing version number. If the Program 2.246 +specifies a version number of this License which applies to it and "any 2.247 +later version", you have the option of following the terms and conditions 2.248 +either of that version or of any later version published by the Free 2.249 +Software Foundation. If the Program does not specify a version number of 2.250 +this License, you may choose any version ever published by the Free Software 2.251 +Foundation. 2.252 + 2.253 + 10. If you wish to incorporate parts of the Program into other free 2.254 +programs whose distribution conditions are different, write to the author 2.255 +to ask for permission. For software which is copyrighted by the Free 2.256 +Software Foundation, write to the Free Software Foundation; we sometimes 2.257 +make exceptions for this. Our decision will be guided by the two goals 2.258 +of preserving the free status of all derivatives of our free software and 2.259 +of promoting the sharing and reuse of software generally. 2.260 + 2.261 + NO WARRANTY 2.262 + 2.263 + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 2.264 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 2.265 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 2.266 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 2.267 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2.268 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 2.269 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 2.270 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 2.271 +REPAIR OR CORRECTION. 2.272 + 2.273 + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 2.274 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 2.275 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 2.276 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 2.277 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 2.278 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 2.279 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 2.280 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 2.281 +POSSIBILITY OF SUCH DAMAGES. 2.282 + 2.283 + END OF TERMS AND CONDITIONS 2.284 + 2.285 + How to Apply These Terms to Your New Programs 2.286 + 2.287 + If you develop a new program, and you want it to be of the greatest 2.288 +possible use to the public, the best way to achieve this is to make it 2.289 +free software which everyone can redistribute and change under these terms. 2.290 + 2.291 + To do so, attach the following notices to the program. It is safest 2.292 +to attach them to the start of each source file to most effectively 2.293 +convey the exclusion of warranty; and each file should have at least 2.294 +the "copyright" line and a pointer to where the full notice is found. 2.295 + 2.296 + <one line to give the program's name and a brief idea of what it does.> 2.297 + Copyright (C) <year> <name of author> 2.298 + 2.299 + This program is free software; you can redistribute it and/or modify 2.300 + it under the terms of the GNU General Public License as published by 2.301 + the Free Software Foundation; either version 2 of the License, or 2.302 + (at your option) any later version. 2.303 + 2.304 + This program is distributed in the hope that it will be useful, 2.305 + but WITHOUT ANY WARRANTY; without even the implied warranty of 2.306 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2.307 + GNU General Public License for more details. 2.308 + 2.309 + You should have received a copy of the GNU General Public License along 2.310 + with this program; if not, write to the Free Software Foundation, Inc., 2.311 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 2.312 + 2.313 +Also add information on how to contact you by electronic and paper mail. 2.314 + 2.315 +If the program is interactive, make it output a short notice like this 2.316 +when it starts in an interactive mode: 2.317 + 2.318 + Gnomovision version 69, Copyright (C) year name of author 2.319 + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 2.320 + This is free software, and you are welcome to redistribute it 2.321 + under certain conditions; type `show c' for details. 2.322 + 2.323 +The hypothetical commands `show w' and `show c' should show the appropriate 2.324 +parts of the General Public License. Of course, the commands you use may 2.325 +be called something other than `show w' and `show c'; they could even be 2.326 +mouse-clicks or menu items--whatever suits your program. 2.327 + 2.328 +You should also get your employer (if you work as a programmer) or your 2.329 +school, if any, to sign a "copyright disclaimer" for the program, if 2.330 +necessary. Here is a sample; alter the names: 2.331 + 2.332 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program 2.333 + `Gnomovision' (which makes passes at compilers) written by James Hacker. 2.334 + 2.335 + <signature of Ty Coon>, 1 April 1989 2.336 + Ty Coon, President of Vice 2.337 + 2.338 +This General Public License does not permit incorporating your program into 2.339 +proprietary programs. If your program is a subroutine library, you may 2.340 +consider it more useful to permit linking proprietary applications with the 2.341 +library. If this is what you want to do, use the GNU Lesser General 2.342 +Public License instead of this License.
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/insttheme Sun Jan 31 02:29:49 2010 +0100 3.3 @@ -0,0 +1,18 @@ 3.4 +#!/bin/bash 3.5 + 3.6 +if [[ ! $1 ]] ; then 3.7 + echo "Please specify a Wiki directory such as ../mywiki or /tmp/mywiki." 3.8 + exit 3.9 +fi 3.10 + 3.11 +if [[ ! $2 ]] ; then 3.12 + echo "Please also specify the directory containing the theme resources," 3.13 + echo "such as ../moin/share/moin/." 3.14 + exit 3.15 +fi 3.16 + 3.17 +mkdir -p $2/htdocs/minimalmoin 3.18 +cp -ir themes/minimalmoin/css $2/htdocs/minimalmoin 3.19 +cp -r themes/minimalmoin/img $2/htdocs/minimalmoin 3.20 +cp themes/minimalmoin/minimalmoin.py $1/wiki/data/plugin/theme/ 3.21 +chown www-data: $1/wiki/data/plugin/theme/minimalmoin.py
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/themes/minimalmoin/css/common.css Sun Jan 31 02:29:49 2010 +0100 4.3 @@ -0,0 +1,545 @@ 4.4 +/* common.css - MoinMoin Default Styles 4.5 + 4.6 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann 4.7 +*/ 4.8 + 4.9 +/* content styles */ 4.10 + 4.11 +html { 4.12 + background-color: white; 4.13 + color: black; 4.14 + font-family: sans-serif; 4.15 + font-size: 1em; 4.16 +} 4.17 + 4.18 +body { 4.19 + margin: 0; 4.20 +} 4.21 + 4.22 +/* Links */ 4.23 + 4.24 +a {color: #0044B3;} 4.25 +/* a:visited {color: #597BB3;} */ 4.26 +a:visited {color: #FF7BB3;} 4.27 + 4.28 +a.nonexistent:visited, a.nonexistent, 4.29 +a.badinterwiki:visited, a.badinterwiki {color: gray;} 4.30 + 4.31 +a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;} 4.32 +a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;} 4.33 +a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;} 4.34 +a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;} 4.35 +a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;} 4.36 +a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;} 4.37 +a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;} 4.38 +a.telnet:before, a.ssh:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;} 4.39 +a.irc:before, a.ircs:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;} 4.40 +a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;} 4.41 +a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;} 4.42 +a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;} 4.43 +a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;} 4.44 + 4.45 +li p { 4.46 + margin: .25em 0; 4.47 +} 4.48 + 4.49 +li.gap { 4.50 + margin-top: 0.5em; 4.51 +} 4.52 + 4.53 +dt { 4.54 + margin-top: 0.5em; 4.55 + font-weight: bold; 4.56 +} 4.57 + 4.58 +dd { 4.59 + margin-top: 0; 4.60 + margin-bottom: 0; 4.61 +} 4.62 + 4.63 +dd p { 4.64 + margin: 0.25em 0; 4.65 +} 4.66 + 4.67 +a, img, img.drawing { 4.68 + border: 0; 4.69 +} 4.70 + 4.71 +pre { 4.72 + border: 1pt solid #AEBDCC; 4.73 + background-color: #F3F5F7; 4.74 + padding: 5pt; 4.75 + font-family: courier, monospace; 4.76 + white-space: pre; 4.77 + /* begin css 3 or browser specific rules - do not remove! 4.78 + see: http://forums.techguy.org/archive/index.php/t-249849.html */ 4.79 + white-space: pre-wrap; 4.80 + word-wrap: break-word; 4.81 + white-space: -moz-pre-wrap; 4.82 + white-space: -pre-wrap; 4.83 + white-space: -o-pre-wrap; 4.84 + /* end css 3 or browser specific rules */ 4.85 +} 4.86 + 4.87 +pre.comment { 4.88 + background-color: #CCCCCC; 4.89 + color: red; 4.90 + padding: 0; 4.91 + margin: 0; 4.92 + border: 0; 4.93 +} 4.94 + 4.95 +pre.comment:before { 4.96 + content: url(../img/attention.png); 4.97 +} 4.98 + 4.99 + 4.100 +/* .comment css definition must be top of .red/.green/.blue or it won't work */ 4.101 +.comment { color: #555555; background-color: #DDDDFF; } 4.102 + 4.103 +.red { background-color: #FFCCCC; } 4.104 +.green { background-color: #CCFFCC; } 4.105 +.blue { background-color: #CCCCFF; } 4.106 +.yellow { background-color: #FFF29F; } 4.107 +.orange { background-color: #FFD59B; } 4.108 + 4.109 +.solid { border: 2px solid #000000; padding: 2px; } 4.110 +.dashed { border: 2px dashed #000000; padding: 2px; } 4.111 +.dotted { border: 2px dotted #000000; padding: 2px; } 4.112 + 4.113 +.left { text-align: left; } 4.114 +.center { text-align: center; } 4.115 +.right { text-align: right; } 4.116 +.justify { text-align: justify; } 4.117 + 4.118 +table 4.119 +{ 4.120 + margin: 0.5em 0 0 0.5em; 4.121 + border-collapse: collapse; 4.122 +} 4.123 + 4.124 +th, td 4.125 +{ 4.126 + padding: 0.25em 0.5em 0.25em 0.5em; 4.127 + border: 1pt solid #ADB9CC; 4.128 +} 4.129 + 4.130 +td p { 4.131 + margin: 0; 4.132 + padding: 0; 4.133 +} 4.134 +/* TableOfContents macro */ 4.135 +div.table-of-contents { 4.136 + border: 1px solid #bbbbbb; 4.137 + color: black; 4.138 + background-color: #eeeeee; 4.139 + font-size: 80%; 4.140 + text-align: left; 4.141 + margin: 0.5em 0 0.5em 1em; 4.142 + padding: 0.5em 0.75em 0.5em 0.5em; 4.143 + max-width: 50%; 4.144 + display: inline-table; 4.145 +} 4.146 +div.table-of-contents ol { 4.147 + margin: 0; 4.148 + padding: 0 0 0 2em; 4.149 +} 4.150 +div.table-of-contents ul { 4.151 + margin: 0; 4.152 + list-style:none; 4.153 +} 4.154 +div.table-of-contents li { 4.155 + margin:0; 4.156 + padding: 0; 4.157 +} 4.158 +p.table-of-contents-heading { 4.159 + font-weight:bold; 4.160 + padding:0; 4.161 + margin: 0 0 0.5em 0; 4.162 + letter-spacing: 0.075em; 4.163 +} 4.164 + 4.165 +/* Navigation macro */ 4.166 +table.navigation { 4.167 + background: #fff; 4.168 + margin: 0; 4.169 +} 4.170 + 4.171 +.footnotes div { 4.172 + width: 5em; 4.173 + border-top: 1pt solid gray; 4.174 +} 4.175 + 4.176 +.footnotes ol { 4.177 + padding: 0 2em; 4.178 + margin: 0 0 1em; 4.179 +} 4.180 + 4.181 +.footnotes li { 4.182 +} 4.183 + 4.184 +.info { 4.185 + float: right; 4.186 + font-size: 0.7em; 4.187 + color: gray; 4.188 +} 4.189 + 4.190 +#pageinfo { 4.191 + margin-top: 2em; 4.192 +} 4.193 + 4.194 +.seperator { 4.195 + color: gray; 4.196 +} 4.197 + 4.198 +#pagebottom {clear: both;} 4.199 + 4.200 +/* standard rule ---- */ 4.201 +hr { 4.202 + height: 1pt; 4.203 + background-color: #9C9C9C; 4.204 + border: 0; 4.205 +} 4.206 + 4.207 +/* custom rules ----- to ---------- */ 4.208 +.hr1 {height: 2pt;} 4.209 +.hr2 {height: 3pt;} 4.210 +.hr3 {height: 4pt;} 4.211 +.hr4 {height: 5pt;} 4.212 +.hr5 {height: 6pt;} 4.213 +.hr6 {height: 7pt;} 4.214 + 4.215 +/* Replacement for deprecated html 3 <u> element and html 4 <strike> */ 4.216 +.u {text-decoration: underline;} 4.217 +.strike {text-decoration: line-through;} 4.218 + 4.219 +/* eye catchers */ 4.220 +.warning 4.221 +{ 4.222 + color: red; 4.223 +} 4.224 + 4.225 +.error 4.226 +{ 4.227 + color: red; 4.228 +} 4.229 + 4.230 +strong.highlight 4.231 +{ 4.232 + background-color: #CCE0FF; 4.233 + padding: 1pt; 4.234 +} 4.235 + 4.236 + 4.237 +/* Recent changes */ 4.238 + 4.239 +.rcrss { 4.240 + float: right; 4.241 + margin: 0 7px 0 14px; 4.242 + height: 0; 4.243 + position: relative; 4.244 + top: 9px; 4.245 +} 4.246 +*[div="rtl"] .rcrss { 4.247 + float: left; 4.248 +} 4.249 +.recentchanges[dir="rtl"] .rcrss { 4.250 + float: left; 4.251 +} 4.252 + 4.253 +.recentchanges table { 4.254 + clear: both; 4.255 + border-collapse: collapse; 4.256 + 4.257 + border: 1px solid #4d7da9; 4.258 +} 4.259 + 4.260 +.recentchanges td { 4.261 + vertical-align: top; 4.262 + border: none; 4.263 + background: #e6eaf0; 4.264 +} 4.265 + 4.266 + 4.267 +.recentchanges .rcdaybreak td { 4.268 + background: #81BBF2; 4.269 + border: none; 4.270 + border: 1px solid #4d7da9; 4.271 +} 4.272 + 4.273 +.rcdaybreak td a { 4.274 + font-size: 0.88em; 4.275 +} 4.276 + 4.277 +.rcicon1, .rcicon2 { 4.278 + text-align: center; 4.279 +} 4.280 + 4.281 +.rcpagelink { 4.282 + width: 33%; 4.283 +} 4.284 + 4.285 +.rctime { 4.286 + font-size: 0.88em; 4.287 + white-space: nowrap; 4.288 +} 4.289 + 4.290 +.rceditor { 4.291 + white-space: nowrap; 4.292 + font-size: 0.88em; 4.293 +} 4.294 + 4.295 +.rccomment { 4.296 + width: 50%; 4.297 + color: gray; 4.298 + font-size: 0.88em; 4.299 +} 4.300 + 4.301 + 4.302 +/* User Preferences */ 4.303 + 4.304 +.userpref table, .userpref td { 4.305 + border: none; 4.306 +} 4.307 + 4.308 +/* CSS for new code_area markup used by Colorizer and ParserBase */ 4.309 + 4.310 +div.codearea { /* the div makes the border */ 4.311 + margin: 0.5em 0; 4.312 + padding: 0; 4.313 + border: 1pt solid #AEBDCC; 4.314 + background-color: #F3F5F7; 4.315 + color: black; 4.316 +} 4.317 + 4.318 +div.codearea pre { /* the pre has no border and is inside the div */ 4.319 + margin: 0; 4.320 + padding: 10pt; 4.321 + border: none; 4.322 +} 4.323 + 4.324 +a.codenumbers { /* format of the line numbering link */ 4.325 + margin: 0 10pt; 4.326 + font-size: 0.85em; 4.327 + color: gray; 4.328 +} 4.329 + 4.330 +/* format of certain syntax spans */ 4.331 +div.codearea pre span.LineNumber {color: gray;} 4.332 +div.codearea pre span.ID {color: #000000;} 4.333 +div.codearea pre span.Operator {color: #0000C0;} 4.334 +div.codearea pre span.Char {color: #004080;} 4.335 +div.codearea pre span.Comment {color: #008000;} 4.336 +div.codearea pre span.Number {color: #0080C0;} 4.337 +div.codearea pre span.String {color: #004080;} 4.338 +div.codearea pre span.SPChar {color: #0000C0;} 4.339 +div.codearea pre span.ResWord {color: #A00000;} 4.340 +div.codearea pre span.ConsWord {color: #008080; font-weight: bold;} 4.341 +div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;} 4.342 +div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;} 4.343 +div.codearea pre span.Special {color: #0000ff;} 4.344 +div.codearea pre span.Preprc {color: #803999;} 4.345 + 4.346 +/* for diff parser */ 4.347 +div.codearea pre span.DiffAdded {color: #4876FF;} 4.348 +div.codearea pre span.DiffRemoved {color: #FF0000;} 4.349 +div.codearea pre span.DiffChanged {color: #FF7F50;} 4.350 +div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold} 4.351 + 4.352 +/* Search results */ 4.353 +.advancedsearch { 4.354 + border: 1pt solid #ADB9CC; 4.355 +} 4.356 + 4.357 +.advancedsearch td { 4.358 + vertical-align: top; 4.359 + background-color: #E7E7E7; 4.360 + border: 0px; 4.361 +} 4.362 + 4.363 +.advancedsearch td.searchfor { 4.364 + font-weight: bold; 4.365 +} 4.366 + 4.367 +.advancedsearch input { 4.368 + border: 1px solid #ADB9CC; 4.369 + background-color: #fff; 4.370 +} 4.371 + 4.372 +.advancedsearch input[disabled] { 4.373 + background-color: #eee; 4.374 +} 4.375 + 4.376 +.advancedsearch td.submit { 4.377 + border-top: 1px solid #ADB9CC; 4.378 + background-color: #fff; 4.379 + text-align: right; 4.380 +} 4.381 + 4.382 +.advancedsearch optioni, 4.383 +.advancedsearch select { 4.384 + border: 1px solid #ADB9CC; 4.385 + background-color: #fff; 4.386 +} 4.387 + 4.388 + 4.389 +.searchresults dt { 4.390 + margin-top: 1em; 4.391 + font-weight: normal; 4.392 +} 4.393 + 4.394 +.searchresults dd, .searchresults p { 4.395 + font-size: 0.85em; 4.396 +} 4.397 + 4.398 +.searchresults .searchhitinfobar { 4.399 + color: #008000; 4.400 + margin-left: 15px; 4.401 + margin-top: 0; 4.402 +} 4.403 + 4.404 +p.searchstats { 4.405 + font-size: 0.8em; 4.406 + text-align: right; 4.407 + width: 100%; 4.408 + background-color: #E6EAF0; 4.409 + border-top: 1px solid #9088DC; 4.410 + padding: 2px; 4.411 +} 4.412 + 4.413 +p.searchhint { 4.414 + background-color: #E6EAF0; 4.415 + border: 1px solid #9088DC; 4.416 + padding: 2px; 4.417 +} 4.418 + 4.419 +.searchpages { 4.420 + margin-left: auto; 4.421 + margin-right: auto; 4.422 +} 4.423 + 4.424 +.searchpages tr, .searchpages td { 4.425 + border: 0; 4.426 + padding: 5px; 4.427 + margin: 0; 4.428 + text-align: center; 4.429 + vertical-align: middle; 4.430 + color: #b93a58; 4.431 + font-weight: bold; 4.432 + font-size: 1.05em; 4.433 +} 4.434 + 4.435 +.searchpages td a, .searchpages td a:link { 4.436 + text-decoration: underline; 4.437 +} 4.438 + 4.439 +/* MonthCalendar css */ 4.440 + 4.441 +/* days without and with pages linked to them */ 4.442 +a.cal-emptyday { 4.443 + color: #777777; 4.444 + text-align: center; 4.445 +} 4.446 +a.cal-usedday { 4.447 + color: #000000; 4.448 + font-weight: bold; 4.449 + text-align: center; 4.450 +} 4.451 +/* general stuff: workdays, weekend, today */ 4.452 +td.cal-workday { 4.453 + background-color: #DDDDFF; 4.454 + text-align: center; 4.455 +} 4.456 +td.cal-weekend { 4.457 + background-color: #FFDDDD; 4.458 + text-align: center; 4.459 +} 4.460 +td.cal-today { 4.461 + background-color: #CCFFCC; 4.462 + border-style: solid; 4.463 + border-width: 2pt; 4.464 + text-align: center; 4.465 +} 4.466 +/* invalid places on the monthly calendar sheet */ 4.467 +td.cal-invalidday { 4.468 + background-color: #CCCCCC; 4.469 +} 4.470 +/* links to prev/next month/year */ 4.471 +a.cal-link { 4.472 + color: #000000; 4.473 + text-decoration: none; 4.474 +} 4.475 +th.cal-header { 4.476 + background-color: #DDBBFF; 4.477 + text-align: center; 4.478 +} 4.479 + 4.480 +/* for MonthCalendar mouseover info boxes */ 4.481 +TABLE.tip { 4.482 + color: black; 4.483 + background-color: #FF8888; 4.484 + font-size: small; 4.485 + font-weight: normal; 4.486 + border-style: solid; 4.487 + border-width: 1px; 4.488 +} 4.489 + 4.490 +TH.tip { 4.491 + background-color: #FF4444; 4.492 + font-weight: bold; 4.493 + text-align: center; 4.494 +} 4.495 + 4.496 +TD.tip { 4.497 + text-align: left; 4.498 +} 4.499 +*[dir="rtl"] TD.tip { 4.500 + text-align: right; 4.501 +} 4.502 + 4.503 +/* end MonthCalendar stuff */ 4.504 + 4.505 +#message .hint {font-style: italic;} 4.506 +#message .info { 4.507 + float: none; 4.508 + font-size: 1em; 4.509 + color: black; 4.510 +} 4.511 +#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;} 4.512 +#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;} 4.513 +#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;} 4.514 + 4.515 + 4.516 +/* admonition start */ 4.517 +#content div.caution, 4.518 +#content div.important, 4.519 +#content div.note, 4.520 +#content div.tip, 4.521 +#content div.warning { 4.522 + border: 1pt solid #E5E5E5; 4.523 + background-color: #F9F9FF; 4.524 + color: black; 4.525 + 4.526 + margin: 10pt 30pt 10pt 30pt; 4.527 + background-repeat: no-repeat; 4.528 + background-position: 8px 8px; 4.529 + min-height: 64px; /*64=48+8+8 but doesn't work with IE*/ 4.530 + padding-left: 64px; 4.531 +} 4.532 + 4.533 +#content div.caution p, 4.534 +#content div.important p, 4.535 +#content div.note p, 4.536 +#content div.tip p, 4.537 +#content div.warning p { 4.538 + margin-top: 8px; /*to align text with bg graphic*/ 4.539 +} 4.540 + 4.541 +#content div.tip { background-image: url("../img/admon-tip.png"); } 4.542 +#content div.note { background-image: url("../img/admon-note.png"); } 4.543 +#content div.important { background-image: url("../img/admon-important.png"); } 4.544 +#content div.caution { background-image: url("../img/admon-caution.png"); } 4.545 +#content div.warning { background-image: url("../img/admon-warning.png"); } 4.546 + 4.547 +/* admonition end */ 4.548 +
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/themes/minimalmoin/css/msie.css Sun Jan 31 02:29:49 2010 +0100 5.3 @@ -0,0 +1,37 @@ 5.4 +/* msie.css - MoinMoin MS Internet explorer bug workarounds */ 5.5 + 5.6 +/* IE6 and IE7 both suck with :before */ 5.7 +a.www { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } 5.8 +a.http { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } 5.9 +a.https { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } 5.10 +a.file { padding-left: 19px; background: url(../img/moin-ftp.png) left center no-repeat; } 5.11 +a.ftp { padding-left: 19px; background: url(../img/moin-ftp.png) left center no-repeat; } 5.12 +a.nntp { padding-left: 19px; background: url(../img/moin-news.png) left center no-repeat; } 5.13 +a.news { padding-left: 19px; background: url(../img/moin-news.png) left center no-repeat; } 5.14 +a.telnet, a.ssh { padding-left: 19px; background: url(../img/moin-telnet.png) left center no-repeat; } 5.15 +a.irc, a.ircs { padding-left: 19px; background: url(../img/moin-telnet.png) left center no-repeat; } 5.16 +a.mailto { padding-left: 19px; background: url(../img/moin-email.png) left center no-repeat; } 5.17 +a.attachment { padding-left: 19px; background: url(../img/moin-attach.png) left center no-repeat; } 5.18 +a.badinterwiki { padding-left: 19px; background: url(../img/moin-inter.png) left center no-repeat; } 5.19 +a.interwiki { padding-left: 19px; background: url(../img/moin-inter.png) left center no-repeat; } 5.20 +#message .warning { padding-left: 21px; background: url(../img/alert.png) left center no-repeat; } 5.21 +#message .error { padding-left: 21px; background: url(../img/icon-error.png) left center no-repeat; } 5.22 + 5.23 +#pagetrail li, #pagelocation li { 5.24 + border-left: 1px solid #AAA; 5.25 + padding: 0 0.3em; 5.26 +} 5.27 + 5.28 +/* Spans for line-anchors - needed for IE6 and IE7 where omitting the "display: none" triggers rendering bugs. */ 5.29 +span.anchor { display: none; } 5.30 + 5.31 +/* Some * html hacks for IE6 and below only (IE7 ignores * html) */ 5.32 + 5.33 +/* IE6 has a bug with rendering of float elements. We workaround this bug by 5.34 + * assigning those elements a height attribute because we currently don't know 5.35 + * a better solution. This results in IE calculating the correct height of the 5.36 + * characters and displaying them correctly. We don't know any negative side 5.37 + * effects of this workaround: 5.38 + */ 5.39 +* html div#page, * html div#header { height: 0.001%; } 5.40 +
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/themes/minimalmoin/css/print.css Sun Jan 31 02:29:49 2010 +0100 6.3 @@ -0,0 +1,53 @@ 6.4 +/* print.css - MoinMoin Default Styles 6.5 + 6.6 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann 6.7 +*/ 6.8 + 6.9 +/* content styles */ 6.10 + 6.11 +html { 6.12 + font-family: Times, serif; 6.13 + font-size: 12pt; 6.14 +} 6.15 + 6.16 +body { 6.17 + /* Give about 3.4cm in Mozilla/Firefox and about 2.2cm in Safari */ 6.18 + margin: 1.5cm; 6.19 +} 6.20 + 6.21 +a, a:visited, a.nonexistent, a.badinterwiki { 6.22 + color: black; 6.23 + text-decoration: none; 6.24 +} 6.25 + 6.26 +a:hover { 6.27 + text-decoration: underline; 6.28 +} 6.29 + 6.30 +.info a { 6.31 + color: gray; 6.32 +} 6.33 + 6.34 +pre { 6.35 + font-size: 10pt; 6.36 +} 6.37 + 6.38 +a.interwiki:before, a.badinterwiki:before { 6.39 + content: attr(title) ":"; 6.40 +} 6.41 + 6.42 +a.interwiki img, a.badinterwiki img { 6.43 + display: none; 6.44 +} 6.45 + 6.46 +.footnotes div { 6.47 + width: 5em; 6.48 + border-top: 1pt solid gray; 6.49 +} 6.50 + 6.51 +/* user interface styles */ 6.52 + 6.53 +#header, #sidebar, #footer, #timings, #credits, #interwiki, #pagelocation { 6.54 + display: none; 6.55 +} 6.56 +
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/themes/minimalmoin/css/projection.css Sun Jan 31 02:29:49 2010 +0100 7.3 @@ -0,0 +1,33 @@ 7.4 +/* projection.css - MoinMoin Slide Styles 7.5 + 7.6 +Copyright (c) 2003 by Juergen Hermann 7.7 +*/ 7.8 + 7.9 +@import url(screen.css); 7.10 + 7.11 +html { line-height: 1.8em; } 7.12 + 7.13 +body, b, em, a, span, div, p, td { font-size: 18pt; } 7.14 + 7.15 +h1 { font-size: 26pt; } 7.16 +h2 { font-size: 22pt; } 7.17 +h3 { font-size: 20pt; } 7.18 +h4 { font-size: 18pt; } 7.19 +h5 { font-size: 16pt; } 7.20 +h6 { font-size: 14pt; } 7.21 + 7.22 +tt, pre { font-size: 16pt; } 7.23 +sup, sub { font-size: 12pt; } 7.24 + 7.25 +table.navigation { 7.26 + float: right; 7.27 + margin: 2px; 7.28 +} 7.29 + 7.30 +.navigation td, .navigation a { 7.31 + font-size: 10pt; 7.32 + padding: 2px; 7.33 +} 7.34 + 7.35 +#interwiki, #pagelocation, #pageinfo { display: none; } 7.36 +
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/themes/minimalmoin/css/screen.css Sun Jan 31 02:29:49 2010 +0100 8.3 @@ -0,0 +1,372 @@ 8.4 +/* screen.css - MoinMoin Default Styles 8.5 + 8.6 +Copyright (c) 2010 Paul Boddie <paul@boddie.org.uk> 8.7 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann 8.8 +*/ 8.9 + 8.10 +/* content styles */ 8.11 + 8.12 +body { 8.13 + padding: 0; 8.14 + margin: 0; 8.15 + border: 0; 8.16 +} 8.17 + 8.18 +a:link { color: #47f; text-decoration: none; } 8.19 +a:link:hover, a:link:active { text-decoration: underline; color: green; } 8.20 +a:visited { text-decoration: none; color: #04a;} 8.21 +a:visited:hover { text-decoration: none; color: red; } 8.22 +a.nonexistent:link { color: #666 } 8.23 +a.nonexistent:hover { color: black; text-decoration: underline } 8.24 + 8.25 +a.download { 8.26 + font-size: 120%; 8.27 + letter-spacing: 0.05em; 8.28 + font-weight: bold; 8.29 + background: #E7E7E7; 8.30 + border: 1px solid #9C9C9C; 8.31 + padding: 0.5em; 8.32 + text-align: center; 8.33 +} 8.34 + 8.35 +input { 8.36 +} 8.37 + 8.38 +textarea { 8.39 + font-size: 1em; 8.40 + font-family: monospace; 8.41 +} 8.42 + 8.43 +.disabled { 8.44 + color: gray; 8.45 +} 8.46 + 8.47 +/* user interface styles */ 8.48 + 8.49 +#header { 8.50 + background: #eeeeee; 8.51 + padding: 0; 8.52 + border-bottom: 2px solid black; 8.53 +} 8.54 + 8.55 +#footer { 8.56 + background: #eeeeee; 8.57 + padding: 0; 8.58 + border-top: 2px solid black; 8.59 +} 8.60 + 8.61 +/* Menu regions. */ 8.62 + 8.63 +.editing, 8.64 +#identity, 8.65 +#navigation { 8.66 + margin-top: 1.5em; /* can be removed if menutitle is undisplayed */ 8.67 +} 8.68 + 8.69 +#navigation { 8.70 + background: #dddddd; 8.71 +} 8.72 + 8.73 +#identity { 8.74 + background: #333333; 8.75 + color: white; 8.76 +} 8.77 + 8.78 +.menutitleholder { 8.79 + position: relative; 8.80 + padding-top: 0.5em; /* can be removed if menutitle is undisplayed */ 8.81 +} 8.82 + 8.83 +.menutitle { 8.84 + position: absolute; 8.85 + bottom: 1em; 8.86 + left: 0; 8.87 + padding: 0.25em; 8.88 + margin: 0.25em; 8.89 + background: #999999; 8.90 + color: white; 8.91 + /* display: none; */ 8.92 +} 8.93 + 8.94 +/* Menus and lists. */ 8.95 + 8.96 +.editbar, 8.97 +#navibar, 8.98 +#username, 8.99 +#pageabout, 8.100 +#pagelocation { 8.101 + display: inline-block; 8.102 +} 8.103 + 8.104 +.editbar, 8.105 +#pageabout, 8.106 +#pagelocation, 8.107 +#pagetrail, 8.108 +#navibar { 8.109 + padding: 0.5em 0; 8.110 + margin: 0; 8.111 + color: black; 8.112 +} 8.113 + 8.114 +#username { 8.115 + padding: 0.5em 0; 8.116 + margin: 0; 8.117 +} 8.118 + 8.119 +.editbar li, 8.120 +#pageabout li, 8.121 +#pagelocation li, 8.122 +#pagetrail li, 8.123 +#username li, 8.124 +#navibar li { 8.125 + display: inline; 8.126 + padding: 0.5em 1em; 8.127 + white-space: nowrap; 8.128 +} 8.129 + 8.130 +#navibar li.wikilink { 8.131 + background: #dddddd; 8.132 +} 8.133 + 8.134 +#navibar li.userlink { 8.135 + background: #cccccc; 8.136 +} 8.137 + 8.138 +.editbar a, 8.139 +.editbar a:visited, 8.140 +#username a, 8.141 +#username a:visited, 8.142 +#navibar a, 8.143 +#navibar a:visited { 8.144 + text-decoration: none !important; 8.145 +} 8.146 + 8.147 +.editbar a, 8.148 +.editbar a:visited, 8.149 +#username a, 8.150 +#username a:visited { 8.151 + color: inherit !important; 8.152 +} 8.153 + 8.154 +#username li.current a, 8.155 +#navibar li.current a { 8.156 + font-weight: bold; 8.157 +} 8.158 + 8.159 +.editbar form, .editbar form div { 8.160 + display: inline; 8.161 + margin: 0; 8.162 +} 8.163 + 8.164 +.editbar select { 8.165 + font-size: 100%; 8.166 + vertical-align: middle; 8.167 +} 8.168 + 8.169 +/* Other elements. */ 8.170 + 8.171 +#logo { 8.172 + float: left; 8.173 + margin: 0.5em; 8.174 + padding: 0; 8.175 + /* For text only logo */ 8.176 + font-size: larger; 8.177 + font-weight: bold; 8.178 +} 8.179 + 8.180 +*[dir="rtl"] #logo { 8.181 + float: right; 8.182 +} 8.183 + 8.184 +#logo img { 8.185 + vertical-align: middle; 8.186 +} 8.187 + 8.188 +#logo a { 8.189 + color: black; 8.190 + text-decoration: none; 8.191 +} 8.192 + 8.193 +#searchform { 8.194 + margin: 4px 0.5em 8px 0.5em; 8.195 + padding: 0; 8.196 + font-size: 0.82em; 8.197 + float: right; 8.198 + clear: right; 8.199 + text-align: right; 8.200 +} 8.201 + 8.202 +*[dir="rtl"] #searchform { 8.203 + float: left; 8.204 + clear: left; 8.205 + text-align: left; 8.206 +} 8.207 + 8.208 +#searchform input { 8.209 + font-size: 100%; 8.210 + vertical-align: middle; 8.211 +} 8.212 + 8.213 +#interwiki { 8.214 + font-size: 1em; 8.215 +} 8.216 + 8.217 +#pageline { 8.218 +} 8.219 + 8.220 +#message { 8.221 + clear: both; 8.222 + margin: 0; 8.223 + padding: 5px 10px; 8.224 + border-bottom: 1px solid #c9c9c9; 8.225 + background: #E6EAF0; 8.226 +} 8.227 + 8.228 +#message p { 8.229 + margin: 5px 0; 8.230 + padding: 0; 8.231 + /* font-weight: bold; */ 8.232 +} 8.233 + 8.234 +#message div.buttons { 8.235 + font-weight: normal; 8.236 +} 8.237 + 8.238 +.dialog form { 8.239 + margin: 0 15px; 8.240 +} 8.241 + 8.242 +.dialog td { 8.243 + border: none; 8.244 + padding: 5px; 8.245 +} 8.246 + 8.247 +.dialog td.label { 8.248 + text-align: right; 8.249 + font-weight: bold; 8.250 + width: 25%; 8.251 +} 8.252 + 8.253 +*[dir="rtl"] .dialog td.label { 8.254 + text-align: left; 8.255 +} 8.256 + 8.257 +.dialog td.content input { 8.258 + width: 100%; 8.259 +} 8.260 + 8.261 +#page { 8.262 + background-color: white; 8.263 + margin: 0; 8.264 + padding: 2px 20px 20px 20px; 8.265 +} 8.266 + 8.267 +/* We use here dumb css1 ids because of IE suckiness */ 8.268 +#editor-textarea, #editor-help { 8.269 + font-family: monospace; 8.270 + border: 1px solid #8cacbb; 8.271 + color: black; 8.272 + background-color: white; 8.273 + padding: 3px; 8.274 + width: 100%; 8.275 + margin-top: 0.5em; 8.276 +} 8.277 + 8.278 +#editor-help { 8.279 + font-size: small; 8.280 + background-color: #EEEEFF; 8.281 +} 8.282 + 8.283 +#editor-comment { 8.284 + font-size: 100%; 8.285 + border: 1px solid #8cacbb; 8.286 + color: black; 8.287 + background-color: white; 8.288 + vertical-align: middle; 8.289 + padding: 1px; 8.290 + display: inline; 8.291 + width: 70%; 8.292 +} 8.293 + 8.294 +#preview, #previewbelow { 8.295 + border: 1px solid #6C7680; 8.296 + padding: 10px 30px 20px 30px; 8.297 + background: url(../img/draft.png); 8.298 + margin-top: 0.5em; 8.299 +} 8.300 + 8.301 +#textcha { 8.302 + font-size: 100%; 8.303 + margin-top: 0.5em; 8.304 + border: 2px solid #FF8888; 8.305 + color: black; 8.306 + vertical-align: middle; 8.307 + padding: 3px 2px; 8.308 +} 8.309 + 8.310 +#textcha-answer { 8.311 + border: 2px solid #000000; 8.312 + padding: 3px 2px; 8.313 +} 8.314 + 8.315 +input.button { 8.316 +} 8.317 + 8.318 +#credits, #version, #timings{ 8.319 + margin: 5px 10px; 8.320 + padding: 0; 8.321 + text-align: center; 8.322 + font-size: 0.88em; 8.323 + color: #6C7680; 8.324 +} 8.325 + 8.326 +#credits li, #timings li { 8.327 + display: inline; 8.328 + padding: 0 2px; 8.329 + margin: 0 4px; 8.330 +} 8.331 + 8.332 +#credits img { 8.333 + vertical-align: middle; 8.334 +} 8.335 + 8.336 +.diff { 8.337 + width:99%; 8.338 +} 8.339 + 8.340 +.diff-header { 8.341 + font-weight: bold; 8.342 +} 8.343 + 8.344 +.diff-title { 8.345 + background-color: #C0C0C0; 8.346 +} 8.347 + 8.348 +.diff-added { 8.349 + background-color: #E0FFE0; 8.350 + vertical-align: sub; 8.351 +} 8.352 + 8.353 +.diff-removed { 8.354 + background-color: #FFFFE0; 8.355 + vertical-align: sub; 8.356 +} 8.357 + 8.358 +.diff-added span { 8.359 + background-color: #80FF80; 8.360 +} 8.361 + 8.362 +.diff-removed span { 8.363 + background-color: #FFFF80; 8.364 +} 8.365 + 8.366 +table.navigation { 8.367 + float: right; 8.368 + margin: 2px; 8.369 +} 8.370 + 8.371 +#openididentifier { 8.372 + background: url(../../common/openid.png) no-repeat; 8.373 + background-position: 0 50%; 8.374 + padding-left: 18px; 8.375 +}
9.1 Binary file themes/minimalmoin/img/PythonPowered.png has changed
10.1 Binary file themes/minimalmoin/img/admon-caution.png has changed
11.1 Binary file themes/minimalmoin/img/admon-important.png has changed
12.1 Binary file themes/minimalmoin/img/admon-note.png has changed
13.1 Binary file themes/minimalmoin/img/admon-tip.png has changed
14.1 Binary file themes/minimalmoin/img/admon-warning.png has changed
15.1 Binary file themes/minimalmoin/img/alert.png has changed
16.1 Binary file themes/minimalmoin/img/angry.png has changed
17.1 Binary file themes/minimalmoin/img/attach.png has changed
18.1 Binary file themes/minimalmoin/img/attention.png has changed
19.1 Binary file themes/minimalmoin/img/biggrin.png has changed
20.1 Binary file themes/minimalmoin/img/checkmark.png has changed
21.1 Binary file themes/minimalmoin/img/devil.png has changed
22.1 Binary file themes/minimalmoin/img/draft.png has changed
23.1 Binary file themes/minimalmoin/img/frown.png has changed
24.1 Binary file themes/minimalmoin/img/icon-error.png has changed
25.1 Binary file themes/minimalmoin/img/icon-info.png has changed
26.1 Binary file themes/minimalmoin/img/idea.png has changed
27.1 Binary file themes/minimalmoin/img/moin-attach.png has changed
28.1 Binary file themes/minimalmoin/img/moin-bottom.png has changed
29.1 Binary file themes/minimalmoin/img/moin-conflict.png has changed
30.1 Binary file themes/minimalmoin/img/moin-deleted.png has changed
31.1 Binary file themes/minimalmoin/img/moin-diff.png has changed
32.1 Binary file themes/minimalmoin/img/moin-download.png has changed
33.1 Binary file themes/minimalmoin/img/moin-edit.png has changed
34.1 Binary file themes/minimalmoin/img/moin-email.png has changed
35.1 Binary file themes/minimalmoin/img/moin-ftp.png has changed
36.1 Binary file themes/minimalmoin/img/moin-help.png has changed
37.1 Binary file themes/minimalmoin/img/moin-home.png has changed
38.1 Binary file themes/minimalmoin/img/moin-icon.png has changed
39.1 Binary file themes/minimalmoin/img/moin-info.png has changed
40.1 Binary file themes/minimalmoin/img/moin-inter.png has changed
41.1 Binary file themes/minimalmoin/img/moin-jabber.png has changed
42.1 Binary file themes/minimalmoin/img/moin-new.png has changed
43.1 Binary file themes/minimalmoin/img/moin-news.png has changed
44.1 Binary file themes/minimalmoin/img/moin-parent.png has changed
45.1 Binary file themes/minimalmoin/img/moin-print.png has changed
46.1 Binary file themes/minimalmoin/img/moin-raw.png has changed
47.1 Binary file themes/minimalmoin/img/moin-readonly.png has changed
48.1 Binary file themes/minimalmoin/img/moin-renamed.png has changed
49.1 Binary file themes/minimalmoin/img/moin-rss.png has changed
50.1 Binary file themes/minimalmoin/img/moin-search.png has changed
51.1 Binary file themes/minimalmoin/img/moin-show.png has changed
52.1 Binary file themes/minimalmoin/img/moin-subscribe.png has changed
53.1 Binary file themes/minimalmoin/img/moin-telnet.png has changed
54.1 Binary file themes/minimalmoin/img/moin-top.png has changed
55.1 Binary file themes/minimalmoin/img/moin-unsubscribe.png has changed
56.1 Binary file themes/minimalmoin/img/moin-up.png has changed
57.1 Binary file themes/minimalmoin/img/moin-updated.png has changed
58.1 Binary file themes/minimalmoin/img/moin-www.png has changed
59.1 Binary file themes/minimalmoin/img/ohwell.png has changed
60.1 Binary file themes/minimalmoin/img/prio1.png has changed
61.1 Binary file themes/minimalmoin/img/prio2.png has changed
62.1 Binary file themes/minimalmoin/img/prio3.png has changed
63.1 Binary file themes/minimalmoin/img/redface.png has changed
64.1 Binary file themes/minimalmoin/img/sad.png has changed
65.1 Binary file themes/minimalmoin/img/smile.png has changed
66.1 Binary file themes/minimalmoin/img/smile2.png has changed
67.1 Binary file themes/minimalmoin/img/smile3.png has changed
68.1 Binary file themes/minimalmoin/img/smile4.png has changed
69.1 Binary file themes/minimalmoin/img/star_off.png has changed
70.1 Binary file themes/minimalmoin/img/star_on.png has changed
71.1 Binary file themes/minimalmoin/img/thumbs-up.png has changed
72.1 Binary file themes/minimalmoin/img/tired.png has changed
73.1 Binary file themes/minimalmoin/img/tongue.png has changed
74.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 74.2 +++ b/themes/minimalmoin/minimalmoin.py Sun Jan 31 02:29:49 2010 +0100 74.3 @@ -0,0 +1,234 @@ 74.4 +# -*- coding: iso-8859-1 -*- 74.5 + 74.6 +""" 74.7 + MoinMoin - MinimalMoin theme 74.8 + @copyright: 2009, 2010 Paul Boddie <paul@boddie.org.uk> 74.9 + @copyright: (portions) 2003-2008 MoinMoin:ThomasWaldmann, 2003-2005 Nir Soffer 74.10 + @license: GNU GPL (v2 or later), see COPYING.txt for details. 74.11 +""" 74.12 + 74.13 +from MoinMoin.theme import ThemeBase 74.14 +from MoinMoin import i18n 74.15 +from MoinMoin import wikiutil 74.16 +from MoinMoin import version 74.17 +from MoinMoin.Page import Page 74.18 +import re 74.19 + 74.20 +class Theme(ThemeBase): 74.21 + 74.22 + name = "minimalmoin" 74.23 + 74.24 + # Icon definitions from the modernized theme... 74.25 + 74.26 + _ = lambda x: x # We don't have gettext at this moment, so we fake it 74.27 + icons = { 74.28 + # key alt icon filename w h 74.29 + # FileAttach 74.30 + 'attach': ("%(attach_count)s", "moin-attach.png", 16, 16), 74.31 + 'info': ("[INFO]", "moin-info.png", 16, 16), 74.32 + 'attachimg': (_("[ATTACH]"), "attach.png", 32, 32), 74.33 + # RecentChanges 74.34 + 'rss': (_("[RSS]"), "moin-rss.png", 16, 16), 74.35 + 'deleted': (_("[DELETED]"), "moin-deleted.png", 16, 16), 74.36 + 'updated': (_("[UPDATED]"), "moin-updated.png", 16, 16), 74.37 + 'renamed': (_("[RENAMED]"), "moin-renamed.png", 16, 16), 74.38 + 'conflict': (_("[CONFLICT]"), "moin-conflict.png", 16, 16), 74.39 + 'new': (_("[NEW]"), "moin-new.png", 16, 16), 74.40 + 'diffrc': (_("[DIFF]"), "moin-diff.png", 16, 16), 74.41 + # General 74.42 + 'bottom': (_("[BOTTOM]"), "moin-bottom.png", 16, 16), 74.43 + 'top': (_("[TOP]"), "moin-top.png", 16, 16), 74.44 + 'www': ("[WWW]", "moin-www.png", 16, 16), 74.45 + 'mailto': ("[MAILTO]", "moin-email.png", 16, 16), 74.46 + 'news': ("[NEWS]", "moin-news.png", 16, 16), 74.47 + 'telnet': ("[TELNET]", "moin-telnet.png", 16, 16), 74.48 + 'ftp': ("[FTP]", "moin-ftp.png", 16, 16), 74.49 + 'file': ("[FILE]", "moin-ftp.png", 16, 16), 74.50 + # search forms 74.51 + 'searchbutton': ("[?]", "moin-search.png", 16, 16), 74.52 + 'interwiki': ("[%(wikitag)s]", "moin-inter.png", 16, 16), 74.53 + 74.54 + # smileys (this is CONTENT, but good looking smileys depend on looking 74.55 + # adapted to the theme background color and theme style in general) 74.56 + #vvv == vvv this must be the same for GUI editor converter 74.57 + 'X-(': ("X-(", 'angry.png', 16, 16), 74.58 + ':D': (":D", 'biggrin.png', 16, 16), 74.59 + '<:(': ("<:(", 'frown.png', 16, 16), 74.60 + ':o': (":o", 'redface.png', 16, 16), 74.61 + ':(': (":(", 'sad.png', 16, 16), 74.62 + ':)': (":)", 'smile.png', 16, 16), 74.63 + 'B)': ("B)", 'smile2.png', 16, 16), 74.64 + ':))': (":))", 'smile3.png', 16, 16), 74.65 + ';)': (";)", 'smile4.png', 16, 16), 74.66 + '/!\\': ("/!\\", 'alert.png', 16, 16), 74.67 + '<!>': ("<!>", 'attention.png', 16, 16), 74.68 + '(!)': ("(!)", 'idea.png', 16, 16), 74.69 + ':-?': (":-?", 'tongue.png', 16, 16), 74.70 + ':\\': (":\\", 'ohwell.png', 16, 16), 74.71 + '>:>': (">:>", 'devil.png', 16, 16), 74.72 + '|)': ("|)", 'tired.png', 16, 16), 74.73 + ':-(': (":-(", 'sad.png', 16, 16), 74.74 + ':-)': (":-)", 'smile.png', 16, 16), 74.75 + 'B-)': ("B-)", 'smile2.png', 16, 16), 74.76 + ':-))': (":-))", 'smile3.png', 16, 16), 74.77 + ';-)': (";-)", 'smile4.png', 16, 16), 74.78 + '|-)': ("|-)", 'tired.png', 16, 16), 74.79 + '(./)': ("(./)", 'checkmark.png', 16, 16), 74.80 + '{OK}': ("{OK}", 'thumbs-up.png', 16, 16), 74.81 + '{X}': ("{X}", 'icon-error.png', 16, 16), 74.82 + '{i}': ("{i}", 'icon-info.png', 16, 16), 74.83 + '{1}': ("{1}", 'prio1.png', 15, 13), 74.84 + '{2}': ("{2}", 'prio2.png', 15, 13), 74.85 + '{3}': ("{3}", 'prio3.png', 15, 13), 74.86 + '{*}': ("{*}", 'star_on.png', 16, 16), 74.87 + '{o}': ("{o}", 'star_off.png', 16, 16), 74.88 + } 74.89 + del _ 74.90 + 74.91 + def header(self, d, **kw): 74.92 + """ Assemble page header 74.93 + 74.94 + @param d: parameter dictionary 74.95 + @rtype: unicode 74.96 + @return: page header html 74.97 + """ 74.98 + 74.99 + request = self.request 74.100 + fmt = request.formatter 74.101 + html = [] 74.102 + 74.103 + # NOTE: Some pages cause section numbers to be enabled, affecting the 74.104 + # NOTE: theme. 74.105 + 74.106 + show_section_numbers = fmt._show_section_numbers 74.107 + fmt._show_section_numbers = 0 74.108 + 74.109 + # The header section. 74.110 + 74.111 + html.append(fmt.div(on=1, attr={"id" : "header"})) 74.112 + 74.113 + html.append(self.title(d)) 74.114 + html.append(self.about(d)) 74.115 + 74.116 + html.append(fmt.div(on=0)) 74.117 + 74.118 + # Show any pertinent message. 74.119 + 74.120 + html.append(self.msg(d)) 74.121 + 74.122 + # Complete the header. 74.123 + 74.124 + html.append(self.startPage()) 74.125 + 74.126 + # NOTE: Some pages cause section numbers to be enabled, affecting the 74.127 + # NOTE: theme. 74.128 + 74.129 + fmt._show_section_numbers = show_section_numbers 74.130 + 74.131 + return u''.join(html) 74.132 + 74.133 + editorheader = header 74.134 + 74.135 + def footer(self, d, **kw): 74.136 + """ Assemble page footer 74.137 + 74.138 + @param d: parameter dictionary 74.139 + @rtype: unicode 74.140 + @return: page footer html 74.141 + """ 74.142 + 74.143 + request = self.request 74.144 + fmt = request.formatter 74.145 + _ = request.getText 74.146 + html = [] 74.147 + 74.148 + # NOTE: Some pages cause section numbers to be enabled, affecting the 74.149 + # NOTE: theme. 74.150 + 74.151 + show_section_numbers = fmt._show_section_numbers 74.152 + fmt._show_section_numbers = 0 74.153 + 74.154 + # End the page. 74.155 + 74.156 + html.append(self.endPage()) 74.157 + 74.158 + # The footer section. 74.159 + 74.160 + html.append(fmt.div(on=1, attr={"id" : "footer"})) 74.161 + 74.162 + html.append(fmt.div(on=1, attr={"class" : "editing"})) 74.163 + html.append(fmt.span(on=1, attr={"class" : "menutitleholder"})) 74.164 + html.append(fmt.span(on=1, attr={"class" : "menutitle"})) 74.165 + html.append(fmt.text(_("Editing options"))) 74.166 + html.append(fmt.span(on=0)) 74.167 + html.append(self.editbar(d)) 74.168 + html.append(fmt.span(on=0)) 74.169 + html.append(fmt.div(on=0)) 74.170 + 74.171 + html.append(fmt.div(on=1, attr={"id" : "navigation"})) 74.172 + html.append(fmt.span(on=1, attr={"class" : "menutitleholder"})) 74.173 + html.append(fmt.span(on=1, attr={"class" : "menutitle"})) 74.174 + html.append(fmt.text(_("Useful pages"))) 74.175 + html.append(fmt.span(on=0)) 74.176 + html.append(self.navibar(d)) 74.177 + html.append(fmt.span(on=0)) 74.178 + html.append(fmt.div(on=0)) 74.179 + 74.180 + html.append(fmt.div(on=1, attr={"id" : "identity"})) 74.181 + html.append(fmt.span(on=1, attr={"class" : "menutitleholder"})) 74.182 + html.append(fmt.span(on=1, attr={"class" : "menutitle"})) 74.183 + html.append(fmt.text(_("User information"))) 74.184 + html.append(fmt.span(on=0)) 74.185 + html.append(self.username(d)) 74.186 + html.append(fmt.span(on=0)) 74.187 + html.append(fmt.div(on=0)) 74.188 + 74.189 + #html.append(self.trail(d)) 74.190 + 74.191 + html.append(fmt.div(on=0)) 74.192 + 74.193 + # NOTE: Some pages cause section numbers to be enabled, affecting the 74.194 + # NOTE: theme. 74.195 + 74.196 + fmt._show_section_numbers = show_section_numbers 74.197 + 74.198 + return u''.join(html) 74.199 + 74.200 + def about(self, d, **kw): 74.201 + """ Link to the controls in the footer. 74.202 + 74.203 + @param d: parameter dictionary 74.204 + @rtype: unicode 74.205 + @return: about link html 74.206 + """ 74.207 + 74.208 + request = self.request 74.209 + fmt = request.formatter 74.210 + _ = request.getText 74.211 + html = [] 74.212 + 74.213 + html.append(fmt.bullet_list(on=1, attr={"id" : "pageabout"})) 74.214 + html.append(fmt.listitem(on=1)) 74.215 + 74.216 + html.append(fmt.anchorlink(on=1, name="footer")) 74.217 + html.append(fmt.text(_("About this page"))) 74.218 + html.append(fmt.anchorlink(on=0)) 74.219 + 74.220 + html.append(fmt.listitem(on=0)) 74.221 + html.append(fmt.bullet_list(on=0)) 74.222 + 74.223 + return u''.join(html) 74.224 + 74.225 +# Theme instantiation. 74.226 + 74.227 +def execute(request): 74.228 + """ 74.229 + Generate and return a theme object 74.230 + 74.231 + @param request: the request object 74.232 + @rtype: MoinTheme 74.233 + @return: Theme object 74.234 + """ 74.235 + return Theme(request) 74.236 + 74.237 +# vim: tabstop=4 expandtab shiftwidth=4