CSS   10

common.css

Guest on 12th October 2021 02:45:54 PM

  1. /* standard rule ---- */
  2. hr {
  3.     height: 1pt;
  4.     background-color: #C1B496; /* ubuntu dark tan */
  5.     border: 0;
  6. }
  7.  
  8. /* custom rules ----- to ---------- */
  9. .hr1 {height: 2pt;}
  10. .hr2 {height: 3pt;}
  11. .hr3 {height: 4pt;}
  12. .hr4 {height: 5pt;}
  13. .hr5 {height: 6pt;}
  14. .hr6 {height: 7pt;}
  15.  
  16. /* Replacement for html 3 u tag */
  17. .u {text-decoration: underline;}
  18.  
  19. /* eye catchers */
  20. .warning
  21. {
  22.         color: red;
  23. }
  24.  
  25. .error
  26. {
  27.         color: red;
  28. }
  29.  
  30. strong.highlight
  31. {
  32.         background-color: #edddba; /* ubuntu pale orange */
  33.         padding: 1pt;
  34. }
  35.  
  36.  
  37. /* Recent changes */
  38.  
  39. .rcrss {
  40.         float: right;
  41.         margin: 0;
  42. }
  43.  
  44. .recentchanges[dir="rtl"] .rcrss {
  45.         float: left;
  46. }
  47.  
  48. .recentchanges table {
  49.         clear: both;
  50. }
  51.  
  52. .recentchanges td {
  53.         vertical-align: top;
  54.         border: none;
  55.         border-bottom: 1pt solid #C1B496; /* ubuntu dark tan */
  56.         background: white;
  57. }
  58.  
  59. .rcdaybreak td {
  60.         background: #EDD097; /* classic: deep yellow */
  61.         border: none;
  62. }
  63.  
  64. .rcdaybreak td a {
  65.         font-size: 0.88em;
  66. }
  67.  
  68. .rcicon1, .rcicon2 {
  69.         text-align: center;
  70. }
  71.  
  72. .rcpagelink {
  73.         width: 33%;
  74. }
  75.  
  76. .rctime {
  77.         font-size: 0.88em;
  78.         white-space: nowrap;
  79. }
  80.  
  81. .rceditor {
  82.         white-space: nowrap;
  83.         font-size: 0.88em;
  84. }
  85.  
  86. .rccomment {
  87.         width: 66%;
  88.         color: #C1B496; /* ubuntu dark tan */
  89.         font-size: 0.88em;
  90.         font-weight: bold;
  91. }
  92.  
  93.  
  94. /* User Preferences */
  95.  
  96. .userpref table, .userpref td {
  97.         border: none;
  98. }
  99.  
  100. /* CSS for new code_area markup used by Colorizer and ParserBase */
  101.  
  102. div.codearea { /* the div makes the border */
  103.         margin: 4pt 0;
  104.         padding: 0;
  105.         border: 1pt solid #C1B496; /* ubuntu dark tan */
  106. /*      background-color: #F3F5F7;   * light grey */
  107.         background-color: #edddba; /* ubuntu pale orange */
  108.         color: black;
  109. }
  110.  
  111. div.codearea pre { /* the pre has no border and is inside the div */
  112.         margin: 0;
  113.         padding: 4pt;
  114.         border: none;
  115. }
  116.  
  117. a.codenumbers { /* format of the line numbering link */
  118.         margin: 0 4pt;
  119.         font-size: 0.85em;
  120.         color: #6d4c07; /* ubuntu dark brown */
  121. }
  122.  
  123. /* format of certain syntax spans */
  124. div.codearea pre span.LineNumber {color: gray;}
  125. div.codearea pre span.ID         {color: #000000;}
  126. div.codearea pre span.Operator   {color: #0000C0;}
  127. div.codearea pre span.Char       {color: #004080;}
  128. div.codearea pre span.Comment    {color: #008000;}
  129. div.codearea pre span.Number     {color: #0080C0;}
  130. div.codearea pre span.String     {color: #004080;}
  131. div.codearea pre span.SPChar     {color: #0000C0;}
  132. div.codearea pre span.ResWord    {color: #A00000;}
  133. div.codearea pre span.ConsWord   {color: #008080; font-weight: bold;}
  134. div.codearea pre span.Error      {color: #FF8080; border: solid 1.5pt #FF0000;}
  135. div.codearea pre span.ResWord2   {color: #0080ff; font-weight: bold;}
  136. div.codearea pre span.Special    {color: #0000ff;}
  137. div.codearea pre span.Preprc     {color: #803999;}
  138.  
  139.  
  140. /* Search results */
  141.  
  142. .searchresults dt {
  143.     margin-top: 1em;
  144.         font-weight: normal;
  145. }
  146.  
  147. .searchresults dd {
  148.         font-size: 0.85em;
  149. }
  150.  
  151. /* MonthCalendar css */
  152.  
  153. /* days without and with pages linked to them */
  154. a.cal-emptyday {
  155.     color: #777777;
  156.     text-align: center;
  157. }
  158. a.cal-usedday {
  159.     color: #000000;
  160.     font-weight: bold;
  161.     text-align: center;
  162. }
  163. /* general stuff: workdays, weekend, today */
  164. td.cal-workday {
  165.     background-color: #F1F1ED; /* ubuntu near-white */
  166.     text-align: center;
  167. }
  168. td.cal-weekend {
  169.     background-color: #edddba; /* ubuntu pale orange */
  170.     text-align: center;
  171. }
  172. td.cal-today {
  173.     background-color: #DBBA75; /* ubuntu orange */
  174.     border-style: solid;
  175.     border-width: 2pt;
  176.     text-align: center;
  177. }
  178. /* invalid places on the monthly calendar sheet */
  179. td.cal-invalidday {
  180.     background-color: #CCCCCC;
  181. }
  182. /* links to prev/next month/year */
  183. a.cal-link {
  184.     color: #F1F1ED; /* ubuntu near-white */
  185.     text-decoration: none;
  186. }
  187. th.cal-header {
  188.     background-color: #6d4c07; /* ubuntu dark brown */
  189.     color: white;
  190.     text-align: center;
  191. }
  192.  
  193. /* for MonthCalendar mouseover info boxes */
  194. TABLE.tip {
  195.     color: black;
  196.         border: 1px solid #C1B496; /* ubuntu dark tan */
  197.         background-color: #f0eee6; /* ubuntu light salmon */
  198.     font-size: small;
  199.     font-weight: normal;
  200. }
  201.  
  202. TH.tip {
  203.     background-color: #DBBA75; /* ubuntu orange */
  204.     font-weight: bold;
  205.     text-align: center;
  206. }
  207.  
  208. TD.tip {
  209.     text-align: left;
  210. }
  211. *[dir="rtl"] TD.tip {
  212.     text-align: right;
  213. }
  214.  
  215. /* end MonthCalendar stuff */

Raw Paste


Login or Register to edit or fork this paste. It's free.