Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

lists.scss 1.4 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
  1. /* Numbered procedures (step 1, step 2, ...)
  2. ------------------------------------------------------------------------------*/
  3. .list-style-inside {
  4. list-style: inside;
  5. }
  6. .markdown-body ol {
  7. counter-reset: li;
  8. list-style: none;
  9. position: relative;
  10. padding-bottom: 10px;
  11. padding-left: 0;
  12. }
  13. .markdown-body ol > li {
  14. padding: 15px 0 15px 55px;
  15. position: relative;
  16. margin-bottom: 5px;
  17. border-top: 3px solid var(--color-auto-gray-2);
  18. }
  19. .markdown-body ol > li:before {
  20. content: counter(li);
  21. counter-increment: li;
  22. position: absolute;
  23. top: 10px;
  24. left: 0;
  25. height: 100%;
  26. width: 30px;
  27. padding: 0 10px 0 0;
  28. color: var(--color-auto-gray-4);
  29. font-size: 22px;
  30. font-weight: bold;
  31. line-height: 35px;
  32. text-align: right;
  33. }
  34. .markdown-body ol > li > p {
  35. margin: 0;
  36. }
  37. .markdown-body ol > li > p:first-child {
  38. margin-top: 0;
  39. }
  40. .markdown-body ol > li:after {
  41. content: ".";
  42. display: block;
  43. clear: both;
  44. visibility: hidden;
  45. line-height: 0;
  46. height: 0;
  47. }
  48. .markdown-body ol > li {
  49. padding: $spacer-2 0 $spacer-2 $spacer-7;
  50. border: 0;
  51. &:before {
  52. top: 2px;
  53. font-size: $spacer-3;
  54. width: $spacer-4;
  55. }
  56. p:not(:first-child) {
  57. margin-top: 15px;
  58. }
  59. .extended-markdown {
  60. margin-top: 15px;
  61. }
  62. }
  63. .markdown-body ul ul,
  64. .markdown-body ul ol,
  65. .markdown-body ol ol,
  66. .markdown-body ol ul {
  67. margin-top: 15px;
  68. margin-bottom: 15px;
  69. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...