Browse Source

细调

tags/6.3.2
叙述、别离 10 months ago
parent
commit
8d8c2a36b7
2 changed files with 141 additions and 30 deletions
  1. +140
    -29
      src/static/ckeditor/contents.css
  2. +1
    -1
      src/static/web/css/admin.css

+ 140
- 29
src/static/ckeditor/contents.css View File

@@ -1,29 +1,140 @@
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:10px 0;font-style:italic;border-style:solid;border-color:#ccc;border-width:0}
a{color:#007bff}
ol,ul,dl{padding:0 20px}
h1,h2,h3,h4,h5,h6{line-height:1.2;font-weight:600;color:#343a40}
hr{border:0px;border-top:1px solid #ccc}
pre{white-space:pre-wrap;word-wrap:break-word;-moz-tab-size:3;tab-size:3}
span[lang]{font-style:italic}
figure{display:inline-block;margin:10px 20px;padding:10px;background:rgba(0,0,0,0.05);outline:solid 1px #ccc;text-align:center}
figure>figcaption{display:block;text-align:center}
img{max-width:100%;border-radius:0.5rem}
a>img{margin:1px;padding:1px;border:none;outline:1px solid #0782C1}
img.right{float:right;margin-left:15px;padding:5px;border:1px solid #ccc}
img.left{float:left;margin-right:15px;padding:5px;border:1px solid #ccc}
.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}
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:10px 0;
font-style:italic;
border-style:solid;
border-color:#ccc;
border-width:0
}
a {
color:#007bff
}
ol,ul,dl {
padding:0 20px
}
h1,h2,h3,h4,h5,h6 {
line-height:1.2;
font-weight:600;
color:#343a40
}
hr {
border:0px;
border-top:1px solid #ccc
}
pre {
white-space:pre-wrap;
word-wrap:break-word;
-moz-tab-size:3;
tab-size:3
}
span[lang] {
font-style:italic
}
figure {
display:inline-block;
margin:10px 20px;
padding:10px;
background:rgba(0,0,0,0.05);
outline:solid 1px #ccc;
text-align:center
}
figure>figcaption {
display:block;
text-align:center
}
img {
max-width:100%;
border-radius:0.5rem
}
a>img {
margin:1px;
padding:1px;
border:none;
outline:1px solid #0782C1
}
img.right {
float:right;
margin-left:15px;
padding:5px;
border:1px solid #ccc
}
img.left {
float:left;
margin-right:15px;
padding:5px;
border:1px solid #ccc
}
.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
}

+ 1
- 1
src/static/web/css/admin.css View File

@@ -80,7 +80,7 @@ input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkb
vertical-align:middle
}
select {
padding:0.375rem 0.75rem;
padding:0.25rem 0.75rem;
height:30px;
color:var(--gray);
background:var(--white);


Loading…
Cancel
Save