MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
KVentz (обсуждение | вклад) |
KVentz (обсуждение | вклад) |
||
(не показано 11 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
/* | /** Размещённый здесь CSS будет применяться ко всем темам оформления */ | ||
. | /** | ||
. | * Styling for links generated by [[MediaWiki:Edittools]] | ||
* @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling | |||
* @updated 2012-02-29 | |||
*/ | |||
.mw-charinsert-buttons { | |||
margin-top: 10px; | |||
border: 1px solid #aaaaaa; | |||
padding: 1px 3px 1px 3px; | |||
text-align: center; | |||
font-size: 110%; | |||
} | |||
.mw-charinsert-buttons a { | |||
color: black; | color: black; | ||
background-color: # | background-color: #cde !important; | ||
font-weight: normal; | font-weight: normal; | ||
font-size: | font-size: .9em; | ||
text-decoration: none; | text-decoration: none; | ||
border: thin # | border: thin #069 outset; | ||
padding: | padding: 0 .1em .1em; | ||
} | } | ||
. | .mw-charinsert-buttons a:hover, | ||
background-color: # | .mw-charinsert-buttons a:active { | ||
background-color: #bcd; | |||
border-style: inset; | border-style: inset; | ||
} | |||
.client-js .mw-edittools-section { | |||
display: inline; | |||
} | |||
.client-js .mw-edittools-section input[type="button"] { | |||
font-size: 0.9em; | |||
padding-left: 1px; | |||
padding-right: 1px; | |||
margin-left: 1px; | |||
} | } | ||
Строка 188: | Строка 209: | ||
*/ | */ | ||
.sp-wrap | .sp-wrap { margin: 8px auto; width: 97%; clear: both; background: #E9E9E6; } | ||
.code-wrap | .code-wrap { margin: 2px auto 8px; } | ||
.sp-wrap .sp-wrap { width: 98%; margin: 4px auto; } | .sp-wrap .sp-wrap { width: 98%; margin: 4px auto; } | ||
.sp-head-wrap, .sp-body { padding: 1px 6px 2px; border: solid #C3CBD1; border-width: 1px 1px 1px 2px; clear: both; } | .sp-head-wrap, .sp-body { padding: 1px 6px 2px; border: solid #C3CBD1; border-width: 1px 1px 1px 2px; clear: both; } | ||
Строка 199: | Строка 220: | ||
.folded { display: block; | .folded { display: block; | ||
background: transparent url(// | background: transparent url(//www.nashtransport.ru/uploads/legacy/icon_plus_1.gif) no-repeat left center; padding-left: 14px; } | ||
.unfolded { display: block; | .unfolded { display: block; | ||
background: transparent url(// | background: transparent url(//www.nashtransport.ru/uploads/legacy/icon_minus_1.gif) no-repeat left center; padding-left: 14px; } | ||
.clear { clear: both; height: 0; font-size: 0px; line-height: 0px; overflow: hidden; } | .clear { clear: both; height: 0; font-size: 0px; line-height: 0px; overflow: hidden; } | ||
Строка 214: | Строка 235: | ||
.spoilertop{ background: #E4EAF2 url(// | .spoilertop{ background: #E4EAF2 url(//www.nashtransport.ru/uploads/legacy/css_img_spoiler.gif) no-repeat right; border: 1px dotted #000; color: #000; width: 90%; font-weight: bold; font-size: 10px; margin: 8px auto 0 auto; padding: 4px; } .spoilermain{ background: #FAFCFE; border: 1px dotted #000; border-top: 0; color: #465584; width: 90%; padding: 4px; margin: 0 auto 8px auto; } .quotetop{ background: #E4EAF2 url(//www.nashtransport.ru/uploads/legacy/css_img_quote.gif) no-repeat right; border: 1px dotted #000; border-bottom: 0; border-left: 4px solid #8394B2; color: #000; font-weight: bold; font-size: 10px; margin: 8px auto 0 auto; padding: 3px; } .quotemain{ background: #FAFCFE; border: 1px dotted #000; border-left: 4px solid #8394B2; border-top: 0; color: #465584; padding: 4px; margin: 0 auto 8px auto; } .codetop, .sqltop, .htmltop{ background: #FDDBCC url(//www.nashtransport.ru/uploads/legacy/css_img_code.gif) no-repeat right; color: #000; font-weight: bold; margin: 0 auto 0 auto; padding: 3px; width: 98%; } .codemain, .sqlmain, .htmlmain{ background: #FAFCFE; border: 1px dotted #000; color: #465584; font-family: Courier, Courier New, Verdana, Arial; margin: 0 auto 0 auto; padding: 2px; width: 98%; } .textmain{ font-family: Courier, Courier New, Verdana, Arial; } | ||
/*topic list tag*/ | /*topic list tag*/ | ||
#topiclist_wrapper{ | #topiclist_wrapper{ | ||
Строка 243: | Строка 264: | ||
} | } | ||
.ipbtable th { | .ipbtable th { | ||
background: transparent url(// | background: transparent url(//www.nashtransport.ru/uploads/legacy/tile_sub.gif); | ||
border-bottom: 1px solid #5176B5; | border-bottom: 1px solid #5176B5; | ||
color: #3A4F6C; | color: #3A4F6C; | ||
Строка 414: | Строка 435: | ||
.maintitlecollapse | .maintitlecollapse | ||
{ | { | ||
background: url(// | background: url(//www.nashtransport.ru/uploads/legacy/tile_cat.gif); | ||
border: 1px solid #FFF; | border: 1px solid #FFF; | ||
border-bottom: 1px solid #5176B5; | border-bottom: 1px solid #5176B5; | ||
Строка 428: | Строка 449: | ||
.postlinksbar | .postlinksbar | ||
{ | { | ||
background: transparent url(// | background: transparent url(//www.nashtransport.ru/uploads/legacy/tile_sub.gif); | ||
border-bottom: 1px solid #5176B5; | border-bottom: 1px solid #5176B5; | ||
color: #3A4F6C; | color: #3A4F6C; | ||
Строка 510: | Строка 531: | ||
#logostrip | #logostrip | ||
{ | { | ||
background: #3860BB url(// | background: #3860BB url(//www.nashtransport.ru/uploads/legacy/tile_back.gif); | ||
border: 1px solid #FFF; | border: 1px solid #FFF; | ||
height: 68px; | height: 68px; | ||
Строка 518: | Строка 539: | ||
#logographic | #logographic | ||
{ | { | ||
background: transparent url(// | background: transparent url(//www.nashtransport.ru/uploads/legacy/logo4.gif) no-repeat left; | ||
height: 68px; | height: 68px; | ||
margin: 0; | margin: 0; | ||
Строка 525: | Строка 546: | ||
#submenu | #submenu | ||
{ | { | ||
background: transparent url(// | background: transparent url(//www.nashtransport.ru/uploads/legacy/tile_sub.gif); | ||
border: 1px solid #FFF; | border: 1px solid #FFF; | ||
border-top: 0; | border-top: 0; | ||
Строка 536: | Строка 557: | ||
.ipb-top-right-link | .ipb-top-right-link | ||
{ | { | ||
background: transparent url(// | background: transparent url(//www.nashtransport.ru/uploads/legacy/tile_sub-lite.gif); | ||
float: right; | float: right; | ||
font-size: 10px; | font-size: 10px; | ||
Строка 580: | Строка 601: | ||
background: #EEE; | background: #EEE; | ||
font-size: 11px; } | font-size: 11px; } | ||
.linescheme | |||
{ | |||
padding: 0; margin: 0; | |||
border-spacing: 0; | |||
} | |||
.linescheme td { | |||
padding: 0; | |||
margin: 0; | |||
} |
Текущая версия на 17:09, 29 марта 2023
/** Размещённый здесь CSS будет применяться ко всем темам оформления */ /** * Styling for links generated by [[MediaWiki:Edittools]] * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ .mw-charinsert-buttons { margin-top: 10px; border: 1px solid #aaaaaa; padding: 1px 3px 1px 3px; text-align: center; font-size: 110%; } .mw-charinsert-buttons a { color: black; background-color: #cde !important; font-weight: normal; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; } .mw-charinsert-buttons a:hover, .mw-charinsert-buttons a:active { background-color: #bcd; border-style: inset; } .client-js .mw-edittools-section { display: inline; } .client-js .mw-edittools-section input[type="button"] { font-size: 0.9em; padding-left: 1px; padding-right: 1px; margin-left: 1px; } /* Timeline */ table.tl_table{ border-width: thin; border-spacing: 1px; border-style: outset; border-color: black; border-collapse: separate; background-color: white; font-weight: normal; font-size: medium; -moz-border-radius: 9px; } th.tl_title{ text-align: left; border-width: 1px; padding: 1px; border-style: outset; border-color: blue; background-color: rgb(243, 248, 252); font-weight: bold; font-size: medium; -moz-border-radius: 9px; } th.tl_years{ text-align: center; font-style: italic; border-width: 1px; padding: 1px; border-style: outset; border-color: blue; background-color: rgb(243, 248, 252); font-weight: normal; font-size: medium; -moz-border-radius: 9px; } th.tl_months{ text-align: center; border-width: 0px; padding: 0px; border-style: none; border-color: blue; background-color: rgb(243, 248, 252); font-weight: normal; font-size: xx-small; -moz-border-radius: 9px; } td.tl_freetime{ background-color: rgb(187, 210, 236); border-width: 1px; border-color: black; border-style: inset; font-weight: normal; font-size: x-small; -moz-border-radius: 9px; } td.tl_event{ text-align: center; padding: 1px; background-color: rgb(61, 114, 194); border-width: 1px; border-color: white; border-style: inset; color: white; font-weight: normal; font-size: x-small; -moz-border-radius: 9px; } td.tl_foot{ text-align: center; padding: 1px; background-color: rgb(243, 248, 252); border-width: 1px; border-color: blue; border-style: ridge; color: gray; font-weight: normal; font-size: medium; -moz-border-radius: 9px; } thead.tl_header{} tbody.tl_body{} tfoot.tl_footer{} /* * ======================================== * Right floated panel * ======================================== */ /*.infobox .ibox { position: relative; width: 560px; padding: 0 20px 1px; overflow: hidden; background: #fff url(/skins/ipbvector/images/ibox_bg.gif) repeat-y 0 0; zoom: 1; } .infobox .ibox .icap { position: absolute; width: 600px; height: 6px; margin: 0 -20px; font-size: 1px; } .infobox .ibox .icap.itop { top: 0; background: url(/skins/ipbvector/images/ibox_bgtop.png) no-repeat 0 0; *margin-left: -2px; } .infobox .ibox .icap.ibottom { bottom: 0; background: url(/skins/ipbvector/images/ibox_bgbottom.png) no-repeat 0 100%; } .infobox .ibox .igradient { width: 560px; margin: 0 -18px; padding: 0 18px; overflow: hidden; background: #fff url(/skins/ipbvector/images/ibox_bggrad.gif) repeat-x 0 100%; }*/ .infobox { float: right; } .infobox .ibox { position: relative; width: 240px; margin-left: 10px; padding: 0 20px 1px; overflow: hidden; background: rgb(249, 249, 249) url(/skins/ipbvector/images/ibox_bg.gif) repeat-y 0 0; zoom: 1; } .infobox .ibox .icap { position: absolute; width: 280px; height: 6px; margin: 0 -20px; font-size: 1px; } .infobox .ibox .icap.itop { top: 0; background: url(/skins/ipbvector/images/ibox_bgtop.png) no-repeat 0 0; *margin-left: -2px; } .infobox .ibox .icap.ibottom { bottom: 0; background: url(/skins/ipbvector/images/ibox_bgbottom.png) no-repeat 0 100%; } /*.infobox .ibox .igradient { width: 240px; margin: 0 -18px; padding: 0 18px; overflow: hidden; background: #fff url(//images.apple.com/mac/home/elements/box_bggrad20090106.gif) repeat-x 0 100%; }*/ .infobox .ibox h2 { margin: 0 -18px; padding: 6px 10px 4px; color: #000000; font-weight: bold; font-size: 14px; border-bottom: 1px solid #d9d9d9; } .infobox .ibox h2 a { color: #4d4d4d; } .infobox .ibox .ih2 { margin-bottom: 0.6em; border-bottom: 1px solid rgb(217, 217, 217); font-size: 14px; font-weight: bold; margin: 0px -18px; padding: 6px 3px 4px 3px; text-align: center; /*background: url(//images.apple.com/mac/home/elements/box_header20090106.gif) repeat-x bottom left !important;*/ } .infobox .ibox .ih3 { font-weight: bold; text-align: center; } .infobox .ibox ul { _width: 100%; _position: relative; margin: 0 -10px; padding: 0 10px; _padding: 0 0 0 20px; overflow: hidden; } .infobox .ibox ul li { margin: 0 0 -1px; padding: 1.1em 0; border-bottom: 1px solid #d9d9d9; } .infobox .ibox p { margin-top: .3em; margin-bottom: 0; } .infobox .ibox img { display: block; } .infobox .ibox img.flush { margin: 0 -10px; } .infobox .ibox h3, .infobox .ibox strong { display: block; color: #000; font-size: 13px; line-height: 16px; font-weight: bold; text-align: center; } .infobox .ibox h3 a, .infobox .ibox strong a { color: #000; } .infobox .ibox h3 a:hover, .infobox .ibox strong a:hover { color: #08c; } .infobox .ibox em { font-style: normal; color: #a9a9a9 !important; } .infobox .ibox h4 { color: #aaa; font-size: 10px; font-weight: normal; } .infobox .ibox dl { margin: 12px 0px 0px 0px; font-size: smaller; } .infobox .ibox dt { font-weight: bold; } .infobox .ibox dd { text-align: left; margin: 0px 0px 12px 12px; } table.standard { border-width: 1px; background-color: #cccccc; empty-cells: show; } .standard caption { text-align: right; font-weight: bold; font-size: 112%; } .standard th { border-width: 0px; background-color: #F9F9F9; padding: 4px; text-align: center; vertical-align: middle; } .standard td { border-width: 0px; background-color: #eeeeee; padding: 4px; text-align: left; vertical-align: top; } .standard td.tc { text-align: center; vertical-align: middle; } /* * ======================================== * Tables * ======================================== */ tr.highlight th {background-color: #EEEEFF} tr.highlight td {background-color: #FFFFEE} tr.bright th {background-color: #CCCCFF} tr.bright td {background-color: #FFEECC} tr.shadow th, tr.shadow td {background-color: #F0F0F0} tr.dark th, tr.dark td {background-color: #CCCCCC} table th.highlight {background-color: #EEEEFF} table td.highlight {background-color: #FFFFEE} table th.bright {background-color: #CCCCFF} table td.bright {background-color: #FFEECC} table th.shadow, table td.shadow {background-color: #F0F0F0} table th.dark, table td.dark {background-color: #CCCCCC} table th.transparent, table td.transparent, .transparent {background-color: transparent} /* * ======================================== * Spoilers * ======================================== */ .sp-wrap { margin: 8px auto; width: 97%; clear: both; background: #E9E9E6; } .code-wrap { margin: 2px auto 8px; } .sp-wrap .sp-wrap { width: 98%; margin: 4px auto; } .sp-head-wrap, .sp-body { padding: 1px 6px 2px; border: solid #C3CBD1; border-width: 1px 1px 1px 2px; clear: both; } .sp-head-wrap { padding: 1px; } .sp-head { font-size: 11px; padding: 1px 14px 3px; margin-left: 6px; line-height: 15px; } .sp-body { display: none; font-weight: normal; background: #F5F5F5; border-top-width: 0; } .clickable { cursor: pointer; } .folded { display: block; background: transparent url(//www.nashtransport.ru/uploads/legacy/icon_plus_1.gif) no-repeat left center; padding-left: 14px; } .unfolded { display: block; background: transparent url(//www.nashtransport.ru/uploads/legacy/icon_minus_1.gif) no-repeat left center; padding-left: 14px; } .clear { clear: both; height: 0; font-size: 0px; line-height: 0px; overflow: hidden; } body.page-Заглавная_страница h1.firstHeading { display:none; } /* * ======================================== * From inline * ======================================== */ .spoilertop{ background: #E4EAF2 url(//www.nashtransport.ru/uploads/legacy/css_img_spoiler.gif) no-repeat right; border: 1px dotted #000; color: #000; width: 90%; font-weight: bold; font-size: 10px; margin: 8px auto 0 auto; padding: 4px; } .spoilermain{ background: #FAFCFE; border: 1px dotted #000; border-top: 0; color: #465584; width: 90%; padding: 4px; margin: 0 auto 8px auto; } .quotetop{ background: #E4EAF2 url(//www.nashtransport.ru/uploads/legacy/css_img_quote.gif) no-repeat right; border: 1px dotted #000; border-bottom: 0; border-left: 4px solid #8394B2; color: #000; font-weight: bold; font-size: 10px; margin: 8px auto 0 auto; padding: 3px; } .quotemain{ background: #FAFCFE; border: 1px dotted #000; border-left: 4px solid #8394B2; border-top: 0; color: #465584; padding: 4px; margin: 0 auto 8px auto; } .codetop, .sqltop, .htmltop{ background: #FDDBCC url(//www.nashtransport.ru/uploads/legacy/css_img_code.gif) no-repeat right; color: #000; font-weight: bold; margin: 0 auto 0 auto; padding: 3px; width: 98%; } .codemain, .sqlmain, .htmlmain{ background: #FAFCFE; border: 1px dotted #000; color: #465584; font-family: Courier, Courier New, Verdana, Arial; margin: 0 auto 0 auto; padding: 2px; width: 98%; } .textmain{ font-family: Courier, Courier New, Verdana, Arial; } /*topic list tag*/ #topiclist_wrapper{ margin: 1px auto 1px auto; /* centers the box, no matter the overall width, also applies a 1px gap at the top and bottom of the topic list */ text-align: left; /* re_aligns text to left second part of two part MSIE centering workaround */ width: 98%; } /*post-tag*/ /* * ======================================== * Set up IPB table * ======================================== */ .ipbtable { width:100% } table.ipbtable, tr.ipbtable, td.ipbtable { /* required for text in tables, because tables do not inherit from body */ background: transparent; color: #222; font-size: 11px; line-height: 135%; } .ipbtable th { background: transparent url(//www.nashtransport.ru/uploads/legacy/tile_sub.gif); border-bottom: 1px solid #5176B5; color: #3A4F6C; font-size: 10px; font-weight: bold; letter-spacing: 1px; margin: 0; padding: 5px; } .ipbtable td, .divpad{ /* gives all tables faux cellpadding of 5px */ padding: 5px; } td.nopad{ /* allows some tables to have no padding on the td */ padding: 0; } /* Safari... */ th { text-align: left; } form{ display: inline; margin: 0; /* removes mystery form tag gapping */ padding: 0; /* removes mystery form tag gapping */ } img{ border: 0; /* makes sure linked images do not have a border */ vertical-align: middle; } /* Topic View elements */ .signature{ background: transparent; color: #339; font-size: 10px; line-height: 150%; } .postdetails{ font-size: 10px; line-height:140%; } .postcolor{ font-size: 12px; line-height: 160%; } .normalname{ color: #003; font-size: 12px; font-weight: bold; } .normalname a:link, .normalname a:visited, .normalname a:active{ font-size: 12px; } .post1, .bg1{ background: #F5F9FD; } .post2, .bg3{ background: #EEF2F7; } .row2shaded, .post1shaded { background-color: #DEDBE4 } .row4shaded, .post2shaded { background-color: #E3DFE7 } .row1{ background: #DFE6EF; } .row2{ background: #E4EAF2; } .rowhighlight{ background-color: #FFF9BA; } .darkrow1{ background: #BCD0ED; color: #3A4F6C; } .darkrow3{ background: #D1DCEB; color: #3A4F6C; } .normalname{ color: #003; font-size: 12px; font-weight: bold; } .normalname a:link, .normalname a:visited, .normalname a:active{ font-size: 12px; } /* end of post table */ .catend{ background: #8394B2; color: #000; font-size: 1px; height: 5px; } #p-namespaces { margin-left: 15px; } #wikEdLogoImg { margin: -5px 0 0 0; } div.CategoryTreeTag { font-size: 0.75em; } div.thumbinner img { width: 100%; } /* IPB Extra */ #ipbwrapper { margin: 10px; /* 10px auto 10px auto; */ text-align: left; width: 99%; } .borderwrap, .borderwrapm { background: #FFF; border: 1px solid #072A66; padding: 0px; margin: 0px; } .borderwrapm { margin: 5px; } .borderwrap h3, .maintitle, .maintitlecollapse { background: url(//www.nashtransport.ru/uploads/legacy/tile_cat.gif); border: 1px solid #FFF; border-bottom: 1px solid #5176B5; color: #FFF; font-size: 12px; font-weight: bold; margin: 0px; padding: 8px; } .borderwrap table th, .subtitle, .subtitlediv, .postlinksbar { background: transparent url(//www.nashtransport.ru/uploads/legacy/tile_sub.gif); border-bottom: 1px solid #5176B5; color: #3A4F6C; font-size: 10px; font-weight: bold; letter-spacing: 1px; margin: 0; padding: 5px; } .borderwrap table th a:link, .subtitle a:link, .subtitlediv a:link, .borderwrap table th a:visited, .subtitle a:visited, .subtitlediv a:visited, .borderwrap table th a:active, .subtitle a:active, .subtitlediv a:active, .borderwrap table th a:hover, .subtitle a:hover, .subtitlediv a:hover { background: transparent; color: #3A4F6C; text-decoration: none; } .borderwrap h4 { background: #DDE6F2; border: 1px solid #FFF; border-bottom: 1px solid #5176B5; border-top: 1px solid #5176B5; color: #5176B5; font-size: 12px; font-weight: bold; margin: 0; padding: 5px; } .borderwrap p { background: #F9F9F9; border: 1px solid #CCC; margin: 5px; padding: 10px; text-align: left; } .borderwrap p.formbuttonrow, .borderwrap p.formbuttonrow1 { background: #D1DCEB !important; border: 1px solid #FFF; border-top: 1px solid #5176B5; margin: 0px !important; padding: 5px !important; text-align: center; } .borderwrap p.formbuttonrow1 { background: #F9F9F9 !important; border: 0; border-top: 1px solid #CCC; } #gfooter { background: #8394B2; margin: 5px 0 5px 0; padding: 0; width: 100%; } #gfooter td { color: #FFF; font-size: 10px; padding: 4px; } #gfooter a:link, #gfooter a:visited { color: #FFF; } #logostrip { background: #3860BB url(//www.nashtransport.ru/uploads/legacy/tile_back.gif); border: 1px solid #FFF; height: 68px; margin: 0; padding: 0; } #logographic { background: transparent url(//www.nashtransport.ru/uploads/legacy/logo4.gif) no-repeat left; height: 68px; margin: 0; padding: 0; } #submenu { background: transparent url(//www.nashtransport.ru/uploads/legacy/tile_sub.gif); border: 1px solid #FFF; border-top: 0; color: #3A4F6C; margin: 0; height: 29px; text-align: right; } .ipb-top-left-link, .ipb-top-right-link { background: transparent url(//www.nashtransport.ru/uploads/legacy/tile_sub-lite.gif); float: right; font-size: 10px; font-weight: bold; letter-spacing: 0.5px; margin: 0px; padding: 7px 0 7px 0; width: auto; border-left: 1px solid #dce3ee; } .ipb-top-left-link { float: left; border-left: 0px; border-right: 1px solid #dce3ee; } .ipb-top-left-link a:link, .ipb-top-left-link a:visited, .ipb-top-right-link a:link, .ipb-top-right-link a:visited { background: transparent; color: #3A4F6C; padding: 0 6px 0 6px; text-decoration: none; } .ipb-top-left-link a:hover, .ipb-top-left-link a:active, .ipb-top-right-link a:hover, .ipb-top-right-link a:active { background: transparent; color: #5176B5; } .copyright { background: #EEE; font-size: 11px; margin: 0 0 5px 0; padding: 8px; } .copyright2 { background: #EEE; font-size: 11px; } .linescheme { padding: 0; margin: 0; border-spacing: 0; } .linescheme td { padding: 0; margin: 0; }