Advertisement
LumChron

GameAtWork CSS

Sep 24th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. body {
  2. margin: 0px 0px 20px 0px;
  3. padding: 30px 40px;
  4. background: #FFF;
  5. font-family: "Lucida Grande", Verdana, Geneva, Arial, sans-serif;
  6. font-size: small;
  7. }
  8.  
  9. /* grey underlined links that turn black as you are about to click */
  10.  
  11. a {
  12. color: #000000;
  13. background-color: inherit;
  14. text-decoration: none;
  15. }
  16. div.content a {
  17. text-decoration: underline;
  18. }
  19. a:link {
  20. color: ##0000FF;
  21. background-color: inherit;
  22. }
  23. a:visited {
  24. color: ##2E9AFE;
  25. background-color: inherit;
  26. }
  27. a:active {
  28. color: #0000FF;
  29. background-color: inherit;
  30. }
  31. a:hover {
  32. color: #0000FF;
  33. background-color: #D8D8D8;
  34. }
  35. a.near:link { color: #036; background-color: inherit; }
  36. a.near:visited { color: #69c; background-color: inherit; }
  37. a.near:active { color: #390; background-color: inherit; }
  38. a.near:hover { color: #390; background-color: inherit; }
  39.  
  40. a[class="url outside"]:before { content: "\2197"; }
  41. body.safari a[class="url outside"]:before { content: url(http://www.emacswiki.org/alex/pics/arrow.png); }
  42.  
  43. /* goto bar, navigation bar, etc. */
  44.  
  45. span.bar a { margin-right: 1ex; }
  46.  
  47. /* logo on the right */
  48.  
  49. img.logo {
  50. float: right;
  51. padding: 0;
  52. border: none;
  53. }
  54.  
  55. /* headers */
  56.  
  57. h1, h2, h3 {
  58. margin: 0px;
  59. padding: 0px;
  60. font-weight: normal;
  61. line-height: normal;
  62. clear: both;
  63. }
  64.  
  65. /* dashed line and whitespace after the title */
  66. div.header h1 {
  67. font-size: 28pt;
  68. font-family: "Century Gothic", "Gill Sans", Helvetica, sans-serif;
  69. font-weight: 100;
  70. letter-spacing: 0.07em;
  71. margin-top: 30px;
  72. padding-bottom: 30px;
  73. margin-bottom: 30px;
  74. border-bottom: 1px dashed #333;
  75. }
  76.  
  77. div.header h1 a {
  78. color: inherit;
  79. background-color: inherit;
  80. }
  81.  
  82. h1 {
  83. color: #FFF;
  84. background-color: #036;
  85. }
  86.  
  87. /* add a dashed line and whitespace before subheadings */
  88. h2 {
  89. margin-top: 2em;
  90. padding-top: 2em;
  91. border-top: 1px dashed #333;
  92. }
  93.  
  94. /* after a subheading, no whitespace */
  95. h2 + p, h3 + p {
  96. margin-top: 0;
  97. }
  98.  
  99. /* when the subheading starts the page, no dashed line and whitespace,
  100. because that is already added by the header. */
  101. h2:first-child {
  102. padding-top: 0;
  103. border: none;
  104. }
  105.  
  106. /* major subtitles blue and not underlined, both for journals and normal pages.
  107. within journals, do not use a horizontal line to separate entries. */
  108.  
  109. h2, div.journal h1 {
  110. font-size: inherit;
  111. font-weight: bold;
  112. }
  113.  
  114. h3, div.journal h1 a {
  115. color: #009;
  116. background-color: inherit;
  117. text-decoration: none;
  118. }
  119.  
  120. hr {
  121. border: none;
  122. margin: 2em;
  123. }
  124.  
  125. /* table on the new page */
  126.  
  127. p.table a { float: left; width: 20ex; }
  128. p.table + p { clear: both; padding-top: 10px; }
  129.  
  130. /* edit pages */
  131.  
  132. textarea[name="text"] { width: 100%; height: 80%; }
  133. textarea[name="summary"] { width: 100%; height: 3em; }
  134.  
  135. /* comments */
  136.  
  137. textarea[name="aftertext"] {
  138. width: 100%;
  139. height: 10em;
  140. margin: 1em 0;
  141. }
  142. div.commentshown {
  143. font-size: smaller;
  144. padding: 0 2em 1ex 2em;
  145. }
  146. div.commentshown hr {
  147. margin: 1em;
  148. }
  149. div.commenthidden { display: none; }
  150. div.commentshown { display: block; }
  151. p.comment { font-size: x-small; }
  152.  
  153. /* cal */
  154. div.month {
  155. padding: 0;
  156. margin: 0 2ex;
  157. }
  158. div.month a {
  159. text-decoration: none;
  160. }
  161. /* pre gets different colors below */
  162. div.month pre {
  163. color: inherit;
  164. background-color: inherit;
  165. }
  166. body div.month {
  167. float: right;
  168. padding: 0 1ex;
  169. }
  170. div.year div.month {
  171. float: left;
  172. padding: 0;
  173. }
  174. div.month a.edit {
  175. color: inherit;
  176. background-color: inherit;
  177. font-weight: inherit;
  178. }
  179.  
  180. /* images, styles to use for the image extension */
  181.  
  182. a.image img {
  183. border: none;
  184. }
  185. a.left {
  186. float: left;
  187. margin: 20px;
  188. }
  189. a.right {
  190. float: right;
  191. margin: 20px;
  192. }
  193.  
  194. /* code */
  195.  
  196. pre {
  197. font-family: "Andale Mono", Monaco, "Courrier New", monospace;
  198. margin: 1em 0;
  199. padding: 1em 2em;
  200. color: #000;
  201. background-color: #ddd;
  202. }
  203.  
  204. /* diff */
  205.  
  206. div.diff { padding-left: 5%; padding-right: 5%; }
  207. div.old { background-color: #FFFFAF; color: #000; }
  208. div.new { background-color: #CFFFCF; color: #000; }
  209.  
  210. /* header stuff */
  211.  
  212. div.message { background-color: #FEE; color: #000; }
  213.  
  214. /* footer stuff */
  215.  
  216. div.footer {
  217. clear: both;
  218. font-size: smaller;
  219. }
  220. div.footer + hr {
  221. border: none;
  222. margin: 10px;
  223. }
  224.  
  225. div.sister {
  226. font-size: smaller;
  227. margin-right: 1ex;
  228. }
  229. div.sister p {
  230. margin-top: 0;
  231. }
  232. div.sister hr {
  233. display: none;
  234. }
  235. div.sister img {
  236. border: none;
  237. vertical-align: top;
  238. margin-right: 20px;
  239. }
  240.  
  241. div.near {
  242. font-size: smaller;
  243. }
  244.  
  245. div.refer hr {
  246. display: none;
  247. }
  248. div.refer {
  249. margin-top: 50px;
  250. padding-left: 1ex;
  251. border-left: 0.6ex solid #aaa;
  252. font-size: smaller;
  253. clear: both;
  254. }
  255.  
  256. /* sidebar */
  257.  
  258. div.sidebar {
  259. float: right;
  260. border: 1px dotted #000;
  261. padding: 0 1em;
  262. }
  263. div.sidebar ul {
  264. padding-left: 1em;
  265. }
  266.  
  267. /* printing */
  268.  
  269. @media print {
  270. div.diff, div.diff+hr, div.refer, div.near, div.sister, div.cal, div.footer,
  271. span.specialdays, span.gotobar, a.edit, a.number span,
  272. div.rc form { display: none; }
  273. body { font: 12pt "Neep", "Arial", sans-serif; color: #000; }
  274. a:link, a:visited { color: #000; text-decoration: none; font-style: oblique; }
  275. a[class="url number"]:after, a[class="inter number"]:after { content: "[" attr(href) "]"; }
  276. a[class="local number"]:after { content: "[" attr(title) "]"; }
  277. a.near { font-weight: normal; text-decoration: none; font-style: oblique; }
  278. a.near:link, a.near:visited, a.near:active, a.near:hover {
  279. color: inherit; background-color: inherit;
  280. }
  281. a[class="near"]:after { content: " [" attr(title) "]"; }
  282. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement