diff --git a/src/static/ckeditor/contents.css b/src/static/ckeditor/contents.css index b8f5e825..a3a80d55 100644 --- a/src/static/ckeditor/contents.css +++ b/src/static/ckeditor/contents.css @@ -1,138 +1,29 @@ -body { - line-height:1.6; - letter-spacing:0.5px; - font-size:14px; - font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; - color:#545b62; - background-color:#fff -} -blockquote { - padding:2px 0; - font-style:italic; - border-style:solid; - border-color:#ccc; - border-width:0 -} -a { - color:#0782C1 -} -ol,ul,dl { - padding:0 30px -} -h1,h2,h3,h4,h5,h6 { - font-weight:600; - line-height:1.2 -} -hr { - border:0px; - border-top:1px solid #ccc -} -pre { - white-space:pre-wrap; - word-wrap:break-word; - -moz-tab-size:4; - tab-size:4 -} -span[lang] { - font-style:italic -} -figure { - text-align:center; - outline:solid 1px #ccc; - background:rgba(0,0,0,0.05); - padding:10px; - margin:10px 20px; - display:inline-block -} -figure > figcaption { - text-align:center; - display:block -} -img { - border-radius:0.5rem -} -a > img { - padding:1px; - margin:1px; - border:none; - outline:1px solid #0782C1 -} -img.right { - border:1px solid #ccc; - float:right; - margin-left:15px; - padding:5px -} -img.left { - border:1px solid #ccc; - float:left; - margin-right:15px; - padding:5px -} -.marker { - background-color:Yellow -} -.cke_editable { - font-size:14px; - word-wrap:break-word -} -.cke_contents_ltr blockquote { - padding-left:20px; - padding-right:8px; - border-left-width:5px -} -.cke_contents_rtl blockquote { - padding-left:8px; - padding-right:20px; - border-right-width:5px -} -.code-featured { - border:5px solid red -} -.math-featured { - padding:20px; - box-shadow:0 0 2px rgba(200,0,0,1); - background-color:rgba(255,0,0,0.05); - margin:10px -} -.image-clean { - border:0; - background:none; - padding:0 -} -.image-clean > figcaption { - font-size:.9em; - text-align:right -} -.image-grayscale { - background-color:white; - color:#666 -} -.image-grayscale img,img.image-grayscale { - filter:grayscale(100%) -} -.embed-240p { - max-width:426px; - max-height:240px; - margin:0 auto -} -.embed-360p { - max-width:640px; - max-height:360px; - margin:0 auto -} -.embed-480p { - max-width:854px; - max-height:480px; - margin:0 auto -} -.embed-720p { - max-width:1280px; - max-height:720px; - margin:0 auto -} -.embed-1080p { - max-width:1920px; - max-height:1080px; - margin:0 auto -} \ No newline at end of file +body{line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#6c757d;background:#fff} +blockquote{padding:2px 0;font-style:italic;border-style:solid;border-color:#ccc;border-width:0} +a{color:#007bff} +ol,ul,dl{padding:0 30px} +h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.2} +hr{border:0px;border-top:1px solid #ccc} +pre{white-space:pre-wrap;word-wrap:break-word;-moz-tab-size:4;tab-size:4} +span[lang]{font-style:italic} +figure{text-align:center;outline:solid 1px #ccc;background:rgba(0,0,0,0.05);padding:10px;margin:10px 20px;display:inline-block} +figure > figcaption{text-align:center;display:block} +img{border-radius:.5rem} +a > img{padding:1px;margin:1px;border:none;outline:1px solid #0782C1} +img.right{border:1px solid #ccc;float:right;margin-left:15px;padding:5px} +img.left{border:1px solid #ccc;float:left;margin-right:15px;padding:5px} +.marker{background-color:Yellow} +.cke_editable{font-size:14px;word-wrap:break-word} +.cke_contents_ltr blockquote{padding-left:20px;padding-right:8px;border-left-width:5px} +.cke_contents_rtl blockquote{padding-left:8px;padding-right:20px;border-right-width:5px} +.code-featured{border:5px solid red} +.math-featured{padding:20px;box-shadow:0 0 2px rgba(200,0,0,1);background-color:rgba(255,0,0,0.05);margin:10px} +.image-clean{border:0;background:none;padding:0} +.image-clean > figcaption{font-size:.9em;text-align:right} +.image-grayscale{background-color:white;color:#666} +.image-grayscale img,img.image-grayscale{filter:grayscale(100%)} +.embed-240p{max-width:426px;max-height:240px;margin:0 auto} +.embed-360p{max-width:640px;max-height:360px;margin:0 auto} +.embed-480p{max-width:854px;max-height:480px;margin:0 auto} +.embed-720p{max-width:1280px;max-height:720px;margin:0 auto} +.embed-1080p{max-width:1920px;max-height:1080px;margin:0 auto} \ No newline at end of file