ysct.css 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /* Images */
  2. img.standard-image {
  3. max-width: 61.8%;
  4. min-width: 38.2%;
  5. height: auto;
  6. text-align: center;
  7. display: block;
  8. margin-left: auto;
  9. margin-right: auto;
  10. box-shadow: 10px 10px 20px #888888;
  11. -webkit-box-shadow: 10px 10px 20px #888888;
  12. -moz-box-shadow: 10px 10px 20px #888888;
  13. border-radius: 4px;
  14. margin-top: 1.5ex;
  15. margin-bottom: 2.5ex;
  16. }
  17. img.small {
  18. width:38.2%;
  19. }
  20. img.full {
  21. width:100%;
  22. max-width:100%;
  23. }
  24. img.shadowless {
  25. box-shadow: none;
  26. margin-bottom: 0px;
  27. }
  28. img.inlinemediaobject {
  29. line-height: 1;
  30. vertical-align: middle;
  31. }
  32. /* Tables */
  33. /* The class "scedit" is used in tables describing working with the statechart editor.
  34. These tables typically consist of two columns with a textual description in the
  35. left column and a screenshot on the right. */
  36. table.scedit {
  37. width: auto;
  38. border-collapse: collapse;
  39. }
  40. tr.scedit {
  41. vertical-align: top
  42. }
  43. table.scedit td {
  44. border-color: #000;
  45. border-radius: 0%;
  46. border-style: solid;
  47. border-width: 0px;
  48. padding-bottom: 1ex;
  49. vertical-align: top;
  50. }
  51. table.scedit img {
  52. max-width: 100%;
  53. margin-left: 0px;
  54. margin-right: 0px;
  55. box-shadow: 4px 4px 2px #bbb;
  56. }
  57. /* Counter */
  58. body {counter-reset: h1}
  59. h1 {counter-reset: h2}
  60. h2 {counter-reset: h3}
  61. h3 {counter-reset: h4}
  62. h4 {counter-reset: h5}
  63. h5 {counter-reset: h6}
  64. .body-container h1:before {counter-increment: h1; content: counter(h1) ". "}
  65. .body-container h2:before {counter-increment: h2; content: counter(h1) "." counter(h2) ". "}
  66. .body-container h3:before {counter-increment: h3; content: counter(h1) "." counter(h2) "." counter(h3) ". "}
  67. .body-container h4:before {counter-increment: h4; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) ". "}
  68. .body-container h5:before {counter-increment: h5; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". "}
  69. .body-container h6:before {counter-increment: h6; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ". "}
  70. h1.nocount:before h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.nocount:before { content: ""; counter-increment: none }
  71. @media (max-width: 767px) {
  72. code {
  73. word-wrap: break-word;
  74. }
  75. }