mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-16 13:47:49 -08:00
281 lines
11 KiB
CSS
281 lines
11 KiB
CSS
/* stylelint-disable docusaurus/copyright-header */
|
|
/**
|
|
* Any CSS included here will be global. The classic template
|
|
* bundles Infima by default. Infima is a CSS framework designed to
|
|
* work well for content-centric websites.
|
|
*/
|
|
|
|
/* You can override the default Infima variables here. */
|
|
:root {
|
|
--ifm-color-primary: #2c7ae0;
|
|
--ifm-color-primary-dark: rgb(38, 103, 189);
|
|
--ifm-color-primary-darker: rgb(28, 75, 138);
|
|
--ifm-color-primary-darkest: rgb(19, 51, 94);
|
|
--ifm-color-primary-light: rgb(74, 143, 232);
|
|
--ifm-color-primary-lighter: rgb(95, 157, 237);
|
|
--ifm-color-primary-lightest: rgb(8, 9, 10);
|
|
--ifm-code-font-size: 95%;
|
|
--ifm-pre-background: #232136;
|
|
}
|
|
|
|
.docusaurus-highlight-code-line {
|
|
background-color: rgb(72, 77, 91);
|
|
display: block;
|
|
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
|
padding: 0 var(--ifm-pre-padding);
|
|
}
|
|
|
|
.badge {
|
|
display: none !important;
|
|
}
|
|
|
|
.hero {
|
|
background-color: #173448;
|
|
}
|
|
|
|
.hero--image {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.header-github-link:hover {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.header-github-link:before {
|
|
content: "";
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
|
|
no-repeat;
|
|
}
|
|
|
|
html[data-theme="dark"] .header-github-link:before {
|
|
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
|
|
no-repeat;
|
|
}
|
|
|
|
.header-bluesky-link {
|
|
padding-top: 0px;
|
|
}
|
|
|
|
.header-bluesky-link:hover {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.header-bluesky-link:before {
|
|
content: "@";
|
|
color: #4163EB;
|
|
font-style: bold;
|
|
font-size: 24px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.header-gk-link:hover {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.header-gk-link:before {
|
|
content: "";
|
|
width: 26px;
|
|
height: 26px;
|
|
display: flex;
|
|
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 182 182' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m 176.70092,47.979262 a 3.6,3.6 0 0 0 -7,1.3 2.5,2.5 0 0 0 0.2,1.2 82.6,82.6 0 0 1 5.3,29.5 83.8,83.8 0 0 1 -72.7,82.999998 v -39.1 a 60.2,60.2 0 0 0 7.3,-1.9 v 32.8 a 77,77 0 0 0 19,-142.199998 3.7,3.7 0 0 0 -5.1,1.6 4.5,4.5 0 0 0 -0.3,1.6 3.6,3.6 0 0 0 1.8,3.2 69.7,69.7 0 0 1 -8.1,125.899998 v -29.1 a 11.2,11.2 0 0 0 7.8,-10.6 11,11 0 0 0 -5.5,-9.699998 c 2.6,-25.1 14.1,-18.5 14.1,-26.5 v -4.6 c 0,-12.1 -27.8,-51.1 -40.799999,-52.1 h -2.4 c -13,1 -40.8,40 -40.8,52.1 v 4.6 c 0,8 11.5,1.4 14.1,26.5 a 11.2,11.2 0 0 0 2.4,20.299998 v 29.1 a 69.7,69.7 0 0 1 -8.2,-125.899998 3.6,3.6 0 0 0 1.5,-4.8 3.5,3.5 0 0 0 -3.3,-2 3.3,3.3 0 0 0 -1.7,0.4 77,77 0 0 0 19,142.199998 v -32.8 a 60.2,60.2 0 0 0 7.3,1.9 v 39.1 A 83.8,83.8 0 0 1 7.8009215,79.979262 a 84.8,84.8 0 0 1 5.2999995,-29.5 3.6,3.6 0 0 0 -1.9,-4.6 4,4 0 0 0 -1.4999998,-0.3 3.7,3.7 0 0 0 -3.3999997,2.4 91,91 0 0 0 81.4999995,122.899998 v -46 h 7.4 v 46 a 90.9,90.9 0 0 0 87.299999,-90.899998 89.1,89.1 0 0 0 -5.8,-32 z m -68.4,51.9 a 7.5,7.5 0 1 1 10.6,10.599998 7.5,7.5 0 1 1 -10.6,-10.599998 z M 74.700921,110.47926 a 7.4,7.4 0 0 1 -10.5,0 7.5,7.5 0 0 1 0,-10.599998 7.4,7.4 0 0 1 10.5,0 7.5,7.5 0 0 1 0,10.599998 z'/%3E%3C/svg%3E")
|
|
no-repeat;
|
|
}
|
|
|
|
html[data-theme="dark"] .header-gk-link:before {
|
|
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 182 182' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='m 176.70092,47.979262 a 3.6,3.6 0 0 0 -7,1.3 2.5,2.5 0 0 0 0.2,1.2 82.6,82.6 0 0 1 5.3,29.5 83.8,83.8 0 0 1 -72.7,82.999998 v -39.1 a 60.2,60.2 0 0 0 7.3,-1.9 v 32.8 a 77,77 0 0 0 19,-142.199998 3.7,3.7 0 0 0 -5.1,1.6 4.5,4.5 0 0 0 -0.3,1.6 3.6,3.6 0 0 0 1.8,3.2 69.7,69.7 0 0 1 -8.1,125.899998 v -29.1 a 11.2,11.2 0 0 0 7.8,-10.6 11,11 0 0 0 -5.5,-9.699998 c 2.6,-25.1 14.1,-18.5 14.1,-26.5 v -4.6 c 0,-12.1 -27.8,-51.1 -40.799999,-52.1 h -2.4 c -13,1 -40.8,40 -40.8,52.1 v 4.6 c 0,8 11.5,1.4 14.1,26.5 a 11.2,11.2 0 0 0 2.4,20.299998 v 29.1 a 69.7,69.7 0 0 1 -8.2,-125.899998 3.6,3.6 0 0 0 1.5,-4.8 3.5,3.5 0 0 0 -3.3,-2 3.3,3.3 0 0 0 -1.7,0.4 77,77 0 0 0 19,142.199998 v -32.8 a 60.2,60.2 0 0 0 7.3,1.9 v 39.1 A 83.8,83.8 0 0 1 7.8009215,79.979262 a 84.8,84.8 0 0 1 5.2999995,-29.5 3.6,3.6 0 0 0 -1.9,-4.6 4,4 0 0 0 -1.4999998,-0.3 3.7,3.7 0 0 0 -3.3999997,2.4 91,91 0 0 0 81.4999995,122.899998 v -46 h 7.4 v 46 a 90.9,90.9 0 0 0 87.299999,-90.899998 89.1,89.1 0 0 0 -5.8,-32 z m -68.4,51.9 a 7.5,7.5 0 1 1 10.6,10.599998 7.5,7.5 0 1 1 -10.6,-10.599998 z M 74.700921,110.47926 a 7.4,7.4 0 0 1 -10.5,0 7.5,7.5 0 0 1 0,-10.599998 7.4,7.4 0 0 1 10.5,0 7.5,7.5 0 0 1 0,10.599998 z'/%3E%3C/svg%3E")
|
|
no-repeat;
|
|
}
|
|
|
|
.header-discord-link {
|
|
height: 28px;
|
|
}
|
|
|
|
.header-discord-link:hover {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.header-discord-link:before {
|
|
content: "";
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 127.14 96.36' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill%3D%22%235865F2%22 d='M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z'/%3E%3C/svg%3E")
|
|
no-repeat;
|
|
}
|
|
|
|
html[data-theme="dark"] .header-discord-link:before {
|
|
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 127.14 96.36' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill%3D%22%235865F2%22 d='M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z'/%3E%3C/svg%3E")
|
|
no-repeat;
|
|
}
|
|
|
|
/* Admonition */
|
|
|
|
div.theme-admonition.theme-admonition-tip.alert.alert--success {
|
|
background-color: #9ccfd8;
|
|
border-color: #56949f;
|
|
}
|
|
|
|
html[data-theme="dark"] div.theme-admonition.theme-admonition-tip {
|
|
color: #102445;
|
|
}
|
|
|
|
html[data-theme="dark"] div.theme-admonition.theme-admonition-tip svg {
|
|
fill: #102445;
|
|
}
|
|
|
|
html[data-theme="dark"] div.theme-admonition.theme-admonition-tip a {
|
|
color: #102445;
|
|
}
|
|
|
|
iframe.youtube {
|
|
width: 100%;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
@media screen and (max-width: 350px) {
|
|
iframe.youtube {
|
|
height: 200px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 350px) {
|
|
iframe.youtube {
|
|
height: 300px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
iframe.youtube {
|
|
height: 400px;
|
|
}
|
|
}
|
|
|
|
.winstore {
|
|
width: 200px;
|
|
border-radius: 8px;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.withings {
|
|
width: 150px;
|
|
}
|
|
|
|
[data-theme="light"] .withings path {
|
|
fill: white;
|
|
}
|
|
|
|
[data-theme="dark"] .withings path {
|
|
fill: black;
|
|
}
|
|
|
|
[data-theme="dark"] div.withings {
|
|
background: white;
|
|
padding: 17px 10px 10px 10px;
|
|
display: inline;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
[data-theme="light"] div.withings {
|
|
background: black;
|
|
padding: 17px 10px 10px 10px;
|
|
display: inline;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
h1.hero__title {
|
|
color: white;
|
|
}
|
|
|
|
p.hero__subtitle {
|
|
color: white;
|
|
}
|
|
|
|
a.getStarted_Sjon {
|
|
color: white;
|
|
}
|
|
|
|
[data-theme="light"] .themedImage_ToTc {
|
|
filter: invert(0%) sepia(8%) saturate(2885%) hue-rotate(67deg) brightness(84%)
|
|
contrast(87%);
|
|
}
|
|
|
|
[data-theme="dark"] .themedImage_ToTc {
|
|
filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(226deg)
|
|
brightness(102%) contrast(101%);
|
|
}
|
|
|
|
/* Fonts */
|
|
|
|
@font-face {
|
|
font-family: "Victor Mono";
|
|
src: url('/static/fonts/VictorMono.ttf') format("truetype");
|
|
}
|
|
|
|
:root {
|
|
--ifm-font-family-monospace: "Inter";
|
|
--ifm-font-family-base: "Inter";
|
|
}
|
|
|
|
code {
|
|
font-family: "Victor Mono", monospace;
|
|
}
|
|
|
|
code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
font-family: "Victor Mono", monospace;
|
|
}
|
|
|
|
/* Dev settings */
|
|
|
|
[data-theme="dark"]
|
|
.themedImage_node_modules-\@docusaurus-theme-classic-lib-theme-ThemedImage-styles-module {
|
|
filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(226deg)
|
|
brightness(102%) contrast(101%);
|
|
}
|
|
|
|
[data-theme="light"]
|
|
.themedImage_node_modules-\@docusaurus-theme-classic-lib-theme-ThemedImage-styles-module {
|
|
filter: invert(0%) sepia(8%) saturate(2885%) hue-rotate(67deg) brightness(84%)
|
|
contrast(87%);
|
|
}
|
|
|
|
a.getStarted_src-pages-styles-module {
|
|
color: white;
|
|
}
|
|
|
|
table {
|
|
/* We need this to be able to use border-radius. */
|
|
border-collapse: separate;
|
|
|
|
/* Add a 1px border spacing for out box-shadow to fit into. Increase this if you want to increase the border width. */
|
|
border-spacing: 1px;
|
|
}
|
|
|
|
table th,
|
|
table td {
|
|
/* Remove any borders from our stylesheet. */
|
|
border: 0;
|
|
|
|
/* Use the spread value on the box-shadow to set the border width. */
|
|
box-shadow: 0 0 0 1px #c8c9cc;
|
|
}
|
|
|
|
table th:first-child {
|
|
border-top-left-radius: 6.4px;
|
|
}
|
|
|
|
table th:last-child {
|
|
border-top-right-radius: 6.4px;
|
|
}
|
|
|
|
table tr:last-child td:first-child {
|
|
border-bottom-left-radius: 6.4px;
|
|
}
|
|
|
|
table tr:last-child td:last-child {
|
|
border-bottom-right-radius: 6.4px;
|
|
}
|