+
# VinTest
@@ -32,3 +33,13 @@ VinTest is split into three "layers":
______________________________________________________________________
→ [Quickstart](quickstart/getting-started.md) — add VinTest to an existing mod project step by step.
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css
new file mode 100644
index 0000000..2860dc6
--- /dev/null
+++ b/docs/stylesheets/extra.css
@@ -0,0 +1,48 @@
+/* Wide: text left (2/3), images stacked on right (1/3) */
+.home-columns {
+ display: flex;
+ flex-direction: row;
+ gap: 2rem;
+ align-items: flex-start;
+}
+
+.home-columns .left {
+ flex: 2;
+}
+
+.home-columns .right {
+ flex: 1;
+}
+
+.home-columns .right img {
+ width: 100%;
+ display: block;
+}
+
+/* Narrow: images side-by-side on top, then text below */
+@media (max-width: 960px) {
+ .home-columns {
+ flex-direction: column;
+ }
+
+ .home-columns .right {
+ order: -1;
+ display: flex;
+ flex-direction: row;
+ gap: 1rem;
+ }
+
+ .home-columns .right p {
+ flex: 1;
+ margin: 0;
+ }
+
+ .home-columns .right img {
+ width: 100%;
+ }
+}
+
+/* hide tag/release icon from site header as it makes no sense for now */
+.md-source__fact--version {
+ display: none;
+}
diff --git a/example/MyMod/Mod.cs b/example/MyMod/MyMod.cs
similarity index 88%
rename from example/MyMod/Mod.cs
rename to example/MyMod/MyMod.cs
index 32b03a7..0535164 100644
--- a/example/MyMod/Mod.cs
+++ b/example/MyMod/MyMod.cs
@@ -12,7 +12,7 @@ public void TurnIntoDrifter(IServerPlayer player)
{
try
{
- if (PositionIsNearbyEnough(player.Entity.Pos.AsBlockPos, new BlockPos(0, 0, 0)))
+ if (!PositionIsNearbyEnough(player.Entity.Pos.AsBlockPos, new BlockPos(0, 0, 0)))
DoMagic();
}
catch (Exception ex)
diff --git a/zensical.toml b/zensical.toml
index 7983e68..39a6d8b 100644
--- a/zensical.toml
+++ b/zensical.toml
@@ -36,6 +36,9 @@ nav = [
] },
] },
]
+
+extra_css = ["stylesheets/extra.css"]
+
[project.theme]
variant = "classic"