From 99a9c2344e954da4a9ed0f564b6e85bfbe2ca2e6 Mon Sep 17 00:00:00 2001 From: Harley White Date: Mon, 7 Jun 2021 20:25:15 -0400 Subject: [PATCH] Added a misc documentation page --- changelog.md | 1 + docs/!general-info.md | 3 ++- docs/other.md | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 docs/other.md diff --git a/changelog.md b/changelog.md index c407070..3815969 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # The Modding Tree changelog: +- Broke the css file down into many files to make it easier to find and customize what matters. If you already have custom CSS, keep that and ignore the new ones maybe? - Added buyable and clickable trees. ## v2.6.1 - 6/7/21 diff --git a/docs/!general-info.md b/docs/!general-info.md index e23ab5c..fbe97da 100644 --- a/docs/!general-info.md +++ b/docs/!general-info.md @@ -34,9 +34,10 @@ While reading this documentation, the following key will be used when describing - [Basic layer breakdown](basic-layer-breakdown.md): Breaking down the components of a layer with minimal features. - [Layer features](layer-features.md): Explanations of all of the different properties that you can give a layer. - [Custom Tab Layouts](custom-tab-layouts.md): An optional way to give your tabs a different layout. You can even create entirely new components to use. -- [Custom game layouts](trees-and-tree-customization.md): You can get rid of the tree tab, add buttons and other things to the tree, +- [Custom Game Layouts](trees-and-tree-customization.md): You can get rid of the tree tab, add buttons and other things to the tree, or even customize the tab's layout like a layer tab. - [Updating TMT](tutorials/updating-tmt.md): Using Github Desktop to update your mod's version of TMT. +- [Other Things](other.md): Other neat features that TMT has that don't merit their own page. ### Common components diff --git a/docs/other.md b/docs/other.md new file mode 100644 index 0000000..77fbf1e --- /dev/null +++ b/docs/other.md @@ -0,0 +1,5 @@ +# Other Things + +## CSS +A good way to give your game a unique feel is to customize the appearance of it. Modifying the CSS files helps you to do that on a global level. The CSS is broken up into several files to make it easier to find what is relevant to you. +CSS tip: Every component is automatically given a CSS class with the same name as its layer id. You can use this toapply something specifically for a single layer! You can also combine classes, such as .p.achievement or .c.locked, to change specific things in specific layers. \ No newline at end of file