Skip to content

Commit

Permalink
Merge pull request #5 from Inspiration1/dev
Browse files Browse the repository at this point in the history
Update tinymce resource references
  • Loading branch information
inspiration1 authored Dec 24, 2019
2 parents c8aa5d8 + 66f755c commit 8c95e5b
Show file tree
Hide file tree
Showing 31 changed files with 3,793 additions and 774 deletions.
59 changes: 59 additions & 0 deletions public/tinymce/skins/content/dark/content.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
body {
background-color: #2f3742;
color: #dfe0e4;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 1.4;
margin: 1rem;
}
a {
color: #4099ff;
}
table {
border-collapse: collapse;
}
table th,
table td {
border: 1px solid #6d737b;
padding: 0.4rem;
}
figure {
display: table;
margin: 1rem auto;
}
figure figcaption {
color: #8a8f97;
display: block;
margin-top: 0.25rem;
text-align: center;
}
hr {
border-color: #6d737b;
border-style: solid;
border-width: 1px 0 0 0;
}
code {
background-color: #6d737b;
border-radius: 3px;
padding: 0.1rem 0.2rem;
}
/* Make text in selected cells in tables dark and readable */
td[data-mce-selected],
th[data-mce-selected] {
color: #333;
}
.mce-content-body:not([dir=rtl]) blockquote {
border-left: 2px solid #6d737b;
margin-left: 1.5rem;
padding-left: 1rem;
}
.mce-content-body[dir=rtl] blockquote {
border-right: 2px solid #6d737b;
margin-right: 1.5rem;
padding-right: 1rem;
}
8 changes: 8 additions & 0 deletions public/tinymce/skins/content/dark/content.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 14 additions & 9 deletions public/tinymce/skins/content/default/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ table {
table th,
table td {
border: 1px solid #ccc;
padding: .4rem;
}
blockquote {
border-left: 2px solid #ccc;
margin-left: 1.5rem;
padding-left: 1rem;
padding: 0.4rem;
}
figure {
display: table;
Expand All @@ -29,7 +24,7 @@ figure {
figure figcaption {
color: #999;
display: block;
margin-top: .25rem;
margin-top: 0.25rem;
text-align: center;
}
hr {
Expand All @@ -40,5 +35,15 @@ hr {
code {
background-color: #e8e8e8;
border-radius: 3px;
padding: .1rem .2rem;
}
padding: 0.1rem 0.2rem;
}
.mce-content-body:not([dir=rtl]) blockquote {
border-left: 2px solid #ccc;
margin-left: 1.5rem;
padding-left: 1rem;
}
.mce-content-body[dir=rtl] blockquote {
border-right: 2px solid #ccc;
margin-right: 1.5rem;
padding-right: 1rem;
}
2 changes: 1 addition & 1 deletion public/tinymce/skins/content/default/content.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 14 additions & 9 deletions public/tinymce/skins/content/document/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body {
box-sizing: border-box;
margin: 1rem auto 0;
max-width: 820px;
min-height: calc(99vh);
min-height: calc(100vh - 1rem);
padding: 4rem 6rem 6rem 6rem;
}
}
Expand All @@ -29,20 +29,25 @@ table {
table th,
table td {
border: 1px solid #ccc;
padding: .4rem;
}
blockquote {
border-left: 2px solid #ccc;
margin-left: 1.5rem;
padding-left: 1rem;
padding: 0.4rem;
}
figure figcaption {
color: #999;
margin-top: .25rem;
margin-top: 0.25rem;
text-align: center;
}
hr {
border-color: #ccc;
border-style: solid;
border-width: 1px 0 0 0;
}
}
.mce-content-body:not([dir=rtl]) blockquote {
border-left: 2px solid #ccc;
margin-left: 1.5rem;
padding-left: 1rem;
}
.mce-content-body[dir=rtl] blockquote {
border-right: 2px solid #ccc;
margin-right: 1.5rem;
padding-right: 1rem;
}
2 changes: 1 addition & 1 deletion public/tinymce/skins/content/document/content.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 14 additions & 9 deletions public/tinymce/skins/content/writer/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ table {
table th,
table td {
border: 1px solid #ccc;
padding: .4rem;
}
blockquote {
border-left: 2px solid #ccc;
margin-left: 1.5rem;
padding-left: 1rem;
padding: 0.4rem;
}
figure {
display: table;
Expand All @@ -30,7 +25,7 @@ figure {
figure figcaption {
color: #999;
display: block;
margin-top: .25rem;
margin-top: 0.25rem;
text-align: center;
}
hr {
Expand All @@ -41,5 +36,15 @@ hr {
code {
background-color: #e8e8e8;
border-radius: 3px;
padding: .1rem .2rem;
}
padding: 0.1rem 0.2rem;
}
.mce-content-body:not([dir=rtl]) blockquote {
border-left: 2px solid #ccc;
margin-left: 1.5rem;
padding-left: 1rem;
}
.mce-content-body[dir=rtl] blockquote {
border-right: 2px solid #ccc;
margin-right: 1.5rem;
padding-right: 1rem;
}
2 changes: 1 addition & 1 deletion public/tinymce/skins/content/writer/content.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8c95e5b

Please sign in to comment.