184 lines
3.5 KiB
CSS
184 lines
3.5 KiB
CSS
|
/**
|
||
|
* SyntaxHighlighter
|
||
|
* http://alexgorbatchev.com/
|
||
|
*
|
||
|
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||
|
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||
|
*
|
||
|
* @version
|
||
|
* 2.1.364 (October 15 2009)
|
||
|
*
|
||
|
* @copyright
|
||
|
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||
|
*
|
||
|
* @license
|
||
|
* This file is part of SyntaxHighlighter.
|
||
|
*
|
||
|
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU Lesser General Public License as published by
|
||
|
* the Free Software Foundation, either version 3 of the License, or
|
||
|
* (at your option) any later version.
|
||
|
*
|
||
|
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License
|
||
|
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||
|
*/
|
||
|
/************************************
|
||
|
* Default Syntax Highlighter theme.
|
||
|
*
|
||
|
* Interface elements.
|
||
|
************************************/
|
||
|
|
||
|
.syntaxhighlighter
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter
|
||
|
{
|
||
|
width: 100% !important;
|
||
|
margin: 0 !important;
|
||
|
padding: 1px !important; /* adds a little border on top and bottom */
|
||
|
position: relative !important;
|
||
|
/*background-color: #fff !important;*/
|
||
|
}
|
||
|
|
||
|
/* Highlighed line number */
|
||
|
.syntaxhighlighter .line.highlighted .number
|
||
|
{
|
||
|
color: black !important;
|
||
|
}
|
||
|
|
||
|
/* Highlighed line */
|
||
|
.syntaxhighlighter .line.highlighted.alt1,
|
||
|
.syntaxhighlighter .line.highlighted.alt2
|
||
|
{
|
||
|
background-color: #e0e0e0 !important;
|
||
|
}
|
||
|
|
||
|
/* Gutter line numbers */
|
||
|
.syntaxhighlighter .line .number
|
||
|
{
|
||
|
color: #afafaf !important;
|
||
|
}
|
||
|
|
||
|
/* Add border to the lines */
|
||
|
.syntaxhighlighter .line .content
|
||
|
{
|
||
|
border-left: none !important;
|
||
|
padding-left: 0 !important;
|
||
|
color: #000 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter.printing .line .content
|
||
|
{
|
||
|
border: 0 !important;
|
||
|
}
|
||
|
|
||
|
/* First line */
|
||
|
.syntaxhighlighter .line.alt1
|
||
|
{
|
||
|
/*background-color: #fff !important;*/
|
||
|
}
|
||
|
|
||
|
/* Second line */
|
||
|
.syntaxhighlighter .line.alt2
|
||
|
{
|
||
|
/*background-color: #F8F8F8 !important;*/
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .toolbar
|
||
|
{
|
||
|
background-color: #F8F8F8 !important;
|
||
|
border: #E7E5DC solid 1px !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .toolbar a
|
||
|
{
|
||
|
color: #a0a0a0 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .toolbar a:hover
|
||
|
{
|
||
|
color: red !important;
|
||
|
}
|
||
|
|
||
|
/************************************
|
||
|
* Actual syntax highlighter colors.
|
||
|
************************************/
|
||
|
.syntaxhighlighter .plain,
|
||
|
.syntaxhighlighter .plain a
|
||
|
{
|
||
|
color: #000 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .comments,
|
||
|
.syntaxhighlighter .comments a
|
||
|
{
|
||
|
color: #008200 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .string,
|
||
|
.syntaxhighlighter .string a
|
||
|
{
|
||
|
color: blue !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .keyword
|
||
|
{
|
||
|
color: #069 !important;
|
||
|
font-weight: bold !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .preprocessor
|
||
|
{
|
||
|
color: gray !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .variable
|
||
|
{
|
||
|
color: #a70 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .value
|
||
|
{
|
||
|
color: #090 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .functions
|
||
|
{
|
||
|
color: #ff1493 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .constants
|
||
|
{
|
||
|
color: #0066CC !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .script
|
||
|
{
|
||
|
background-color: yellow !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .color1,
|
||
|
.syntaxhighlighter .color1 a
|
||
|
{
|
||
|
color: #808080 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .color2,
|
||
|
.syntaxhighlighter .color2 a
|
||
|
{
|
||
|
color: #ff1493 !important;
|
||
|
}
|
||
|
|
||
|
.syntaxhighlighter .color3,
|
||
|
.syntaxhighlighter .color3 a
|
||
|
{
|
||
|
color: red !important;
|
||
|
}
|