mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-15 15:15:51 +01:00
235 lines
No EOL
4.9 KiB
CSS
235 lines
No EOL
4.9 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.
|
|
*/
|
|
|
|
.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);
|
|
}
|
|
|
|
html[data-theme="light"] .button--secondary {
|
|
--ifm-button-border-color: var(--ifm-font-color-base);
|
|
}
|
|
|
|
/* 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: 95%;
|
|
--ifm-font-color-base-inverse: #df0000;
|
|
--docusaurus-highlighted-code-line-bg: #8888;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
|
|
.hero .container {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
padding: 2rem;
|
|
max-width: 100rem;
|
|
}
|
|
|
|
.footer .container {
|
|
display: flex;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
max-width: var(--ifm-container-width);
|
|
padding: 0 var(--ifm-spacing-horizontal);
|
|
width: 100%;
|
|
justify-content: center;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
|
|
.footer .container .row {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
align-content: stretch;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.footer .container .footer__bottom {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
align-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
|
|
.col {
|
|
display: inline-flex;
|
|
width: 50%;
|
|
align-content: flex-end;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.hero {
|
|
background-color: var(--ifm-background-color);
|
|
}
|
|
|
|
.carousel-root {
|
|
padding-left: 2%;
|
|
max-width: 600px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.heroBanner_src-pages-index-module {
|
|
padding-top: 3rem;
|
|
}
|
|
|
|
.features_src-components-HomepageFeatures-module {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem 0;
|
|
width: 100%;
|
|
background-color: var(--ifm-card-background-color);
|
|
}
|
|
|
|
|
|
.features_src-components-HomepageFeatures-module .container {
|
|
padding: 1rem 3rem 0;
|
|
}
|
|
|
|
|
|
.features_src-components-HomepageFeatures-module .container .row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
@media screen and (max-width: 966px) {
|
|
.hero .container {
|
|
padding: .5rem;
|
|
}
|
|
|
|
.hero .container .col .hero__subtitle {
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.carousel-root {
|
|
max-width: 75%;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.button.button--secondary:hover {
|
|
color: var(--ifm-color-primary);
|
|
background-color: transparent;
|
|
border-color: var(--ifm-color-primary);
|
|
}
|
|
|
|
.screenshot {
|
|
box-shadow: rgb(255 255 255 / 20%) 0 4px 8px 0, rgb(104 104 104) 0 6px 20px 0;
|
|
}
|
|
|
|
.hero__subtitle {
|
|
margin-top: 2rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
|
|
blockquote {
|
|
display: block;
|
|
width: 80%;
|
|
max-width: 75rem;
|
|
position: relative;
|
|
padding: 0 1rem;
|
|
margin: 1rem auto 7rem;
|
|
}
|
|
|
|
blockquote:before, blockquote:after {
|
|
content: "“";
|
|
font-size: 70px;
|
|
font-family: "Georgia", serif;
|
|
color: var(--ifm-link-color);
|
|
position: absolute;
|
|
left: -30px;
|
|
top: 5px;
|
|
}
|
|
|
|
blockquote:after {
|
|
content: "”";
|
|
right: -30px;
|
|
left: auto;
|
|
}
|
|
|
|
blockquote h4 {
|
|
position: absolute;
|
|
right: -30px;
|
|
padding-right: 1rem;
|
|
left: auto;
|
|
}
|
|
|
|
|
|
cite {
|
|
float: right;
|
|
color: black;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.docMainContainer_node_modules-\@docusaurus-theme-classic-lib-theme-DocPage-Layout-Main-styles-module .container .row .col {
|
|
display: inline-flex;
|
|
width: 50%;
|
|
align-content: flex-end;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
|
|
.main-wrapper .container .row .col {
|
|
display: inline-flex;
|
|
width: 50%;
|
|
align-content: flex-end;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
} |