MediaWiki:Geshi.css — различия между версиями
Материал из Umicms
Ver (обсуждение | вклад) |
Ver (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
/* CSS-код, размещённый здесь, будет применён для подсветки синтаксиса GeSHI */ | /* CSS-код, размещённый здесь, будет применён для подсветки синтаксиса GeSHI */ | ||
− | .source-html4strict { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | { | ||
padding: 1em; | padding: 1em; | ||
margin:1em 0; | margin:1em 0; | ||
Строка 8: | Строка 13: | ||
/********* html4strict ***/ | /********* html4strict ***/ | ||
/* text */ | /* text */ | ||
− | .source-html4strict, .source-php, .source-css .de1 { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | de1 { | ||
font-size: 120%; | font-size: 120%; | ||
} | } | ||
/* "string" */ | /* "string" */ | ||
− | .source-html4strict, .source-php, .source-css .st0 { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .st0 { | ||
color: #4497e5; | color: #4497e5; | ||
font-size: 120%; | font-size: 120%; | ||
Строка 19: | Строка 34: | ||
/* keyword 1 */ | /* keyword 1 */ | ||
− | .source-html4strict, .source-php, .source-css .kw1 { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .kw1 { | ||
font-size: 120%; | font-size: 120%; | ||
font-weight: bold; | font-weight: bold; | ||
Строка 25: | Строка 45: | ||
/* keyword 2 */ | /* keyword 2 */ | ||
− | .source-html4strict, .source-php, .source-css .kw2 { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .kw2 { | ||
color: #00008e; | color: #00008e; | ||
font-weight: bold; | font-weight: bold; | ||
Строка 32: | Строка 57: | ||
/* keyword 3 */ | /* keyword 3 */ | ||
− | .source-html4strict, .source-php, .source-css .kw3 { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .kw3 { | ||
color: #0000ae; | color: #0000ae; | ||
font-weight: bold; | font-weight: bold; | ||
Строка 39: | Строка 69: | ||
/* */ | /* */ | ||
− | .source-html4strict, .source-php, .source-css . | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .re0 { | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 120%; | font-size: 120%; | ||
Строка 45: | Строка 80: | ||
/* */ | /* */ | ||
− | .source-html4strict, .source-php, .source-css .re3 { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .re1 { | ||
+ | font-weight: bold; | ||
+ | font-size: 120%; | ||
+ | } | ||
+ | |||
+ | /* */ | ||
+ | .source-html4strict, | ||
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .re3 { | ||
font-size: 120%; | font-size: 120%; | ||
} | } | ||
− | .source-html4strict, .source-php, .source-css .sy0 { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .sy0 { | ||
font-weight: 120%; | font-weight: 120%; | ||
} | } | ||
/* comment */ | /* comment */ | ||
− | .source-html4strict, .source-php, .source-css .coMULTI { | + | .source-html4strict, |
+ | .source-php, | ||
+ | .source-css, | ||
+ | .source-javascript, | ||
+ | .source-apache | ||
+ | .coMULTI { | ||
font-size: 120%; | font-size: 120%; | ||
color: #8080a0; | color: #8080a0; | ||
} | } |
Версия 12:38, 2 марта 2010
/* CSS-код, размещённый здесь, будет применён для подсветки синтаксиса GeSHI */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
{
padding: 1em;
margin:1em 0;
border: 1px dotted #2fab6f;
}
/********* html4strict ***/
/* text */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
de1 {
font-size: 120%;
}
/* "string" */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.st0 {
color: #4497e5;
font-size: 120%;
}
/* keyword 1 */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.kw1 {
font-size: 120%;
font-weight: bold;
}
/* keyword 2 */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.kw2 {
color: #00008e;
font-weight: bold;
font-size: 120%;
}
/* keyword 3 */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.kw3 {
color: #0000ae;
font-weight: bold;
font-size: 120%;
}
/* */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.re0 {
font-weight: bold;
font-size: 120%;
}
/* */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.re1 {
font-weight: bold;
font-size: 120%;
}
/* */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.re3 {
font-size: 120%;
}
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.sy0 {
font-weight: 120%;
}
/* comment */
.source-html4strict,
.source-php,
.source-css,
.source-javascript,
.source-apache
.coMULTI {
font-size: 120%;
color: #8080a0;
}