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

article.scss 3.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
  1. /* Grid-based layout
  2. ------------------------------------------------------------------------------*/
  3. .article-grid-container {
  4. max-width: 720px;
  5. @include breakpoint(xl) {
  6. max-width: none;
  7. display: grid;
  8. grid-template-rows: auto 1fr;
  9. grid-template-columns: minmax(500px, 720px) minmax(220px, 1fr);
  10. grid-template-areas:
  11. 'top right-sidebar'
  12. 'bottom right-sidebar';
  13. column-gap: $spacer-6;
  14. }
  15. @include breakpoint(xl) {
  16. column-gap: $spacer-9;
  17. }
  18. }
  19. .article-grid-toc {
  20. grid-area: right-sidebar;
  21. }
  22. .article-grid-toc-content {
  23. @include breakpoint(xl) {
  24. position: sticky;
  25. top: $spacer-4;
  26. max-height: calc(100vh - #{$spacer-4});
  27. overflow-y: auto;
  28. padding-bottom: $spacer-4;
  29. }
  30. }
  31. .article-grid-head {
  32. grid-area: top;
  33. }
  34. .article-grid-body {
  35. grid-area: bottom;
  36. }
  37. /* Deprecation banner
  38. ------------------------------------------------------------------------------*/
  39. .deprecation-banner {
  40. & + .alert {
  41. margin-top: 5px;
  42. }
  43. & > *:first-child {
  44. margin-top: 0;
  45. }
  46. & > *:last-child {
  47. margin-bottom: 0;
  48. }
  49. + #bootcamp {
  50. margin-top: 20px;
  51. }
  52. b,
  53. strong {
  54. font-weight: bold;
  55. }
  56. p {
  57. margin: 0;
  58. }
  59. }
  60. /* Code style overrides
  61. ------------------------------------------------------------------------------*/
  62. .markdown-body .highlight pre, .markdown-body pre {
  63. margin-top: 10px;
  64. }
  65. .height-constrained-code-block pre {
  66. max-height: 500px;
  67. overflow: auto;
  68. }
  69. /* Breadcrumbs
  70. ------------------------------------------------------------------------------*/
  71. .breadcrumbs-wrapper {
  72. @include breakpoint(xl) {
  73. height: 39px;
  74. }
  75. }
  76. .breadcrumbs a:not(:last-child)::after, .breadcrumbs span:not(:last-child)::after {
  77. content: '/';
  78. color: var(--color-auto-gray-4);
  79. padding-right: $spacer-1;
  80. padding-left: $spacer-2;
  81. display:inline-block;
  82. }
  83. /* Numbered procedures (step 1, step 2, ...)
  84. ------------------------------------------------------------------------------*/
  85. .markdown-body ol {
  86. counter-reset: li;
  87. list-style: none;
  88. position: relative;
  89. padding-bottom: 10px;
  90. padding-left: 0;
  91. }
  92. .markdown-body ol > li {
  93. padding: 15px 0 15px 55px;
  94. position: relative;
  95. margin-bottom: 5px;
  96. border-top: 3px solid var(--color-auto-gray-2);
  97. }
  98. .markdown-body ol > li:before {
  99. content: counter(li);
  100. counter-increment: li;
  101. position: absolute;
  102. top: 10px;
  103. left: 0;
  104. height: 100%;
  105. width: 30px;
  106. padding: 0 10px 0 0;
  107. color: var(--color-auto-gray-4);
  108. font-size: 22px;
  109. font-weight: bold;
  110. line-height: 35px;
  111. text-align: right;
  112. }
  113. .markdown-body ol > li > p {
  114. margin: 0;
  115. }
  116. .markdown-body ol > li > p:first-child {
  117. margin-top: 0;
  118. }
  119. .markdown-body ol > li:after {
  120. content: ".";
  121. display: block;
  122. clear: both;
  123. visibility: hidden;
  124. line-height: 0;
  125. height: 0;
  126. }
  127. .procedural-image-wrapper {
  128. display: block;
  129. padding: 10px 0;
  130. margin: 20px auto 0 auto;
  131. }
  132. .procedural-image-wrapper img {
  133. border-radius: 5px;
  134. border: 2px solid var(--color-auto-gray-2);
  135. width: auto;
  136. height: auto;
  137. max-height: 500px;
  138. }
  139. // make sure images that contain emoji render at the expected size
  140. img[src*="https://github.githubassets.com/images/icons/emoji"] {
  141. height: 20;
  142. width: 20;
  143. align: absmiddle;
  144. }
  145. /* Notes, tips, warning, and danger styles
  146. ------------------------------------------------------------------------------*/
  147. .note,
  148. .tip,
  149. .warning,
  150. .danger {
  151. // remove extra space under lists inside of notes
  152. ul, ol {
  153. margin-bottom: 0;
  154. }
  155. }
Tip!

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

Comments

Loading...