[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentyeleven/ -> editor-style.css (source)

   1  /*
   2  Theme Name: Twenty Eleven
   3  Description: Used to style the TinyMCE editor.
   4  */
   5  
   6  body {
   7      color: #333;
   8      font: 15px "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
   9      font-weight: 300;
  10      line-height: 1.625;
  11      max-width: 584px;
  12  }
  13  
  14  /* Headings */
  15  h1,h2,h3,h4,h5,h6 {
  16      clear: both;
  17  }
  18  h1,
  19  h2 {
  20      color: #000;
  21      font-size: 15px;
  22      font-weight: bold;
  23      margin: 0 0 .8125em;
  24  }
  25  h3 {
  26      font-size: 10px;
  27      letter-spacing: 0.1em;
  28      line-height: 2.6em;
  29      text-transform: uppercase;
  30  }
  31  h4, h5, h6 {
  32      font-size: 14px;
  33      margin: 0;
  34  }
  35  hr {
  36      background-color: #ccc;
  37      border: 0;
  38      height: 1px;
  39      margin-bottom: 1.625em;
  40  }
  41  
  42  /* Text elements */
  43  p, ul, ol, dl {
  44      font-weight: 300;
  45  }
  46  p {
  47      margin-bottom: 1.625em;
  48  }
  49  ul, ol {
  50      margin: 0 0 1.625em 2.5em;
  51      padding: 0;
  52  }
  53  ul {
  54      list-style: square;
  55  }
  56  ol {
  57      list-style-type: decimal;
  58  }
  59  ol ol {
  60      list-style: upper-alpha;
  61  }
  62  ol ol ol {
  63      list-style: lower-roman;
  64  }
  65  ol ol ol ol {
  66      list-style: lower-alpha;
  67  }
  68  ul ul, ol ol, ul ol, ol ul {
  69      margin-bottom: 0;
  70  }
  71  dl {
  72      margin: 0 1.625em;
  73  }
  74  dt {
  75      font-size: 15px;
  76      font-weight: bold;
  77  }
  78  dd {
  79      margin: 0 0 1.625em;
  80  }
  81  strong {
  82      font-weight: bold;
  83  }
  84  cite, em, i {
  85      font-style: italic;
  86  }
  87  cite {
  88      border: none;
  89  }
  90  big {
  91      font-size: 131.25%;
  92  }
  93  .mceContentBody blockquote,
  94  .mceContentBody blockquote p {
  95      font-family: Georgia, "Bitstream Charter", serif !important;
  96      font-style: italic !important;
  97      font-weight: normal;
  98      margin: 0 3em;
  99  }
 100  .mceContentBody blockquote em,
 101  .mceContentBody blockquote i,
 102  .mceContentBody blockquote cite {
 103      font-style: normal;
 104  }
 105  .mceContentBody blockquote cite {
 106      color: #666;
 107      font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
 108      font-weight: 300;
 109      letter-spacing: 0.05em;
 110      text-transform: uppercase;
 111  }
 112  pre {
 113      background: #f4f4f4;
 114      font: 13px "Courier 10 Pitch", Courier, monospace;
 115      line-height: 1.5;
 116      margin-bottom: 1.625em;
 117      padding: 0.75em 1.625em;
 118  }
 119  code, kbd, samp, var {
 120      font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
 121  }
 122  pre code {
 123      font-size: inherit;
 124  }
 125  abbr, acronym, dfn {
 126      border-bottom: 1px dotted #666;
 127      cursor: help;
 128  }
 129  address {
 130      display: block;
 131      margin: 0 0 1.625em;
 132  }
 133  del {
 134      color: #333;
 135  }
 136  ins {
 137      background: #fff9c0;
 138      border: none;
 139      color: #333;
 140      text-decoration: none;
 141  }
 142  sup,
 143  sub {
 144      font-size: 10px;
 145      height: 0;
 146      line-height: 1;
 147      position: relative;
 148      vertical-align: baseline;
 149  }
 150  sup {
 151      bottom: 1ex;
 152  }
 153  sub {
 154      top: .5ex;
 155  }
 156  input[type=text],
 157  textarea {
 158      background: #fafafa;
 159      -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
 160      -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
 161      box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
 162      border: 1px solid #ddd;
 163      color: #888;
 164  }
 165  input[type=text]:focus,
 166  textarea:focus {
 167      color: #333;
 168  }
 169  textarea {
 170      padding-left: 3px;
 171      width: 98%;
 172  }
 173  input[type=text] {
 174      padding: 3px;
 175  }
 176  
 177  /* Links */
 178  a,
 179  a em,
 180  a strong {
 181      color: #1b8be0;
 182      text-decoration: none;
 183  }
 184  a:focus,
 185  a:active,
 186  a:hover {
 187      text-decoration: underline;
 188  }
 189  
 190  /* Alignment */
 191  .alignleft {
 192      display: inline;
 193      float: left;
 194      margin-right: 1.625em;
 195  }
 196  .alignright {
 197      display: inline;
 198      float: right;
 199      margin-left: 1.625em;
 200  }
 201  .aligncenter {
 202      clear: both;
 203      display: block;
 204      margin-left: auto;
 205      margin-right: auto;
 206  }
 207  
 208  /* Tables */
 209  table {
 210      border: none !important;
 211      border-bottom: 1px solid #ddd !important;
 212      border-collapse: collapse;
 213      border-spacing: 0;
 214      text-align: left;
 215      margin: 0 0 1.625em;
 216      width: 100%;
 217  }
 218  tr th {
 219      border: none !important;
 220      color: #666;
 221      font-size: 10px;
 222      font-weight: 500;
 223      letter-spacing: 0.1em;
 224      line-height: 2.6em;
 225      text-transform: uppercase;
 226  }
 227  td {
 228      border: none !important;
 229      border-top: 1px solid #ddd !important;
 230      padding: 6px 10px 6px 0;
 231  }
 232  
 233  /* Images */
 234  img.size-full {
 235      width: auto; /* Prevent stretching of full-size images in IE8 */
 236  }
 237  img.wp-smiley {
 238      border: none;
 239      margin-bottom: 0;
 240      margin-top: 0;
 241      padding: 0;
 242  }
 243  p img,
 244  .wp-caption {
 245      margin-top: 0.4em;
 246  }
 247  img {
 248      border: 1px solid #ddd;
 249      padding: 6px;
 250      height: auto;
 251      max-width: 97.5%;
 252      max-width: calc( 100% - 14px );
 253  }
 254  img.alignleft,
 255  img.alignright,
 256  img.aligncenter {
 257      margin-bottom: 1.625em;
 258  }
 259  .wp-caption {
 260      background: #eee;
 261      border: none;
 262      margin-bottom: 1.625em;
 263      max-width: 96%;
 264      max-width: calc( 100% - 22px );
 265      padding: 9px 11px;
 266  }
 267  .wp-caption img {
 268      display: block;
 269      margin: 0 -2px;
 270      max-width: 98%;
 271      max-width: calc( 100% - 10px );
 272      border-color: #eee;
 273  }
 274  .wp-caption .wp-caption-dd {
 275      color: #666;
 276      font-family: Georgia, serif;
 277      font-size: 12px;
 278      margin-bottom: 0.6em;
 279      padding: 10px 0 5px 40px;
 280      position: relative;
 281  }
 282  .wp-caption .wp-caption-dd:before {
 283      color: #666;
 284      content: '\2014';
 285      font-size: 14px;
 286      font-style: normal;
 287      font-weight: bold;
 288      margin-right: 5px;
 289      position: absolute;
 290      left: 10px;
 291      top: 7px;
 292  }
 293  a:focus img,
 294  a:hover img,
 295  a:active img {
 296      background: #eee;
 297      border-color: #bbb;
 298  }
 299  .wp-caption a:focus img,
 300  .wp-caption a:active img,
 301  .wp-caption a:hover img {
 302      background: #fff;
 303      border-color: #ddd;
 304  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref