wysiwyg.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. /* LISIBILITY */
  2. /*
  3. * www.g-u-i.net
  4. */
  5. * {
  6. font-size: 14px;
  7. }
  8. div {
  9. border: 1px dashed #D4D4D4;
  10. }
  11. p:after,
  12. ul:after {
  13. content: "¬";
  14. color: red;
  15. }
  16. h1:before,
  17. h2:before,
  18. h3:before,
  19. h4:before,
  20. h5:before,
  21. h6:before {
  22. color: blue;
  23. font-weight: normal;
  24. font-size: 10px;
  25. vertical-align: super;
  26. }
  27. h1:before {
  28. content: "h1 ";
  29. }
  30. h2:before {
  31. content: "h2 ";
  32. }
  33. h3:before {
  34. content: "h3 ";
  35. }
  36. h4:before {
  37. content: "h4 ";
  38. }
  39. h5:before {
  40. content: "h5 ";
  41. }
  42. h6:before {
  43. content: "h6 ";
  44. }
  45. h2 {
  46. font-size: 24px;
  47. }
  48. h3 {
  49. font-size: 18px;
  50. }
  51. h4 {
  52. font-size: 16px;
  53. }
  54. h5 {
  55. font-size: 14px;
  56. }
  57. h6 {
  58. font-size: 12px;
  59. }
  60. br:after {
  61. content: "·";
  62. color: red;
  63. border: 1px solid #999;
  64. }
  65. /* LAYOUT AND GRAPHICS */
  66. #full {
  67. width: 99%;
  68. }
  69. #demi {
  70. width: 47%;
  71. }
  72. #tiers {
  73. width: 29%;
  74. }
  75. #quart {
  76. width: 23%;
  77. }
  78. #right {
  79. float: right;
  80. margin-left: 2%;
  81. }
  82. #left {
  83. float: left;
  84. margin-right: 2%;
  85. }
  86. #center {
  87. display: block;
  88. margin: 0 auto;
  89. }
  90. img {
  91. height: auto;
  92. margin: 0.5em 0;
  93. }
  94. p {
  95. border: 1px dashed #848484;
  96. }
  97. div {
  98. border: 1px solid #1A1A1A;
  99. }
  100. img,
  101. p,
  102. div {
  103. position: relative;
  104. }
  105. img:before,
  106. p:before,
  107. div:before {
  108. font-size: 10px;
  109. color: red;
  110. background-color: #1A1A1A;
  111. position: absolute;
  112. top: 0;
  113. z-index: 3000;
  114. }
  115. img.full,
  116. p.full,
  117. div.full {
  118. width: 99%;
  119. }
  120. img.full:before,
  121. p.full:before,
  122. div.full:before {
  123. content: " full ";
  124. }
  125. img.demi,
  126. p.demi,
  127. div.demi {
  128. width: 47%;
  129. margin-right: 2%;
  130. }
  131. img.demi:before,
  132. p.demi:before,
  133. div.demi:before {
  134. content: " demi ";
  135. right: 0;
  136. }
  137. img.tiers,
  138. p.tiers,
  139. div.tiers {
  140. width: 29%;
  141. margin-right: 2%;
  142. }
  143. img.tiers:before,
  144. p.tiers:before,
  145. div.tiers:before {
  146. content: " tiers ";
  147. right: 0;
  148. }
  149. img.quart,
  150. p.quart,
  151. div.quart {
  152. width: 23%;
  153. margin-right: 2%;
  154. }
  155. img.quart:before,
  156. p.quart:before,
  157. div.quart:before {
  158. content: " quart ";
  159. right: 0;
  160. }
  161. img.demi-left,
  162. p.demi-left,
  163. div.demi-left {
  164. width: 47%;
  165. float: left;
  166. margin-right: 2%;
  167. }
  168. img.demi-left:before,
  169. p.demi-left:before,
  170. div.demi-left:before {
  171. content: " demi-left ";
  172. left: 0;
  173. }
  174. img.demi-right,
  175. p.demi-right,
  176. div.demi-right {
  177. width: 47%;
  178. float: right;
  179. margin-left: 2%;
  180. }
  181. img.demi-right:before,
  182. p.demi-right:before,
  183. div.demi-right:before {
  184. content: " demi-right ";
  185. right: 0;
  186. }
  187. img.demi-center,
  188. p.demi-center,
  189. div.demi-center {
  190. width: 47%;
  191. display: block;
  192. margin: 0 auto;
  193. }
  194. img.demi-center:before,
  195. p.demi-center:before,
  196. div.demi-center:before {
  197. content: " demi-denter ";
  198. right: 0;
  199. }
  200. img.tiers-left,
  201. p.tiers-left,
  202. div.tiers-left {
  203. width: 29%;
  204. float: left;
  205. margin-right: 2%;
  206. }
  207. img.tiers-left:before,
  208. p.tiers-left:before,
  209. div.tiers-left:before {
  210. content: " tiers-left ";
  211. left: 0;
  212. }
  213. img.tiers-right,
  214. p.tiers-right,
  215. div.tiers-right {
  216. width: 29%;
  217. float: right;
  218. margin-left: 2%;
  219. }
  220. img.tiers-right:before,
  221. p.tiers-right:before,
  222. div.tiers-right:before {
  223. content: " tiers-right ";
  224. right: 0;
  225. }
  226. img.tiers-center,
  227. p.tiers-center,
  228. div.tiers-center {
  229. width: 29%;
  230. display: block;
  231. margin: 0 auto;
  232. }
  233. img.tiers-center:before,
  234. p.tiers-center:before,
  235. div.tiers-center:before {
  236. content: " tiers-center ";
  237. right: 0;
  238. }
  239. img.quart-left,
  240. p.quart-left,
  241. div.quart-left {
  242. width: 23%;
  243. float: left;
  244. margin-right: 2%;
  245. }
  246. img.quart-left:before,
  247. p.quart-left:before,
  248. div.quart-left:before {
  249. content: " quart-left ";
  250. left: 0;
  251. }
  252. img.quart-right,
  253. p.quart-right,
  254. div.quart-right {
  255. width: 23%;
  256. float: right;
  257. margin-left: 2%;
  258. }
  259. img.quart-right:before,
  260. p.quart-right:before,
  261. div.quart-right:before {
  262. content: " quart-right ";
  263. right: 0;
  264. }
  265. img.quart-center,
  266. p.quart-center,
  267. div.quart-center {
  268. width: 23%;
  269. display: block;
  270. margin: 0 auto;
  271. }
  272. img.quart-center:before,
  273. p.quart-center:before,
  274. div.quart-center:before {
  275. content: " quart-center ";
  276. right: 0;
  277. }
  278. table,
  279. tr,
  280. td {
  281. position: relative;
  282. padding: 1em 0.3em 0.3em;
  283. width: 100%;
  284. }
  285. table:before,
  286. tr:before,
  287. td:before {
  288. font-size: 10px;
  289. color: white;
  290. background-color: blue;
  291. position: absolute;
  292. top: 0;
  293. left: 0;
  294. z-index: 3000;
  295. padding: 1px 3px;
  296. }
  297. table {
  298. border: 2px solid blue!important;
  299. }
  300. table:before {
  301. content: "table";
  302. }
  303. tr {
  304. display: block;
  305. border: 1px dashed blue!important;
  306. }
  307. tr:before {
  308. content: "tr";
  309. }
  310. td {
  311. border: 1px dotted blue!important;
  312. }
  313. td:before {
  314. content: "td";
  315. }
  316. td p {
  317. padding: 0 15px;
  318. }