mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-28 12:07:36 +01:00
6d28c85bc7
props ocean90, netweb. see #36753. Built from https://develop.svn.wordpress.org/trunk@38152 git-svn-id: http://core.svn.wordpress.org/trunk@38093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
123 lines
1.3 KiB
CSS
123 lines
1.3 KiB
CSS
/*
|
|
Press This TinyMCE editor styles :)
|
|
*/
|
|
|
|
|
|
/**
|
|
* Links
|
|
*/
|
|
a {
|
|
color: #0073aa;
|
|
}
|
|
|
|
a:visited {
|
|
color: #0073aa;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus,
|
|
a:active {
|
|
color: #00a0d2;
|
|
}
|
|
|
|
|
|
/**
|
|
* Lists
|
|
*/
|
|
ul,
|
|
ol {
|
|
margin: 0 3em 1.5em 0;
|
|
}
|
|
|
|
ul {
|
|
list-style: disc;
|
|
}
|
|
|
|
ol {
|
|
list-style: decimal;
|
|
}
|
|
|
|
li > ul,
|
|
li > ol {
|
|
margin-bottom: 0;
|
|
margin-right: 1.5em;
|
|
}
|
|
|
|
dt {
|
|
font-weight: 700;
|
|
}
|
|
|
|
dd {
|
|
margin: 0 1.5em 1.5em;
|
|
}
|
|
|
|
|
|
/**
|
|
* Media
|
|
*
|
|
* Basic image and object styles
|
|
*/
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Makes sure embeds and iframes fit inside their containers */
|
|
embed,
|
|
iframe,
|
|
object {
|
|
max-width: 100%;
|
|
}
|
|
|
|
|
|
/**
|
|
* TinyMCE styles
|
|
*
|
|
* Pretty dang good.
|
|
*/
|
|
body {
|
|
color: #404040;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
line-height: 1.6;
|
|
}
|
|
@media (max-width: 900px) {
|
|
body#tinymce {
|
|
padding-top: 30px !important;
|
|
}
|
|
}
|
|
@media (max-width: 640px) {
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
@media (max-width: 320px) {
|
|
body {
|
|
margin: 0 15px;
|
|
}
|
|
}
|
|
|
|
#tinymce b,
|
|
#tinymce strong {
|
|
/* overrides TinyMCE's !important. Woohoo. */
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
blockquote {
|
|
margin: 1em 1.5em;
|
|
color: #9ea7af;
|
|
font-size: em(25px);
|
|
font-style: italic;
|
|
}
|
|
@media (max-width: 900px) {
|
|
blockquote {
|
|
margin: 1.5em 1em;
|
|
}
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
margin: 0 .75em 1.5em 0;
|
|
}
|