This commit is contained in:
hyung-hwan 2007-12-13 03:45:15 +00:00
parent 7dcad2a92b
commit 1bc7964e2a
3 changed files with 36 additions and 54 deletions

View File

@ -26,55 +26,16 @@ h3 { font-size: 110%; padding-left: 10px; }
h4 { font-size: 105%; padding-left: 15px; }
h5 { font-size: 100%; padding-left: 20px; }
.header
{
font-family: verdana, tahoma;
font-size: 120%;
font-weight: bold;
#padding-right: 20px;
text-decoration: none;
border-bottom: 1px solid black;
}
.footer
{
font-family: "times new roman", tahoma;
font-size: 14px;
#padding-right: 20px;
text-decoration: none;
text-align: right;
border-top: 1px solid black;
}
.contents
{
font-family: "times new roman", tahoma;
font-size: 95%;
}
.maintext
{
font-size: 90%;
#color: #555555;
color: black;
padding-left: 20px;
padding-right: 20px;
line-height: 1.3;
text-align: justify;
}
pre.code
pre.ase
{
font-family: "Courier New", "Lucida TypeWriter", monotype, fixed;
font-size: 80%;
font-size: 85%;
padding: 6px 6px 6px 6px;
xbackground-color: #000000;
xcolor: #FFD700;
#border: 1px dashed #779098;
#border: 1px solid #779098;
border: none;
color: white;
background-color: black;
color: #000000;
background: #DBE2F1;
}
.linenum
@ -82,5 +43,24 @@ pre.code
font-weight: bold;
}
table.ase {
border-spacing: 0px;
border-collapse: collapse;
font-size: 90%;
}
table.ase th {
font-weight: bold;
padding: 0.1em 0.5em;
border-bottom: 2px solid #FFFFFF;
background: #687EAB;
color: #FFFFFF;
text-align: center;
}
table.ase td {
text-align: right;
border-bottom: 2px solid #FFFFFF;
padding: 0.1em 0.5em;
background: #DBE2F1;
vertical-align: top;
}

View File

@ -135,14 +135,16 @@ Language Difference
! REMARKS
|-
| Statement terminator Semicolon
| n/a
| n/a
|-
| function abc()
this is very nice hello world...
| function abc ()
|
| n/a
|---------------------------------------
| return in BEGIN or END
|
|
|}}

View File

@ -152,7 +152,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
print "</p>";
para_started = 0;
}
print "<pre class='code'>";
print "<pre class='ase'>";
mode = 1;
}
else if (/^\[\[\[$/) # [[[
@ -185,7 +185,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
para_started = 0;
}
print "<table border=1>";
print "<table class='ase'>";
mode = 4;
table_row_count = 0;
}
@ -288,7 +288,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
if (table_row_line_count > 0)
print ((table_in_th)? "</th>": "</td>");
if (table_row_count > 0) print "</tr>";
print "<tr>";
print "<tr class='ase'>";
table_row_count++;
table_row_line_count = 0;
}
@ -296,7 +296,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
{
if (table_row_line_count > 0)
print ((table_in_th)? "</th>": "</td>");
print "<th>";
print "<th class='ase'>";
print "&nbsp;";
table_in_th = 1;
table_row_line_count++;
@ -305,7 +305,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
{
if (table_row_line_count > 0)
print ((table_in_th)? "</th>": "</td>");
print "<th>";
print "<th class='ase'>";
print_text (substr ($0, 3, length($0)-2));
table_in_th = 1;
table_row_line_count++;
@ -314,7 +314,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
{
if (table_row_line_count > 0)
print ((table_in_th)? "</th>": "</td>");
print "<td>";
print "<td class='ase'>";
print "&nbsp;";
table_in_th = 0;
table_row_line_count++;
@ -323,7 +323,7 @@ header && !/^\.[[:alpha:]]+[[:space:]]/ {
{
if (table_row_line_count > 0)
print ((table_in_th)? "</th>": "</td>");
print "<td>";
print "<td class='ase'>";
print_text (substr ($0, 3, length($0)-2));
table_in_th = 0;
table_row_line_count++;