sample.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  3. * Copyright (C) 2003-2009 Frederico Caldeira Knabben
  4. *
  5. * == BEGIN LICENSE ==
  6. *
  7. * Licensed under the terms of any of the following licenses at your
  8. * choice:
  9. *
  10. * - GNU General Public License Version 2 or later (the "GPL")
  11. * http://www.gnu.org/licenses/gpl.html
  12. *
  13. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  14. * http://www.gnu.org/licenses/lgpl.html
  15. *
  16. * - Mozilla Public License Version 1.1 or later (the "MPL")
  17. * http://www.mozilla.org/MPL/MPL-1.1.html
  18. *
  19. * == END LICENSE ==
  20. *
  21. * Styles used in the samples pages.
  22. */
  23. body, td, th, input, select, textarea
  24. {
  25. font-size: 12px;
  26. font-family: Arial, Verdana, Sans-Serif;
  27. }
  28. h1
  29. {
  30. font-weight: bold;
  31. font-size: 180%;
  32. margin-bottom: 10px;
  33. }
  34. form
  35. {
  36. margin: 0;
  37. padding: 0;
  38. }
  39. #outputSample
  40. {
  41. table-layout: fixed;
  42. width: 100%;
  43. }
  44. pre
  45. {
  46. margin: 0;
  47. padding: 0;
  48. white-space: pre; /* CSS2 */
  49. white-space: -moz-pre-wrap; /* Mozilla*/
  50. white-space: -o-pre-wrap; /* Opera 7 */
  51. white-space: pre-wrap; /* CSS 2.1 */
  52. white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  53. word-wrap: break-word; /* IE */
  54. }
  55. #outputSample thead th
  56. {
  57. color: #dddddd;
  58. background-color: #999999;
  59. padding: 4px;
  60. white-space: nowrap;
  61. }
  62. #outputSample tbody th
  63. {
  64. vertical-align: top;
  65. text-align: left;
  66. }