{% extends 'site_layout.html.j2' %} {% if new %} {% set title="New - User CSS" %} {% else %} {% set title="Editing " + css.name + " - User CSS" %} {% endif %} {% block content %}

{% if new %}New{% else %}Editing {{ css.name }}{% endif %} - User Defined CSS

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:

{% endif %}

Give your CSS a name

Propose Predefined CSS variables here

Modal Background Color (--modal):
Uncategorized Discord Users (--noroleusers):
Main Background Color (--main):
Text input placeholder (--placeholder):
Sidebar Dividers (--sidebardivider):
Left Sidebar/Guild Navigation Background (--leftsidebar):
Right Sidebar/Member List Background (--rightsidebar):
Header Background (--header):
Chat Message (--chatmessage):
Discriminator Text (--discrim):
Message Box Background (--chatbox):

TIP! You can use the variables in your CSS below! Something like color: var(--leftsidebar); would work!

Edit your CSS code here

{% if new %}/* Enter your CSS code here! */{% else %}{{ css.css|e }}{% endif %}

Submit {% if not new %}Delete{% endif %}
{% endblock %} {% block script %} {% endblock %} {% block additional_head_elements %} {% endblock %}