1/* 2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 3 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 4 * 5 * == BEGIN LICENSE == 6 * 7 * Licensed under the terms of any of the following licenses at your 8 * choice: 9 * 10 * - GNU General Public License Version 2 or later (the "GPL") 11 * http://www.gnu.org/licenses/gpl.html 12 * 13 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 14 * http://www.gnu.org/licenses/lgpl.html 15 * 16 * - Mozilla Public License Version 1.1 or later (the "MPL") 17 * http://www.mozilla.org/MPL/MPL-1.1.html 18 * 19 * == END LICENSE == 20 * 21 * This is the default CSS file used by the editor area. It defines the 22 * initial font of the editor and background color. 23 * 24 * A user can configure the editor to use another CSS file. Just change 25 * the value of the FCKConfig.EditorAreaCSS key in the configuration 26 * file. 27 */ 28 29/* 30 The "body" styles should match your editor web site, mainly regarding 31 background color and font family and size. 32*/ 33 34body, td, th { 35 /* font: 80% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; */ 36 font: normal 87.5%/1.4 Arial, sans-serif; 37 color: #333; 38} 39 40body 41{ 42 background-color: #ffffff; 43 padding: 5px 5px 5px 5px; 44 margin: 0px; 45} 46 47 48 49th, .tblheader { 50 padding: 3px; 51 border: 1px solid #8cacbb !important; 52 background-color: #dee7ec; 53 font-weight: bold; 54} 55 56td { 57 padding: 3px; 58 border: 1px solid #8cacbb !important; 59} 60td 61{ 62/* font-family: Arial, Verdana, sans-serif; 63 font-size: 10pt; 64 */ 65} 66 67a[href] 68{ 69/* color: -moz-hyperlinktext !important; */ /* For Firefox... mark as important, otherwise it becomes black */ 70/* text-decoration: -moz-anchor-decoration; */ /* For Firefox 3, otherwise no underline will be used */ 71} 72 73/* 74 Just uncomment the following block if you want to avoid spaces between 75 paragraphs. Remember to apply the same style in your output front end page. 76*/ 77 78/* 79p, ul, li 80{ 81 margin-top: 0px; 82 margin-bottom: 0px; 83} 84*/ 85 86/* 87 The following are some sample styles used in the "Styles" toolbar command. 88 You should instead remove them, and include the styles used by the site 89 you are using the editor in. 90*/ 91 92.Bold 93{ 94 font-weight: bold; 95} 96 97.Title 98{ 99 font-weight: bold; 100 font-size: 18px; 101 color: #cc3300; 102} 103 104pre, 105tt, 106code, 107samp, 108kbd { 109 background-color: #eee; 110 color: #333; 111} 112/* fix if background-color hides underlining */ 113em.u code { 114 text-decoration: underline; 115} 116 117/*code new tmpl start*/ 118pre { 119 border: 1px solid #ccc; 120 padding: .75em 1em; 121} 122/* for code in <file> */ 123pre.file { 124} 125 126/* filenames for downloadable file and code blocks */ 127dl.code, 128dl.file { 129} 130 131dl.code dt, 132dl.file dt { 133 background-color: #eee; 134 color: inherit; 135 border: 1px solid #ccc; 136 border-bottom-color: #eee; 137 border-top-left-radius: .3em; 138 border-top-right-radius: .3em; 139 padding: .3em .6em .1em; 140 padding-bottom: 1px; 141 margin-bottom: -1px; 142 margin-left:0px; 143 float: left; 144} 145dl.code dt a, 146dl.file dt a { 147 background-color: transparent; 148 font-size: 0.875em; 149 font-weight: normal; 150 display: block; 151 /*min-height: 16px;*/ 152 color: #51A5D6 !important; 153} 154dl.code dd, 155dl.file dd { 156 margin: 0; 157 clear: left; 158} 159/* Code new tmpl ends */ 160 161 162h1, 163h2, 164h3, 165h4, 166h5, 167h6, 168caption, 169legend { 170 font-family: Arial, sans-serif; 171 font-weight: bold; 172 background-color: inherit; 173 padding: 0; 174 line-height: 1.2; 175 clear: left; /* ideally 'both', but problems with toc */ 176} 177 178img.baseline { 179 vertical-align:bottom; 180 text-align:left; 181 display:block; 182 border: 0; 183 margin: 3px; 184} 185 186/* image alignment */ 187.medialeft { 188 float: left; 189} 190.mediaright { 191 float: right; 192} 193.mediacenter { 194 display: block; 195 margin-left: auto; 196 margin-right: auto; 197} 198img.media { 199 margin: .2em 0; 200} 201img.medialeft { 202 margin: .2em 1em .2em 0; 203} 204img.mediaright { 205 margin: .2em 0 .2em 1em; 206} 207img.mediacenter { 208 margin: .2em auto; 209} 210 211 212.leftalign {text-align: left;} 213.centeralign {text-align: center;} 214.rightalign {text-align: right;} 215 216 217div.footnotes { 218 clear: both; 219 border-top: 1px solid black; 220 padding-left: 1em; 221 margin-top: 1em; 222} 223 224div.fn { 225 font-size: 90%; 226} 227 228a.fn_bot { 229 font-weight: bold; 230} 231 232/*____________ lists ____________*/ 233 234ul, 235ol { 236 padding: 0 0 0 1.5em; 237} 238li, 239dd { 240 padding: 0; 241 margin: 0 0 0 1.5em; 242} 243dt { 244 font-weight: bold; 245 margin: 0; 246 padding: 0; 247} 248 249li ul, 250li ol, 251li dl, 252dl ul, 253dl ol, 254dl dl { 255 margin-bottom: 0; 256 padding: 0; 257} 258li li { 259 font-size: 100%; 260} 261 262ul { list-style: square outside; } 263ol { list-style: decimal outside; } 264ol ol { list-style-type: lower-alpha; } 265ol ol ol { list-style-type: upper-roman; } 266ol ol ol ol { list-style-type: upper-alpha; } 267ol ol ol ol ol { list-style-type: lower-roman; } 268 269 270a.urlextern, 271a.windows, 272a.mail, 273a.mediafile, 274a.interwiki { 275 background-repeat: no-repeat; 276 background-position: 0 center; 277 padding: 0 0 0 20px; 278} 279 280a.windows { 281 background: transparent url(images/windows.gif) 0px 1px no-repeat; 282 padding: 1px 0px 1px 16px; 283 color: #436976 !important; 284 text-decoration: none !important; 285} 286 287a.urlextern { 288 background: transparent url(images/link_icon.gif) 0px 1px no-repeat; 289 padding: 1px 0px 1px 16px; 290 color: #436976 !important; 291 text-decoration: none !important; 292} 293 294 295a.wikilink2:link, 296a.wikilink2:visited { 297 border-bottom: 1px dashed; 298} 299a.wikilink2:hover, 300a.wikilink2:active, 301a.wikilink2:focus { 302 border-bottom-width: 0; 303} 304 305 306 307a.wikilink2 { 308 color: red !important; 309 text-decoration: none !important; 310} 311 312 313a.wikilink1 { 314 color: green !important; 315 text-decoration: none !important; 316} 317 318span.np_break { 319 line-height: 50%; 320 border:0px; 321 padding:0px; 322 margin:0px; 323} 324 325 326/* syntax highlighting code */ 327.code .br0 { color: #66cc66; } 328.code .co0 { color: #808080; font-style: italic; } 329.code .co1 { color: #808080; font-style: italic; } 330.code .co2 { color: #808080; font-style: italic; } 331.code .co3 { color: #808080; } 332.code .coMULTI { color: #808080; font-style: italic; } 333.code .es0 { color: #000099; font-weight: bold; } 334.code .kw1 { color: #b1b100; } 335.code .kw2 { color: #000000; font-weight: bold; } 336.code .kw3 { color: #000066; } 337.code .kw4 { color: #993333; } 338.code .kw5 { color: #0000ff; } 339.code .me1 { color: #006600; } 340.code .me2 { color: #006600; } 341.code .nu0 { color: #cc66cc; } 342.code .re0 { color: #0000ff; } 343.code .re1 { color: #0000ff; } 344.code .re2 { color: #0000ff; } 345.code .re3 { color: #ff3333; font-weight:bold; } 346.code .re4 { color: #009999; } 347.code .st0 { color: #ff0000; } 348.code .sy0 { color: #66cc66; } 349 350a.mediafile { 351 background: url(images/fileicons/file.png) no-repeat scroll 0 1px transparent; 352 padding-bottom: 1px; 353 padding-left: 18px; 354 color: #436976 !important; 355 text-decoration: none !important; 356} 357 358/* email link */ 359a.mail { 360 background: transparent url(images/mail_icon.gif) 0px 1px no-repeat; 361 padding: 1px 0px 1px 16px; 362 color: #436976 !important; 363 text-decoration: none !important; 364} 365 366a.mf_gz { 367 background-image: url(images/fileicons/gz.png); 368} 369a.mf_csv { 370 background-image: url(images/fileicons/csv.png); 371} 372a.mf_gif { 373 background-image: url(images/fileicons/gif.png); 374} 375 376a.mf_png { 377 background-image: url(images/fileicons/png.png); 378} 379 380a.mf_txt { 381 background-image: url(images/fileicons/txt.png); 382} 383a.mf_tar { 384 background-image: url(images/fileicons/tar.png); 385} 386a.mf_jpg { 387 background-image: url(images/fileicons/jpg.png); 388} 389 390a.mf_xml { 391 background-image: url(images/fileicons/xml.png); 392} 393a.mf_c { 394 background-image: url(images/fileicons/c.png); 395} 396a.mf_ppt { 397 background-image: url(images/fileicons/ppt.png); 398} 399a.mf_conf { 400 background-image: url(images/fileicons/conf.png); 401} 402 403a.mf_xls { 404 background-image: url(images/fileicons/xls.png); 405} 406a.mf_doc { 407 background-image: url(images/fileicons/doc.png); 408} 409 410a.mf_php { 411 background-image: url(images/fileicons/php.png); 412} 413a.mf_cs { 414 background-image: url(images/fileicons/cs.png); 415} 416a.mf_pdf { 417 background-image: url(images/fileicons/pdf.png); 418} 419 420a.mf_odc { 421 background-image: url(images/fileicons/odg.png); 422} 423a.mf_cpp { 424 background-image: url(images/fileicons/cpp.png); 425} 426a.mf_sql { 427 background-image: url(images/fileicons/sql.png); 428} 429 430a.mf_bz2 { 431 background-image: url(images/fileicons/bz2.png); 432} 433 434a.mf_zip { 435 background-image: url(images/fileicons/zip.png); 436} 437a.mf_deb { 438 background-image: url(images/fileicons/deb.png); 439} 440a.mf_jpeg { 441 background-image: url(images/fileicons/jpeg.png); 442} 443a.mf_odg { 444 background-image: url(images/fileicons/odg.png); 445} 446a.mf_py { 447 background-image: url(images/fileicons/py.png); 448} 449a.mf_js { 450 background-image: url(images/fileicons/js.png); 451} 452a.mf_java { 453 background-image: url(images/fileicons/java.png); 454} 455a.mf_htm { 456 background-image: url(images/fileicons/htm.png); 457} 458 459a.mf_odt { 460 background-image: url(images/fileicons/odt.png); 461} 462a.mf_rtf { 463 background-image: url(images/fileicons/rtf.png); 464} 465a.mf_odf { 466 background-image: url(images/fileicons/odg.png); 467} 468a.mf_css { 469 background-image: url(images/fileicons/css.png); 470} 471a.mf_docx { 472 background-image: url(images/fileicons/docx.png); 473} 474a.mf_xlsx { 475 background-image: url(images/fileicons/xlsx.png); 476} 477a.mf_odp { 478 background-image: url(images/fileicons/odg.png); 479} 480a.mf_rar { 481 background-image: url(images/fileicons/rar.png); 482} 483a.mf_tgz { 484 background-image: url(images/fileicons/tgz.png); 485} 486a.mf_7z { 487 background-image: url(images/fileicons/7z.png); 488} 489a.mf_html { 490 background-image: url(images/fileicons/html.png); 491} 492a.mf_pl { 493 background-image: url(images/fileicons/pl.png); 494} 495a.mf_rpm { 496 background-image: url(images/fileicons/rpm.png); 497} 498a.mf_ps { 499 background-image: url(images/fileicons/ps.png); 500} 501 502a.mf_swf { 503 background-image: url(images/fileicons/swf.png); 504} 505 506a.mf_epub { 507 background-image: url(images/fileicons/epub.png); 508} 509 510a.interwiki { 511 background: url(images/fileicons/wp.gif) no-repeat scroll 0 1px transparent; 512 padding-bottom: 1px; 513 padding-left: 18px; 514 color: #436976 !important; 515 text-decoration: none !important; 516} 517 518