github.com/kubeshop/testkube@v1.17.23/docs/src/css/custom.css (about) 1 /** 2 * Any CSS included here will be global. The classic template 3 * bundles Infima by default. Infima is a CSS framework designed to 4 * work well for content-centric websites. 5 */ 6 7 /* You can override the default Infima variables here. */ 8 9 @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap"); 10 11 :root { 12 --ifm-font-family-base: "Roboto"; 13 --ifm-font-size-base: 16px; 14 --ifm-color-primary: #818cf8; 15 --ifm-color-secondary: #c8cdff; 16 --ifm-color-third: #EFEDFF; 17 --ifm-color-primary-dark: #29784c; 18 --ifm-color-primary-darker: #277148; 19 --ifm-color-primary-darkest: #205d3b; 20 --ifm-color-primary-light: #33925d; 21 --ifm-color-primary-lighter: #359962; 22 --ifm-color-primary-lightest: #3cad6e; 23 --ifm-color-gray-1000: #0f172a; 24 --ifm-color-gray-900: #0f172a; 25 --ifm-color-gray-800: #1e293b; 26 --ifm-color-gray-700: #334155; 27 --ifm-color-gray-600: #64748b; 28 --ifm-color-gray-500: #94a3b8; 29 --ifm-color-gray-400: #cbd5e1; 30 --ifm-color-gray-300: #e2e8f0; 31 --ifm-color-gray-200: #f1f5f9; 32 --ifm-color-gray-100: #f8fafc; 33 --ifm-color-badge-border: #454fad; 34 --ifm-color-badge: #c8cdff; 35 /* --ifm-menu-link-sublist-icon: */ 36 --ifm-code-font-size: 90%; /*95%;*/ 37 --ifm-line-height-base: 1.45; /* Instead of 1.5 */ 38 --ifm-leading-desktop: 1.85; /* Instead of 1.5 */ 39 --ifm-list-margin: var(--ifm-leading); /* Keep consistent with the leading */ 40 41 --ifm-menu-color-background-active: transparent; 42 --ifm-card-background-color: transparent; 43 --ifm-card-border-radius: 4px; 44 --ifm-background-surface-color: #f8fafc; 45 --ifm-background-surface-color-hover: #f8fafc90; 46 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.05); 47 } 48 49 /* For readability concerns, you should choose a lighter palette in dark mode. */ 50 [data-theme="dark"] { 51 --ifm-color-primary: #818cf8; 52 --ifm-color-secondary: #6660f6; 53 --ifm-color-third: #1e293b; 54 --ifm-color-primary-dark: #21af90; 55 --ifm-color-primary-darker: #1fa588; 56 --ifm-color-primary-darkest: #1a8870; 57 --ifm-color-primary-light: #29d5b0; 58 --ifm-color-primary-lighter: #32d8b4; 59 --ifm-color-primary-lightest: #4fddbf; 60 --ifm-color-badge-border: #0EA5E9; 61 --ifm-color-badge: #0C4A6E; 62 --docusaurus-highlighted-code-line-bg: var(var(--ifm-color-gray-1000)); 63 } 64 65 html[data-theme="dark"] { 66 --ifm-background-color: #0f172a; 67 --ifm-footer-background-color: #0f172a; 68 --ifm-background-surface-color: #1e293b; 69 --ifm-background-surface-color-hover: #1e293b50; 70 71 --ifm-hover-overlay: rgba(255, 255, 255, 0.05); 72 73 --ifm-heading-color: #f1f5f9; 74 --ifm-color-content: #cbd5e1; 75 --ifm-color-content-secondary: #94a3b8; 76 77 --ifm-breadcrumb-separator-filter: invert(64%) sepia(11%) saturate(0%) 78 hue-rotate(149deg) brightness(99%) contrast(95%); 79 80 --ifm-code-background: #1e293b; 81 82 --ifm-pre-background: #1e293b; 83 --prism-background-color: #1e293b; 84 85 --ifm-scrollbar-track-background-color: #444444; 86 --ifm-scrollbar-thumb-background-color: #686868; 87 --ifm-scrollbar-thumb-hover-background-color: #7a7a7a; 88 89 --ifm-table-stripe-background: rgba(255, 255, 255, 0.07); 90 91 --ifm-toc-border-color: var(--ifm-color-emphasis-200); 92 93 --ifm-alert-border-color: #db2777; 94 --ifm-alert-foreground-color: #fbcfe8; 95 --ifm-alert-background-color: #831843; 96 --ifm-alert-background-color-highlight: #831843; 97 98 --ifm-color-primary-contrast-background: rgb(16, 36, 69); 99 --ifm-color-primary-contrast-foreground: rgb(235, 242, 252); 100 --ifm-color-secondary-contrast-background: rgb(71, 71, 72); 101 --ifm-color-secondary-contrast-foreground: rgb(253, 253, 254); 102 --ifm-color-success-contrast-background: #65a30d; 103 --ifm-color-success-contrast-foreground: #f7fee7; 104 --ifm-color-success-dark: #a3e635; 105 --ifm-color-info-contrast-background: rgb(25, 60, 71); 106 --ifm-color-info-contrast-foreground: rgb(238, 249, 253); 107 --ifm-color-warning-contrast-background: #78350f; 108 --ifm-color-warning-contrast-foreground: #fffbeb; 109 --ifm-color-warning-dark: #fbbf24; 110 --ifm-color-danger-contrast-background: #be185d; 111 --ifm-color-danger-contrast-foreground: #fdf2f8; 112 --ifm-color-danger-dark: #ec4899; 113 } 114 115 [data-theme="dark"] .DocSearch { 116 --docsearch-searchbox-background: var(--ifm-background-surface-color); 117 } 118 119 .navbar__logo { 120 width: 120px; 121 } 122 123 .navbar__items { 124 flex-grow: 1; 125 flex: 1 auto; 126 justify-content: space-between; 127 } 128 .navbar__items--right { 129 justify-content: flex-end !important; 130 } 131 132 .DocSearch-Button { 133 border-radius: 4px !important; 134 min-width: 200px; 135 max-width: 400px; 136 width: 25vw; 137 } 138 139 .DocSearch-Button .DocSearch-Search-Icon { 140 transform: scale(0.75); 141 color: var(--ifm-color-gray-600) !important; 142 } 143 144 .card { 145 box-shadow: none !important; 146 } 147 148 .pagination-nav__link { 149 background-color: var(--ifm-background-surface-color); 150 border: none; 151 } 152 .pagination-nav__link:hover { 153 background-color: var(--ifm-background-surface-color-hover); 154 } 155 .navbar { 156 padding: 12px 40px 12px 40px; 157 background: var(--ifm-background-color) AA; 158 backdrop-filter: blur(12px); 159 border-bottom: 1px solid var(--ifm-background-surface-color); 160 } 161 .menu { 162 padding: 20px !important; 163 background-color: var(--ifm-background-surface-color-hover); 164 } 165 .menu__link { 166 color: var(--ifm-color-content-secondary); 167 padding: 8px 12px 8px 12px; 168 } 169 .theme-doc-sidebar-item-link-level-2 .menu__link, 170 .theme-doc-sidebar-item-category-level-2 .menu__link { 171 padding: 4px 0 4px 4px; 172 } 173 .menu__link:hover, 174 .menu__link--active, 175 .menu__list-item-collapsible:hover { 176 color: var(--ifm-heading-color); 177 background-color: transparent; 178 } 179 .menu__link--active { 180 color: var(--ifm-color-primary); 181 } 182 .menu__caret, 183 .menu__link--sublist-caret:after { 184 transform: scale(0.5); 185 } 186 187 .menu__list-item--collapsed .menu__link--sublist:after { 188 transform: scale(0.5) rotateZ(90deg); 189 } 190 191 .table-of-contents__link:hover { 192 color: var(--ifm-heading-color); 193 } 194 195 .theme-doc-sidebar-container { 196 border-right: none !important; 197 font-size: 14px !important; 198 } 199 200 .sidebar-item-link-level-2 a { 201 font-size: 13px !important; 202 } 203 204 .theme-doc-sidebar-item-category-level-1, 205 .theme-doc-sidebar-item-link-level-1 { 206 border-bottom: 1px solid var(--ifm-background-surface-color); 207 padding-bottom: 8px; 208 } 209 210 .theme-doc-sidebar-item-category-level-1 .menu__list { 211 margin-bottom: 18px; 212 } 213 214 .markdown h1:first-child { 215 --ifm-h1-font-size: 2rem; 216 margin-bottom: 1rem; 217 } 218 219 .markdown > h2 { 220 --ifm-h2-font-size: 1.5rem; 221 margin: 1rem 0 1rem 0; 222 } 223 224 .markdown > h3 { 225 --ifm-h2-font-size: 1.25rem; 226 margin: 1rem 0 1rem 0; 227 } 228 229 pre code { 230 background: var(--ifm-background-surface-color); 231 } 232 233 .breadcrumbs { 234 display: none; 235 } 236 237 .footer--dark { 238 --ifm-footer-background-color: var(--ifm-color-gray-1000); 239 } 240 241 p:hover, 242 ol:hover, 243 ul:hover { 244 color: var(--ifm-heading-color); 245 } 246 247 .category__card { 248 --ifm-link-color: var(--ifm-color-emphasis-800); 249 --ifm-link-hover-color: var(--ifm-color-emphasis-700); 250 --ifm-link-hover-decoration: none; 251 box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 15%); 252 border: 1px solid var(--ifm-color-emphasis-300); 253 transition: all var(--ifm-transition-fast) ease; 254 transition-property: border, box-shadow; 255 padding: 28px; 256 border-radius: 4px; 257 } 258 .category__card h2 { 259 display: flex; 260 align-items: center; 261 } 262 .category__card p { 263 color: var(--ifm-color-content-secondary); 264 margin-bottom: 0; 265 } 266 .category__card:hover { 267 border-color: var(--ifm-color-primary); 268 } 269 .category__card:hover p { 270 color: var(--ifm-color-content); 271 } 272 273 .intro__card { 274 background-color: var(--ifm-background-surface-color-hover); 275 box-shadow: 0 1.5px 5px 0 rgb(0 0 0 / 20%); 276 border-radius: 5px; 277 margin: 10px 15px 10px 0; 278 width: 100%; 279 } 280 .intro__card h2 { 281 white-space: unset; 282 font-size: 1rem; 283 } 284 .intro__card p { 285 white-space: unset; 286 } 287 .intro__card:hover { 288 transition: 200ms; 289 } 290 291 .intro--index { 292 margin-top: -1.9rem; 293 } 294 295 .nopadding { 296 padding: 0 !important; 297 } 298 299 .indent--min { 300 margin-left: 5px; 301 } 302 303 .tools__card { 304 position: relative; 305 background-color: var(--ifm-background-surface-color-hover); 306 box-shadow: 0 1.5px 5px 0 rgb(0 0 0 / 20%); 307 border-radius: 4px; 308 margin: 0 15px 10px 0; 309 width: 6em; 310 } 311 .tools__card img { 312 position: relative; 313 top: 15%; 314 width: 100%; 315 316 } 317 .tools__card::before { 318 position: absolute; 319 content: ""; 320 top: 70%; 321 width: 100%; 322 height: 30%; 323 background-color: var(--ifm-color-secondary); 324 border-end-end-radius: 4px; 325 border-end-start-radius: 4px; 326 } 327 .tools__card p { 328 position: relative; 329 top: 15%; 330 font-size: 0.8rem; 331 font-weight: bold; 332 z-index: 1; 333 text-align: center; 334 } 335 336 .theme-admonition-info { 337 background-color: var(--ifm-color-third); 338 border-left-color: var(--ifm-color-primary); 339 } 340 .theme-admonition-info ul { 341 margin: 1ch; 342 } 343 /* article { 344 max-width: 700px; 345 margin-left: auto; 346 margin-right: auto; 347 } */ 348 349 .navbar-sidebar--show { 350 backdrop-filter: none !important; 351 } 352 353 .pro-badge { 354 width: fit-content; 355 background-color: var(--ifm-color-badge); 356 border: 1px var(--ifm-color-badge-border) solid; 357 border-radius: 4px; 358 359 color: var(--ifm-color-badge-border); 360 font-size: 75%; 361 362 padding: 0.3rem; 363 margin-top: -10px; 364 } 365 366 @media screen and (max-width: 996px) { 367 :root { 368 --ifm-font-size-base: 18px; 369 } 370 article header h1 { 371 font-size: 1.5rem !important; 372 } 373 .hero .hero__title { 374 font-size: 2.5rem !important; 375 } 376 } 377 378 @media screen and (min-width: 997px) { 379 :root { 380 --ifm-font-size-base: 17px; 381 } 382 header h1 { 383 font-size: 2rem !important; 384 } 385 } 386 387 @media screen and (max-width: 768px) { 388 .DocSearch-Button { 389 width: 36px; 390 min-width: 36px; 391 } 392 }