tabby/website/src/css/custom.css

59 lines
1.4 KiB
CSS
Raw Normal View History

@tailwind base;
@tailwind components;
@tailwind utilities;
2023-06-06 01:33:54 +00:00
/**
* 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 {
2023-06-07 18:17:00 +00:00
--ifm-color-primary: #3b373c;
--ifm-color-primary-dark: #353236;
--ifm-color-primary-darker: #322f33;
--ifm-color-primary-darkest: #29272a;
--ifm-color-primary-light: #413d42;
--ifm-color-primary-lighter: #443f45;
--ifm-color-primary-lightest: #4d484e;
--ifm-background-color: #e9e1d4;
--ifm-background-surface-color: var(--ifm-background-color);
--ifm-code-background: #FFF8EC;
--openapi-monaco-background-color-light: #FFF8EC !important;
--openapi-card-background-color: var(--ifm-code-background) !important;
2023-06-06 01:33:54 +00:00
}
2023-06-07 18:17:00 +00:00
.monaco-editor{
background-color: var(--openapi-monaco-background-color-light) !important;
2023-06-06 01:33:54 +00:00
}
2023-06-07 18:47:26 +00:00
.markdown a {
color: var(--ifm-color-success-darkest);
}
.post a {
display: flex;
}
.post a::after {
content: "post";
margin-left: auto;
display: inline-block;
position: relative;
top: 1px;
margin-right: -6px;
padding: 3px 6px;
border: 1px solid var(--ifm-color-warning);
border-radius: 3px;
color: black;
background: var(--ifm-color-warning);
text-transform: uppercase;
font-size: 10px;
line-height: 10px;
height: 10px;
font-weight: 600;
}