view release on metacpan or search on metacpan
cp/codepress/codepress.css view on Meta::CPAN
body {
margin-top:13px;
_margin-top:14px;
background:white;
margin-left:32px;
font-family:monospace;
font-size:13px;
white-space:pre;
background-image:url("images/line-numbers.png");
background-repeat:repeat-y;
background-position:0 3px;
line-height:16px;
height:100%;
}
pre {margin:0;}
html>body{background-position:0 2px;}
P {margin:0;padding:0;border:0;outline:0;display:block;white-space:pre;}
b, i, s, u, a, em, tt, ins, big, cite, strong, var, dfn {text-decoration:none;font-weight:normal;font-style:normal;font-size:13px;}
body.hide-line-numbers {background:white;margin-left:16px;}
body.show-line-numbers {background-image:url("images/line-numbers.png");margin-left:32px;}
cp/codepress/index.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>CodePress - Real Time Syntax Highlighting Editor written in JavaScript</title>
<style>
body {color:#000;background-color:white;font:15px georgia, "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif; letter-spacing:0.01em;margin:15px;}
p {margin:0 0 15px 0;}
a,a:visited {color:#7f0055;}
select {background:#ffffe1;}
button {margin-top:5px;}
button.actions {width:171px;font-family:arial;}
h1 {color:#7f0055;margin:0;padding:0;font-size:42px;font-weight:normal;}
h1 a {text-decoration:none;}
h2 {margin:0;}
h2 a {text-decoration:none;font-weight:normal;font-size:22px;color:black !important;}
h3 {font-size:20px;font-weight:normal;padding:0;margin:25px 0 5px 0;color:#7f0055;font-weight:bold;border-bottom:2px dotted #d8d8d8;}
h4 {font-size:18px;font-weight:normal;z-index:0;}
code {color:#0080c0;font-size:13px;font-weight:bold;}
ol, ul {padding:5px 0 5px 25px;margin:0;}
ol li, ul li {margin:8px 0 8px 0;}
#logo {text-align:center;background-color:#d6d6d6;padding:10px;-moz-border-radius:5px;border:1px solid silver;}
#container {width:700px;margin:20px auto;padding:25px;border:3px solid #d9d9d9;-moz-border-radius:10px;background:#f8f8f8;}
#languages {margin:5px 0;}
#menu {width:100%;background:#7f0055;-moz-border-radius:4px;}
#menu a {font:bold 17px georgia;color:white;padding:4px;display:block;border-left:1px solid white;text-align:center;text-decoration:none;}
#menu a:hover {background:#b9669e;}
.hidden-code {display:none;}
.copycode {border:1px dotted gray;padding:10px;background:white;font-family:monospace;color:gray}
</style>
</head>
<body>
<div id="container">
<div id="logo">
<h1><a href="http://codepress.org/">CodePress</a></h1>
<h2><a href="http://codepress.org/">Online Real Time Syntax Highlighting Editor</a></h2>
cp/codepress/index.html view on Meta::CPAN
</body>
</html>
</textarea>
<textarea id="cp-css" class="hidden-code">
/* CSS comment */
body {
color:#000;
background-color:white;
font:15px Georgia, "Lucida Grande", Arial, sans-serif;
letter-spacing:0.01em;
margin:15px;
}
p {
margin:0 0 15px 0;
}
a,a:visited {
color:#7f0055;
}
select {
background:#ffffe1;
}
h1 {
color:#7f0055;
margin:0;
padding:0;
font-size:42px;
}
</textarea>
<script src="codepress.js" type="text/javascript"></script>
</body>
</html>
cp/codepress/languages/asp.css view on Meta::CPAN
* By Martin D. Kirk
*/
/* tags */
b {
color:#000080;
}
/* comments */
big, big b, big em, big ins, big s, strong i, strong i b, strong i s, strong i u, strong i a, strong i a u, strong i s u {
color:gray;
font-weight:normal;
}
/* ASP comments */
strong dfn, strong dfn a,strong dfn var, strong dfn a u, strong dfn u{
color:gray;
font-weight:normal;
}
/* attributes */
s, s b, span s u, span s cite, strong span s {
color:#5656fa ;
font-weight:normal;
}
/* strings */
strong s,strong s b, strong s u, strong s cite {
color:#009900;
font-weight:normal;
}
strong ins{
color:#000000;
font-weight:bold;
}
/* Syntax */
strong a, strong a u {
color:#0000FF;
font-weight:;
}
/* Native Keywords */
strong u {
color:#990099;
font-weight:bold;
}
/* Numbers */
strong var{
color:#FF0000;
}
/* ASP Language */
span{
color:#990000;
font-weight:bold;
}
strong i,strong a i, strong u i {
color:#009999;
}
/* style */
em {
color:#800080;
font-style:normal;
}
/* script */
ins {
color:#800000;
font-weight:bold;
}
/* <?php and ?> */
cite, s cite {
color:red;
font-weight:bold;
}
cp/codepress/languages/autoit.css view on Meta::CPAN
/**
* CodePress color styles for AutoIt syntax highlighting
*/
u {font-style:normal;color:#000090;font-weight:bold;font-family:Monospace;}
var {color:#AA0000;font-weight:bold;font-style:normal;}
em {color:#FF33FF;}
ins {color:#AC00A9;}
i {color:#F000FF;}
b {color:#FF0000;}
a {color:#0080FF;font-weight:bold;}
s, s u, s b {color:#9999CC;font-weight:normal;}
cite, cite *{color:#009933;font-weight:normal;}
cp/codepress/languages/csharp.css view on Meta::CPAN
/*
* CodePress color styles for Java syntax highlighting
* By Edwin de Jonge
*/
b {color:#7F0055;font-weight:bold;font-style:normal;} /* reserved words */
a {color:#2A0088;font-weight:bold;font-style:normal;} /* types */
i, i b, i s {color:#3F7F5F;font-weight:bold;} /* comments */
s, s b {color:#2A00FF;font-weight:normal;} /* strings */
cp/codepress/languages/generic.css view on Meta::CPAN
/*
* CodePress color styles for generic syntax highlighting
*/
b {color:#7F0055;font-weight:bold;} /* reserved words */
u {color:darkblue;font-weight:bold;} /* special words */
i, i b, i s, i u, i em {color:green;font-weight:normal;} /* comments */
s, s b, s em {color:#2A00FF;font-weight:normal;} /* strings */
em {font-weight:bold;} /* special chars */
cp/codepress/languages/html.css view on Meta::CPAN
*/
b {color:#000080;} /* tags */
ins, ins b, ins s, ins em {color:gray;} /* comments */
s, s b {color:#7777e4;} /* attribute values */
a {color:green;} /* links */
u {color:#E67300;} /* forms */
big {color:#db0000;} /* images */
em, em b {color:#800080;} /* style */
strong {color:#800000;} /* script */
tt i {color:darkblue;font-weight:bold;} /* script reserved words */
cp/codepress/languages/java.css view on Meta::CPAN
/*
* CodePress color styles for Java syntax highlighting
*/
b {color:#7F0055;font-weight:bold;font-style:normal;} /* reserved words */
i, i b, i s {color:#3F7F5F;font-weight:bold;} /* comments */
s, s b {color:#2A00FF;font-weight:normal;} /* strings */
cp/codepress/languages/javascript.css view on Meta::CPAN
/*
* CodePress color styles for JavaScript syntax highlighting
*/
b {color:#7F0055;font-weight:bold;} /* reserved words */
u {color:darkblue;font-weight:bold;} /* special words */
i, i b, i s, i u {color:green;font-weight:normal;} /* comments */
s, s b, s u {color:#2A00FF;font-weight:normal;} /* strings */
cp/codepress/languages/perl.css view on Meta::CPAN
/*
* CodePress color styles for Perl syntax highlighting
* By J. Nick Koston
*/
b {color:#7F0055;font-weight:bold;} /* reserved words */
i, i b, i s, i em, i a, i u {color:gray;font-weight:normal;} /* comments */
s, s b, s a, s em, s u {color:#2A00FF;font-weight:normal;} /* strings */
a {color:#006700;font-weight:bold;} /* variables */
em {color:darkblue;font-weight:bold;} /* functions */
u {font-weight:bold;} /* special chars */
cp/codepress/languages/php.css view on Meta::CPAN
/*
* CodePress color styles for PHP syntax highlighting
*/
b {color:#000080;} /* tags */
big, big b, big em, big ins, big s, strong i, strong i b, strong i s, strong i u, strong i a, strong i a u, strong i s u {color:gray;font-weight:normal;} /* comments */
s, s b, strong s u, strong s cite {color:#5656fa;font-weight:normal;} /* attributes and strings */
strong a, strong a u {color:#006700;font-weight:bold;} /* variables */
em {color:#800080;font-style:normal;} /* style */
ins {color:#800000;} /* script */
strong u {color:#7F0055;font-weight:bold;} /* reserved words */
cite, s cite {color:red;font-weight:bold;} /* <?php and ?> */
cp/codepress/languages/ruby.css view on Meta::CPAN
/*
* CodePress color styles for Ruby syntax highlighting
*/
b {color:#7F0055;font-weight:bold;} /* reserved words */
i, i b, i s, i em, i a, i u {color:gray;font-weight:normal;} /* comments */
s, s b, s a, s em, s u {color:#2A00FF;font-weight:normal;} /* strings */
a {color:#006700;font-weight:bold;} /* variables */
em {color:darkblue;font-weight:bold;} /* functions */
u {font-weight:bold;} /* special chars */
cp/codepress/languages/sql.css view on Meta::CPAN
/*
* CodePress color styles for SQL syntax highlighting
* By Merlin Moncure
*/
b {color:#0000FF;font-style:normal;font-weight:bold;} /* reserved words */
u {color:#FF0000;font-style:normal;} /* types */
a {color:#CD6600;font-style:normal;font-weight:bold;} /* commands */
i, i b, i u, i a, i s {color:#A9A9A9;font-weight:normal;font-style:italic;} /* comments */
s, s b, s u, s a, s i {color:#2A00FF;font-weight:normal;} /* strings */
cp/codepress/languages/vbscript.css view on Meta::CPAN
* By Martin D. Kirk
*/
/* tags */
b {
color:#000080;
}
/* comments */
big, big b, big em, big ins, big s, strong i, strong i b, strong i s, strong i u, strong i a, strong i a u, strong i s u {
color:gray;
font-weight:normal;
}
/* ASP comments */
strong dfn, strong dfn a,strong dfn var, strong dfn a u, strong dfn u{
color:gray;
font-weight:normal;
}
/* attributes */
s, s b, span s u, span s cite, strong span s {
color:#5656fa ;
font-weight:normal;
}
/* strings */
strong s,strong s b, strong s u, strong s cite {
color:#009900;
font-weight:normal;
}
strong ins{
color:#000000;
font-weight:bold;
}
/* Syntax */
strong a, strong a u {
color:#0000FF;
font-weight:;
}
/* Native Keywords */
strong u {
color:#990099;
font-weight:bold;
}
/* Numbers */
strong var{
color:#FF0000;
}
/* ASP Language */
span{
color:#990000;
font-weight:bold;
}
strong i,strong a i, strong u i {
color:#009999;
}
/* style */
em {
color:#800080;
font-style:normal;
}
/* script */
ins {
color:#800000;
font-weight:bold;
}
/* <?php and ?> */
cite, s cite {
color:red;
font-weight:bold;
}
cp/codepress/languages/xsl.css view on Meta::CPAN
*/
b {color:#000080;} /* tags */
ins, ins b, ins s, ins em {color:gray;} /* comments */
s, s b {color:#7777e4;} /* attribute values */
a {color:#E67300;} /* links */
u {color:#CC66CC;} /* forms */
big {color:#db0000;} /* images */
em, em b {color:#800080;} /* style */
strong {color:#800000;} /* script */
tt i {color:darkblue;font-weight:bold;} /* script reserved words */
xsl {color:green;} /* xsl */