setIsAnswerVisible(!isAnswerVisible)}>
+
{questionText}
-
-
diff --git a/src/css/custom.css b/src/css/custom.css
index 510656e..126f306 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -78,9 +78,54 @@
background-color: var(--ifm-navbar-link-hover-color);
}
-.answer {
- overflow: hidden;
- transition: height 0.3s ease-out;
+.collapsible-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ width: 100%;
+ position: relative;
+}
+
+.collapsible-header h3 {
+ margin: 0;
+}
+
+.collapsible-header p {
+ margin-right: 18px;
+}
+
+.collapsible-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;
+}
+
+.collapsible-arrow.expanded {
+ transform: rotate(225deg);
+}
+
+
+.collapsible-line {
+ border-bottom: 1px solid var(--ifm-horizontal-line-color);
+ margin-top: -15px;
+ margin-bottom: 10px;
+}
+
+.collapsible-subtitle {
+ font-size: 14px;
+}
+
+.collapsible-title {
+ font-size: 20px;
+ margin-right: 20px;
}
.columns {
@@ -142,51 +187,25 @@
}
}
-.question-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- position: relative; /* Needed for absolute positioning of the arrow */
+.inner {
+ overflow: hidden;
+ transition: height 0.3s ease-out;
}
-.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%;
+.inner-content {
+ margin-bottom: 20px;
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;
-}
-
.no-underline {
text-decoration: transparent !important;
}
+.question-text p {
+ font-size: 18px;
+ margin-right: 18px;
+}
+
.setup-button {
width: 100%;
outline: 3px solid var(--ifm-color-secondary);
diff --git a/src/pages/download/index.mdx b/src/pages/download/index.mdx
index 8010b12..c7ce7a8 100644
--- a/src/pages/download/index.mdx
+++ b/src/pages/download/index.mdx
@@ -32,6 +32,7 @@ import StandaloneIcon from '@site/static/img/icons/geyser.png';
import { Columns, Column } from '@site/src/components/Columns';
import { ProviderSelector } from '@site/src/components/Provider';
import { ProjectDownload } from '@site/src/components/ProjectDownload';
+import { Collapsibles, Collapsible } from '@site/src/components/Collapsibles';
-
-
- GeyserConnect>,
- }}
- gridColumns={1}
- />
-
-
- GeyserOptionalPack>,
- }}
- gridColumns={1}
- />
-
-
+
+ GeyserConnect>,
+ }}
+ gridColumns={1}
+ />
+ }
+ />
+ GeyserOptionalPack>,
+ }}
+ gridColumns={1}
+ />
+ }
+ />
+
-
\ No newline at end of file
+
diff --git a/static/img/site/crossplatform_2.png b/static/img/site/crossplatform_2.png
new file mode 100644
index 0000000..cef93d9
Binary files /dev/null and b/static/img/site/crossplatform_2.png differ