Files
docs_tfgrid_get_started/src/css/custom.css

107 lines
2.2 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: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability improvements */
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
/* Custom styles for call-to-action */
.cta-box {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 2rem;
border-radius: 10px;
margin: 2rem 0;
color: white;
text-align: center;
}
.cta-box h2,
.cta-box h3 {
color: white;
margin-top: 0;
}
.cta-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
flex-wrap: wrap;
justify-content: center;
}
.cta-link {
display: inline-block;
padding: 0.75rem 1.5rem;
background: rgba(255, 255, 255, 0.2);
border-radius: 5px;
color: white;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
}
.cta-link:hover {
background: rgba(255, 255, 255, 0.3);
color: white;
text-decoration: none;
transform: translateY(-2px);
}
/* Info box styling */
.info-box {
background: #d1ecf1;
border-left: 4px solid #0c5460;
padding: 1.5rem;
margin: 2rem 0;
border-radius: 5px;
}
[data-theme='dark'] .info-box {
background: #1e3a40;
border-left-color: #17a2b8;
}
.info-box h3 {
margin-top: 0;
color: #0c5460;
}
[data-theme='dark'] .info-box h3 {
color: #5bc0de;
}
/* Table improvements */
table {
display: table;
width: 100%;
}
/* Code block improvements */
pre {
border-radius: 8px;
}