mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-15 15:15:51 +01:00
70 lines
2.1 KiB
CSS
70 lines
2.1 KiB
CSS
/**
|
|
* 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: #25c2a0;
|
|
--ifm-color-primary-dark: rgb(33, 175, 144);
|
|
--ifm-color-primary-darker: rgb(31, 165, 136);
|
|
--ifm-color-primary-darkest: rgb(26, 136, 112);
|
|
--ifm-color-primary-light: rgb(70, 203, 174);
|
|
--ifm-color-primary-lighter: rgb(102, 212, 189);
|
|
--ifm-color-primary-lightest: rgb(146, 224, 208);
|
|
--ifm-code-font-size: 95%;
|
|
--ifm-container-width-xl: 90%;
|
|
}
|
|
|
|
.docusaurus-highlight-code-line {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
display: block;
|
|
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
|
padding: 0 var(--ifm-pre-padding);
|
|
}
|
|
|
|
html[data-theme="dark"] .docusaurus-highlight-code-line {
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* customs css */
|
|
:root {
|
|
--ifm-color-primary: #df0000;
|
|
--ifm-color-primary-dark: rgb(156, 0, 0);
|
|
--ifm-color-primary-darker: rgb(120, 0, 0);
|
|
--ifm-color-primary-darkest: rgb(26, 136, 112);
|
|
--ifm-color-primary-light: rgb(70, 203, 174);
|
|
--ifm-color-primary-lighter: rgb(102, 212, 189);
|
|
--ifm-color-primary-lightest: rgb(146, 224, 208);
|
|
--ifm-code-font-size: 95%;
|
|
--ifm-button-color: white;
|
|
--ifm-container-width-xl: 85%;
|
|
}
|
|
|
|
.docusaurus-highlight-code-line {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
display: block;
|
|
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
|
padding: 0 var(--ifm-pre-padding);
|
|
}
|
|
|
|
.prism-code {
|
|
counter-reset: line-number;
|
|
}
|
|
|
|
.prism-code.language-js .token-line::before,
|
|
.prism-code.language-ts .token-line::before,
|
|
.prism-code.language-go .token-line::before {
|
|
counter-increment: line-number;
|
|
content: counter(line-number);
|
|
margin-right: calc(var(--ifm-pre-padding) * 1.5);
|
|
text-align: right;
|
|
min-width: 1.5rem;
|
|
display: inline-block;
|
|
opacity: 0.3;
|
|
position: sticky;
|
|
left: var(--ifm-pre-padding);
|
|
border-right: 1px solid;
|
|
padding-right: 0.5rem;
|
|
}
|