Преглед изворни кода

Merge pull request #123 from wagtail/108-blockquote-amend

Blockquote amend
Scot Hacker пре 8 година
родитељ
комит
9c48033b10
2 измењених фајлова са 9 додато и 1 уклоњено
  1. 1 1
      bakerydemo/base/blocks.py
  2. 8 0
      bakerydemo/static/css/main.css

+ 1 - 1
bakerydemo/base/blocks.py

@@ -42,7 +42,7 @@ class BlockQuote(StructBlock):
     """
     text = TextBlock()
     attribute_name = CharBlock(
-        blank=True, required=False, label='e.g. Guy Picciotto')
+        blank=True, required=False, label='e.g. Mary Berry')
 
     class Meta:
         icon = "fa-quote-left"

+ 8 - 0
bakerydemo/static/css/main.css

@@ -426,6 +426,14 @@ blockquote p {
   margin: 0 0 10px;
 }
 
+blockquote footer::before {
+  display: none;
+}
+blockquote footer p {
+  font-size: 1.8em;
+  font-style: italic;
+}
+
 cite {
   font-family: 'Lato', sans-serif;
   text-transform: uppercase;