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