diff options
| author | Yigit Sever | 2021-04-16 15:23:37 +0300 | 
|---|---|---|
| committer | Yigit Sever | 2021-04-16 15:23:37 +0300 | 
| commit | 3bc1d6792317218f879ec82fcd87acd1c892f2d4 (patch) | |
| tree | c0ce1853c842219afa6725722f75e28f67981b5c | |
| parent | 6e248a4d3cecab3953fd6223aaf246e09bbd2d5d (diff) | |
| download | gradecoin-3bc1d6792317218f879ec82fcd87acd1c892f2d4.tar.gz gradecoin-3bc1d6792317218f879ec82fcd87acd1c892f2d4.tar.bz2 gradecoin-3bc1d6792317218f879ec82fcd87acd1c892f2d4.zip | |
Add tibdit shortcode
| -rw-r--r-- | site/static/site.css | 11 | ||||
| -rw-r--r-- | site/templates/shortcodes/tidbit.html | 5 | 
2 files changed, 16 insertions, 0 deletions
| diff --git a/site/static/site.css b/site/static/site.css new file mode 100644 index 0000000..f296cc4 --- /dev/null +++ b/site/static/site.css | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | |||
| 2 | .content blockquote { | ||
| 3 | border-left: #689d6a 8px solid; | ||
| 4 | |||
| 5 | } | ||
| 6 | .content blockquote.tidbit { | ||
| 7 | border-left: #928f74 8px solid; | ||
| 8 | font-size: 12px; | ||
| 9 | color: #282828; | ||
| 10 | } | ||
| 11 | |||
| diff --git a/site/templates/shortcodes/tidbit.html b/site/templates/shortcodes/tidbit.html new file mode 100644 index 0000000..7023578 --- /dev/null +++ b/site/templates/shortcodes/tidbit.html | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | <blockquote class="tidbit"> | ||
| 2 | <p> | ||
| 3 | {{ body }} | ||
| 4 | </p> | ||
| 5 | </blockquote> | ||
