diff --git a/cao_blogr/static/img/tam-bac-thanh.jpg b/cao_blogr/static/img/tam-bac-thanh.jpg new file mode 100644 index 0000000..433e9f4 Binary files /dev/null and b/cao_blogr/static/img/tam-bac-thanh.jpg differ diff --git a/cao_blogr/static/img/tam-pham-phu.jpg b/cao_blogr/static/img/tam-pham-phu.jpg new file mode 100644 index 0000000..cae14bb Binary files /dev/null and b/cao_blogr/static/img/tam-pham-phu.jpg differ diff --git a/cao_blogr/static/theme.css b/cao_blogr/static/theme.css index b6f41a1..f090e8c 100644 --- a/cao_blogr/static/theme.css +++ b/cao_blogr/static/theme.css @@ -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; diff --git a/cao_blogr/templates/blog_edit.jinja2 b/cao_blogr/templates/blog_edit.jinja2 index d770198..e9918d1 100644 --- a/cao_blogr/templates/blog_edit.jinja2 +++ b/cao_blogr/templates/blog_edit.jinja2 @@ -17,7 +17,7 @@ {% endfor %}
- {{ form.body(class_='form-control', cols="35", rows="20") }} + {{ form.body(class_='form-control monospace-font', cols="35", rows="20") }}
diff --git a/cao_blogr/templates/topic_edit.jinja2 b/cao_blogr/templates/topic_edit.jinja2 index 50c25f1..9c56b53 100644 --- a/cao_blogr/templates/topic_edit.jinja2 +++ b/cao_blogr/templates/topic_edit.jinja2 @@ -27,7 +27,7 @@ {% endfor %}
- {{ form.topic_quote(class_='form-control', cols="35", rows="5") }} + {{ form.topic_quote(class_='form-control monospace-font', cols="35", rows="5") }}