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

style.css 3.8 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
  1. /* Table format like GitHub ----------------------------------------------------------------------------------------- */
  2. th,
  3. td {
  4. border: 1px solid var(--md-typeset-table-color);
  5. border-spacing: 0;
  6. border-bottom: none;
  7. border-left: none;
  8. border-top: none;
  9. }
  10. .md-typeset__table {
  11. line-height: 1;
  12. }
  13. .md-typeset__table table:not([class]) {
  14. font-size: 0.74rem;
  15. border-right: none;
  16. }
  17. .md-typeset__table table:not([class]) td,
  18. .md-typeset__table table:not([class]) th {
  19. padding: 9px;
  20. }
  21. /* light mode alternating table bg colors */
  22. .md-typeset__table tr:nth-child(2n) {
  23. background-color: #f6f8fa;
  24. }
  25. /* dark mode alternating table bg colors */
  26. [data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
  27. background-color: #161b22;
  28. }
  29. /* Table format like GitHub ----------------------------------------------------------------------------------------- */
  30. /* Code block vertical scroll */
  31. div.highlight {
  32. max-height: 20rem;
  33. overflow-y: auto; /* for adding a scrollbar when needed */
  34. }
  35. /* Set content width */
  36. .md-grid {
  37. max-width: 1440px;
  38. }
  39. /* Set language dropdown maximum height to screen height */
  40. .md-header .md-select:hover .md-select__inner {
  41. max-height: 75vh;
  42. }
  43. /* Banner (same as the one on the Ultralytics website) -------------------------------------------------------------- */
  44. .md-banner {
  45. background-image: url(https://assets-global.website-files.com/646dd1f1a3703e451ba81ecc/6627a0cab2de939ad35939ed_banner_82.webp);
  46. background-size: cover;
  47. background-position: center;
  48. }
  49. .md-banner__inner {
  50. margin-top: 0 !important;
  51. margin-bottom: 0 !important;
  52. }
  53. .banner-wrapper {
  54. display: flex;
  55. justify-content: center;
  56. align-items: center;
  57. height: 64px;
  58. overflow: hidden;
  59. }
  60. .banner-content {
  61. max-height: 64px;
  62. }
  63. .banner-content.desktop {
  64. display: none;
  65. }
  66. .banner-arrow {
  67. display: none;
  68. max-height: 80px;
  69. margin-left: -16px;
  70. transition: transform ease-in-out 0.5s;
  71. }
  72. .banner-wrapper:hover > .banner-arrow {
  73. transform: translateX(8px);
  74. }
  75. @media screen and (min-width: 768px) {
  76. .banner-content.mobile {
  77. display: none;
  78. }
  79. .banner-content.desktop {
  80. display: revert;
  81. }
  82. .banner-arrow {
  83. display: revert;
  84. }
  85. }
  86. /* Banner (same as the one on the Ultralytics website) -------------------------------------------------------------- */
  87. /* MkDocs Ultralytics Plugin ---------------------------------------------------------------------------------------- */
  88. .git-info,
  89. .dates-container,
  90. .authors-container,
  91. .share-buttons {
  92. display: flex;
  93. align-items: center;
  94. justify-content: flex-end;
  95. flex-wrap: wrap;
  96. }
  97. .git-info {
  98. font-size: 0.8em;
  99. color: grey;
  100. margin-bottom: 10px;
  101. }
  102. .dates-container,
  103. .authors-container {
  104. margin-bottom: 10px;
  105. }
  106. .date-item,
  107. .author-link,
  108. .share-button {
  109. display: flex;
  110. align-items: center;
  111. cursor: pointer;
  112. }
  113. .date-item {
  114. margin-right: 10px;
  115. }
  116. .hover-item {
  117. transition: all 0.2s ease;
  118. filter: grayscale(100%);
  119. }
  120. .date-item .hover-item {
  121. font-size: 1.6em;
  122. margin-right: 5px;
  123. }
  124. .author-link .hover-item {
  125. width: 50px;
  126. height: 50px;
  127. border-radius: 50%;
  128. margin-right: 3px;
  129. }
  130. .hover-item:hover {
  131. transform: scale(1.2);
  132. filter: grayscale(0%);
  133. }
  134. .share-buttons {
  135. margin-top: 10px;
  136. }
  137. .share-button {
  138. background-color: #1da1f2;
  139. color: white;
  140. padding: 6px 12px;
  141. border-radius: 5px;
  142. border: none;
  143. font-size: 0.95em;
  144. margin: 5px;
  145. transition: all 0.2s ease;
  146. }
  147. .share-button:hover {
  148. transform: scale(1.1);
  149. filter: brightness(1.2);
  150. }
  151. .share-button.linkedin {
  152. background-color: #0077b5;
  153. }
  154. .share-button i {
  155. margin-right: 5px;
  156. font-size: 1.1em;
  157. }
  158. @media (max-width: 1024px) {
  159. .git-info {
  160. flex-direction: column;
  161. align-items: flex-end;
  162. }
  163. .dates-container,
  164. .authors-container {
  165. width: 100%;
  166. }
  167. }
  168. /* MkDocs Ultralytics Plugin ---------------------------------------------------------------------------------------- */
Tip!

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

Comments

Loading...