style: format code with prettier
This commit is contained in:
1 parent
c7317b7e3c
commit
4528aaa2cf
1 file changed
+246
-127
+246
-127
@@ -17,12 +17,12 @@
|
||||
|
||||
@-moz-document domain('go.dev') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme='auto'] {
|
||||
:root[data-theme="auto"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root[data-theme='auto'] {
|
||||
:root[data-theme="auto"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@@ -97,7 +97,7 @@
|
||||
--color-text: @text;
|
||||
--color-text-link: @accent-color;
|
||||
--color-text-subtle: @subtext1;
|
||||
--focus-box-shadow: 0 0 .0625rem .0625rem @accent-color; // Only modifies color;
|
||||
--focus-box-shadow: 0 0 0.0625rem 0.0625rem @accent-color; // Only modifies color;
|
||||
--gray-2: @surface0;
|
||||
--gray-3: @text;
|
||||
--gray-6: @crust;
|
||||
@@ -112,8 +112,10 @@
|
||||
// /dl page in go.dev
|
||||
.Downloads {
|
||||
div.filename img {
|
||||
@svg: escape('<svg width="14" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.992 12.992V12q.928 0 1.408-.176.384-.127.512-.384.08-.144.08-.448H.496L0 10.496v-10L.496 0h12.992L14 .496v9.248l-1.008-1.008V.992h-12V10H6.72l-.496.496 2.496 2.496zm7.856 0 2.512-2.496-.72-.704-1.648 1.664V4.992H10v6.448L8.352 9.792l-.704.704 2.496 2.496z" fill="@{text}"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}')
|
||||
@svg: escape(
|
||||
'<svg width="14" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.992 12.992V12q.928 0 1.408-.176.384-.127.512-.384.08-.144.08-.448H.496L0 10.496v-10L.496 0h12.992L14 .496v9.248l-1.008-1.008V.992h-12V10H6.72l-.496.496 2.496 2.496zm7.856 0 2.512-2.496-.72-.704-1.648 1.664V4.992H10v6.448L8.352 9.792l-.704.704 2.496 2.496z" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
table.downloadtable {
|
||||
@@ -121,23 +123,32 @@
|
||||
}
|
||||
}
|
||||
// Main Page Footer & Pkg.go Footer
|
||||
.Footer, .go-Footer {
|
||||
.Footer,
|
||||
.go-Footer {
|
||||
background-color: @mantle;
|
||||
|
||||
button[aria-label="Shorcuts Modal"] img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-9 3h2v2h-2zm0 3h2v2h-2zM8 8h2v2H8zm0 3h2v2H8zm-1 2H5v-2h2zm0-3H5V8h2zm9 7H8v-2h8zm0-4h-2v-2h2zm0-3h-2V8h2zm3 3h-2v-2h2zm0-3h-2V8h2z"/><path d="M0 0h24v24H0zm0 0h24v24H0z" fill="none"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-9 3h2v2h-2zm0 3h2v2h-2zM8 8h2v2H8zm0 3h2v2H8zm-1 2H5v-2h2zm0-3H5V8h2zm9 7H8v-2h8zm0-4h-2v-2h2zm0-3h-2V8h2zm3 3h-2v-2h2zm0-3h-2V8h2z"/><path d="M0 0h24v24H0zm0 0h24v24H0z" fill="none"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.Footer-gopher, img.go-Footer-gopher {
|
||||
@svg: escape('<svg viewBox="0 0 1431 901" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="M335.6 867.8c-.6-33-1.1-47.7-2.2-69.6-.6-10.6-.7-11.2-2.4-10-1 .7-5.7 4.6-10.6 8.6-15.4 12.5-25.1 16.2-47.4 17.7-12.7.9-17.2 2.1-32 9-7.5 3.5-15.5 6.8-17.8 7.5-3.1.8-15.6.9-45 .4l-40.7-.7-9.5 4c-18.4 7.8-31.9 11-41.5 9.8-9-1.2-21.4-4.4-26.4-7-11.5-5.8-23.1-18.3-38.8-42-19.7-29.6-24.6-42-19.2-48.9 1.2-1.5 4.9-4.1 8.3-5.8 11.3-5.6 11.9-6.4 14.1-17.1 1.2-6 7.3-8.4 13.3-5.3 3.7 2 9.4 8.1 13.4 14.6 4.4 7.1 4.6 7.5 6.9 20.5 2.8 15.5 8.5 38.9 10.8 44 1.8 4 2.4 4.5 7.7 6.1 8.5 2.4 23.5 1.5 32.9-2.1 3.9-1.4 12.2-4 18.5-5.6 11.1-2.9 12.5-3.1 36.5-3.4 35-.4 54.8-3.6 62.5-10.1 7-5.9 28-56.1 35.4-84.8 5.2-19.7 5.7-30.9 2.2-46.5-5.3-23.4-13.3-77.8-14.3-96.6-.6-11.5 1-23.3 6-46l2.2-10-5.1-5.2c-6.2-6.1-11.4-15.1-14.4-24.8-3-9.6-3.8-28.1-1.6-38.4.9-4.1 1.5-7.5 1.3-7.6-.1-.1-3.1-2.2-6.7-4.7-22-15.4-33.1-36.4-33.3-62.8-.1-13.6 1.3-22.8 5.9-37 4.6-14.5 10.8-24.6 21.3-35 10.1-10 18.1-14.9 30.8-19 13.1-4.2 20.8-5.3 38.3-5.3h15.6l2.3-11.1c3.4-16.3 8.6-32.9 13.7-43.4 7.5-15.5 20.5-27 45.1-39.9 8.5-4.4 12.6-7.4 19.3-13.8 5.3-5.1 14.5-12.1 24.5-18.8 18.3-12.1 35.8-26.7 47.2-39.4 11.3-12.7 14.6-15.6 26.8-23.7 18.8-12.5 55-31.8 79.1-42.1 14.6-6.3 23-8.3 62.4-14.9 18.4-3.2 39.1-6.9 46-8.4C689.2.6 690.3.5 723.5.5c35.9 0 51.2.9 82.5 5.1 21.1 2.8 34.6 6 44 10.2 6.9 3.2 34.5 13.3 62 22.7 43.7 15.1 57 19.9 62.5 22.7 14.2 7.1 36.1 24.7 70 56.3 20.2 18.8 22 20.2 42.9 34.5 32.3 22 35.4 26.2 48.7 67.5 12.3 38.2 11 35 14.5 34.8 5.6-.3 24.6 1.7 31.3 3.3 3.6.8 11.2 3.8 16.8 6.5 21.8 10.7 35.3 28.8 43.1 57.8 2.1 8.1 2.6 11.8 2.6 24.1.1 13.4-.1 15.2-2.8 23.3-4.6 14-14.3 27.1-25.6 34.8l-5.1 3.4.8 10c1.3 16.4.8 39-1.1 48.4-1.8 8.9-6.1 19.3-9.2 22.5-1.6 1.7-1.8 3.2-1.6 10.2.4 8.1-1.6 26.9-4.3 40.7-1.3 7-1.3 7.3 1 11.2 1.3 2.2 5.1 7.2 8.5 11 3.4 3.9 7 8.7 8.1 10.8 5.5 10.4 8.6 35.4 7.5 60-1.3 29.3-4.8 40.9-26.6 86.4-8.6 18-11.4 25.6-10.6 29.7.8 4.3 5.3 10.7 10.6 15.1 6.7 5.6 29 20.3 40.9 26.9 7.7 4.4 12.9 8.3 20.5 15.5 13.2 12.5 18.7 15.5 28.1 15.5 12.6-.1 19.7-5.3 28.4-21 7.6-13.7 11-18 26.9-34.5 15.4-15.9 23.6-22.5 35.2-28.4 19.8-10 37.8-9.9 49.2.3 5.7 5.2 7.8 9.2 7.8 15.1 0 5.5-1.3 8.4-6.2 13.7-8.2 8.9-22 16.5-44.2 24.3-13.7 4.9-18.2 7.7-29.8 19.1l-10.6 10.5-4.1 12.8c-2.2 7-5.3 14.6-7 17-6.8 9.8-24.2 23.7-31.5 25.1-2.5.5-5.8-.2-13-2.8-11.8-4.3-21-6.3-35.2-7.5-18.2-1.7-31.8-7.6-66.6-29.4-16.9-10.5-27.8-16.7-29.3-16.7-.3 0-.3 14.5.1 32.3.4 17.7.4 36.1 0 41l-.8 8.7H336.3z" fill="@{crust}" fill-rule="nonzero"/><g fill="@{text}" fill-rule="nonzero"><path d="M348 874.8c0-14.5-.7-42.9-1.5-63.3l-1.4-37 3.7-3c13.5-10.9 22.7-22.5 31.7-39.8 6.6-12.9 6.9-15.6 2.8-35.8-4.9-24.8-3.7-39.6 5.9-75.9 1.7-6.3 3.3-12.5 3.6-13.7.2-1.3.8-2.3 1.1-2.3.4 0 5.4 2.4 11.2 5.4 12.3 6.5 27.3 11.8 41.3 14.8 8.1 1.7 13.6 2.1 27.6 2.2 36.6.1 71.3-8.2 103.4-24.6 10.3-5.3 29.9-17.9 31.3-20.1.4-.6 1.2 2.6 1.9 7.1 2.7 19.2 13 30 32 33.5l6.9 1.3-.3 7.5c-.1 4.1-.7 16.4-1.2 27.4-1.5 32-1.4 37.2 1.4 43.1 6.6 14.1 24 21.9 41 18.4 7.5-1.5 19.9-7.9 26.2-13.4l4.9-4.3 4.4 3.4c9.7 7.4 24.6 12.6 36.1 12.5 15.9-.1 29.1-10.4 33.7-26.4 2.3-8.3 2.8-35.4.9-53.4-.9-8.3-1.6-15.6-1.6-16.2 0-.7 1.2-1.2 2.8-1.2 4.6 0 15.6-2.7 20.5-5 11.2-5.3 19.3-16.8 21.8-31.2.7-4 1.3-7.4 1.5-7.6.1-.2 2.8 1.3 6 3.4 16 10.2 42.3 20.6 65.4 25.8 21.5 4.8 32.9 6 57 6 24.9.1 33.7-1.2 51.9-7.6 21.5-7.5 49.1-24.7 63-39.2 1.9-2 3.8-3.6 4.2-3.6s1 4.6 1.3 10.3c1.9 28.8 5.2 44.5 12.6 59.2 8 16.1 9.4 22.4 9.4 45.5l.1 19.5-5.1 17.5c-7.1 24.1-9.6 36.5-9.8 48.5-.1 8.7.2 10.6 2.3 14.4 4.8 9.1 17.7 20.5 33.8 30l7.3 4.3.2 43.7.3 43.6v14.95c4.5.9-86 3.267-390.7 3.367L348 914.264z"/><path d="M1288.5 863.9c-9.3-3.7-23.3-6.8-35.4-7.9-19.1-1.6-30.4-6.5-65.8-28.6-10.1-6.3-25.1-15-33.4-19.4-26.6-14.2-40.8-24.9-45.5-34.6-2.5-5-2.6-6.2-2.1-13.4.8-9.8 4.4-26.3 10.4-46.9 4.1-14.3 4.5-16.8 5-29.9.9-23.2-2.5-40.5-10.8-55.7-6.9-12.7-10.5-31.3-11.5-59.5l-.6-16.5 5.8-7c9.6-11.7 18.8-26.7 24.2-39.3l2.3-5.3 4.7.8c2.6.4 11.9.7 20.7.6 15.3-.1 23.9-1.3 32.9-4.9 1.8-.7 1.9-.3 1.2 8.2-.3 4.9-1.8 16.3-3.2 25.4-1.4 9-2.3 17.7-2 19.3.7 3.4 5 9.8 12.9 19 3.3 3.8 6.8 9.2 7.9 11.9 3.2 8.4 4.8 22.9 4.8 42.8 0 34-2.1 41.6-24.5 89.5-5.7 12.1-10.8 23.8-11.4 26-3.6 13.4 1.7 24.2 18.2 36.4 10.2 7.6 27 18.4 38.7 24.9 4.6 2.5 11.7 8.1 18.4 14.2 6.3 5.9 13.5 11.5 17 13.3 5.7 3 6.8 3.2 16.1 3.2 8.9 0 10.6-.3 15.7-2.8 7.4-3.6 15.4-12.4 21.3-23.2 2.6-4.7 6.3-10.7 8.3-13.4 4.6-6 28-30.7 28.5-30.1.2.3 2.3 6 4.5 12.8l4.1 12.2-5.7 3.6c-7.1 4.6-25.8 22.7-28.2 27.4-.9 1.9-3.1 8-4.8 13.5-3.6 11.5-7.2 17.5-14.5 24.1-6.4 5.8-15 11.4-17.4 11.4-1-.1-4-1-6.8-2.1m-1211-30.5c-10.4-2.2-16.8-5.6-24.2-12.6-7.8-7.5-15.4-17.3-26.3-34-8.1-12.2-18-30.7-18-33.4 0-.7 3.5-3.1 7.8-5.3 10.6-5.3 14.7-10.2 16.4-19.6.4-1.7 1-1.4 4.6 2.4 6.5 7.1 8.7 12.3 11.7 27.6 5.4 28.8 10.4 45.2 14.8 49.4 8 7.5 31.7 8.7 48.8 2.5 19.8-7.2 22.1-7.6 52.9-8.4 46.7-1.3 64-5.5 71.8-17.8 11.3-17.5 31.6-70.9 36.2-94.9 2.9-15.5 2.5-29-1.8-48.8-6.4-30.2-1Line truncated
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.Footer-gopher,
|
||||
img.go-Footer-gopher {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 1431 901" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="M335.6 867.8c-.6-33-1.1-47.7-2.2-69.6-.6-10.6-.7-11.2-2.4-10-1 .7-5.7 4.6-10.6 8.6-15.4 12.5-25.1 16.2-47.4 17.7-12.7.9-17.2 2.1-32 9-7.5 3.5-15.5 6.8-17.8 7.5-3.1.8-15.6.9-45 .4l-40.7-.7-9.5 4c-18.4 7.8-31.9 11-41.5 9.8-9-1.2-21.4-4.4-26.4-7-11.5-5.8-23.1-18.3-38.8-42-19.7-29.6-24.6-42-19.2-48.9 1.2-1.5 4.9-4.1 8.3-5.8 11.3-5.6 11.9-6.4 14.1-17.1 1.2-6 7.3-8.4 13.3-5.3 3.7 2 9.4 8.1 13.4 14.6 4.4 7.1 4.6 7.5 6.9 20.5 2.8 15.5 8.5 38.9 10.8 44 1.8 4 2.4 4.5 7.7 6.1 8.5 2.4 23.5 1.5 32.9-2.1 3.9-1.4 12.2-4 18.5-5.6 11.1-2.9 12.5-3.1 36.5-3.4 35-.4 54.8-3.6 62.5-10.1 7-5.9 28-56.1 35.4-84.8 5.2-19.7 5.7-30.9 2.2-46.5-5.3-23.4-13.3-77.8-14.3-96.6-.6-11.5 1-23.3 6-46l2.2-10-5.1-5.2c-6.2-6.1-11.4-15.1-14.4-24.8-3-9.6-3.8-28.1-1.6-38.4.9-4.1 1.5-7.5 1.3-7.6-.1-.1-3.1-2.2-6.7-4.7-22-15.4-33.1-36.4-33.3-62.8-.1-13.6 1.3-22.8 5.9-37 4.6-14.5 10.8-24.6 21.3-35 10.1-10 18.1-14.9 30.8-19 13.1-4.2 20.8-5.3 38.3-5.3h15.6l2.3-11.1c3.4-16.3 8.6-32.9 13.7-43.4 7.5-15.5 20.5-27 45.1-39.9 8.5-4.4 12.6-7.4 19.3-13.8 5.3-5.1 14.5-12.1 24.5-18.8 18.3-12.1 35.8-26.7 47.2-39.4 11.3-12.7 14.6-15.6 26.8-23.7 18.8-12.5 55-31.8 79.1-42.1 14.6-6.3 23-8.3 62.4-14.9 18.4-3.2 39.1-6.9 46-8.4C689.2.6 690.3.5 723.5.5c35.9 0 51.2.9 82.5 5.1 21.1 2.8 34.6 6 44 10.2 6.9 3.2 34.5 13.3 62 22.7 43.7 15.1 57 19.9 62.5 22.7 14.2 7.1 36.1 24.7 70 56.3 20.2 18.8 22 20.2 42.9 34.5 32.3 22 35.4 26.2 48.7 67.5 12.3 38.2 11 35 14.5 34.8 5.6-.3 24.6 1.7 31.3 3.3 3.6.8 11.2 3.8 16.8 6.5 21.8 10.7 35.3 28.8 43.1 57.8 2.1 8.1 2.6 11.8 2.6 24.1.1 13.4-.1 15.2-2.8 23.3-4.6 14-14.3 27.1-25.6 34.8l-5.1 3.4.8 10c1.3 16.4.8 39-1.1 48.4-1.8 8.9-6.1 19.3-9.2 22.5-1.6 1.7-1.8 3.2-1.6 10.2.4 8.1-1.6 26.9-4.3 40.7-1.3 7-1.3 7.3 1 11.2 1.3 2.2 5.1 7.2 8.5 11 3.4 3.9 7 8.7 8.1 10.8 5.5 10.4 8.6 35.4 7.5 60-1.3 29.3-4.8 40.9-26.6 86.4-8.6 18-11.4 25.6-10.6 29.7.8 4.3 5.3 10.7 10.6 15.1 6.7 5.6 29 20.3 40.9 26.9 7.7 4.4 12.9 8.3 20.5 15.5 13.2 12.5 18.7 15.5 28.1 15.5 12.6-.1 19.7-5.3 28.4-21 7.6-13.7 11-18 26.9-34.5 15.4-15.9 23.6-22.5 35.2-28.4 19.8-10 37.8-9.9 49.2.3 5.7 5.2 7.8 9.2 7.8 15.1 0 5.5-1.3 8.4-6.2 13.7-8.2 8.9-22 16.5-44.2 24.3-13.7 4.9-18.2 7.7-29.8 19.1l-10.6 10.5-4.1 12.8c-2.2 7-5.3 14.6-7 17-6.8 9.8-24.2 23.7-31.5 25.1-2.5.5-5.8-.2-13-2.8-11.8-4.3-21-6.3-35.2-7.5-18.2-1.7-31.8-7.6-66.6-29.4-16.9-10.5-27.8-16.7-29.3-16.7-.3 0-.3 14.5.1 32.3.4 17.7.4 36.1 0 41l-.8 8.7H336.3z" fill="@{crust}" fill-rule="nonzero"/><g fill="@{text}" fill-rule="nonzero"><path d="M348 874.8c0-14.5-.7-42.9-1.5-63.3l-1.4-37 3.7-3c13.5-10.9 22.7-22.5 31.7-39.8 6.6-12.9 6.9-15.6 2.8-35.8-4.9-24.8-3.7-39.6 5.9-75.9 1.7-6.3 3.3-12.5 3.6-13.7.2-1.3.8-2.3 1.1-2.3.4 0 5.4 2.4 11.2 5.4 12.3 6.5 27.3 11.8 41.3 14.8 8.1 1.7 13.6 2.1 27.6 2.2 36.6.1 71.3-8.2 103.4-24.6 10.3-5.3 29.9-17.9 31.3-20.1.4-.6 1.2 2.6 1.9 7.1 2.7 19.2 13 30 32 33.5l6.9 1.3-.3 7.5c-.1 4.1-.7 16.4-1.2 27.4-1.5 32-1.4 37.2 1.4 43.1 6.6 14.1 24 21.9 41 18.4 7.5-1.5 19.9-7.9 26.2-13.4l4.9-4.3 4.4 3.4c9.7 7.4 24.6 12.6 36.1 12.5 15.9-.1 29.1-10.4 33.7-26.4 2.3-8.3 2.8-35.4.9-53.4-.9-8.3-1.6-15.6-1.6-16.2 0-.7 1.2-1.2 2.8-1.2 4.6 0 15.6-2.7 20.5-5 11.2-5.3 19.3-16.8 21.8-31.2.7-4 1.3-7.4 1.5-7.6.1-.2 2.8 1.3 6 3.4 16 10.2 42.3 20.6 65.4 25.8 21.5 4.8 32.9 6 57 6 24.9.1 33.7-1.2 51.9-7.6 21.5-7.5 49.1-24.7 63-39.2 1.9-2 3.8-3.6 4.2-3.6s1 4.6 1.3 10.3c1.9 28.8 5.2 44.5 12.6 59.2 8 16.1 9.4 22.4 9.4 45.5l.1 19.5-5.1 17.5c-7.1 24.1-9.6 36.5-9.8 48.5-.1 8.7.2 10.6 2.3 14.4 4.8 9.1 17.7 20.5 33.8 30l7.3 4.3.2 43.7.3 43.6v14.95c4.5.9-86 3.267-390.7 3.367L348 914.264z"/><path d="M1288.5 863.9c-9.3-3.7-23.3-6.8-35.4-7.9-19.1-1.6-30.4-6.5-65.8-28.6-10.1-6.3-25.1-15-33.4-19.4-26.6-14.2-40.8-24.9-45.5-34.6-2.5-5-2.6-6.2-2.1-13.4.8-9.8 4.4-26.3 10.4-46.9 4.1-14.3 4.5-16.8 5-29.9.9-23.2-2.5-40.5-10.8-55.7-6.9-12.7-10.5-31.3-11.5-59.5l-.6-16.5 5.8-7c9.6-11.7 18.8-26.7 24.2-39.3l2.3-5.3 4.7.8c2.6.4 11.9.7 20.7.6 15.3-.1 23.9-1.3 32.9-4.9 1.8-.7 1.9-.3 1.2 8.2-.3 4.9-1.8 16.3-3.2 25.4-1.4 9-2.3 17.7-2 19.3.7 3.4 5 9.8 12.9 19 3.3 3.8 6.8 9.2 7.9 11.9 3.2 8.4 4.8 22.9 4.8 42.8 0 34-2.1 41.6-24.5 89.5-5.7 12.1-10.8 23.8-11.4 26-3.6 13.4 1.7 24.2 18.2 36.4 10.2 7.6 27 18.4 38.7 24.9 4.6 2.5 11.7 8.1 18.4 14.2 6.3 5.9 13.5 11.5 17 13.3 5.7 3 6.8 3.2 16.1 3.2 8.9 0 10.6-.3 15.7-2.8 7.4-3.6 15.4-12.4 21.3-23.2 2.6-4.7 6.3-10.7 8.3-13.4 4.6-6 28-30.7 28.5-30.1.2.3 2.3 6 4.5 12.8l4.1 12.2-5.7 3.6c-7.1 4.6-25.8 22.7-28.2 27.4-.9 1.9-3.1 8-4.8 13.5-3.6 11.5-7.2 17.5-14.5 24.1-6.4 5.8-15 11.4-17.4 11.4-1-.1-4-1-6.8-2.1m-1211-30.5c-10.4-2.2-16.8-5.6-24.2-12.6-7.8-7.5-15.4-17.3-26.3-34-8.1-12.2-18-30.7-18-33.4 0-.7 3.5-3.1 7.8-5.3 10.6-5.3 14.7-10.2 16.4-19.6.4-1.7 1-1.4 4.6 2.4 6.5 7.1 8.7 12.3 11.7 27.6 5.4 28.8 10.4 45.2 14.8 49.4 8 7.5 31.7 8.7 48.8 2.5 19.8-7.2 22.1-7.6 52.9-8.4 46.7-1.3 64-5.5 71.8-17.8 11.3-17.5 31.6-70.9 36.2-94.9 2.9-15.5 2.5-29-1.8-48.8-6.4-30.2-13.7-85.3-12Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.go-Footer-googleLogoImg, img.Footer-googleLogoImg {
|
||||
@svg: escape('<svg width="74" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M.128 9.276c0-5.105 4.32-9.261 9.457-9.261 2.842 0 4.865 1.107 6.388 2.552l-1.796 1.785c-1.091-1.017-2.569-1.807-4.592-1.807-3.75 0-6.683 3.004-6.683 6.731s2.932 6.732 6.683 6.732c2.432 0 3.82-.971 4.706-1.853.727-.722 1.204-1.761 1.386-3.184H9.585V8.44h8.57c.091.451.137.993.137 1.58 0 1.898-.523 4.248-2.206 5.92-1.636 1.693-3.728 2.597-6.5 2.597-5.139 0-9.458-4.156-9.458-9.262m25.09 6.914c-1.819 0-3.387-1.491-3.387-3.615 0-2.146 1.568-3.614 3.387-3.614s3.387 1.468 3.387 3.614c0 2.124-1.569 3.615-3.387 3.615m0-9.578c-3.32 0-6.024 2.507-6.024 5.963 0 3.434 2.705 5.964 6.024 5.964s6.024-2.53 6.024-5.964c0-3.456-2.706-5.963-6.024-5.963m13.142 9.578c-1.82 0-3.388-1.491-3.388-3.615 0-2.146 1.569-3.614 3.387-3.614s3.387 1.468 3.387 3.614c0 2.124-1.568 3.615-3.387 3.615m0-9.578c-3.319 0-6.024 2.507-6.024 5.963 0 3.434 2.705 5.964 6.024 5.964s6.024-2.53 6.024-5.964c0-3.456-2.705-5.963-6.024-5.963m13.107 9.578c-1.818 0-3.341-1.514-3.341-3.592 0-2.1 1.523-3.637 3.341-3.637 1.796 0 3.206 1.536 3.206 3.637 0 2.078-1.41 3.592-3.206 3.592m3.024-9.217v.972h-.091c-.591-.7-1.728-1.333-3.16-1.333-3 0-5.751 2.62-5.751 5.986 0 3.343 2.75 5.941 5.75 5.941 1.433 0 2.57-.633 3.16-1.356h.092v.859c0 2.281-1.228 3.501-3.206 3.501-1.614 0-2.614-1.152-3.023-2.123l-2.296.949c.66 1.581 2.41 3.524 5.32 3.524 3.091 0 5.705-1.808 5.705-6.212V6.972zm6.956 11.204h-2.637V.647h2.637zm7.024-9.261c1.046 0 1.932.52 2.228 1.265l-5.365 2.214c-.068-2.305 1.796-3.48 3.137-3.48m.205 7.275c-1.342 0-2.296-.61-2.91-1.807l8.025-3.298-.273-.678c-.5-1.333-2.024-3.795-5.138-3.795-3.092 0-5.66 2.417-5.66 5.963 0 3.344 2.546 5.964 5.956 5.964 2.75 0 4.342-1.672 5-2.643L71.63 14.54c-.682.994-1.614 1.649-2.955 1.649" fill="@{text}" fill-rule="evenodd"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.go-Footer-googleLogoImg,
|
||||
img.Footer-googleLogoImg {
|
||||
@svg: escape(
|
||||
'<svg width="74" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M.128 9.276c0-5.105 4.32-9.261 9.457-9.261 2.842 0 4.865 1.107 6.388 2.552l-1.796 1.785c-1.091-1.017-2.569-1.807-4.592-1.807-3.75 0-6.683 3.004-6.683 6.731s2.932 6.732 6.683 6.732c2.432 0 3.82-.971 4.706-1.853.727-.722 1.204-1.761 1.386-3.184H9.585V8.44h8.57c.091.451.137.993.137 1.58 0 1.898-.523 4.248-2.206 5.92-1.636 1.693-3.728 2.597-6.5 2.597-5.139 0-9.458-4.156-9.458-9.262m25.09 6.914c-1.819 0-3.387-1.491-3.387-3.615 0-2.146 1.568-3.614 3.387-3.614s3.387 1.468 3.387 3.614c0 2.124-1.569 3.615-3.387 3.615m0-9.578c-3.32 0-6.024 2.507-6.024 5.963 0 3.434 2.705 5.964 6.024 5.964s6.024-2.53 6.024-5.964c0-3.456-2.706-5.963-6.024-5.963m13.142 9.578c-1.82 0-3.388-1.491-3.388-3.615 0-2.146 1.569-3.614 3.387-3.614s3.387 1.468 3.387 3.614c0 2.124-1.568 3.615-3.387 3.615m0-9.578c-3.319 0-6.024 2.507-6.024 5.963 0 3.434 2.705 5.964 6.024 5.964s6.024-2.53 6.024-5.964c0-3.456-2.705-5.963-6.024-5.963m13.107 9.578c-1.818 0-3.341-1.514-3.341-3.592 0-2.1 1.523-3.637 3.341-3.637 1.796 0 3.206 1.536 3.206 3.637 0 2.078-1.41 3.592-3.206 3.592m3.024-9.217v.972h-.091c-.591-.7-1.728-1.333-3.16-1.333-3 0-5.751 2.62-5.751 5.986 0 3.343 2.75 5.941 5.75 5.941 1.433 0 2.57-.633 3.16-1.356h.092v.859c0 2.281-1.228 3.501-3.206 3.501-1.614 0-2.614-1.152-3.023-2.123l-2.296.949c.66 1.581 2.41 3.524 5.32 3.524 3.091 0 5.705-1.808 5.705-6.212V6.972zm6.956 11.204h-2.637V.647h2.637zm7.024-9.261c1.046 0 1.932.52 2.228 1.265l-5.365 2.214c-.068-2.305 1.796-3.48 3.137-3.48m.205 7.275c-1.342 0-2.296-.61-2.91-1.807l8.025-3.298-.273-.678c-.5-1.333-2.024-3.795-5.138-3.795-3.092 0-5.66 2.417-5.66 5.963 0 3.344 2.546 5.964 5.956 5.964 2.75 0 4.342-1.672 5-2.643L71.63 14.54c-.682.994-1.614 1.649-2.955 1.649" fill="@{text}" fill-rule="evenodd"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Main Page Footer Get Started
|
||||
@@ -163,34 +174,55 @@
|
||||
fill: @accent-color;
|
||||
}
|
||||
|
||||
.LeftNav a.active, .LeftNav a:hover {
|
||||
.LeftNav a.active,
|
||||
.LeftNav a:hover {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
|
||||
img {
|
||||
@svg: escape('<svg width="5" height="5" viewBox="0 0 5 5" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="2.5" cy="2.5" r="2.5" fill="@{accent-color}"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg width="5" height="5" viewBox="0 0 5 5" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="2.5" cy="2.5" r="2.5" fill="@{accent-color}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// /solutions/use-cases & Why Use Go / 4 icons
|
||||
.MarketingCardList, .WhyGo-reasons .WhyGo-reasonIcon {
|
||||
img.LightMode-img[alt='cloud icon'], img.DarkMode-img[alt='cloud icon'], img[alt='Sphere'] {
|
||||
@svg: escape('<svg width="59px" height="59px" viewBox="0 0 59 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M58.968 28.25q-.026-.564-.072-1.124v-.012C57.742 12.746 46.253 1.258 31.884.104h-.004A31 31 0 0 0 29.504 0h-.009q-.625.001-1.243.032-.571.026-1.136.074C12.368 1.295.652 13.358.03 28.249q-.03.617-.031 1.242v.024a26 26 0 0 0 .033 1.242c.632 14.89 12.34 26.946 27.082 28.137l.01.001c.375.03.75.057 1.13.073q.616.03 1.24.032h.009q.628-.001 1.246-.031.566-.026 1.127-.073h.008C46.62 57.71 58.334 45.65 58.967 30.757q.032-.616.033-1.242v-.024q-.001-.624-.032-1.241M20.988 3.79c-2.221 2.143-4.111 5.121-5.558 8.696a2.83 2.83 0 0 0-2.539 2.81c0 .02.006.037.006.056-3.784 1.503-6.945 3.501-9.185 5.84 2.648-8.198 9.107-14.69 17.276-17.403m-7.2 13.713c-.743 2.944-1.188 6.166-1.344 9.556-.494.29-.891.72-1.136 1.242H4.204a2.84 2.84 0 0 0-1.361-1.365c1.252-3.877 5.283-7.232 10.946-9.433M4.204 30.7h7.106c.244.521.642.95 1.135 1.24.15 3.262.575 6.362 1.271 9.218-.068.069-.124.15-.185.226-5.525-2.203-9.455-5.507-10.688-9.321a2.85 2.85 0 0 0 1.36-1.363m-.412 7.307c2.238 2.32 5.378 4.283 9.167 5.752a2.84 2.84 0 0 0 2.242 2.185c1.47 3.83 3.45 7.005 5.788 9.263a27.2 27.2 0 0 1-17.197-17.2M28.3 54.795c-.6.282-1.082.763-1.364 1.362-3.847-1.245-7.18-5.233-9.386-10.833q.052-.04.102-.084c2.84.704 5.925 1.137 9.17 1.3.3.64.824 1.152 1.478 1.425zm0-12.074a2.84 2.84 0 0 0-1.482 1.433 46 46 0 0 1-8.263-1.174 2.82 2.82 0 0 0-2.564-2.636 46 46 0 0 1-1.15-8.183 2.83 2.83 0 0 0 1.6-1.46h10.384c.299.638.822 1.15 1.475 1.421zm0-15.843a2.84 2.84 0 0 0-1.476 1.423H16.44a2.83 2.83 0 0 0-1.6-1.462c.163-3.095.602-6.038 1.286-8.742a2.82 2.82 0 0 0 2.335-2.06c2.726-.663 5.692-1.078 8.801-1.216.263.383.623.69 1.037.906zm0-16.164a2.83 2.83 0 0 0-1.408 1.723 47 47 0 0 0-8.808 1.267 3 3 0 0 0-.368-.436c2.203-5.384 5.467-9.21 9.22-10.425.282.6.763 1.081 1.363 1.362zM55.287 21.19c-2.24-2.342-5.399-4.334-9.185-5.84 0-.019.005-.037.005-.055a2.83 2.83 0 0 0-2.64-2.82c-1.482-3.594-3.406-6.609-5.657-8.762A27.22 27.22 0 0 1 55.287 21.19m.87 5.746a2.84 2.84 0 0 0-1.362 1.364h-6.668a2.84 2.84 0 0 0-1.57-1.452c-.17-3.313-.655-6.468-1.413-9.375 5.7 2.203 9.753 5.57 11.012 9.463M30.698 4.205a2.84 2.84 0 0 0 1.365-1.362c3.752 1.214 7.012 5.04 9.218 10.425-.135.133-.26.278-.367.436a47 47 0 0 0-8.585-1.253 2.84 2.84 0 0 0-1.63-1.853zm0 11.638c.508-.211.94-.567 1.249-1.014 3.032.148 5.923.56 8.587 1.205a2.83 2.83 0 0 0 2.337 2.063c.696 2.76 1.14 5.775 1.295 8.943-.51.29-.922.727-1.173 1.262H31.957a2.84 2.84 0 0 0-1.258-1.308zm0 16.164c.55-.287.993-.744 1.257-1.306h11.04c.25.534.662.97 1.17 1.26-.143 2.955-.54 5.774-1.157 8.383a2.82 2.82 0 0 0-2.565 2.637c-2.635.63-5.487 1.035-8.477 1.182a2.83 2.83 0 0 0-1.268-1.327zm1.365 24.15a2.84 2.84 0 0 0-1.365-1.362V47.85a2.84 2.84 0 0 0 1.253-1.299c3.329-.153 6.49-.59 9.395-1.311q.05.043.103.084c-2.206 5.6-5.54 9.588-9.386 10.833m5.75-.874c2.368-2.268 4.384-5.478 5.89-9.329a2.83 2.83 0 0 0 2.336-2.192c3.786-1.469 6.928-3.434 9.167-5.754-2.708 8.173-9.2 14.627-17.393 17.275m7.656-13.898c-.073-.09-.145-.182-.23-.263.7-2.797 1.155-5.81 1.317-8.97a2.83 2.83 0 0 0 1.569-1.451h6.67c.282.598.763 1.08 1.36 1.362-1.234 3.813-5.16 7.118-10.686 9.322" fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
.MarketingCardList,
|
||||
.WhyGo-reasons .WhyGo-reasonIcon {
|
||||
img.LightMode-img[alt="cloud icon"],
|
||||
img.DarkMode-img[alt="cloud icon"],
|
||||
img[alt="Sphere"] {
|
||||
@svg: escape(
|
||||
'<svg width="59px" height="59px" viewBox="0 0 59 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M58.968 28.25q-.026-.564-.072-1.124v-.012C57.742 12.746 46.253 1.258 31.884.104h-.004A31 31 0 0 0 29.504 0h-.009q-.625.001-1.243.032-.571.026-1.136.074C12.368 1.295.652 13.358.03 28.249q-.03.617-.031 1.242v.024a26 26 0 0 0 .033 1.242c.632 14.89 12.34 26.946 27.082 28.137l.01.001c.375.03.75.057 1.13.073q.616.03 1.24.032h.009q.628-.001 1.246-.031.566-.026 1.127-.073h.008C46.62 57.71 58.334 45.65 58.967 30.757q.032-.616.033-1.242v-.024q-.001-.624-.032-1.241M20.988 3.79c-2.221 2.143-4.111 5.121-5.558 8.696a2.83 2.83 0 0 0-2.539 2.81c0 .02.006.037.006.056-3.784 1.503-6.945 3.501-9.185 5.84 2.648-8.198 9.107-14.69 17.276-17.403m-7.2 13.713c-.743 2.944-1.188 6.166-1.344 9.556-.494.29-.891.72-1.136 1.242H4.204a2.84 2.84 0 0 0-1.361-1.365c1.252-3.877 5.283-7.232 10.946-9.433M4.204 30.7h7.106c.244.521.642.95 1.135 1.24.15 3.262.575 6.362 1.271 9.218-.068.069-.124.15-.185.226-5.525-2.203-9.455-5.507-10.688-9.321a2.85 2.85 0 0 0 1.36-1.363m-.412 7.307c2.238 2.32 5.378 4.283 9.167 5.752a2.84 2.84 0 0 0 2.242 2.185c1.47 3.83 3.45 7.005 5.788 9.263a27.2 27.2 0 0 1-17.197-17.2M28.3 54.795c-.6.282-1.082.763-1.364 1.362-3.847-1.245-7.18-5.233-9.386-10.833q.052-.04.102-.084c2.84.704 5.925 1.137 9.17 1.3.3.64.824 1.152 1.478 1.425zm0-12.074a2.84 2.84 0 0 0-1.482 1.433 46 46 0 0 1-8.263-1.174 2.82 2.82 0 0 0-2.564-2.636 46 46 0 0 1-1.15-8.183 2.83 2.83 0 0 0 1.6-1.46h10.384c.299.638.822 1.15 1.475 1.421zm0-15.843a2.84 2.84 0 0 0-1.476 1.423H16.44a2.83 2.83 0 0 0-1.6-1.462c.163-3.095.602-6.038 1.286-8.742a2.82 2.82 0 0 0 2.335-2.06c2.726-.663 5.692-1.078 8.801-1.216.263.383.623.69 1.037.906zm0-16.164a2.83 2.83 0 0 0-1.408 1.723 47 47 0 0 0-8.808 1.267 3 3 0 0 0-.368-.436c2.203-5.384 5.467-9.21 9.22-10.425.282.6.763 1.081 1.363 1.362zM55.287 21.19c-2.24-2.342-5.399-4.334-9.185-5.84 0-.019.005-.037.005-.055a2.83 2.83 0 0 0-2.64-2.82c-1.482-3.594-3.406-6.609-5.657-8.762A27.22 27.22 0 0 1 55.287 21.19m.87 5.746a2.84 2.84 0 0 0-1.362 1.364h-6.668a2.84 2.84 0 0 0-1.57-1.452c-.17-3.313-.655-6.468-1.413-9.375 5.7 2.203 9.753 5.57 11.012 9.463M30.698 4.205a2.84 2.84 0 0 0 1.365-1.362c3.752 1.214 7.012 5.04 9.218 10.425-.135.133-.26.278-.367.436a47 47 0 0 0-8.585-1.253 2.84 2.84 0 0 0-1.63-1.853zm0 11.638c.508-.211.94-.567 1.249-1.014 3.032.148 5.923.56 8.587 1.205a2.83 2.83 0 0 0 2.337 2.063c.696 2.76 1.14 5.775 1.295 8.943-.51.29-.922.727-1.173 1.262H31.957a2.84 2.84 0 0 0-1.258-1.308zm0 16.164c.55-.287.993-.744 1.257-1.306h11.04c.25.534.662.97 1.17 1.26-.143 2.955-.54 5.774-1.157 8.383a2.82 2.82 0 0 0-2.565 2.637c-2.635.63-5.487 1.035-8.477 1.182a2.83 2.83 0 0 0-1.268-1.327zm1.365 24.15a2.84 2.84 0 0 0-1.365-1.362V47.85a2.84 2.84 0 0 0 1.253-1.299c3.329-.153 6.49-.59 9.395-1.311q.05.043.103.084c-2.206 5.6-5.54 9.588-9.386 10.833m5.75-.874c2.368-2.268 4.384-5.478 5.89-9.329a2.83 2.83 0 0 0 2.336-2.192c3.786-1.469 6.928-3.434 9.167-5.754-2.708 8.173-9.2 14.627-17.393 17.275m7.656-13.898c-.073-.09-.145-.182-.23-.263.7-2.797 1.155-5.81 1.317-8.97a2.83 2.83 0 0 0 1.569-1.451h6.67c.282.598.763 1.08 1.36 1.362-1.234 3.813-5.16 7.118-10.686 9.322" fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt='CLI icon'], img.DarkMode-img[alt='CLI icon'], img[alt='Command Line'] {
|
||||
@svg: escape('<svg width="62px" height="59px" viewBox="0 0 62 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><path d="M0 11h62v48H0zm59.182 2.824H2.818v42.352h56.364z"/><rect x="9" y="6" width="45" height="3"/><rect x="14" y="0" width="34" height="3"/><path d="M21.4 42c-.414 0-.76-.142-1.035-.495-.484-.566-.415-1.486.207-1.981l6.975-6.014-7.044-6.014c-.553-.495-.69-1.415-.207-1.981s1.38-.707 1.933-.212l8.288 7.075c.345.283.483.637.483 1.061 0 .425-.207.85-.483 1.061l-8.288 7.075a.98.98 0 0 1-.828.425m19.224 3h-8.25C31.619 45 31 44.325 31 43.5s.619-1.5 1.375-1.5h8.25c.756 0 1.375.675 1.375 1.5s-.619 1.5-1.375 1.5"/></g></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.LightMode-img[alt="CLI icon"],
|
||||
img.DarkMode-img[alt="CLI icon"],
|
||||
img[alt="Command Line"] {
|
||||
@svg: escape(
|
||||
'<svg width="62px" height="59px" viewBox="0 0 62 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><path d="M0 11h62v48H0zm59.182 2.824H2.818v42.352h56.364z"/><rect x="9" y="6" width="45" height="3"/><rect x="14" y="0" width="34" height="3"/><path d="M21.4 42c-.414 0-.76-.142-1.035-.495-.484-.566-.415-1.486.207-1.981l6.975-6.014-7.044-6.014c-.553-.495-.69-1.415-.207-1.981s1.38-.707 1.933-.212l8.288 7.075c.345.283.483.637.483 1.061 0 .425-.207.85-.483 1.061l-8.288 7.075a.98.98 0 0 1-.828.425m19.224 3h-8.25C31.619 45 31 44.325 31 43.5s.619-1.5 1.375-1.5h8.25c.756 0 1.375.675 1.375 1.5s-.619 1.5-1.375 1.5"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt='web dev icon'], img.DarkMode-img[alt='web dev icon'], img[alt='Code'] {
|
||||
@svg: escape('<svg width="75px" height="50px" viewBox="0 0 75 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><polygon points="17 24.484525 31 18 31 20.5366715 19.8950953 25.4706244 19.8950953 25.5270717 31 30.4898241 31 33 17 26.515475"/><polygon points="33 33 39.6555652 13 42 13 35.3455491 33"/><polygon points="58 26.5719223 44 33 44 30.4898241 55.28351 25.5270717 55.28351 25.4717764 44 20.5090239 44 18 58 24.4280777"/><polygon points="71.2505274 50 3.75064464 50 0 47 75 47"/><path d="M70.999 46h-2.341V3.036a.71.71 0 0 0-.703-.7H8.044a.71.71 0 0 0-.703.7V46H5V3.036A3.043 3.043 0 0 1 8.044 0h59.912A3.043 3.043 0 0 1 71 3.036V46z"/><path d="M30.831 45H0v2h33c-1.105 0-1.989-.877-2.169-2m13.336 0c-.18 1.123-1.062 2-2.167 2h33v-2z"/></g></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.LightMode-img[alt="web dev icon"],
|
||||
img.DarkMode-img[alt="web dev icon"],
|
||||
img[alt="Code"] {
|
||||
@svg: escape(
|
||||
'<svg width="75px" height="50px" viewBox="0 0 75 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><polygon points="17 24.484525 31 18 31 20.5366715 19.8950953 25.4706244 19.8950953 25.5270717 31 30.4898241 31 33 17 26.515475"/><polygon points="33 33 39.6555652 13 42 13 35.3455491 33"/><polygon points="58 26.5719223 44 33 44 30.4898241 55.28351 25.5270717 55.28351 25.4717764 44 20.5090239 44 18 58 24.4280777"/><polygon points="71.2505274 50 3.75064464 50 0 47 75 47"/><path d="M70.999 46h-2.341V3.036a.71.71 0 0 0-.703-.7H8.044a.71.71 0 0 0-.703.7V46H5V3.036A3.043 3.043 0 0 1 8.044 0h59.912A3.043 3.043 0 0 1 71 3.036V46z"/><path d="M30.831 45H0v2h33c-1.105 0-1.989-.877-2.169-2m13.336 0c-.18 1.123-1.062 2-2.167 2h33v-2z"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt='ops icon'], img.DarkMode-img[alt='ops icon'], img[alt='Sphere'][src="/images/icons/gear-dark.svg"], img[alt='Sphere'][src="/images/icons/gear.svg"] {
|
||||
@svg: escape('<svg width="61px" height="61px" viewBox="0 0 61 61" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><path d="M30.5 22c-4.668 0-8.5 3.783-8.5 8.5 0 4.668 3.832 8.5 8.5 8.5s8.5-3.783 8.5-8.5c0-4.668-3.832-8.5-8.5-8.5m0 15.035c-3.587 0-6.535-2.948-6.535-6.535s2.948-6.535 6.535-6.535 6.535 2.948 6.535 6.535-2.948 6.535-6.535 6.535"/><path d="M51.886 37.805c-.242-1.057-.873-1.922-1.747-2.403l-2.184-1.25c.194-1.105.29-2.21.29-3.267 0-1.586-.145-2.98-.533-4.373l2.184-1.298c1.942-1.105 2.573-3.171 1.553-4.95l-1.796-3.075c-.728-1.202-2.087-2.018-3.494-2.018-.631 0-1.262.144-1.845.48l-2.475 1.442a17.5 17.5 0 0 0-6.504-3.556v-2.74c0-2.21-1.505-3.796-3.544-3.796H28.2c-2.184-.048-4.028 1.73-4.028 3.796v2.884a17.7 17.7 0 0 0-6.407 3.748l-2.33-1.345a4.3 4.3 0 0 0-2.136-.577c-1.262 0-2.33.625-2.96 1.73L8.54 20.313c-.485.865-.68 1.922-.437 2.931.243 1.057.874 1.922 1.796 2.45l2.282 1.25a17.8 17.8 0 0 0-.437 3.94c0 1.25.145 2.548.388 3.75l-2.038 1.153c-1.942 1.105-2.573 3.171-1.554 4.95l1.796 3.075c.728 1.201 2.087 2.018 3.495 2.018.631 0 1.262-.144 1.844-.48l1.99-1.153c1.99 1.826 4.418 3.171 6.99 3.94v2.067c0 2.21 1.505 3.796 3.543 3.796h3.592c2.185 0 4.029-1.73 4.029-3.845l-.049-2.21c2.573-.865 4.951-2.259 6.893-4.133l1.893 1.105a4.3 4.3 0 0 0 2.136.577c1.262 0 2.33-.625 2.96-1.73l1.796-3.076c.534-.817.68-1.922.437-2.883m-2.087 1.97-1.796 3.076c-.34.625-.922.769-1.31.769-.389 0-.777-.096-1.165-.337l-3.204-1.826-.534.529c-1.99 2.066-4.514 3.604-7.28 4.373l-.729.192.097 3.653c0 1.009-.97 1.874-2.087 1.874H28.2c-1.164 0-1.601-1.01-1.601-1.874v-3.509l-.728-.192a16.4 16.4 0 0 1-7.378-4.18l-.534-.53-3.252 1.875c-.243.144-.534.24-.874.24-.728 0-1.456-.432-1.844-1.057l-1.796-3.076c-.583-1.009.097-1.874.873-2.306l3.301-1.875-.194-.72c-.34-1.298-.486-2.643-.486-3.99 0-1.393.195-2.786.534-4.18l.194-.72-3.591-1.971c-.437-.24-.728-.673-.826-1.202a1.9 1.9 0 0 1 .243-1.537l1.796-3.076c.34-.625.922-.769 1.31-.769.389 0 .777.096 1.166.337l3.591 2.066.534-.529c2.039-1.97 4.272-3.267 6.844-3.988l.631-.193v-4.325c0-1.009.971-1.874 2.087-1.874h3.592c1.165 0 1.602 1.01 1.602 1.922l.049 4.23.728.192c2.62.672 5 1.97 6.94 3.748l.535.48 3.689-2.162c.242-.144.533-.24.873-.24.728 0 1.456.432 1.845 1.057l1.796 3.076c.582 1.009-.097 1.874-.874 2.306l-3.495 2.019.243.72c.437 1.442.63 2.884.63 4.566 0 1.201-.145 2.403-.387 3.556l-.146.673 3.398 1.922c.436.24.728.673.825 1.201.097.577 0 1.106-.243 1.586"/><path d="M12.99 7.006a.96.96 0 0 0 .58-.185C22.383.792 34.537.19 44.076 5.15l-3.1 1.252L51 9 45.722.421l-.436 3.293c-10.265-5.472-23.339-4.87-32.878 1.623-.436.278-.532.88-.242 1.298.194.232.533.371.823.371M5.17 15.928l1.247 3.1L9 9 .42 14.28l3.275.437C-1.75 24.987-1.15 38.068 5.309 47.612a.95.95 0 0 0 .738.388c.185 0 .37-.048.554-.194.415-.29.508-.92.23-1.356C.835 37.632.19 25.52 5.172 15.928M46.478 54.18c-8.813 6.031-20.966 6.634-30.554 1.67l3.1-1.252L9 52l5.278 8.582.436-3.293C19.362 59.794 24.592 61 29.82 61c6.295 0 12.541-1.81 17.77-5.335.437-.278.533-.881.243-1.299a1.074 1.074 0 0 0-1.356-.186m9.217-41.771c-.277-.437-.878-.534-1.293-.243-.416.291-.508.921-.23 1.358 6.001 8.823 6.602 20.992 1.661 30.543l-1.246-3.103L52 51l8.542-5.284-3.278-.437c5.494-10.23 4.894-23.32-1.57-32.87"/></g></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.LightMode-img[alt="ops icon"],
|
||||
img.DarkMode-img[alt="ops icon"],
|
||||
img[alt="Sphere"][src="/images/icons/gear-dark.svg"],
|
||||
img[alt="Sphere"][src="/images/icons/gear.svg"] {
|
||||
@svg: escape(
|
||||
'<svg width="61px" height="61px" viewBox="0 0 61 61" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><path d="M30.5 22c-4.668 0-8.5 3.783-8.5 8.5 0 4.668 3.832 8.5 8.5 8.5s8.5-3.783 8.5-8.5c0-4.668-3.832-8.5-8.5-8.5m0 15.035c-3.587 0-6.535-2.948-6.535-6.535s2.948-6.535 6.535-6.535 6.535 2.948 6.535 6.535-2.948 6.535-6.535 6.535"/><path d="M51.886 37.805c-.242-1.057-.873-1.922-1.747-2.403l-2.184-1.25c.194-1.105.29-2.21.29-3.267 0-1.586-.145-2.98-.533-4.373l2.184-1.298c1.942-1.105 2.573-3.171 1.553-4.95l-1.796-3.075c-.728-1.202-2.087-2.018-3.494-2.018-.631 0-1.262.144-1.845.48l-2.475 1.442a17.5 17.5 0 0 0-6.504-3.556v-2.74c0-2.21-1.505-3.796-3.544-3.796H28.2c-2.184-.048-4.028 1.73-4.028 3.796v2.884a17.7 17.7 0 0 0-6.407 3.748l-2.33-1.345a4.3 4.3 0 0 0-2.136-.577c-1.262 0-2.33.625-2.96 1.73L8.54 20.313c-.485.865-.68 1.922-.437 2.931.243 1.057.874 1.922 1.796 2.45l2.282 1.25a17.8 17.8 0 0 0-.437 3.94c0 1.25.145 2.548.388 3.75l-2.038 1.153c-1.942 1.105-2.573 3.171-1.554 4.95l1.796 3.075c.728 1.201 2.087 2.018 3.495 2.018.631 0 1.262-.144 1.844-.48l1.99-1.153c1.99 1.826 4.418 3.171 6.99 3.94v2.067c0 2.21 1.505 3.796 3.543 3.796h3.592c2.185 0 4.029-1.73 4.029-3.845l-.049-2.21c2.573-.865 4.951-2.259 6.893-4.133l1.893 1.105a4.3 4.3 0 0 0 2.136.577c1.262 0 2.33-.625 2.96-1.73l1.796-3.076c.534-.817.68-1.922.437-2.883m-2.087 1.97-1.796 3.076c-.34.625-.922.769-1.31.769-.389 0-.777-.096-1.165-.337l-3.204-1.826-.534.529c-1.99 2.066-4.514 3.604-7.28 4.373l-.729.192.097 3.653c0 1.009-.97 1.874-2.087 1.874H28.2c-1.164 0-1.601-1.01-1.601-1.874v-3.509l-.728-.192a16.4 16.4 0 0 1-7.378-4.18l-.534-.53-3.252 1.875c-.243.144-.534.24-.874.24-.728 0-1.456-.432-1.844-1.057l-1.796-3.076c-.583-1.009.097-1.874.873-2.306l3.301-1.875-.194-.72c-.34-1.298-.486-2.643-.486-3.99 0-1.393.195-2.786.534-4.18l.194-.72-3.591-1.971c-.437-.24-.728-.673-.826-1.202a1.9 1.9 0 0 1 .243-1.537l1.796-3.076c.34-.625.922-.769 1.31-.769.389 0 .777.096 1.166.337l3.591 2.066.534-.529c2.039-1.97 4.272-3.267 6.844-3.988l.631-.193v-4.325c0-1.009.971-1.874 2.087-1.874h3.592c1.165 0 1.602 1.01 1.602 1.922l.049 4.23.728.192c2.62.672 5 1.97 6.94 3.748l.535.48 3.689-2.162c.242-.144.533-.24.873-.24.728 0 1.456.432 1.845 1.057l1.796 3.076c.582 1.009-.097 1.874-.874 2.306l-3.495 2.019.243.72c.437 1.442.63 2.884.63 4.566 0 1.201-.145 2.403-.387 3.556l-.146.673 3.398 1.922c.436.24.728.673.825 1.201.097.577 0 1.106-.243 1.586"/><path d="M12.99 7.006a.96.96 0 0 0 .58-.185C22.383.792 34.537.19 44.076 5.15l-3.1 1.252L51 9 45.722.421l-.436 3.293c-10.265-5.472-23.339-4.87-32.878 1.623-.436.278-.532.88-.242 1.298.194.232.533.371.823.371M5.17 15.928l1.247 3.1L9 9 .42 14.28l3.275.437C-1.75 24.987-1.15 38.068 5.309 47.612a.95.95 0 0 0 .738.388c.185 0 .37-.048.554-.194.415-.29.508-.92.23-1.356C.835 37.632.19 25.52 5.172 15.928M46.478 54.18c-8.813 6.031-20.966 6.634-30.554 1.67l3.1-1.252L9 52l5.278 8.582.436-3.293C19.362 59.794 24.592 61 29.82 61c6.295 0 12.541-1.81 17.77-5.335.437-.278.533-.881.243-1.299a1.074 1.074 0 0 0-1.356-.186m9.217-41.771c-.277-.437-.878-.534-1.293-.243-.416.291-.508.921-.23 1.358 6.001 8.823 6.602 20.992 1.661 30.543l-1.246-3.103L52 51l8.542-5.284-3.278-.437c5.494-10.23 4.894-23.32-1.57-32.87"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Mobile Nav Drawer
|
||||
@@ -211,28 +243,35 @@
|
||||
}
|
||||
}
|
||||
// Run Button for Code Snippet
|
||||
.Playground-runButton{
|
||||
.Playground-runButton {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
// Go Main Header
|
||||
.Site-header, .go-Header {
|
||||
.Site-header,
|
||||
.go-Header {
|
||||
background: @crust;
|
||||
|
||||
.Header-menuItem--active a, .go-Header-menuItem--active a {
|
||||
.Header-menuItem--active a,
|
||||
.go-Header-menuItem--active a {
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
// Mobile Burger Icon
|
||||
button.Header-navOpen--white, button.go-Header-navOpen--white {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z" fill="@{text}"/></svg>');
|
||||
background-image: url('data:image/svg+xml,@{svg}');
|
||||
button.Header-navOpen--white,
|
||||
button.go-Header-navOpen--white {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z" fill="@{text}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// 'What's Possible With Go'
|
||||
.WhyGo-reasons {
|
||||
.WhyGo-reasonPackagesHeader img {
|
||||
@svg: escape('<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="12" height="12"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.682 1.496 10.757.378a.97.97 0 0 0-.765-.366H2.008a.99.99 0 0 0-.771.366L.318 1.496a1.3 1.3 0 0 0-.306.845v8.316c0 .732.6 1.33 1.331 1.33h9.314c.732 0 1.33-.598 1.33-1.33V2.341c0-.32-.113-.619-.305-.845m-9.514-.153h7.664l.552.665H1.622zm-.825 1.996v7.318h9.314V3.34z" fill="@{text}"/></mask><g mask="url(#a)"><rect x="-1.98346" y="-1.98352" width="15.9669" height="15.9669" fill="@{text}"/></g><path fill-rule="evenodd" clip-rule="evenodd" d="M5.143 2.008h1.714v5.706H5.143zm.511-1.18H6.3l.557 1.18H5.143z" fill="@{accent-color}"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="12" height="12"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.682 1.496 10.757.378a.97.97 0 0 0-.765-.366H2.008a.99.99 0 0 0-.771.366L.318 1.496a1.3 1.3 0 0 0-.306.845v8.316c0 .732.6 1.33 1.331 1.33h9.314c.732 0 1.33-.598 1.33-1.33V2.341c0-.32-.113-.619-.305-.845m-9.514-.153h7.664l.552.665H1.622zm-.825 1.996v7.318h9.314V3.34z" fill="@{text}"/></mask><g mask="url(#a)"><rect x="-1.98346" y="-1.98352" width="15.9669" height="15.9669" fill="@{text}"/></g><path fill-rule="evenodd" clip-rule="evenodd" d="M5.143 2.008h1.714v5.706H5.143zm.511-1.18H6.3l.557 1.18H5.143z" fill="@{accent-color}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.WhyGo-reasonShowMoreLink a {
|
||||
@@ -240,53 +279,83 @@
|
||||
}
|
||||
|
||||
img.WhyGo-reasonShowMoreImg {
|
||||
@svg: escape('<svg viewBox="0 0 1200 945" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="m811 927-14-4a287 287 0 0 1-58-36c-14-7-29-20-40-31l-22-17-18-14c-24-17-46-36-67-57-4-3-10-7-12-10l-27-21c-9-9-10-9-24-4l-31 6c-2 0-4 0-6 2l-7 11c-4 8-4 9-3 13 0 2 3 6 6 9 5 7 20 21 20 32 4 6 4 16 4 23 0 11-1 23-9 32-10 12-22 21-32 22l-10 2c-12 2-13 2-15 0l-3-3h-1c-2 1-11-1-13-3l-8-5c-14-9-23-27-25-43l1-16v-8l-1-2 2-2 4-6c0-3 3-7 5-11 4-6 4-6 3-12 0-7-3-12-11-19-6-6-16-6-24-7-4 0-10-1-14 3l-5 4c-1 2-12 10-19 13-8 6-17 0-26 4s-12 17-24 17h-1v-1l5-6c9-11 11-15 7-18-7-7-20 13-25 13h-1v-1l7-8c10-9 11-12 6-19-2-2-4-7-4-9l-4-8c-10-7-22-8-33-12-7-3-7-5-13-9l-4-2h-1v2l6 9a63 63 0 0 1 16 22c5 5 16 24 20 34l8 17c3 7 3 13 0 17l-2 5c-9 12-21 12-32 2-2-2-24-17-24-25l-4-6c-8-15-10-18-14-30-9-22-10-47-18-70-2-4-3-4-11-7-6-1-14-5-16-8-5-5-3-18 0-23 7-11-4-22-10-30a456 456 0 0 1-40-54c-7-10-19-33-22-41-4-13-4-18-3-24 2-8 6-16 16-12 2 0 3 2 5 3 19 9 30 29 38 47 3 6 7 12 9 19l13 37 4 14 5 12 5 10 2 1 3-1c3-2 10-19 13-33 4-17 6-22 9-23 7-7 9-18 13-27 1-3 3-10 7-12a322 322 0 0 0 19-23l6-6 5-8c5-5 2-7-29-31-8-5-16-12-23-19-5-2-7-6-12-8l-7-6-10-7c-12-6-19-13-29-21-9-7-17-14-18-18l-3-10c0-10 3-24 15-24l12-3c4-1 25-3 21-13l-4-7-11-17-11-17-27-32c-7-7-9-13-8-22 1-10 3-13 18-24 5-4 15-11 19-12l10-5c11-5 30-12 38-13l12-3 33-3c17-3 37-2 51 2 13 5 35 17 56 33l12 8 13 9 33 24 13 10a447 447 0 0 1 40 28l12 7 4 2 2-1c0-12 9-25 18-33 11-7 15-9 30-7l6 1v-1c0-2 23-19 26-19l8-4c7-3 8-4 11-10l6-7c6-5 12 4 14 8 3 4 3 4 14 7a234 234 0 0 1 49 17c7 6 18 13 23 15l7 2 9-2c4 0 6 0 9 2 9 4 18 12 12 23l-9 10c-4 5-4 5-4 18 1 14 1 14-2 21-7 14-3 16-8 30-2 10 0 12 11 6 9-4 19-14 26-25 6-8 10-12 18-17 5-3 7-5 9-10 7-12 10-14 23-18 9-2 17 0 44 10 11 4 17 8 25 13l11 6c12 0 18-10 24-19 6-11 9-14 19-21 4-3 7-9 12-9l5-2c1-1 16-10 19-10 10-6 33-12 40-11 14 2 30 11 40 21 4 0 11 10 13 12 2 0 6 4 8 9l4 8c8 9 12 45 8 64l-3 17-3 17-3 11c-3 9-5 11-10 19-3 3-3 4-2 6l11 12c22 21 43 44 48 52l6 10c8 10 9 21 3 29-2 3-4 4-10 6l-21 7c-5 0-22-2-27-4l-28-13-25-12-7-5-4-2-5-2c-7-7-11 0-18 5-14 12-19 15-32 22l-16 9-26 19c-4 4-7 6-11 7l-8 3c-5 3-4 6 5 13l15 15 16 14 37 29 18 17c14 12 25 29 16 48-3 7-11 16-20 23-12 9-12 10-17 24-3 10-9 26 1 34l15 10c12 8 17 14 22 22 4 7 6 22 1 29-2 5-11 13-18 16-45 20-80 33-93 35l-20 2-18 1zM83 700l-3-6-1-2c-3-2-9-27-11-45-4-37-2-62 7-80l4-9 1-4h2l-1 3-3 10c-8 18-9 34-7 64 1 26 4 30 10 55 1 3 1 8 4 11l2 6v2h-1zm-30-62-2-22q-3-36 9-60c6-14 10-20 13-20h1v3h-1l-4 7-6 11c-3 4-7 16-8 23-2 10-1 46 1 53l-1 4-1 2zm886-441c0-3 5-5 7-6 5-3 19-11 23-15l9-2 16-4a185 185 0 0 1 83-11c11 2 27 3 37 10l10 5 9 6 8 5 5 4 1 2v1h-1l-8-4-8-5-3-1c-2-3-19-12-26-13l-11-3a193 193 0 0 0-58 1c-11 1-27 5-47 12-9 3-16 3-25 7-7 3-14 6-19 11l-2 1zm-41-26c0-1 8-8 15-12l16-13c14-10 21-15 30-17l15-5 12-5 18-6c15-5 25-8 36-8l16-3c8-2 15-4 23-4 3 0 10 0 10 5v1l-2-1c-5-2-18-1-32 4l-15 3c-5 0-17 2-22 5l-16 5-13 5-3 2-1 1h-2c-1-1-19 5-26 8-14 7-27 16-39 25-10 8-15 11-18 11h-2z" fill="@{crust}" fill-rule="nonzero"/><path d="M809 922c-7-2-18-8-22-11l-7-4-31-21-12-8c-12-8-12-7-23-17l-33-26-14-10-24-19a215 215 0 0 1-37-31l-8-8-15-13-17-15c-2-2-9-6-8-11s9-2 11 0c10 5 18 13 27 20l58 49c10 10 37 32 46 39l12 9 53 40c8 7 22 16 27 18l15 4c17 3 36 2 58-4l39-12 29-10c5-1 14-4 19-7l10-4h2l1 2c1 5-5 9-22 17a147 147 0 0 0-24 10l-5 2c-9 4-46 16-59 19-23 4-23 2-46 2m9-17c-8 0-18-3-23-6-6-2-17-10-22-14l-12-9-14-12-17-13c-7-4-9-7-15-12-1-1-4-4-6-4l-7-6c-4-6-26-22-31-26l-38-30-36-30-11-10-9-9c-1-3 0-5 3-6 7-1 17-5 23-8l15-6 16-6c10-6 15 0 23 6a1831 1831 0 0 0 58 47c11 13 26 21 41 30l30 16 21 6c3 1 9 9 14 18 23 39 32 52 36 54 2 0 9-3 9-6 1-2-1-12-3-18-6-14-13-28-18-43-4-10 2-14 11-17 10-3 18-6 28-2 9 4 14 8 16 13v11a184 184 0 0 0-1 40c2 11 11 2 12-3 3-4 7-21 10-25 3-9 7-9 15-1l9 6c7 3 14 9 16 14 6 12-8 26-19 28l-4 2c-3 2-14 7-37 14l-12 4c-3 2-8 3-10 3l-16 4c-14 5-34 7-45 6m-369-28-13-3-9-3c-5-3-15-13-19-20-5-8-6-15-6-28 1-10 1-11 4-18 4-10 9-17 18-23s29-12 35-10c3 0 21 9 27 13 7 5 16 18 18 26 3 10 2 15-3 30-3 11-5 15-8 18-8 10-22 17-31 18zm19-33c3-2 10-5 10-10v-11c0-12 0-13-3-16-3-4-10-9-14-10l-9 3-10 6c-8 7-8 21-3 29 1 1 3 6 5 7l4 2c6 1 14 2 20 0m386 22-16-24-3-7c-5-7-14-22-17-30l2-4 7-1c5 0 6 1 8 5a276 276 0 0 1 15 29c11 22 13 30 11 33-1 3-4 2-7-1m50-19c-1-3 0-13 4-34l2-23c1-17 2-20 5-22 3-3 10-4 11-2 3 2 2 6-3 23l-6 26c-1 9-7 29-8 32l-3 2h-1zm-652-29c-5-3-13-8-15-12l-3-3-5-6-7-10-3-6c-9-13-11-20-22-61l-4-17-3-19-3-14 1-1 1 1 7 12 9 15 13 16 14 17c7 9 12 17 23 38 8 16 11 21 14 39 1 3-1 6-3 8-3 4-9 5-14 3m553-24-18-3c-17-8-26-13-37-21l-16-11-16-13c-15-15-23-21-40-34l-12-9-42-32-14-10c-4-3-12-9-17-15-11-10-30-25-39-30-24-15-43-38-67-53l-30-23-14-11-15-12-12-9-16-12c-4-3-8-9-13-11l-3-1v-1l-9-8-11-9-10-8c-9-12-23-21-36-30l-16-12c-16-14-33-27-45-35s-22-19-35-25l-32-27c-14-10-29-23-32-27l-10-9c-12-11-27-27-31-34-3-6-4-12-1-13h1l1 2a352 352 0 0 1 19 20c14 14 20 20 38 34l33 25 18 14 22 16c16 10 21 14 44 33l27 22 11 9c9 9 19 15 28 23 16 1Line truncated
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 1200 945" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="m811 927-14-4a287 287 0 0 1-58-36c-14-7-29-20-40-31l-22-17-18-14c-24-17-46-36-67-57-4-3-10-7-12-10l-27-21c-9-9-10-9-24-4l-31 6c-2 0-4 0-6 2l-7 11c-4 8-4 9-3 13 0 2 3 6 6 9 5 7 20 21 20 32 4 6 4 16 4 23 0 11-1 23-9 32-10 12-22 21-32 22l-10 2c-12 2-13 2-15 0l-3-3h-1c-2 1-11-1-13-3l-8-5c-14-9-23-27-25-43l1-16v-8l-1-2 2-2 4-6c0-3 3-7 5-11 4-6 4-6 3-12 0-7-3-12-11-19-6-6-16-6-24-7-4 0-10-1-14 3l-5 4c-1 2-12 10-19 13-8 6-17 0-26 4s-12 17-24 17h-1v-1l5-6c9-11 11-15 7-18-7-7-20 13-25 13h-1v-1l7-8c10-9 11-12 6-19-2-2-4-7-4-9l-4-8c-10-7-22-8-33-12-7-3-7-5-13-9l-4-2h-1v2l6 9a63 63 0 0 1 16 22c5 5 16 24 20 34l8 17c3 7 3 13 0 17l-2 5c-9 12-21 12-32 2-2-2-24-17-24-25l-4-6c-8-15-10-18-14-30-9-22-10-47-18-70-2-4-3-4-11-7-6-1-14-5-16-8-5-5-3-18 0-23 7-11-4-22-10-30a456 456 0 0 1-40-54c-7-10-19-33-22-41-4-13-4-18-3-24 2-8 6-16 16-12 2 0 3 2 5 3 19 9 30 29 38 47 3 6 7 12 9 19l13 37 4 14 5 12 5 10 2 1 3-1c3-2 10-19 13-33 4-17 6-22 9-23 7-7 9-18 13-27 1-3 3-10 7-12a322 322 0 0 0 19-23l6-6 5-8c5-5 2-7-29-31-8-5-16-12-23-19-5-2-7-6-12-8l-7-6-10-7c-12-6-19-13-29-21-9-7-17-14-18-18l-3-10c0-10 3-24 15-24l12-3c4-1 25-3 21-13l-4-7-11-17-11-17-27-32c-7-7-9-13-8-22 1-10 3-13 18-24 5-4 15-11 19-12l10-5c11-5 30-12 38-13l12-3 33-3c17-3 37-2 51 2 13 5 35 17 56 33l12 8 13 9 33 24 13 10a447 447 0 0 1 40 28l12 7 4 2 2-1c0-12 9-25 18-33 11-7 15-9 30-7l6 1v-1c0-2 23-19 26-19l8-4c7-3 8-4 11-10l6-7c6-5 12 4 14 8 3 4 3 4 14 7a234 234 0 0 1 49 17c7 6 18 13 23 15l7 2 9-2c4 0 6 0 9 2 9 4 18 12 12 23l-9 10c-4 5-4 5-4 18 1 14 1 14-2 21-7 14-3 16-8 30-2 10 0 12 11 6 9-4 19-14 26-25 6-8 10-12 18-17 5-3 7-5 9-10 7-12 10-14 23-18 9-2 17 0 44 10 11 4 17 8 25 13l11 6c12 0 18-10 24-19 6-11 9-14 19-21 4-3 7-9 12-9l5-2c1-1 16-10 19-10 10-6 33-12 40-11 14 2 30 11 40 21 4 0 11 10 13 12 2 0 6 4 8 9l4 8c8 9 12 45 8 64l-3 17-3 17-3 11c-3 9-5 11-10 19-3 3-3 4-2 6l11 12c22 21 43 44 48 52l6 10c8 10 9 21 3 29-2 3-4 4-10 6l-21 7c-5 0-22-2-27-4l-28-13-25-12-7-5-4-2-5-2c-7-7-11 0-18 5-14 12-19 15-32 22l-16 9-26 19c-4 4-7 6-11 7l-8 3c-5 3-4 6 5 13l15 15 16 14 37 29 18 17c14 12 25 29 16 48-3 7-11 16-20 23-12 9-12 10-17 24-3 10-9 26 1 34l15 10c12 8 17 14 22 22 4 7 6 22 1 29-2 5-11 13-18 16-45 20-80 33-93 35l-20 2-18 1zM83 700l-3-6-1-2c-3-2-9-27-11-45-4-37-2-62 7-80l4-9 1-4h2l-1 3-3 10c-8 18-9 34-7 64 1 26 4 30 10 55 1 3 1 8 4 11l2 6v2h-1zm-30-62-2-22q-3-36 9-60c6-14 10-20 13-20h1v3h-1l-4 7-6 11c-3 4-7 16-8 23-2 10-1 46 1 53l-1 4-1 2zm886-441c0-3 5-5 7-6 5-3 19-11 23-15l9-2 16-4a185 185 0 0 1 83-11c11 2 27 3 37 10l10 5 9 6 8 5 5 4 1 2v1h-1l-8-4-8-5-3-1c-2-3-19-12-26-13l-11-3a193 193 0 0 0-58 1c-11 1-27 5-47 12-9 3-16 3-25 7-7 3-14 6-19 11l-2 1zm-41-26c0-1 8-8 15-12l16-13c14-10 21-15 30-17l15-5 12-5 18-6c15-5 25-8 36-8l16-3c8-2 15-4 23-4 3 0 10 0 10 5v1l-2-1c-5-2-18-1-32 4l-15 3c-5 0-17 2-22 5l-16 5-13 5-3 2-1 1h-2c-1-1-19 5-26 8-14 7-27 16-39 25-10 8-15 11-18 11h-2z" fill="@{crust}" fill-rule="nonzero"/><path d="M809 922c-7-2-18-8-22-11l-7-4-31-21-12-8c-12-8-12-7-23-17l-33-26-14-10-24-19a215 215 0 0 1-37-31l-8-8-15-13-17-15c-2-2-9-6-8-11s9-2 11 0c10 5 18 13 27 20l58 49c10 10 37 32 46 39l12 9 53 40c8 7 22 16 27 18l15 4c17 3 36 2 58-4l39-12 29-10c5-1 14-4 19-7l10-4h2l1 2c1 5-5 9-22 17a147 147 0 0 0-24 10l-5 2c-9 4-46 16-59 19-23 4-23 2-46 2m9-17c-8 0-18-3-23-6-6-2-17-10-22-14l-12-9-14-12-17-13c-7-4-9-7-15-12-1-1-4-4-6-4l-7-6c-4-6-26-22-31-26l-38-30-36-30-11-10-9-9c-1-3 0-5 3-6 7-1 17-5 23-8l15-6 16-6c10-6 15 0 23 6a1831 1831 0 0 0 58 47c11 13 26 21 41 30l30 16 21 6c3 1 9 9 14 18 23 39 32 52 36 54 2 0 9-3 9-6 1-2-1-12-3-18-6-14-13-28-18-43-4-10 2-14 11-17 10-3 18-6 28-2 9 4 14 8 16 13v11a184 184 0 0 0-1 40c2 11 11 2 12-3 3-4 7-21 10-25 3-9 7-9 15-1l9 6c7 3 14 9 16 14 6 12-8 26-19 28l-4 2c-3 2-14 7-37 14l-12 4c-3 2-8 3-10 3l-16 4c-14 5-34 7-45 6m-369-28-13-3-9-3c-5-3-15-13-19-20-5-8-6-15-6-28 1-10 1-11 4-18 4-10 9-17 18-23s29-12 35-10c3 0 21 9 27 13 7 5 16 18 18 26 3 10 2 15-3 30-3 11-5 15-8 18-8 10-22 17-31 18zm19-33c3-2 10-5 10-10v-11c0-12 0-13-3-16-3-4-10-9-14-10l-9 3-10 6c-8 7-8 21-3 29 1 1 3 6 5 7l4 2c6 1 14 2 20 0m386 22-16-24-3-7c-5-7-14-22-17-30l2-4 7-1c5 0 6 1 8 5a276 276 0 0 1 15 29c11 22 13 30 11 33-1 3-4 2-7-1m50-19c-1-3 0-13 4-34l2-23c1-17 2-20 5-22 3-3 10-4 11-2 3 2 2 6-3 23l-6 26c-1 9-7 29-8 32l-3 2h-1zm-652-29c-5-3-13-8-15-12l-3-3-5-6-7-10-3-6c-9-13-11-20-22-61l-4-17-3-19-3-14 1-1 1 1 7 12 9 15 13 16 14 17c7 9 12 17 23 38 8 16 11 21 14 39 1 3-1 6-3 8-3 4-9 5-14 3m553-24-18-3c-17-8-26-13-37-21l-16-11-16-13c-15-15-23-21-40-34l-12-9-42-32-14-10c-4-3-12-9-17-15-11-10-30-25-39-30-24-15-43-38-67-53l-30-23-14-11-15-12-12-9-16-12c-4-3-8-9-13-11l-3-1v-1l-9-8-11-9-10-8c-9-12-23-21-36-30l-16-12c-16-14-33-27-45-35s-22-19-35-25l-32-27c-14-10-29-23-32-27l-10-9c-12-11-27-27-31-34-3-6-4-12-1-13h1l1 2a352 352 0 0 1 19 20c14 14 20 20 38 34l33 25 18 14 22 16c16 10 21 14 44 33l27 22 11 9c9 9 19 15 28 23 16 15 27 23 57 Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// /doc/install icon
|
||||
img.CopyPaste-icon {
|
||||
@svg: escape('<svg width="14" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.992 0h-6L4 .992V4H.992L0 4.992V15.04l.992.96H9.04l.96-.96V12h3.12l.88-.96V2.992zm0 1.408 1.584 1.584h-1.584zm-2 13.584h-8v-10H4v6.048l.992.96h4zm4-4h-8v-10H10V4h2.992z" fill="@{text}"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg width="14" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.992 0h-6L4 .992V4H.992L0 4.992V15.04l.992.96H9.04l.96-.96V12h3.12l.88-.96V2.992zm0 1.408 1.584 1.584h-1.584zm-2 13.584h-8v-10H4v6.048l.992.96h4zm4-4h-8v-10H10V4h2.992z" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Go Main Logo
|
||||
.Site-header .Header-logo, .NavigationDrawer-logo, .go-Header .go-Header-logo, .go-NavigationDrawer .go-NavigationDrawer-logo, .top-bar img.gopherlogo, .go-Main-headerLogo, .SearchResults-headerLogo img[alt="Go"] {
|
||||
@svg: escape('<svg height="78" viewBox="0 0 207 78" width="207" xmlns="http://www.w3.org/2000/svg"><g fill="@{text}" fill-rule="evenodd"><path d="M16.2 24.1c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h35.7c.4 0 .5.3.3.6l-1.7 2.6c-.2.3-.7.6-1 .6zM1.1 33.3c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h45.6c.4 0 .6.3.5.6l-.8 2.4c-.1.4-.5.6-.9.6zm24.2 9.2c-.4 0-.5-.3-.3-.6l1.4-2.5c.2-.3.6-.6 1-.6h20c.4 0 .6.3.6.7l-.2 2.4c0 .4-.4.7-.7.7z"/><g transform="translate(55)"><path d="M74.1 22.3c-6.3 1.6-10.6 2.8-16.8 4.4-1.5.4-1.6.5-2.9-1-1.5-1.7-2.6-2.8-4.7-3.8-6.3-3.1-12.4-2.2-18.1 1.5-6.8 4.4-10.3 10.9-10.2 19 .1 8 5.6 14.6 13.5 15.7 6.8.9 12.5-1.5 17-6.6.9-1.1 1.7-2.3 2.7-3.7H35.3c-2.1 0-2.6-1.3-1.9-3 1.3-3.1 3.7-8.3 5.1-10.9.3-.6 1-1.6 2.5-1.6h36.4c-.2 2.7-.2 5.4-.6 8.1-1.1 7.2-3.8 13.8-8.2 19.6-7.2 9.5-16.6 15.4-28.5 17-9.8 1.3-18.9-.6-26.9-6.6C5.8 64.8 1.6 57.4.5 48.2-.8 37.3 2.4 27.5 9 18.9 16.1 9.6 25.5 3.7 37 1.6 46.4-.1 55.4 1 63.5 6.5c5.3 3.5 9.1 8.3 11.6 14.1.6.9.2 1.4-1 1.7"/><path d="M107.2 77.6c-9.1-.2-17.4-2.8-24.4-8.8-5.9-5.1-9.6-11.6-10.8-19.3-1.8-11.3 1.3-21.3 8.1-30.2 7.3-9.6 16.1-14.6 28-16.7 10.2-1.8 19.8-.8 28.5 5.1 7.9 5.4 12.8 12.7 14.1 22.3 1.7 13.5-2.2 24.5-11.5 33.9-6.6 6.7-14.7 10.9-24 12.8-2.7.5-5.4.6-8 .9M131 37.2c-.1-1.3-.1-2.3-.3-3.3-1.8-9.9-10.9-15.5-20.4-13.3-9.3 2.1-15.3 8-17.5 17.4-1.8 7.8 2 15.7 9.2 18.9 5.5 2.4 11 2.1 16.3-.6 7.9-4.1 12.2-10.5 12.7-19.1" fill-rule="nonzero"/></g></g></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
.Site-header .Header-logo,
|
||||
.NavigationDrawer-logo,
|
||||
.go-Header .go-Header-logo,
|
||||
.go-NavigationDrawer .go-NavigationDrawer-logo,
|
||||
.top-bar img.gopherlogo,
|
||||
.go-Main-headerLogo,
|
||||
.SearchResults-headerLogo img[alt="Go"] {
|
||||
@svg: escape(
|
||||
'<svg height="78" viewBox="0 0 207 78" width="207" xmlns="http://www.w3.org/2000/svg"><g fill="@{text}" fill-rule="evenodd"><path d="M16.2 24.1c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h35.7c.4 0 .5.3.3.6l-1.7 2.6c-.2.3-.7.6-1 .6zM1.1 33.3c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h45.6c.4 0 .6.3.5.6l-.8 2.4c-.1.4-.5.6-.9.6zm24.2 9.2c-.4 0-.5-.3-.3-.6l1.4-2.5c.2-.3.6-.6 1-.6h20c.4 0 .6.3.6.7l-.2 2.4c0 .4-.4.7-.7.7z"/><g transform="translate(55)"><path d="M74.1 22.3c-6.3 1.6-10.6 2.8-16.8 4.4-1.5.4-1.6.5-2.9-1-1.5-1.7-2.6-2.8-4.7-3.8-6.3-3.1-12.4-2.2-18.1 1.5-6.8 4.4-10.3 10.9-10.2 19 .1 8 5.6 14.6 13.5 15.7 6.8.9 12.5-1.5 17-6.6.9-1.1 1.7-2.3 2.7-3.7H35.3c-2.1 0-2.6-1.3-1.9-3 1.3-3.1 3.7-8.3 5.1-10.9.3-.6 1-1.6 2.5-1.6h36.4c-.2 2.7-.2 5.4-.6 8.1-1.1 7.2-3.8 13.8-8.2 19.6-7.2 9.5-16.6 15.4-28.5 17-9.8 1.3-18.9-.6-26.9-6.6C5.8 64.8 1.6 57.4.5 48.2-.8 37.3 2.4 27.5 9 18.9 16.1 9.6 25.5 3.7 37 1.6 46.4-.1 55.4 1 63.5 6.5c5.3 3.5 9.1 8.3 11.6 14.1.6.9.2 1.4-1 1.7"/><path d="M107.2 77.6c-9.1-.2-17.4-2.8-24.4-8.8-5.9-5.1-9.6-11.6-10.8-19.3-1.8-11.3 1.3-21.3 8.1-30.2 7.3-9.6 16.1-14.6 28-16.7 10.2-1.8 19.8-.8 28.5 5.1 7.9 5.4 12.8 12.7 14.1 22.3 1.7 13.5-2.2 24.5-11.5 33.9-6.6 6.7-14.7 10.9-24 12.8-2.7.5-5.4.6-8 .9M131 37.2c-.1-1.3-.1-2.3-.3-3.3-1.8-9.9-10.9-15.5-20.4-13.3-9.3 2.1-15.3 8-17.5 17.4-1.8 7.8 2 15.7 9.2 18.9 5.5 2.4 11 2.1 16.3-.6 7.9-4.1 12.2-10.5 12.7-19.1" fill-rule="nonzero"/></g></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Theme Selector Icons
|
||||
.Footer img[alt='Dark theme'], .go-Footer img[alt='Dark theme'], .top-bar img.go-Icon--inverted[data-value='dark'] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 2c-1.82 0-3.53.5-5 1.35C7.99 5.08 10 8.3 10 12s-2.01 6.92-5 8.65C6.47 21.5 8.18 22 10 22c5.52 0 10-4.48 10-10S15.52 2 10 2"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
.Footer img[alt="Dark theme"],
|
||||
.go-Footer img[alt="Dark theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="dark"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 2c-1.82 0-3.53.5-5 1.35C7.99 5.08 10 8.3 10 12s-2.01 6.92-5 8.65C6.47 21.5 8.18 22 10 22c5.52 0 10-4.48 10-10S15.52 2 10 2"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Right Arrow Icons
|
||||
.go-NavigationDrawer-listItem a[href="#"] img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.SiteBreadcrumb .BreadcrumbNav-li::after {
|
||||
@svg: escape('<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m5.06 12.393.94.94L11.333 8 6 2.667l-.94.94L9.447 8" fill="@{text}"/></svg>');
|
||||
background-image: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m5.06 12.393.94.94L11.333 8 6 2.667l-.94.94L9.447 8" fill="@{text}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.Footer img[alt='Light theme'], .go-Footer img[alt='Light theme'], .top-bar img.go-Icon--inverted[data-value='light'] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><rect fill="none" height="24" width="24"/><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41zm1.06-10.96a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
.Footer img[alt="Light theme"],
|
||||
.go-Footer img[alt="Light theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="light"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><rect fill="none" height="24" width="24"/><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41zm1.06-10.96a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.Footer img[alt='System theme'], .go-Footer img[alt='System theme'], .top-bar img.go-Icon--inverted[data-value='auto'] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 15.31 23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
.Footer img[alt="System theme"],
|
||||
.go-Footer img[alt="System theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="auto"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 15.31 23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Menu Active Selector
|
||||
img.TabSection-underline {
|
||||
@svg: escape('<svg width="51" height="4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 4a4 4 0 0 1 4-4h43a4 4 0 0 1 4 4z" fill="@{accent-color}"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg width="51" height="4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 4a4 4 0 0 1 4-4h43a4 4 0 0 1 4 4z" fill="@{accent-color}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Code Snippet Highlights
|
||||
pre {
|
||||
@@ -308,12 +377,12 @@
|
||||
|
||||
@-moz-document domain('pkg.go.dev') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme='auto'] {
|
||||
:root[data-theme="auto"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root[data-theme='auto']{
|
||||
:root[data-theme="auto"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@@ -356,14 +425,18 @@
|
||||
// Pkg.go Carousel
|
||||
.go-Carousel {
|
||||
.go-Carousel-nextSlide img {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m10 17 5-5-5-5z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m10 17 5-5-5-5z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.go-Carousel-prevSlide img {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="m14 7-5 5 5 5z"/><path d="M24 0v24H0V0z" fill="none" opacity=".87"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="m14 7-5 5 5 5z"/><path d="M24 0v24H0V0z" fill="none" opacity=".87"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
@@ -373,8 +446,10 @@
|
||||
}
|
||||
// Pkg.go Clipboard Icon
|
||||
.go-Clipboard img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M18 21H4V7H2v14c0 1.1.9 2 2 2h14zm3-4V3c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2m-2 0H8V3h11z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M18 21H4V7H2v14c0 1.1.9 2 2 2h14zm3-4V3c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2m-2 0H8V3h11z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Pkg.go Header
|
||||
@@ -384,23 +459,30 @@
|
||||
}
|
||||
|
||||
// Triangle Icon Accented
|
||||
.go-Header-menuItem:hover img.go-Icon[alt='submenu dropdown icon'], .go-Header-menuItem:focus-within img.go-Icon[alt='submenu dropdown icon'] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="m7 10 5 5 5-5z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
.go-Header-menuItem:hover img.go-Icon[alt="submenu dropdown icon"],
|
||||
.go-Header-menuItem:focus-within
|
||||
img.go-Icon[alt="submenu dropdown icon"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="m7 10 5 5 5-5z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Triangle Icon
|
||||
.go-Header, .go-Main-navMobile {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m7 10 5 5 5-5z"/></svg>');
|
||||
.go-Header,
|
||||
.go-Main-navMobile {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m7 10 5 5 5-5z"/></svg>'
|
||||
);
|
||||
|
||||
img.go-Icon[alt='submenu dropdown icon'] {
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.go-Icon[alt="submenu dropdown icon"] {
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.go-Select {
|
||||
background-image: url('data:image/svg+xml,@{svg}');
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Pkg.go Subheader
|
||||
@@ -408,13 +490,13 @@
|
||||
background-color: @mantle;
|
||||
}
|
||||
// Pkg.go Fixed Header
|
||||
.go-Main-header[data-raised='true'] {
|
||||
.go-Main-header[data-raised="true"] {
|
||||
background-color: @crust;
|
||||
}
|
||||
// Pkg.go Package Documentation Mobile Dropdown Icon
|
||||
.go-Main-navMobile label.go-Label::before {
|
||||
@svg:escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0V0z" fill="none" opacity=".87"/><path d="M0 0h24v24H0V0z" fill="none"/><path d="M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/></svg>');
|
||||
background-image: url('data:image/svg+xml,@{svg}');
|
||||
@svg:escape ('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0V0z" fill="none" opacity=".87"/><path d="M0 0h24v24H0V0z" fill="none"/><path d="M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/></svg>');
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Pkg.go Mobile Navigation Drawer
|
||||
.go-NavigationDrawer {
|
||||
@@ -441,16 +523,21 @@
|
||||
background-color: @text;
|
||||
}
|
||||
// External Link Icon
|
||||
.Homepage-helpLink, .UnitFiles-titleLink, a[href='https://www.meetup.com/pro/go'], a[href='https://github.com/golang/go/wiki/Conferences'] {
|
||||
@svg: escape('<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 24 24" xml:space="preserve" enable-background="new 0 0 24 24"><style type="text/css">.st0{fill:none;} .st1{fill:@{accent-color}};}</style><path class="st0" d="M0 0h24v24H0z"/><path class="st1" d="M19 19H5V5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.6l-9.8 9.8 1.4 1.4L19 6.4V10h2V3z"/></svg>');
|
||||
.Homepage-helpLink, .UnitFiles-titleLink, a[href='https://www.meetup.com/pro/go'], a[href='https://github.com/golang/go/wiki/Conferences']
|
||||
{
|
||||
@svg: escape(
|
||||
'<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 24 24" xml:space="preserve" enable-background="new 0 0 24 24"><style type="text/css">.st0{fill:none;} .st1{fill:@{accent-color}};}</style><path class="st0" d="M0 0h24v24H0z"/><path class="st1" d="M19 19H5V5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.6l-9.8 9.8 1.4 1.4L19 6.4V10h2V3z"/></svg>'
|
||||
);
|
||||
|
||||
img, img.go-Icon, img.go-Icon:not(.go-Icon--accented){
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img,
|
||||
img.go-Icon,
|
||||
img.go-Icon:not(.go-Icon--accented) {
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
a::after{
|
||||
background-image: url('data:image/svg+xml,@{svg}');
|
||||
a::after {
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// 'Jump to' Dialog - Desktop
|
||||
@@ -459,9 +546,11 @@
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.go-Button[aria-label='Close'] img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
.go-Button[aria-label="Close"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
@@ -472,84 +561,110 @@
|
||||
}
|
||||
}
|
||||
// Search Icon
|
||||
.SearchResults-header, .go-SearchForm {
|
||||
.SearchResults-header,
|
||||
.go-SearchForm {
|
||||
button[aria-label="Submit search"] img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m20.49 19-5.73-5.73C15.53 12.2 16 10.91 16 9.5A6.5 6.5 0 1 0 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m20.49 19-5.73-5.73C15.53 12.2 16 10.91 16 9.5A6.5 6.5 0 1 0 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Search Icon in pkg.go - Accented
|
||||
form.Homepage-search--symbol::before {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="m20.49 19-5.73-5.73C15.53 12.2 16 10.91 16 9.5A6.5 6.5 0 1 0 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5"/></svg>');
|
||||
background-image: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="m20.49 19-5.73-5.73C15.53 12.2 16 10.91 16 9.5A6.5 6.5 0 1 0 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.ShortcutsDialog {
|
||||
.go-Button[aria-label='Close'] img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
.go-Button[aria-label="Close"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Pkg.go Package Page
|
||||
.UnitDetails {
|
||||
#section-documentation img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m16 6-1.41 1.41L19.17 12l-4.58 4.59L16 18l6-6zM8 18l1.41-1.41L4.83 12l4.58-4.59L8 6l-6 6z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m16 6-1.41 1.41L19.17 12l-4.58 4.59L16 18l6-6zM8 18l1.41-1.41L4.83 12l4.58-4.59L8 6l-6 6z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.UnitReadme-title img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M4 18V6h7v12zm16 0h-7V6h7zm-6-9.5h5V10h-5zm0 2.5h5v1.5h-5zm0 2.5h5V15h-5zm-7.25-.81"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M4 18V6h7v12zm16 0h-7V6h7zm-6-9.5h5V10h-5zm0 2.5h5v1.5h-5zm0 2.5h5V15h-5zm-7.25-.81"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
|
||||
.UnitDirectories img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 12H4V8h16z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 12H4V8h16z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.UnitFiles img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Pkg.go Package Details Section
|
||||
.UnitMeta {
|
||||
.UnitMeta-details {
|
||||
img.go-Icon { // Question Tooltip
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.go-Icon {
|
||||
// Question Tooltip
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.go-Icon[alt='unchecked'] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none" opacity=".87"/><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.go-Icon[alt="unchecked"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none" opacity=".87"/><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.go-Icon.go-Icon--accented[alt='checked'] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m-2-5.8-2.6-2.6L6 13l4 4 8-8-1.4-1.4z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
img.go-Icon.go-Icon--accented[alt="checked"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m-2-5.8-2.6-2.6L6 13l4 4 8-8-1.4-1.4z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
|
||||
.UnitMeta-links {
|
||||
img.go-Icon {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.depsdev-Icon {
|
||||
@svg: escape('<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.587 16.204 2.217 2.217c.26.253.26.667.007.927l-.008.008L3.342 31.81a.653.653 0 0 1-.92 0L.19 29.58a.653.653 0 0 1 0-.92l12.462-12.462a.655.655 0 0 1 .928-.008c0 .008.007.015.007.015" fill="@{subtext0}"/><circle cx="17" cy="15" r="13" stroke="@{text}" stroke-width="4"/><circle cx="17" cy="15" r="4" stroke="@{text}" stroke-width="4"/></svg>');
|
||||
content: url('data:image/svg+xml,@{svg}');
|
||||
@svg: escape(
|
||||
'<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.587 16.204 2.217 2.217c.26.253.26.667.007.927l-.008.008L3.342 31.81a.653.653 0 0 1-.92 0L.19 29.58a.653.653 0 0 1 0-.92l12.462-12.462a.655.655 0 0 1 .928-.008c0 .008.007.015.007.015" fill="@{subtext0}"/><circle cx="17" cy="15" r="13" stroke="@{text}" stroke-width="4"/><circle cx="17" cy="15" r="4" stroke="@{text}" stroke-width="4"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -569,14 +684,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document url-prefix("https://go.dev/tour") {
|
||||
@-moz-document url-prefix("https://go.dev/tour")
|
||||
{
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme='auto'] {
|
||||
:root[data-theme="auto"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root[data-theme='auto'] {
|
||||
:root[data-theme="auto"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@@ -630,7 +746,9 @@
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
h2, li, p {
|
||||
h2,
|
||||
li,
|
||||
p {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
@@ -722,17 +840,17 @@
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
a#run{
|
||||
a#run {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
|
||||
pre.info {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
div[vertical-slide], div[horizontal-slide] {
|
||||
div[vertical-slide],
|
||||
div[horizontal-slide] {
|
||||
background-color: @surface2;
|
||||
}
|
||||
}
|
||||
@@ -749,7 +867,7 @@
|
||||
background-color: @mantle;
|
||||
span.ng-binding {
|
||||
background-color: @base;
|
||||
color: @accent-color
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.toc-lesson span.ng-binding {
|
||||
@@ -777,10 +895,11 @@
|
||||
background-color: @base;
|
||||
|
||||
.lesson.ng-scope {
|
||||
background-color: @mantle
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
h1, p {
|
||||
h1,
|
||||
p {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user