{% extends 'site_layout.html.j2' %} {% if new %} {% set title="New - User CSS" %} {% else %} {% set title="Editing " + css.name + " - User CSS" %} {% endif %} {% if not admin %} {% set admin=False %} {% endif %} {%- set live_preview -%}
Note: This feature is only used for CSS. Any attempts to enter HTML or malicious CSS code will have CSS cosmetic privilages removed, if caught. Please don't, we check the databases often. Thanks!
{% if not new %}Using your custom CSS
This user defined CSS has a unique ID of {{ css.id }}.
To use this CSS in the embed, you must apped a ?css={{ css.id }}
to the embed URL.
Something like this will work:
Give your CSS a name
Set CSS Ownership
Propose Predefined CSS variables here
--modal
):
--noroleusers
):
--main
):
--placeholder
):
--sidebardivider
):
--leftsidebar
):
--rightsidebar
):
--header
):
--chatmessage
):
--discrim
):
--chatbox
):
TIP! You can use the variables in your CSS below! Something like color: var(--leftsidebar);
would work!
All custom CSS slots are used. Donate to get more!
Free up some slots by emptying your other custom CSS field and submitting it (Titan will automatically mark empty custom css editor fields as unused slots in the database) or delete the user defined css slot altogether.
Edit your CSS code here
Remove any text and leave this box blank when submitting to not use up your custom css slots.