From 2780c37fe92fd7ff97151ebfc01279f34e512e05 Mon Sep 17 00:00:00 2001 From: Jelle Z <18423879+jelle619@users.noreply.github.com> Date: Mon, 27 Aug 2018 23:03:39 +0200 Subject: [PATCH] Added "Custom CSS" page --- Custom-CSS.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Custom-CSS.md diff --git a/Custom-CSS.md b/Custom-CSS.md new file mode 100644 index 0000000..7c18f89 --- /dev/null +++ b/Custom-CSS.md @@ -0,0 +1,18 @@ +# Straight to the dark side, huh? + +Titan Embeds has support for custom CSS. This enables you to theme the embed however you want. You can use it to make the embed fit with the theming of your site or server, for example. If you don't know what custom CSS is, this might not be for you. In that case, we recommend you to take a look at our pre-built themes instead. + +# Obtaining CSS slots + +Before you can start implementing your custom CSS, you first need to obtain a so called "CSS slot". Each slot allows you to upload your custom CSS code to it. There are two ways of obtaining a CSS slot. +* A free CSS slot given by an administrator, which can be obtained by asking one on the Titan Embeds Discord server. +* A CSS slot you bought with Titan Tokens, which can be obtained by donating through PayPal or Patreon. +After you have obtained a CSS slot, it will show up on your dashboard. + +**Warning: Your custom CSS code is not private! If someone really wanted to, they will be able to see it!** + +# Assigning a CSS slot to an embed + +Each CSS slot has a unique CSS ID assigned to it. It can be found in the CSS editor for the particular slot you would like to use. + +You need to use the CSS query parameter with your CSS ID appended to your embed's URL to assign it. If you don't, your embed will load without you custom CSS. Links with and without the CSS query parameter with different CSS IDs may be used interchangeably if so desired. \ No newline at end of file