]> git.0d.be Git - chloro.git/commitdiff
add blockquote style
authorFrédéric Péters <fpeters@0d.be>
Fri, 4 Sep 2020 13:24:36 +0000 (15:24 +0200)
committerFrédéric Péters <fpeters@0d.be>
Fri, 4 Sep 2020 13:24:36 +0000 (15:24 +0200)
chloro/phyll/static/css/style.scss
chloro/phyll/static/js/chloro.js

index 164c2df075ca3220e54256ebbae92dd0cb78ea2f..f4d4f7ada79707db697bc9c4f1b7a181bb41d6cf 100644 (file)
@@ -141,6 +141,11 @@ main {
                        margin: 0.5em 0;
                }
        }
+       blockquote {
+               background: #eeeefd;
+               padding: 0.1em 1em;
+               clip-path: polygon(0px 0px, 94.27% 2px, 99.63% 2.65%, 98.39% 97.48%, 10% 100%, 0% 100%, 0px 0px);
+       }
 }
 
 .post-list {
index b70fa291ea3c5410bfac518fc640c0fe7476db57..816d0223b08951a7f1c307f5ff71442c0260f309 100644 (file)
@@ -4,6 +4,7 @@
           {name: 'code', tag: 'PRE', klass: 'screen'},
           {name: 'figure', special: 'img', tag: 'DIV', subtag: true, klass: 'figure'},
           {name: 'note', tag: 'DIV', subtag: true, klass: 'note'},
+          {name: 'quote', tag: 'BLOCKQUOTE', subtag: true, klass: 'quote'},
     ],
     input_event: function(event) {
       var sel = document.getSelection();