Skip to content

Commit 77c61ad

Browse files
[Landing] Refactoring (WIP) (#2495)
1 parent a2b56e7 commit 77c61ad

File tree

21 files changed

+601
-379
lines changed

21 files changed

+601
-379
lines changed

docs/assets/images/nebius-logo.svg

Lines changed: 11 additions & 0 deletions
Loading

docs/assets/stylesheets/extra.css

Lines changed: 38 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
font-weight: 500;
4141
color: rgba(0, 0, 0, 1.87) !important;
4242
text-shadow: none !important;
43-
letter-spacing: -0.5px;
43+
/*letter-spacing: -0.5px;*/
4444
line-height: 1.2;
4545
}
4646

@@ -220,7 +220,7 @@
220220

221221
[dir=ltr] .md-typeset :is(.admonition-title,summary) {
222222
font-size: 18px !important;
223-
letter-spacing: -0.5px;
223+
/*letter-spacing: -0.5px;*/
224224
/*font-weight: 800;*/
225225
font-weight: 700;
226226
/*padding-left: 18px;*/
@@ -321,7 +321,7 @@
321321
position: relative;
322322
margin-left: 8px;
323323
margin-bottom: 4px;
324-
letter-spacing: -0.5px;
324+
/*letter-spacing: -0.5px;*/
325325
}
326326

327327
@font-face {
@@ -546,7 +546,7 @@ h4.doc-heading {
546546
background-color: transparent;
547547
border-radius: 3px;
548548
border: 0.5px solid rgba(0, 0, 0, 0.87);
549-
height: 1.9rem;
549+
height: 1.95rem;
550550
}
551551

552552
[data-md-color-primary=white] .md-search__form:hover {
@@ -659,7 +659,7 @@ code .md-code__nav:hover .md-code__button {
659659

660660
.md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4, .md-typeset h5, .md-typeset h6 {
661661
font-weight: 800;
662-
letter-spacing: -1px;
662+
/*letter-spacing: -1px;*/
663663
color: rgb(0, 0, 0);
664664
text-transform: none;
665665
}
@@ -800,7 +800,7 @@ body {
800800
font-size: 17px;
801801
font-weight: 600;
802802
line-height: 1.4rem;
803-
letter-spacing: -0.5px;
803+
/*letter-spacing: -0.5px;*/
804804
position: relative;
805805
left: -11px;
806806
}
@@ -818,14 +818,14 @@ body {
818818
color: white;
819819
font-weight: 600;
820820
position: absolute;
821-
padding: 5px;
821+
padding: 7px;
822822
margin: 4.5px;
823823
font-size: .65rem;
824824
background-color: rgba(0,0,0,.87);
825825
border-radius: 5px;
826-
right: 40px;
826+
right: 37px;
827827
z-index: 1;
828-
width: 26px;
828+
width: 30px;
829829
text-align: center;
830830
}
831831

@@ -834,15 +834,15 @@ body {
834834
color: white;
835835
font-weight: 600;
836836
position: absolute;
837-
padding: 5px;
837+
padding: 7px;
838838
margin: 4.5px;
839839
font-size: .65rem;
840840
background-color: rgba(0,0,0,.87);
841841
border-radius: 5px;
842-
right: 10px;
842+
right: 1px;
843843
top: 0;
844844
/*z-index: 1;*/
845-
width: 26px;
845+
width: 30px;
846846
text-align: center;
847847
}
848848

@@ -903,6 +903,10 @@ body {
903903
color: inherit;
904904
}
905905

906+
.md-path__list {
907+
margin-top: -7px;
908+
}
909+
906910
.md-path__link {
907911
color: var(--md-default-fg-color);
908912
font-size: 0.7rem;
@@ -953,7 +957,7 @@ body {
953957
}
954958

955959
.md-typeset a {
956-
letter-spacing: -0.5px;
960+
/*letter-spacing: -0.5px;*/
957961
}
958962

959963
html .md-footer-meta.md-typeset a:is(:focus,:hover) {
@@ -1087,7 +1091,7 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
10871091

10881092
.md-typeset .tabbed-labels>label > code {
10891093
background-color: transparent;
1090-
letter-spacing: -0.25px;
1094+
/*letter-spacing: -0.25px;*/
10911095
}
10921096

10931097
.md-typeset .tabbed-set {
@@ -1310,9 +1314,18 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
13101314
display: none;
13111315
}
13121316

1313-
.md-tabs__item:nth-child(6) {
1317+
.md-tabs__item:nth-child(5):after {
1318+
content: url('data:image/svg+xml,<svg fill="black" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 16 16"><polygon points="5 4.31 5 5.69 9.33 5.69 2.51 12.51 3.49 13.49 10.31 6.67 10.31 11 11.69 11 11.69 4.31 5 4.31" data-v-e1bdab2c=""></polygon></svg>');
1319+
line-height: 14px;
1320+
margin-left: 4px;
1321+
position: relative;
1322+
top: 16px;
1323+
margin-right: -7px;
1324+
}
1325+
1326+
/*.md-tabs__item:nth-child(6) {
13141327
margin-left: auto;
1315-
padding-right: 1.2rem;
1328+
padding-right: 0.8rem;
13161329
}
13171330
13181331
.md-tabs__item:nth-child(n+6) .md-tabs__link {
@@ -1327,7 +1340,7 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
13271340
height: 38px;
13281341
margin-top: 4px;
13291342
visibility: visible;
1330-
}
1343+
}*/
13311344

13321345
.twemoji.external {
13331346
position: relative;
@@ -1345,19 +1358,19 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
13451358
margin-right: -7px;
13461359
}
13471360

1348-
.md-tabs__item:nth-child(6) .md-tabs__link:before {
1361+
/*.md-tabs__item:nth-child(6) .md-tabs__link:before {
13491362
position: relative;
13501363
content: '';
1351-
width: 40px;
1352-
height: 35px;
1364+
width: 37px;
1365+
height: 31px;
13531366
display: inline-block;
1354-
-webkit-mask: url('data:image/svg+xml,<?xml version="1.0" encoding="utf-8"?><svg width="22" height="10" viewBox="0 -28.5 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><g><path d="M216.856339,16.5966031 C200.285002,8.84328665 182.566144,3.2084988 164.041564,0 C161.766523,4.11318106 159.108624,9.64549908 157.276099,14.0464379 C137.583995,11.0849896 118.072967,11.0849896 98.7430163,14.0464379 C96.9108417,9.64549908 94.1925838,4.11318106 91.8971895,0 C73.3526068,3.2084988 55.6133949,8.86399117 39.0420583,16.6376612 C5.61752293,67.146514 -3.4433191,116.400813 1.08711069,164.955721 C23.2560196,181.510915 44.7403634,191.567697 65.8621325,198.148576 C71.0772151,190.971126 75.7283628,183.341335 79.7352139,175.300261 C72.104019,172.400575 64.7949724,168.822202 57.8887866,164.667963 C59.7209612,163.310589 61.5131304,161.891452 63.2445898,160.431257 C105.36741,180.133187 151.134928,180.133187 192.754523,160.431257 C194.506336,161.891452 196.298154,163.310589 198.110326,164.667963 C191.183787,168.842556 183.854737,172.420929 176.223542,175.320965 C180.230393,183.341335 184.861538,190.991831 190.096624,198.16893 C211.238746,191.588051 232.743023,181.531619 254.911949,164.955721 C260.227747,108.668201 245.831087,59.8662432 216.856339,16.5966031 Z M85.4738752,135.09489 C72.8290281,135.09489 62.4592217,123.290155 62.4592217,108.914901 C62.4592217,94.5396472 72.607595,82.7145587 85.4738752,82.7145587 C98.3405064,82.7145587 108.709962,94.5189427 108.488529,108.914901 C108.508531,123.290155 98.3405064,135.09489 85.4738752,135.09489 Z M170.525237,135.09489 C157.88039,135.09489 147.510584,123.290155 147.510584,108.914901 C147.510584,94.5396472 157.658606,82.7145587 170.525237,82.7145587 C183.391518,82.7145587 193.761324,94.5189427 193.539891,108.914901 C193.539891,123.290155 183.391518,135.09489 170.525237,135.09489 Z" fill="none" fill-rule="nonzero" stroke="currentColor" stroke-width="16px"></path></g></svg>') no-repeat 50% 50%;
1355-
mask: url('data:image/svg+xml,<?xml version="1.0" encoding="utf-8"?><svg width="22" height="10" viewBox="0 -28.5 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><g><path d="M216.856339,16.5966031 C200.285002,8.84328665 182.566144,3.2084988 164.041564,0 C161.766523,4.11318106 159.108624,9.64549908 157.276099,14.0464379 C137.583995,11.0849896 118.072967,11.0849896 98.7430163,14.0464379 C96.9108417,9.64549908 94.1925838,4.11318106 91.8971895,0 C73.3526068,3.2084988 55.6133949,8.86399117 39.0420583,16.6376612 C5.61752293,67.146514 -3.4433191,116.400813 1.08711069,164.955721 C23.2560196,181.510915 44.7403634,191.567697 65.8621325,198.148576 C71.0772151,190.971126 75.7283628,183.341335 79.7352139,175.300261 C72.104019,172.400575 64.7949724,168.822202 57.8887866,164.667963 C59.7209612,163.310589 61.5131304,161.891452 63.2445898,160.431257 C105.36741,180.133187 151.134928,180.133187 192.754523,160.431257 C194.506336,161.891452 196.298154,163.310589 198.110326,164.667963 C191.183787,168.842556 183.854737,172.420929 176.223542,175.320965 C180.230393,183.341335 184.861538,190.991831 190.096624,198.16893 C211.238746,191.588051 232.743023,181.531619 254.911949,164.955721 C260.227747,108.668201 245.831087,59.8662432 216.856339,16.5966031 Z M85.4738752,135.09489 C72.8290281,135.09489 62.4592217,123.290155 62.4592217,108.914901 C62.4592217,94.5396472 72.607595,82.7145587 85.4738752,82.7145587 C98.3405064,82.7145587 108.709962,94.5189427 108.488529,108.914901 C108.508531,123.290155 98.3405064,135.09489 85.4738752,135.09489 Z M170.525237,135.09489 C157.88039,135.09489 147.510584,123.290155 147.510584,108.914901 C147.510584,94.5396472 157.658606,82.7145587 170.525237,82.7145587 C183.391518,82.7145587 193.761324,94.5189427 193.539891,108.914901 C193.539891,123.290155 183.391518,135.09489 170.525237,135.09489 Z" fill="none" fill-rule="nonzero" stroke="currentColor" stroke-width="16px"></path></g></svg>') no-repeat 50% 50%;
1367+
-webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M524.531 69.836a1.5 1.5 0 0 0-.764-.7A485 485 0 0 0 404.081 32.03a1.82 1.82 0 0 0-1.923.91 338 338 0 0 0-14.9 30.6 447.9 447.9 0 0 0-134.426 0 310 310 0 0 0-15.135-30.6 1.89 1.89 0 0 0-1.924-.91 483.7 483.7 0 0 0-119.688 37.107 1.7 1.7 0 0 0-.788.676C39.068 183.651 18.186 294.69 28.43 404.354a2.02 2.02 0 0 0 .765 1.375 487.7 487.7 0 0 0 146.825 74.189 1.9 1.9 0 0 0 2.063-.676A348 348 0 0 0 208.12 430.4a1.86 1.86 0 0 0-1.019-2.588 321 321 0 0 1-45.868-21.853 1.885 1.885 0 0 1-.185-3.126 251 251 0 0 0 9.109-7.137 1.82 1.82 0 0 1 1.9-.256c96.229 43.917 200.41 43.917 295.5 0a1.81 1.81 0 0 1 1.924.233 235 235 0 0 0 9.132 7.16 1.884 1.884 0 0 1-.162 3.126 301.4 301.4 0 0 1-45.89 21.83 1.875 1.875 0 0 0-1 2.611 391 391 0 0 0 30.014 48.815 1.86 1.86 0 0 0 2.063.7A486 486 0 0 0 610.7 405.729a1.88 1.88 0 0 0 .765-1.352c12.264-126.783-20.532-236.912-86.934-334.541M222.491 337.58c-28.972 0-52.844-26.587-52.844-59.239s23.409-59.241 52.844-59.241c29.665 0 53.306 26.82 52.843 59.239 0 32.654-23.41 59.241-52.843 59.241m195.38 0c-28.971 0-52.843-26.587-52.843-59.239s23.409-59.241 52.843-59.241c29.667 0 53.307 26.82 52.844 59.239 0 32.654-23.177 59.241-52.844 59.241"></path></svg>') no-repeat 50% 50%;
1368+
mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M524.531 69.836a1.5 1.5 0 0 0-.764-.7A485 485 0 0 0 404.081 32.03a1.82 1.82 0 0 0-1.923.91 338 338 0 0 0-14.9 30.6 447.9 447.9 0 0 0-134.426 0 310 310 0 0 0-15.135-30.6 1.89 1.89 0 0 0-1.924-.91 483.7 483.7 0 0 0-119.688 37.107 1.7 1.7 0 0 0-.788.676C39.068 183.651 18.186 294.69 28.43 404.354a2.02 2.02 0 0 0 .765 1.375 487.7 487.7 0 0 0 146.825 74.189 1.9 1.9 0 0 0 2.063-.676A348 348 0 0 0 208.12 430.4a1.86 1.86 0 0 0-1.019-2.588 321 321 0 0 1-45.868-21.853 1.885 1.885 0 0 1-.185-3.126 251 251 0 0 0 9.109-7.137 1.82 1.82 0 0 1 1.9-.256c96.229 43.917 200.41 43.917 295.5 0a1.81 1.81 0 0 1 1.924.233 235 235 0 0 0 9.132 7.16 1.884 1.884 0 0 1-.162 3.126 301.4 301.4 0 0 1-45.89 21.83 1.875 1.875 0 0 0-1 2.611 391 391 0 0 0 30.014 48.815 1.86 1.86 0 0 0 2.063.7A486 486 0 0 0 610.7 405.729a1.88 1.88 0 0 0 .765-1.352c12.264-126.783-20.532-236.912-86.934-334.541M222.491 337.58c-28.972 0-52.844-26.587-52.844-59.239s23.409-59.241 52.844-59.241c29.665 0 53.306 26.82 52.843 59.239 0 32.654-23.41 59.241-52.843 59.241m195.38 0c-28.971 0-52.843-26.587-52.843-59.239s23.409-59.241 52.843-59.241c29.667 0 53.307 26.82 52.844 59.239 0 32.654-23.177 59.241-52.844 59.241"></path></svg>') no-repeat 50% 50%;
13561369
-webkit-mask-size: cover;
13571370
mask-size: cover;
13581371
background: -webkit-linear-gradient(45deg, #0048ff, #ce00ff);
1359-
margin-top: 0;
1360-
}
1372+
margin-top: 1px;
1373+
}*/
13611374

13621375
.md-tabs__link {
13631376
display: flex;
@@ -1368,7 +1381,7 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
13681381
font-size: 0.85rem;
13691382
font-weight: 500;
13701383
color: rgba(0,0,0,0.87);
1371-
letter-spacing: -0.5px;
1384+
/*letter-spacing: -0.5px;*/
13721385
margin-top: 1px;
13731386
line-height: 24px;
13741387
}

0 commit comments

Comments
 (0)