Files
GeyserWebsite/src/css/custom.css
T

78 lines
2.0 KiB
CSS
Raw Normal View History

2023-11-07 19:40:55 -06: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 {
--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%;
2024-01-27 21:09:30 -08:00
--ifm-horizontal-line-color: rgba(28, 30, 33, 0.2);
2023-11-07 19:40:55 -06:00
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[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;
2024-01-27 21:09:30 -08:00
--ifm-horizontal-line-color: rgba(227, 227, 227, 0.2);
2023-11-07 19:40:55 -06:00
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
2024-01-27 21:09:30 -08:00
.answer {
overflow: hidden;
transition: height 0.3s ease-out;
}
.question-header {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
position: relative; /* Needed for absolute positioning of the arrow */
}
.question-header h3 {
margin: 0;
}
.question-arrow {
display: inline-block;
width: 10px;
height: 10px;
border-right: 2px solid var(--ifm-color-primary);
border-bottom: 2px solid var(--ifm-color-primary);
transform: rotate(45deg);
transition: transform 0.3s ease;
position: absolute;
right: 0;
top: 50%;
margin-top: -20px;
}
.question-arrow.expanded {
transform: rotate(225deg);
}
.question-line {
border-bottom: 1px solid var(--ifm-horizontal-line-color);
margin-top: -15px;
margin-bottom: 10px;
}
.question-text {
font-size: 18px;
}