Skip to content

Commit

Permalink
change font-family. same as github
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Jun 17, 2012
1 parent 939e76b commit 71870d9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
13 changes: 7 additions & 6 deletions src/main/webapp/resource/sh_style.css
Expand Up @@ -3,14 +3,15 @@ pre.sh_sourceCode {
color: black;
font-style: normal;
font-weight: normal;
font-family: Consolas, Menlo, 'Liberation Mono', Courier, monospace;
}

pre.sh_sourceCode .sh_keyword { color: blue; font-weight: bold; } /* language keywords */
pre.sh_sourceCode .sh_type { color: darkgreen; } /* basic types */
pre.sh_sourceCode .sh_usertype { color: teal; } /* user defined types */
pre.sh_sourceCode .sh_string { color: red; font-family: monospace; } /* strings and chars */
pre.sh_sourceCode .sh_regexp { color: orange; font-family: monospace; } /* regular expressions */
pre.sh_sourceCode .sh_specialchar { color: pink; font-family: monospace; } /* e.g., \n, \t, \\ */
pre.sh_sourceCode .sh_string { color: red; } /* strings and chars */
pre.sh_sourceCode .sh_regexp { color: orange; } /* regular expressions */
pre.sh_sourceCode .sh_specialchar { color: pink; } /* e.g., \n, \t, \\ */
pre.sh_sourceCode .sh_comment { color: brown; font-style: italic; } /* comments */
pre.sh_sourceCode .sh_number { color: purple; } /* literal numbers */
pre.sh_sourceCode .sh_preproc { color: darkblue; font-weight: bold; } /* e.g., #include, import */
Expand All @@ -27,10 +28,10 @@ pre.sh_sourceCode .sh_predef_func { color: darkblue; font-weight: bold; }
pre.sh_sourceCode .sh_classname { color: teal; }

/* line numbers (not yet implemented) */
pre.sh_sourceCode .sh_linenum { color: black; font-family: monospace; }
pre.sh_sourceCode .sh_linenum { color: black; }

/* Internet related */
pre.sh_sourceCode .sh_url { color: blue; text-decoration: underline; font-family: monospace; }
pre.sh_sourceCode .sh_url { color: blue; text-decoration: underline; }

/* for ChangeLog and Log files */
pre.sh_sourceCode .sh_date { color: blue; font-weight: bold; }
Expand All @@ -44,7 +45,7 @@ pre.sh_sourceCode .sh_variable { color: darkgreen; }
pre.sh_sourceCode .sh_italics { color: darkgreen; font-style: italic; }
pre.sh_sourceCode .sh_bold { color: darkgreen; font-weight: bold; }
pre.sh_sourceCode .sh_underline { color: darkgreen; text-decoration: underline; }
pre.sh_sourceCode .sh_fixed { color: green; font-family: monospace; }
pre.sh_sourceCode .sh_fixed { color: green; }
pre.sh_sourceCode .sh_argument { color: darkgreen; }
pre.sh_sourceCode .sh_optionalargument { color: purple; }
pre.sh_sourceCode .sh_math { color: orange; }
Expand Down
16 changes: 8 additions & 8 deletions src/main/webapp/resource/template.css
Expand Up @@ -106,7 +106,7 @@ a[href]:hover {
font-size: 24pt;
text-shadow: black 0px 2px 0px;
/* text-shadow: black 0px 0px 0px;*/
text-decoration: none;
text-decoration: none;
}

#definition #owner {
Expand Down Expand Up @@ -162,7 +162,7 @@ text-decoration: none;
padding-left: 15px;
background: url("arrow-right.png") no-repeat 0 3px transparent;
}

.toggleContainer.open .toggle {
background: url("arrow-down.png") no-repeat 0 3px transparent;
}
Expand Down Expand Up @@ -389,7 +389,7 @@ div.members > ol > li:last-child {
background-color: #eee;
margin: 5px 0;
display: block;
font-family: monospace;
font-family: Consolas, Menlo, 'Liberation Mono', Courier, monospace;
}

.cmt pre span.ano {
Expand Down Expand Up @@ -515,7 +515,7 @@ div.fullcommenttop .block {
margin-bottom: 5px
}

div.fullcomment div.block ol li p,
div.fullcomment div.block ol li p,
div.fullcomment div.block ol li {
display:inline
}
Expand Down Expand Up @@ -661,7 +661,7 @@ div.fullcomment dl.paramcmts > dd {

#mbrsel > div > ol > li {
/* padding: 3px 10px;*/
line-height: 16pt;
line-height: 16pt;
display: inline-block;
cursor: pointer;
}
Expand Down Expand Up @@ -715,10 +715,10 @@ div.fullcomment dl.paramcmts > dd {
#mbrsel .showall {
color: #4C4C4C;
line-height: 16px;
font-weight: bold;
font-weight: bold;
}
#mbrsel .showall span {
color: #4C4C4C;
font-weight: bold;
}*/
font-weight: bold;
}*/

0 comments on commit 71870d9

Please sign in to comment.