ysct.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. }
  76. .pro-feature {
  77. border: 2px solid red;
  78. border-color: rgba(255,0,0,0.75);
  79. border-width: 2px 0 0 2px;
  80. position: relative;
  81. overflow: hidden;
  82. padding: 10px 20px 0;
  83. margin-right: -20px;
  84. margin-bottom: 30px;
  85. }
  86. .pro-feature:before {
  87. content:"PRO";
  88. position:absolute;
  89. top:-10px;
  90. right:-34px;
  91. background:red;
  92. background:rgba(255,0,0,0.75);
  93. color:white;
  94. padding:20px 30px 2px;
  95. transform:rotate(45deg);
  96. z-index:10
  97. }
  98. span.pro-feature {
  99. padding:0;
  100. border-width:0
  101. }
  102. span.pro-feature:before {
  103. transform:none;
  104. padding:0 3px;
  105. position:relative;
  106. top:0;
  107. left:0
  108. }