feat(stack-overflow): support more stack exchange sites (#935)
This commit is contained in:
1 parent
4de917c5c1
commit
8ad56e35fe
1 file changed
+167
-25
@@ -2,7 +2,7 @@
|
||||
@name Stack Overflow Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/stack-overflow
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/stack-overflow
|
||||
@version 0.0.1
|
||||
@version 0.1.0
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/stack-overflow/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Astack-overflow
|
||||
@description Soothing pastel theme for Stack Overflow
|
||||
@@ -15,7 +15,8 @@
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('stackoverflow.com') {
|
||||
@-moz-document domain('stackoverflow.com'), domain('stackexchange.com'), domain('serverfault.com'),
|
||||
domain('superuser.com'), domain('mathoverflow.net'), domain('askubuntu.com'), domain('stackapps.com') {
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin.variables.important.css");
|
||||
code.hljs {
|
||||
background: none !important;
|
||||
@@ -74,6 +75,8 @@
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
background-image: none;
|
||||
|
||||
--ctp-rosewater: #rgbify(@rosewater) [];
|
||||
--ctp-flamingo: #rgbify(@flamingo) [];
|
||||
--ctp-pink: #rgbify(@pink) [];
|
||||
@@ -118,13 +121,33 @@
|
||||
* {
|
||||
--theme-background-color: @mantle;
|
||||
--theme-content-background-color: @base;
|
||||
--theme-content-border-color: @surface0;
|
||||
--theme-topbar-background-color: @mantle;
|
||||
--theme-topbar-search-background: @mantle;
|
||||
--theme-topbar-search-border: @surface2;
|
||||
--theme-topbar-search-placeholder: @subtext0;
|
||||
--theme-topbar-item-color: @text;
|
||||
--theme-topbar-item-color-hover: @text;
|
||||
--theme-topbar-item-background-hover: @surface0;
|
||||
--theme-button-primary-background-color: @accent-color;
|
||||
--theme-button-primary-hover-background-color: darken(@accent-color, 5%);
|
||||
--theme-button-primary-active-background-color: @text;
|
||||
--theme-link-color: @accent-color;
|
||||
--theme-link-color-hover: darken(@accent-color, 5%);
|
||||
--theme-footer-title-color: @text;
|
||||
--theme-footer-text-color: @subtext0;
|
||||
--theme-footer-link-color: @subtext0;
|
||||
--theme-footer-link-color-hover: @subtext1;
|
||||
--theme-footer-background-color: @mantle;
|
||||
--theme-header-background-color: @mantle;
|
||||
--theme-tag-background-color: @accent-color;
|
||||
--theme-tag-border-color: @accent-color;
|
||||
--theme-tag-color: @mantle;
|
||||
--theme-tag-hover-background-color: darken(@accent-color, 5%);
|
||||
--theme-tag-hover-border-color: darken(@accent-color, 5%);
|
||||
--theme-tag-hover-color: @mantle;
|
||||
--theme-post-title-color: @accent-color;
|
||||
--theme-post-title-color-hover: darken(@accent-color, 5%);
|
||||
|
||||
--highlight-bg: @mantle;
|
||||
|
||||
@@ -132,6 +155,7 @@
|
||||
--theme-primary-100: fade(@accent-color, 20%);
|
||||
--theme-primary-200: fade(@accent-color, 30%);
|
||||
--theme-primary-500: fade(@accent-color, 90%);
|
||||
--theme-primary-600: @accent-color;
|
||||
|
||||
--translucent-secondary: fade(@accent-color, 10%);
|
||||
--theme-secondary-100: fade(@accent-color, 20%);
|
||||
@@ -266,6 +290,9 @@
|
||||
|
||||
.s-prose kbd {
|
||||
border-top-color: transparent;
|
||||
box-shadow:
|
||||
0 1px 1px @crust,
|
||||
inset 0 1px 0 0 @overlay2;
|
||||
}
|
||||
|
||||
.s-pagination .s-pagination--item {
|
||||
@@ -283,39 +310,154 @@
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#onetrust-consent-sdk #onetrust-banner-sdk {
|
||||
background-color: @mantle;
|
||||
#onetrust-consent-sdk {
|
||||
#onetrust-banner-sdk {
|
||||
background-color: @mantle;
|
||||
|
||||
#onetrust-accept-btn-handler,
|
||||
#onetrust-reject-all-handler {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
&:focus {
|
||||
outline-color: @surface1;
|
||||
}
|
||||
|
||||
#onetrust-accept-btn-handler,
|
||||
#onetrust-reject-all-handler {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
#onetrust-button-group button#onetrust-pc-btn-handler {
|
||||
background-color: @crust !important;
|
||||
border-color: @accent-color !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
#onetrust-policy-title,
|
||||
#onetrust-policy-text,
|
||||
.ot-b-addl-desc,
|
||||
.ot-dpd-desc,
|
||||
.ot-dpd-title,
|
||||
#onetrust-policy-text :not(.onetrust-vendors-list-handler),
|
||||
.ot-dpd-desc :not(.onetrust-vendors-list-handler),
|
||||
#banner-options *,
|
||||
.ot-cat-header,
|
||||
.ot-optout-signal,
|
||||
a {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
#onetrust-button-group button#onetrust-pc-btn-handler {
|
||||
background-color: @crust !important;
|
||||
border-color: @accent-color !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
/* Manage cookies popup */
|
||||
#onetrust-pc-sdk {
|
||||
background-color: @base;
|
||||
|
||||
#onetrust-policy-title,
|
||||
#onetrust-policy-text,
|
||||
.ot-b-addl-desc,
|
||||
.ot-dpd-desc,
|
||||
.ot-dpd-title,
|
||||
#onetrust-policy-text :not(.onetrust-vendors-list-handler),
|
||||
.ot-dpd-desc :not(.onetrust-vendors-list-handler),
|
||||
#banner-options *,
|
||||
.ot-cat-header,
|
||||
.ot-optout-signal,
|
||||
a {
|
||||
color: @text !important;
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
p,
|
||||
#ot-ven-lst .ot-ven-opts p,
|
||||
#ot-pc-desc,
|
||||
#ot-pc-title,
|
||||
.ot-li-title,
|
||||
.ot-sel-all-hdr span,
|
||||
#ot-host-lst .ot-host-info,
|
||||
#ot-fltr-modal #modal-header,
|
||||
.ot-checkbox label span,
|
||||
#ot-pc-lst #ot-sel-blk p,
|
||||
#ot-pc-lst #ot-lst-title h3,
|
||||
#ot-pc-lst .back-btn-handler p,
|
||||
#ot-pc-lst .ot-ven-name,
|
||||
#ot-pc-lst #ot-ven-lst .consent-category,
|
||||
.ot-leg-btn-container .ot-inactive-leg-btn,
|
||||
.ot-label-status,
|
||||
.ot-chkbox label span,
|
||||
#clear-filters-handler,
|
||||
.ot-optout-signal {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.ot-pc-header {
|
||||
background-color: @mantle !important;
|
||||
border-bottom-color: @surface1;
|
||||
}
|
||||
|
||||
.ot-accordion-layout.ot-cat-item {
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.ot-pc-footer {
|
||||
border-top-color: @surface2 !important;
|
||||
}
|
||||
|
||||
button:not(
|
||||
#clear-filters-handler,
|
||||
.ot-close-icon,
|
||||
#filter-btn-handler,
|
||||
.ot-remove-objection-handler,
|
||||
.ot-obj-leg-btn-handler,
|
||||
[aria-expanded],
|
||||
.ot-link-btn
|
||||
),
|
||||
.ot-leg-btn-container .ot-active-leg-btn {
|
||||
background-color: @accent-color !important;
|
||||
border-color: @accent-color;
|
||||
color: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.disabled-link {
|
||||
color: @overlay2;
|
||||
}
|
||||
|
||||
/* Stack Exchange logo */
|
||||
[fill="#FEFEFE"] {
|
||||
fill: @text !important;
|
||||
}
|
||||
[fill="#2F96E8"],
|
||||
[fill="#2D6DB5"] {
|
||||
fill: @blue !important;
|
||||
}
|
||||
[fill="#8FD8F7"] {
|
||||
fill: lighten(@sky, 10%);
|
||||
}
|
||||
[fill="#46A2D9"] {
|
||||
fill: lighten(@blue, 5%);
|
||||
}
|
||||
[fill="#155397"] {
|
||||
fill: darken(@blue, 10%) !important;
|
||||
}
|
||||
|
||||
/* Other Stack Exchange site logos */
|
||||
[alt="Server Fault"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="203" height="33" viewBox="0 0 203 33" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M64.532 32c-2.684 0-4.785-.603-6.532-2.254l1.552-1.524c1.262 1.302 2.975 1.81 4.949 1.81 2.619 0 4.236-.92 4.236-2.762 0-1.366-.809-2.127-2.652-2.286l-2.62-.222c-3.104-.255-4.753-1.62-4.753-4.191 0-2.857 2.458-4.571 5.852-4.571 2.265 0 4.301.54 5.724 1.682l-1.52 1.492c-1.13-.857-2.587-1.237-4.236-1.237-2.328 0-3.557.984-3.557 2.571 0 1.333.777 2.127 2.78 2.285l2.556.223c2.78.254 4.689 1.301 4.689 4.222C71 30.254 68.38 32 64.532 32M83.2 20.286c-.61-1.429-2.026-2.35-3.7-2.35s-3.088.921-3.7 2.35c-.355.857-.418 1.334-.482 2.603h8.366c-.065-1.27-.13-1.746-.484-2.603m-7.882 4.317c0 3.429 1.64 5.398 4.665 5.398 1.833 0 2.896-.54 4.151-1.778l1.576 1.365C84.102 31.175 82.621 32 79.92 32 75.735 32 73 29.524 73 24c0-5.047 2.478-8 6.5-8 4.087 0 6.5 2.92 6.5 7.556v1.047zm22.066-5.39c-.822-.868-1.432-1.157-2.591-1.157-2.195 0-3.597 1.831-3.597 4.242V32H89V16.192h2.196v1.928c.823-1.317 2.469-2.12 4.207-2.12 1.432 0 2.53.352 3.597 1.478zM108.037 32h-2.108L100 16h2.57l4.413 12.846L111.43 16H114zM125.2 20.286c-.61-1.429-2.026-2.35-3.7-2.35s-3.09.921-3.7 2.35c-.355.857-.42 1.334-.482 2.603h8.365c-.064-1.27-.128-1.746-.483-2.603m-7.882 4.317c0 3.429 1.64 5.398 4.665 5.398 1.833 0 2.896-.54 4.151-1.778l1.576 1.365c-1.609 1.587-3.089 2.412-5.79 2.412-4.184 0-6.919-2.476-6.919-8 0-5.047 2.478-8 6.5-8 4.087 0 6.5 2.92 6.5 7.556v1.047zm22.066-5.39c-.823-.868-1.432-1.157-2.591-1.157-2.195 0-3.598 1.831-3.598 4.242V32H131V16.192h2.195v1.928c.823-1.317 2.47-2.12 4.208-2.12 1.433 0 2.53.352 3.597 1.478zm9.531-.215V32h-4.18V18.998H143v-3.162h1.735V13.76c0-2.365 1.479-4.76 4.886-4.76H152v3.513h-1.64c-.995 0-1.445.544-1.445 1.502v1.82H152v3.163zm13.863 5.812h-3.346c-1.527 0-2.372.704-2.372 1.886 0 1.15.78 1.917 2.437 1.917 1.17 0 1.917-.096 2.663-.798.455-.417.618-1.088.618-2.11zm.097 7.03v-1.438C161.738 31.52 160.667 32 158.717 32c-1.916 0-3.313-.48-4.321-1.47-.91-.927-1.396-2.269-1.396-3.739 0-2.651 1.85-4.825 5.782-4.825h3.996v-.831c0-1.821-.91-2.62-3.151-2.62-1.624 0-2.372.383-3.249 1.374l-2.696-2.588c1.658-1.79 3.281-2.301 6.107-2.301 4.743 0 7.211 1.982 7.211 5.88v10.96zm17.019-.034v-1.549c-1.1 1.162-2.65 1.743-4.203 1.743-1.682 0-3.04-.549-3.977-1.484-1.36-1.355-1.714-2.935-1.714-4.775V15h4.203v10.16c0 2.291 1.456 3.066 2.781 3.066s2.813-.775 2.813-3.065V15H184v16.806zm20.579-.386c-3.467 0-4.938-2.457-4.938-4.882v-8.453h-1.799v-3.243h1.799V9.796h4.251v5.046h3.009v3.243h-3.009v8.191c0 .983.458 1.54 1.471 1.54h1.538v3.603zm-9.765.58c-3.313 0-4.708-2.422-4.708-4.813V9h4.027v17.929c0 1 .402 1.518 1.424 1.518H193V32z" fill="@{text}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 12h24V7H0z" fill="@{surface2}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 19h24v-5H0z" fill="@{overlay1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 26h24v-5H0z" fill="@{overlay2}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 5h24V0H0z" fill="@{surface1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 33h24v-5H0z" fill="@{subtext0}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M27 12h10V7H27z" fill="@{maroon}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M27 19h10v-5H27z" fill="@{overlay1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M27 26h10v-5H27z" fill="@{overlay2}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M27 5h10V0H27z" fill="@{red}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M27 33h10v-5H27z" fill="@{subtext0}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M40 12h10V7H40z" fill="@{surface2}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M40 19h10v-5H40z" fill="@{overlay1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M40 26h10v-5H40z" fill="@{overlay2}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M40 5h10V0H40z" fill="@{surface1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M40 33h10v-5H40z" fill="@{subtext0}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[alt="Super User"] {
|
||||
@svg: escape(
|
||||
'<svg width="208" height="47" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M.5 37.01c-.3 0-.5-.1-.5-.4V.43c0-.3.2-.4.5-.4h8.91c.3 0 .6.1.6.4v2.2c0 .3-.2.4-.5.4h-4.9c-.5 0-.6.2-.6.5V33.6c0 .3.2.4.6.4h4.8c.3 0 .6.1.6.4v2.12c-.1.3-.2.5-.6.5H.5z" fill="@{text}"/><path d="M24.03 26.5v6.3c0 4.7-4.03 4.2-9.53 4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.4 2.1c-.3.8-.4 1.3-.5 2.2h7.8c-.1-.9-.2-1.5-.5-2.2m20.46-.58c-.8-.8-1.5-1.2-2.7-1.2-1.6 0-3.3 1.2-3.3 3.8v12.4h-5.1v-20.6h5v2a7 7 0 0 1 5.2-2.2c2 0 3.4.5 4.9 1.9z" fill="@{text}"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[alt="MathOverflow"] {
|
||||
@svg: escape(
|
||||
'<svg width="256" height="53" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="0%" y1="50%" y2="50%" id="a"><stop stop-color="@{overlay1}" offset="0%"/><stop stop-color="@{peach}" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path fill="url(#a)" d="M0 0v53h153V43h-5l-.02 5H5V5.01h143l.02 9.98H153V0z"/><path d="M117.82 26.79c0 3.1-2.36 11.54-11.86 11.54-5.43 0-8.81-2.88-8.81-7.43 0-3.64 2.36-11.83 11.83-11.83 5.68 0 8.84 2.77 8.84 7.72m-6.11-1.06c0-2.4-.88-3.45-2.88-3.45-4.51 0-5.39 8.19-5.39 9.71 0 1.97 1.02 3.13 2.8 3.13 4.63 0 5.47-8.3 5.47-9.39m25.27-2.07c0 7.13-4.95 14.67-12.12 14.67-3.46 0-5.57-1.53-5.57-4.04 0-.44.03-.84.1-1.24l1.25-6.73c.03-.37.07-.7.07-.99 0-1.13-.51-1.67-2.08-1.67h-.43l.54-2.99c2.73-.14 4.22-.4 7-1.27h1.88l-2.03 11.21c-.11.58-.19 1.31-.19 1.64 0 1.05.84 1.82 1.93 1.82 2.08 0 5.2-2.8 5.2-6.8 0-1.43-.17-1.94-.97-2.74s-1.1-1.38-1.1-2.22c0-1.82 1.5-3.24 3.42-3.24 1.86 0 3.1 1.86 3.1 4.59m18.9 10.15c-1.82 2-6 4.52-10.01 4.52-5.1 0-8.59-3.17-8.59-7.72 0-6.3 5.97-11.54 13.14-11.54 3.86 0 6.4 1.79 6.4 4.48 0 4.37-6.04 6.37-12.3 6.37-.14 0-.54 0-.94-.04-.08.62-.11 1.1-.11 1.57 0 2.04 1.42 3.38 3.6 3.38 2.19 0 4.33-1.02 6.84-3.16zm-4.44-10.15c0-1.02-.84-1.75-2.04-1.75-2.66 0-4.84 3.2-5.31 5.46h.43c3.79 0 6.92-1.67 6.92-3.71m24.76-1.75c0 1.71-1.42 3.02-3.28 3.02-.87 0-1.45-.22-2.32-.87-.48-.37-.7-.47-1.06-.47-2.33 0-3.35 4.36-3.79 6.15L164.12 38h-5.76l2.15-11.68c.04-.37.08-.7.08-.99 0-1.13-.51-1.67-2.08-1.67h-.44l.55-2.99c2.73-.14 4.22-.4 6.99-1.27h1.9l-.52 2.77c1.64-2.04 3.6-3.1 5.64-3.1 2.08 0 3.57 1.2 3.57 2.84m27.46 13.83c-2.37 1.97-4.08 2.73-6.23 2.73-2.73 0-4.58-1.42-4.58-3.53 0-.73 0-.73.4-2.87l2.54-13.9c.11-.7.19-1.32.19-1.86 0-1.82-.84-2.88-3.94-2.88a5.1 5.1 0 0 0-4 1.75c-.65.8-.87 1.34-1.42 4.22h3.6l-.58 3.28H186l-1.6 8.8c-.4 2.26-2.37 14.1-14.41 14.1-2.55 0-4.23-1.14-4.23-2.85 0-1.53 1.42-2.84 3.02-2.84 1.1 0 1.5.22 2.66 1.42.55.58.98.77 1.64.77 3.68 0 4.73-6.08 5.57-10.6l1.6-8.8h-3.06l.59-3.28h3.09c1.16-6.19 5.17-8.52 12.56-8.52 2.87 0 4.91.15 9.32.7L199 32.06c-.08.36-.11.69-.11.94 0 .91.5 1.5 1.3 1.5.66 0 1.17-.22 1.97-.84l1.5 2.07zm21.23-8.95c0 3.1-2.37 11.54-11.87 11.54-5.42 0-8.8-2.88-8.8-7.43 0-3.64 2.36-11.83 11.82-11.83 5.68 0 8.85 2.77 8.85 7.72m-6.12-1.06c0-2.4-.87-3.45-2.87-3.45-4.52 0-5.4 8.19-5.4 9.71 0 1.97 1.03 3.13 2.81 3.13 4.62 0 5.46-8.3 5.46-9.39m36.88-1.45c0 6.8-4.84 14.05-12.34 14.05-2.25 0-3.7-.58-5.1-2.08a11.9 11.9 0 0 1-6.54 2.08c-3.06 0-5.35-1.79-5.35-4.15 0-.22.03-.44.07-.66l1.3-7.2c.05-.37.08-.7.08-.99 0-1.13-.5-1.67-2.07-1.67h-.44l.55-2.99c2.73-.14 4.22-.4 6.99-1.27h1.89l-2.15 11.83c-.18.91-.18 1.13-.18 1.38 0 1.06.94 1.79 2.33 1.79a6.6 6.6 0 0 0 3.1-.88l2.54-14.12h5.75l-2.11 11.68c-.07.33-.1.62-.1.91 0 1.35.76 2.26 2.43 2.26 2.55 0 4.73-3.1 4.73-6.66 0-1.53-.18-1.9-1.56-3.24a2.9 2.9 0 0 1-.91-1.97c0-1.78 1.6-3.3 3.5-3.3 2.17 0 3.6 2.03 3.6 5.2zM28.45 21.8a27 27 0 0 1 3.82-1.93c1.08-.42 2-.63 2.74-.63q2.31 0 3.6 1.5c.86 1 1.28 2.4 1.28 4.2V35.8l.7.61 2.03.19v1.38h-8.34V36.6l1.8-.19.68-.61V25.7c0-1.36-.28-2.36-.84-2.99s-1.42-.95-2.59-.95q-.87 0-1.95.3c-.71.21-1.5.53-2.35.95V35.8l.67.61 1.8.19v1.38h-8.14V36.6l1.84-.19.66-.61V25.7c0-1.35-.28-2.34-.83-2.98-.56-.64-1.4-.96-2.55-.96-.62 0-1.29.1-2 .3-.72.21-1.5.53-2.34.95V35.8l.65.61 1.83.19v1.38h-8.37V36.6l2.07-.19.65-.61V21.99h-2.72V20.8l4.44-1.36h1.45v2.09a23.3 23.3 0 0 1 3.48-1.74 7.6 7.6 0 0 1 2.63-.55c.94 0 1.76.21 2.47.65a4.7 4.7 0 0 1 1.73 1.92zM55.5 34.49v-6.73c-3.2.89-5.29 1.7-6.29 2.43s-1.5 1.7-1.5 2.89c0 .95.28 1.71.83 2.28s1.3.85 2.23.85c.6 0 1.28-.14 2.06-.43a18 18 0 0 0 2.67-1.29m0 1.29a17.4 17.4 0 0 1-3.38 1.87q-1.545.6-2.88.6a4.78 4.78 0 0 1-3.55-1.33 4.8 4.8 0 0 1-1.33-3.55c0-1.62.66-2.9 2-3.84 1.34-.93 4.38-1.96 9.14-3.1V25.2c0-1.6-.26-2.72-.78-3.34s-1.43-.93-2.72-.93q-.735 0-1.44.15t-1.47.45v3.2h-2.63c-.46 0-.77-.08-.94-.25s-.25-.47-.25-.92c0-1.24.72-2.27 2.15-3.1A11.13 11.13 0 0 1 53 19.25c2 0 3.45.43 4.36 1.3.9.87 1.36 2.27 1.36 4.2V35.8l.65.61 2.01.19v1.38h-5.36l-.5-2.22zm9.43-13.85h-2.4v-1.2l2.51-1.1 1.64-3.55h1.42v4.06h5.82v1.79H68.1V32c0 1.65.23 2.76.7 3.32.45.57 1.28.85 2.47.85a11.4 11.4 0 0 0 2.65-.32v1.42q-1.305.405-2.58.63c-.84.14-1.65.21-2.44.21-1.46 0-2.5-.28-3.08-.83-.6-.55-.89-1.56-.89-3.03V21.92zM79.2 9.9h1.45v11.63a28 28 0 0 1 3.69-1.77 7.4 7.4 0 0 1 2.48-.52c1.68 0 2.96.5 3.84 1.49.89 1 1.33 2.43 1.33 4.32v10.76l.65.61 2.01.19v1.38h-8.31V36.6l1.79-.19.65-.61V25.7c0-1.44-.3-2.45-.9-3.04-.59-.6-1.58-.9-2.96-.9-.6 0-1.26.1-1.97.3-.71.21-1.48.53-2.3.95V35.8l.68.61 1.8.19v1.38h-8.37V36.6l2.07-.19.66-.61V12.45h-2.95v-1.2z" fill="@{text}"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[alt="Ask Ubuntu"] {
|
||||
@svg: escape(
|
||||
'<svg width="198" height="48" viewBox="0 0 198 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)" fill="@{text}"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.023 26q-.477 0-1.011.07-.534.068-.978.287a2.1 2.1 0 0 0-.738.597q-.296.38-.296 1 0 1.15.727 1.598.726.447 1.978.448.75 0 1.33-.035A5.6 5.6 0 0 0 15 29.84v-3.562q-.227-.116-.738-.196a8 8 0 0 0-1.24-.081"/><path fill-rule="evenodd" clip-rule="evenodd" d="M38.57 31.542a20 20 0 0 0-1.186-1.743 26 26 0 0 0-1.406-1.707 20 20 0 0 0-1.493-1.499 13 13 0 0 0-1.443-1.146v6.095h-2.274v-18.53l2.274-.39v11.556l1.297-1.292q.71-.707 1.394-1.437.686-.732 1.296-1.403.612-.67 1.052-1.183h2.666q-.563.61-1.223 1.341-.66.732-1.37 1.475-.71.745-1.43 1.488l-1.358 1.401q.733.562 1.554 1.39.818.83 1.613 1.792t1.505 1.951q.708.988 1.199 1.84zm-11.507-.61q-1.309.903-3.73.902-1.687 0-2.641-.28-.956-.28-1.296-.427l.415-1.95q.39.146 1.247.44.857.292 2.275.292 1.395 0 2.067-.367.673-.364.673-1.17 0-.828-.66-1.316t-2.178-1.098q-.734-.291-1.406-.597a5 5 0 0 1-1.162-.719 3.2 3.2 0 0 1-.783-1q-.293-.585-.293-1.438 0-1.683 1.247-2.67 1.248-.988 3.4-.988.537 0 1.076.062.539.06 1.003.146.465.085.819.183.355.098.55.17l-.415 1.95q-.367-.193-1.149-.402-.784-.206-1.884-.206-.953 0-1.663.377-.71.379-.71 1.182 0 .416.159.733.16.317.49.572.33.257.82.475.487.22 1.174.464.903.342 1.614.67.708.33 1.21.768.501.44.77 1.06.27.624.27 1.525 0 1.755-1.31 2.657m-9.942.39q-.293.05-.819.135t-1.187.159q-.66.072-1.43.134-.771.06-1.529.06a8.4 8.4 0 0 1-1.982-.22 4.4 4.4 0 0 1-1.565-.695 3.2 3.2 0 0 1-1.027-1.255q-.367-.78-.368-1.876 0-1.048.429-1.806.428-.755 1.162-1.219a5.4 5.4 0 0 1 1.713-.682 9.4 9.4 0 0 1 2.053-.22q.344 0 .71.037.366.036.697.098a30 30 0 0 1 .917.183v-.635q0-.56-.123-1.108a2.55 2.55 0 0 0-.439-.976 2.24 2.24 0 0 0-.869-.683q-.55-.256-1.43-.256-1.125 0-1.97.158-.843.16-1.259.33l-.27-1.877q.442-.196 1.468-.378a13 13 0 0 1 2.226-.184q1.37.002 2.311.354.941.355 1.517 1 .574.646.82 1.536.243.89.244 1.962zM48 23.923C48 10.711 37.255 0 24 0S0 10.711 0 23.923c0 13.213 10.745 23.924 24 23.924 4.354 0 8.434-1.16 11.955-3.182L48 48l-3.024-12.452A23.76 23.76 0 0 0 48 23.923"/><g clip-path="url(#b)"><path d="M73.978 40.023q-2.994 0-5.098-.911a8.8 8.8 0 0 1-3.406-2.517 10.1 10.1 0 0 1-1.888-3.753 17.5 17.5 0 0 1-.585-4.62V9.302h2.95V27.83a13.9 13.9 0 0 0 .586 4.273 8.25 8.25 0 0 0 1.627 2.973 6.35 6.35 0 0 0 2.516 1.735 9.92 9.92 0 0 0 6.595 0 6.35 6.35 0 0 0 2.517-1.735 8.25 8.25 0 0 0 1.627-2.973c.417-1.385.615-2.827.586-4.273V9.303h2.95v18.918a17.5 17.5 0 0 1-.585 4.621 10.1 10.1 0 0 1-1.888 3.753 8.8 8.8 0 0 1-3.406 2.517q-2.104.91-5.098.911m20.657-21.738q.738-.563 2.365-1.193a10.6 10.6 0 0 1 3.84-.63 10.2 10.2 0 0 1 4.317.869 9 9 0 0 1 3.189 2.43 10.7 10.7 0 0 1 1.974 3.71c.462 1.525.689 3.113.673 4.707a14 14 0 0 1-.803 4.903 10.5 10.5 0 0 1-2.256 3.688 9.7 9.7 0 0 1-3.471 2.321 12.1 12.1 0 0 1-4.49.803q-2.996 0-4.947-.39a25 25 0 0 1-3.211-.825V6.223l2.82-.52zm0 18.44q.95.284 1.93.413a23 23 0 0 0 3.364.195q3.644 0 5.857-2.365 2.213-2.364 2.213-6.79a15.5 15.5 0 0 0-.39-3.536 8.3 8.3 0 0 0-1.259-2.908 6.3 6.3 0 0 0-2.278-1.974q-1.41-.737-3.493-.737a9 9 0 0 0-1.909.195q-.865.182-1.692.499a9.4 9.4 0 0 0-2.343 1.302zm39.098 1.866q-1.259.348-3.385.781c-1.717.316-3.461.46-5.206.434q-2.517 0-4.209-.738a6.83 6.83 0 0 1-2.734-2.082 8.4 8.4 0 0 1-1.496-3.254 18 18 0 0 1-.456-4.21V16.94h2.82v11.672a20 20 0 0 0 .347 4.035q.348 1.65 1.129 2.668a4.4 4.4 0 0 0 2.017 1.476 8.8 8.8 0 0 0 3.016.455c1.16.011 2.32-.061 3.471-.217q1.475-.216 1.866-.39v-19.7h2.82zm6.664-20.87q1.257-.346 3.384-.781a26.6 26.6 0 0 1 5.207-.434q2.56 0 4.274.738a6.57 6.57 0 0 1 2.733 2.104 8.6 8.6 0 0 1 1.454 3.276c.3 1.382.446 2.794.434 4.209v12.54h-2.821v-11.63a21 21 0 0 0-.325-4.035 6.7 6.7 0 0 0-1.085-2.69 4.2 4.2 0 0 0-1.996-1.497q-1.236-.456-3.102-.456a24 24 0 0 0-3.45.217q-1.453.218-1.887.39v19.7h-2.82zm26.61-.781h8.938v2.386h-8.938V31.26a12 12 0 0 0 .325 3.102c.158.68.478 1.314.933 1.844.395.428.909.73 1.475.868a8 8 0 0 0 1.909.216q1.78 0 2.864-.412.874-.316 1.692-.759l.694 2.343q-.608.39-2.126.89c-1.065.34-2.178.508-3.297.498q-2.083 0-3.493-.542a5.05 5.05 0 0 1-2.256-1.649 6.75 6.75 0 0 1-1.193-2.755 19 19 0 0 1-.347-3.905V10.345l2.82-.52zm30.806 21.651q-1.26.348-3.385.781c-1.717.316-3.461.46-5.206.434q-2.517 0-4.209-.738a6.83 6.83 0 0 1-2.734-2.082 8.4 8.4 0 0 1-1.496-3.254 18 18 0 0 1-.456-4.21V16.94h2.82v11.672a20 20 0 0 0 .347 4.035q.346 1.65 1.128 2.668a4.4 4.4 0 0 0 2.018 1.476 8.8 8.8 0 0 0 3.016.455c1.16.011 2.32-.061 3.471-.217q1.475-.216 1.865-.39v-19.7h2.821z"/></g></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[alt="Stack Apps"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="204" height="53"><path d="M69.56 35.2c-2.97 0-5.3-.68-7.23-2.54l1.72-1.72a7.2 7.2 0 0 0 5.47 2.04c2.9 0 4.69-1.04 4.69-3.11 0-1.54-.9-2.4-2.93-2.58l-2.9-.25c-3.44-.28-5.26-1.82-5.26-4.72 0-3.22 2.72-5.15 6.47-5.15a9.95 9.95 0 0 1 6.33 1.9l-1.68 1.68a7.5 7.5 0 0 0-4.68-1.4c-2.58 0-3.94 1.11-3.94 2.9 0 1.5.86 2.4 3.08 2.58l2.82.25c3.08.29 5.2 1.47 5.2 4.76 0 3.4-2.9 5.36-7.16 5.36m15.14-.22c-3.01 0-4.52-2.1-4.52-4.72v-10.8h-2.21V17.5h2.21v-5.51h2.58v5.5h3.76v1.98h-3.76V30.2c0 1.61.75 2.58 2.4 2.58h1.36v2.21zm15.84 0V33.3a6.18 6.18 0 0 1-5.08 1.9c-2.43 0-3.86-.47-4.97-1.61a5.07 5.07 0 0 1-1.33-3.58c0-3.08 2.15-5.08 6.09-5.08h5.3v-1.68c0-2.58-1.3-3.86-4.51-3.86-2.26 0-3.4.53-4.44 2l-1.75-1.61c1.57-2.04 3.36-2.62 6.22-2.62 4.73 0 7.05 2.04 7.05 5.87v11.95zm0-8.12H95.6c-2.65 0-3.94 1.08-3.94 3.12s1.26 3 4.05 3a5.14 5.14 0 0 0 3.93-1.18 4.07 4.07 0 0 0 .9-3.04zm12.99 8.34c-4.44 0-7.8-3-7.8-9.02s3.36-9.01 7.8-9.01a6.97 6.97 0 0 1 5.8 2.6l-1.76 1.66a4.83 4.83 0 0 0-4.04-1.97 4.77 4.77 0 0 0-4.08 2 7.55 7.55 0 0 0-1.14 4.72 7.55 7.55 0 0 0 1.14 4.72 4.77 4.77 0 0 0 4.08 2 4.87 4.87 0 0 0 4.04-2l1.76 1.68a6.97 6.97 0 0 1-5.8 2.62m20.36-.22-5.58-9.01-3.44 3.94v5.07h-2.58V9.52h2.58v17.03l7.94-9.16h3.22l-5.97 6.73L137.07 35h-3.18zm12.2-17.81c-2.99 0-4.7.55-6.46 2.47l2.85 2.78a3.84 3.84 0 0 1 3.44-1.48c2.36 0 3.33.86 3.33 2.82v.9h-4.23c-4.15 0-6.1 2.33-6.1 5.18a5.73 5.73 0 0 0 1.47 4.01 6.1 6.1 0 0 0 4.56 1.58 5.44 5.44 0 0 0 4.4-1.71v1.54h4.36V23.5c0-4.19-2.61-6.32-7.62-6.32zm3.16 11.5a2.94 2.94 0 0 1-.66 2.26 3.54 3.54 0 0 1-2.81.86c-1.75 0-2.58-.82-2.58-2.06 0-1.27.9-2.02 2.51-2.02h3.54zm19.96-9.89a6.23 6.23 0 0 0-4.36-1.61 5.44 5.44 0 0 0-4.46 1.88v-1.68h-4.33v24.45h4.46v-8.14a5.29 5.29 0 0 0 4.33 1.79 6.23 6.23 0 0 0 4.36-1.62c1.78-1.78 1.82-4.87 1.82-7.55s-.03-5.73-1.82-7.52m-5.67 12.67c-2.67 0-3.02-2.23-3.02-5.15s.35-5.12 3.02-5.12 3.03 2.2 3.03 5.12-.35 5.15-3.03 5.15m22.65-12.67a6.23 6.23 0 0 0-4.37-1.61 5.44 5.44 0 0 0-4.46 1.88v-1.68h-4.33v24.45h4.47v-8.14a5.29 5.29 0 0 0 4.33 1.79 6.23 6.23 0 0 0 4.36-1.62c1.78-1.78 1.81-4.87 1.81-7.55s-.03-5.73-1.81-7.52m-5.67 12.67c-2.68 0-3.02-2.23-3.02-5.15s.34-5.12 3.02-5.12 3.02 2.2 3.02 5.12-.34 5.15-3.02 5.15m15.55 4.02c-2.81 0-5.36-.31-7.62-2.58l2.92-2.92a6.5 6.5 0 0 0 4.77 1.69c1.54 0 3.16-.52 3.16-1.86 0-.89-.48-1.5-1.89-1.65l-2.82-.27c-3.22-.31-5.22-1.72-5.22-5.01 0-3.71 3.27-5.7 6.9-5.7 2.79 0 5.12.48 6.84 2.1l-2.75 2.77a6.22 6.22 0 0 0-4.15-1.2c-1.79 0-2.54.83-2.54 1.72 0 .65.27 1.4 1.85 1.54l2.82.28c3.53.34 5.32 2.23 5.32 5.25 0 3.95-3.37 5.84-7.59 5.84" fill="@{text}"/><path d="M46.41 20.87a20.6 20.6 0 0 0-1.85-4.47l2.91-6.4-2.23-2.24L43 5.53l-6.42 2.92a20.6 20.6 0 0 0-4.46-1.85L29.66 0h-6.32l-2.47 6.6a20.6 20.6 0 0 0-4.46 1.85L10 5.53 7.76 7.76 5.53 10l2.91 6.42a20.6 20.6 0 0 0-1.85 4.46L0 23.34v6.32l6.57 2.46a20.6 20.6 0 0 0 1.86 4.5l-2.9 6.4 2.24 2.22 2.22 2.23 6.38-2.9a20.5 20.5 0 0 0 4.51 1.87L23.34 53h6.32l2.46-6.56a20.5 20.5 0 0 0 4.5-1.87l6.39 2.9 2.23-2.23L47.47 43l-2.9-6.4a20.6 20.6 0 0 0 1.86-4.5L53 29.67v-6.32zM26.9 36.07a10.05 10.05 0 1 1 10.05-10.05A10.05 10.05 0 0 1 26.9 36.07" fill="@{overlay1}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user