added monospace font to textaera filed

This commit is contained in:
2022-05-18 09:42:54 +02:00
parent fa26947461
commit 7fa1595f0a
5 changed files with 15 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -5,6 +5,9 @@ body {
font: 400 15px/1.8 Lato, sans-serif;
color: #666;
}
.monospace-font {
font-family: Monaco, "Courier New", Courier, monospace;
}
.container h2{
color: #df4937 !important;
}
@@ -50,6 +53,16 @@ h5 {
max-width: 900px;
}
}
@media print {
/* ne pas affichier l'url after the link */
a[href]:after {
content: none !important;
}
* {
color: inherit !important;
background-color: inherit !important;
}
}
.bg-1 {
background: #df4937;
color: #bdbdbd;

View File

@@ -17,7 +17,7 @@
{% endfor %}
<div class="form-group">
<label class="required-field" for="body">{{ form.body.label }}</label>
{{ form.body(class_='form-control', cols="35", rows="20") }}
{{ form.body(class_='form-control monospace-font', cols="35", rows="20") }}
</div>
<div class="form-group">

View File

@@ -27,7 +27,7 @@
{% endfor %}
<div class="form-group">
<label class="required-field" for="topic_quote">{{ form.topic_quote.label }}</label>
{{ form.topic_quote(class_='form-control', cols="35", rows="5") }}
{{ form.topic_quote(class_='form-control monospace-font', cols="35", rows="5") }}
</div>
<div class="form-group">