{% extends "settings.html" %}

{% block pagetitle %}Custom CSS - {{SITE_TITLE}}{% endblock %}

{% block content %}
<div class="row">
	<div class="col col-md-8">
	<div class="settings">
		<div id="description">
		<p class="text-small text-muted">Edit your custom CSS for the site.</p>
		<div class="settings-section rounded mb-0">
			<div class="body d-lg-flex border-bottom">
				<div class="w-lg-100">
					<form id="profile-settings" action="/settings/css" method="post">
						{{forms.formkey(v)}}
						<textarea autocomplete="off" class="form-control rounded" id="bio-text" aria-label="With textarea" placeholder="Custom CSS" rows="50" name="css" form="profile-settings" maxlength="{{CSS_LENGTH_MAXIMUM}}">{% if v.css %}{{v.csslazy}}{% endif %}</textarea>
						<small>Limit of {{CSS_LENGTH_MAXIMUM}} characters</small>
						<div class="d-flex mt-2">
							<input autocomplete="off" id="submit-btn" class="btn btn-primary ml-auto" type="submit" value="Save">
						</div>
					</form>
				</div>
			</div>
	</div>
	</div>
</div>
</div>
</div>
{% endblock %}
