-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* These styles are used in the backend editor AND in the Theme (frontend) */ | ||
|
||
/* Most themes nowadays provide an extra stylesheet of classes which WordPress itself then */ | ||
/* applies to the backend editor TinyMCE. However, custom CSS - set in Plugins, in the WP */ | ||
/* Customizer or in Theme options, will normally not be reflected to TinyMCE. So better to */ | ||
/* put such styles all here, where they will apply to TinyMCE *and* the frontend. */ | ||
|
||
/* The goal is not only to make the visual editor display look as much like the frontend as */ | ||
/* possible, but also to make sure that all important CSS classes are available for convenient */ | ||
/* selection in TinyMCEs "Formats" dropdown - so do not forget to configure the TinyMCE styles */ | ||
/* dropdown with elements to match those here. */ | ||
|
||
/* If you do not need this file then upload an empty one (zero bytes) which will not be loaded at all. */ | ||
|
||
/* Suggested general non-tag-specific visual styles */ | ||
|
||
.list { margin: 0.35rem 0; } | ||
.topless { margin-top: 0 !important; } | ||
.bottomless { margin-bottom: 0 !important; } | ||
.beforelist { margin-bottom: 0.5rem; } | ||
.lastitemem { margin-bottom: 0; padding-bottom: 1.3rem; } | ||
|
||
strong { font-weight: bold; } | ||
/* Revert to normal text within strong */ | ||
.notstrong { font-weight: normal; } | ||
|
||
.smaller { font-size: 0.95rem; line-height: 1.25; } | ||
.small { font-size: 0.89rem; line-height: 1.2; } | ||
|
||
.screen-reader-text, .dispnone { display: none; } | ||
|
||
/* Append your site-specific styles here */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* These styles are used only in the backend editor */ | ||
|
||
/* Here you can override any CSS which causes layout or visibility problems in the editor, */ | ||
/* and duplicate any custom CSS to make the editor display look more like the real frontend */ | ||
|
||
/* If you do not need this file then upload an empty one (zero bytes) which will not be loaded at all. */ | ||
|
||
ol { | ||
list-style: decimal; | ||
} | ||
ol ol { | ||
list-style:lower-latin; | ||
} | ||
ol ol ol { | ||
list-style:lower-roman; | ||
} | ||
ol ol ol ol { | ||
list-style:lower-latin; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters