sven2929

Untitled

May 7th, 2018
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. /*--------------------------------------------------------------
  2. ## Lists
  3. --------------------------------------------------------------*/
  4. ul, ol {
  5. margin: 0 0 1.5em 0;
  6. padding-left: 0;
  7. }
  8.  
  9. ul:last-child, ol:last-child {
  10. margin-bottom: 0;
  11. }
  12.  
  13. ul:not([class]):not([id]),
  14. #tm_builder_outer_content .tm_pb_module ul:not([class]) {
  15. list-style-type: none;
  16. }
  17.  
  18. ul:not([class]):not([id]) li,
  19. #tm_builder_outer_content .tm_pb_module ul:not([class]) li {
  20. padding-left: 15px;
  21. position: relative;
  22. }
  23.  
  24. ul:not([class]):not([id]) li + li,
  25. #tm_builder_outer_content .tm_pb_module ul:not([class]) li + li {
  26. margin-top: 8px;
  27. }
  28.  
  29. ul:not([class]):not([id]) li:before,
  30. #tm_builder_outer_content .tm_pb_module ul:not([class]) li:before {
  31. position: absolute;
  32. left: 0;
  33. top: 13px;
  34. display: inline-block;
  35. content: '';
  36. width: 6px;
  37. height: 6px;
  38. border-radius: 50%;
  39. }
  40.  
  41. .entry-content ol {
  42. list-style: none;
  43. counter-reset: li;
  44. }
  45.  
  46. .entry-content ol li + li,
  47. .entry-content ol li > ul li,
  48. .entry-content ol li > ol li {
  49. margin-top: 5px;
  50. }
  51.  
  52. .entry-content ol > li:before {
  53. content: counter(li, decimal-leading-zero) ".";
  54. counter-increment: li;
  55. margin-right: 10px;
  56. }
  57.  
  58. li > ul,
  59. li > ol {
  60. margin-bottom: 0;
  61. margin-left: 1.1em;
  62. }
  63.  
  64. dt {
  65. font-weight: bold;
  66. }
  67.  
  68. dd {
  69. margin: 0 1.5em 1.5em;
  70. }
  71.  
  72. /* Inline list */
  73. .inline-list {
  74. padding: 0;
  75. margin: 0;
  76. list-style: none;
  77. }
  78.  
  79. .inline-list li {
  80. display: inline-block;
  81. }
  82.  
  83. /* List (no marker) */
  84. .entry-content ul.list {
  85. list-style: none;
  86. margin-left: 0;
  87. }
  88.  
  89. .entry-content ul.list li + li,
  90. .entry-content ul.list li > ul li,
  91. .entry-content ul.list li > ol li {
  92. margin-top: 21px;
  93. }
  94.  
  95. .entry-content ul.list li > ul {
  96. margin-left: 3em;
  97. }
  98.  
  99. .entry-content ul.list li > ol,
  100. .entry-content ul.list li > .list {
  101. margin-left: 1.5em;
  102. }
  103.  
  104. #tm_builder_outer_content .tm_pb_contact_form .tm-pb-contact-message ul li:before {
  105. display: none;
  106. }
  107.  
  108. #tm_builder_outer_content .tm_pb_contact_form .tm-pb-contact-message ul li + li {
  109. margin-top: 0;
  110. }
  111.  
  112. #tm_builder_outer_content .tm_pb_contact_form .tm-pb-contact-message ul li + li:before {
  113. display: none;
  114. }
Add Comment
Please, Sign In to add comment