pmwiki.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /***********************************************************************
  2. ** pmwiki.css
  3. ** Copyright 2004-2006 Patrick R. Michaud (pmichaud@pobox.com)
  4. ** Copyright 2006 Hagan Fox
  5. ** This file is part of PmWiki; you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published
  7. ** by the Free Software Foundation; either version 2 of the License, or
  8. ** (at your option) any later version. See pmwiki.php for full details.
  9. ***********************************************************************/
  10. /* This sets the overall frame for the site */
  11. body {
  12. margin:0px; background-color:#f7f7f7;
  13. font-family:Arial,Helvetica,sans-serif; font-size:11pt;
  14. }
  15. /* These control the fixed-width text elements of the page */
  16. textarea, pre, code { font-size:0.9em; }
  17. pre, code { font-family:'Lucida Console','Andale Mono','Courier New',Courier; }
  18. pre { line-height:1.2em; }
  19. pre code, code code, pre pre { font-size:100%; }
  20. /* These primarily adjust the size and spacing of heading elements,
  21. ** most browsers have atrocious defaults for these. */
  22. h1, h2, h3, h4, h5, h6 { margin-top:1.0em; margin-bottom:0.6em; }
  23. h1, h2, h3, h6 { font-weight:normal; }
  24. h4, h5 { font-weight:bold; }
  25. h1 code, h2 code, h3 code, h4 code { font-size:1em; }
  26. h1 { font-size:1.8em; }
  27. h2 { font-size:1.44em; }
  28. h3 { font-size:1.22em; }
  29. h4 { font-size:1.07em; }
  30. h5 { font-size:1.0em; }
  31. h6 { font-size:1.0em; }
  32. /* The #wikilogo element is the logo from $PageLogoFmt */
  33. #wikilogo { margin-top:4px; padding:6px; border-bottom:1px #cccccc solid; }
  34. /* This controls the rest of the heading (primarily the search box) */
  35. #wikihead {
  36. position:absolute; right:10px; top:10px;
  37. font-family:Verdana,sans-serif; font-size:85%;
  38. }
  39. #wikihead input { font-size:85%; }
  40. /* These are for the left-sidebar. */
  41. #wikileft {
  42. width:155px;
  43. padding:6px; border-right:1px #cccccc solid;
  44. line-height:1.33em;
  45. font-size:9.4pt; font-family:Verdana,sans-serif;
  46. }
  47. #wikileft .vspace { margin-top:1.125em; }
  48. #wikileft a { text-decoration:none; color:black; }
  49. #wikileft a:hover { text-decoration:underline; color:blue; }
  50. #wikileft ul { list-style:none; padding:0px; margin:0px; }
  51. #wikileft li { margin:0px; padding-left: 6px; }
  52. /* The "#wikileft h1" and "#wikileft h5" settings are for
  53. ** backwards compatibility with previous releases of PmWiki.
  54. ** They are deprecated (replaced with the .sidehead class),
  55. ** and may be removed in a future release. */
  56. #wikileft h1, #wikileft h5, .sidehead {
  57. margin:0px; padding:4px 2px 2px 2px;
  58. font-size:11pt; font-weight:bold; font-style:normal;
  59. }
  60. #wikileft h1 a, #wikileft h5 a, .sidehead a
  61. { color:#505050; font-weight:bold; font-style:normal; }
  62. /* These affect the main content area. */
  63. #wikibody {
  64. padding:0px 10px 10px 10px; background-color:white;
  65. font-size:11pt;
  66. }
  67. #wikicmds {
  68. float:right; white-space:nowrap;
  69. font-family:Verdana,sans-serif; font-size:80%;
  70. }
  71. #wikicmds ul { list-style:none; margin:0px; padding:0px; }
  72. #wikicmds li { display:inline; margin:0px 5px; }
  73. #wikicmds li a { text-decoration:none; color:black; border:none; }
  74. #wikicmds li a.createlink { display:none; }
  75. #wikicmds li a:hover { text-decoration:underline; color:blue; }
  76. .pagegroup { margin-top:8px; margin-bottom:2px; }
  77. .pagetitle { line-height:1em; margin:0px; font-size:1.6em; font-weight:normal; }
  78. .wikiaction { margin-top:4px; margin-bottom:4px; }
  79. #wikitext { margin-top:12px; line-height:1.33em; }
  80. #wikitext table { font-size:100%; line-height:1.33em; } /* For MSIE 5.5 */
  81. /* These are for the edit form. */
  82. #wikiedit form { margin:0px; width:100%; }
  83. #wikiedit textarea { width:100%; }
  84. .wikimessage { margin-top:4px; margin-bottom:4px; font-style:italic; }
  85. /* These affect the lines at the very bottom. */
  86. #wikifoot {
  87. padding-left:178px; padding-bottom:4px; border-top:1px #cccccc solid;
  88. font-family:Verdana,sans-serif; font-size:80%;
  89. }
  90. /* These affect the printed appearance of the web view (not the separate
  91. ** print view) of pages. The sidebar and action links aren't printed. */
  92. @media print {
  93. body { width:auto; margin:0px; padding:0.5em; }
  94. #wikihead, #wikileft, #wikicmds, .footnav { display:none; }
  95. #wikifoot { padding:2px; }
  96. }