Advertisement
Guest User

CSS

a guest
Dec 21st, 2014
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.21 KB | None | 0 0
  1. /***********************************************************************
  2.  
  3. ** pmwiki.css
  4.  
  5. **  Copyright 2004-2006 Patrick R. Michaud (pmichaud@pobox.com)
  6.  
  7. **  Copyright 2006 Hagan Fox
  8.  
  9. **  This file is part of PmWiki; you can redistribute it and/or modify
  10.  
  11. **  it under the terms of the GNU General Public License as published
  12.  
  13. **  by the Free Software Foundation; either version 2 of the License, or
  14.  
  15. **  (at your option) any later version.  See pmwiki.php for full details.
  16.  
  17. ***********************************************************************/
  18.  
  19.  
  20.  
  21. /* This sets the overall frame for the site */
  22.  
  23. body {
  24.  
  25.   margin:0px; background-color:#f7f7f7;
  26.  
  27.   font-family:Arial,Helvetica,sans-serif; font-size:11pt;
  28.  
  29. }
  30.  
  31.  
  32.  
  33. /* These control the fixed-width text elements of the page */
  34.  
  35. textarea, pre, code { font-size:0.9em; }
  36.  
  37. pre, code { font-family:'Lucida Console','Andale Mono','Courier New',Courier,monospace; color: #FFFFFF}
  38.  
  39. pre { line-height:1.2em; padding: 5px 5px 5px 5px; background-color: #313332;}
  40.  
  41. pre code, code code, pre pre { font-size:100%; }
  42.  
  43. code { color: #000000; }
  44.  
  45.  
  46.  
  47. /* These primarily adjust the size and spacing of heading elements,
  48.  
  49. ** most browsers have atrocious defaults for these. */
  50.  
  51. h1, h2, h3, h4, h5, h6 { margin-top:1.0em; margin-bottom:0.6em; }
  52.  
  53. h1, h2, h3, h6 { font-weight:normal; }
  54.  
  55. h4, h5 { font-weight:bold; }
  56.  
  57. h1 code, h2 code, h3 code, h4 code { font-size:1em; }
  58.  
  59. h1 { font-size:1.8em; }
  60.  
  61. h2 { font-size:1.44em; }
  62.  
  63. h3 { font-size:1.22em; }
  64.  
  65. h4 { font-size:1.07em; }
  66.  
  67. h5 { font-size:1.0em; }
  68.  
  69. h6 { font-size:1.0em; }
  70.  
  71.  
  72.  
  73. /* The #wikilogo element is the logo from $PageLogoFmt */
  74.  
  75. #wikilogo { margin-top:4px; padding:6px; border-bottom:1px #cccccc solid; }
  76.  
  77.  
  78.  
  79. /* This controls the rest of the heading (primarily the search box) */
  80.  
  81. #wikihead {
  82.  
  83.   position:absolute; right:10px; top:10px;
  84.  
  85.   font-family:Verdana,sans-serif; font-size:85%;
  86.  
  87. }
  88.  
  89. #wikihead input { font-size:85%; }
  90.  
  91.  
  92.  
  93. /* These are for the left-sidebar. */
  94.  
  95. #wikileft {
  96.  
  97.   width:155px;
  98.  
  99.   padding:6px; border-right:1px #cccccc solid;
  100.  
  101.   line-height:1.33em;
  102.  
  103.   font-size:9.4pt; font-family:Verdana,sans-serif;
  104.  
  105. }
  106.  
  107. #wikileft .vspace { margin-top:1.125em; }
  108.  
  109. #wikileft a { text-decoration:none; color:black; }
  110.  
  111. #wikileft a:hover { text-decoration:underline; color:blue; }
  112.  
  113. #wikileft ul { list-style:none; padding:0px; margin:0px; }
  114.  
  115. #wikileft li { margin:0px; padding-left: 6px; }
  116.  
  117. .sidehead {
  118.  
  119.   margin:0px; padding:4px 2px 2px 2px;
  120.  
  121.   font-size:11pt; font-weight:bold; font-style:normal;
  122.  
  123. }
  124.  
  125. .sidehead a
  126.  
  127.   { color:#505050; font-weight:bold; font-style:normal; }
  128.  
  129.  
  130.  
  131. /* These affect the main content area. */
  132.  
  133. #wikibody {
  134.  
  135.   padding:0px 10px 10px 10px; background-color:white;
  136.  
  137.   font-size:11pt;
  138.  
  139. }
  140.  
  141. #wikicmds {
  142.  
  143.   float:right; white-space:nowrap;
  144.  
  145.   font-family:Verdana,sans-serif; font-size:80%;
  146.  
  147. }
  148.  
  149. #wikicmds ul { list-style:none; margin:0px; padding:0px; }
  150.  
  151. #wikicmds li { display:inline; margin:0px 5px; }
  152.  
  153. #wikicmds li a { text-decoration:none; color:black; border:none; }
  154.  
  155. #wikicmds li a.createlink { display:none; }
  156.  
  157. #wikicmds li a:hover { text-decoration:underline; color:blue; }
  158.  
  159. .pagegroup { margin-top:8px; margin-bottom:2px; }
  160.  
  161. .pagetitle { line-height:1em; margin:0px; font-size:1.6em; font-weight:normal; }
  162.  
  163. .wikiaction { margin-top:4px; margin-bottom:4px; }
  164.  
  165. #wikitext { margin-top:12px; line-height:1.33em; }
  166.  
  167. #wikitext table { font-size:100%; line-height:1.33em; } /* For MSIE 5.5 */
  168.  
  169.  
  170.  
  171. /* These are for the edit form. */
  172.  
  173. #wikiedit form { margin:0px; width:100%; }
  174.  
  175. #wikiedit textarea { width:100%; }
  176.  
  177. .wikimessage { margin-top:4px; margin-bottom:4px; font-style:italic; }
  178.  
  179.  
  180.  
  181. /* These affect the lines at the very bottom. */
  182.  
  183. #wikifoot {
  184.  
  185.   padding-left:178px; padding-bottom:4px; border-top:1px #cccccc solid;
  186.  
  187.   font-family:Verdana,sans-serif; font-size:80%;
  188.  
  189. }
  190.  
  191.  
  192.  
  193. /* These affect the printed appearance of the web view (not the separate
  194.  
  195. ** print view) of pages.  The sidebar and action links aren't printed. */
  196.  
  197. @media print {
  198.  
  199.   body { width:auto; margin:0px; padding:0.5em; }
  200.  
  201.   #wikihead, #wikileft, #wikicmds, .footnav { display:none; }
  202.  
  203.   #wikifoot { padding:2px; }
  204.  
  205. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement