MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
KVentz (обсуждение | вклад) |
KVentz (обсуждение | вклад) (Отмена правки 318959, сделанной KVentz (обсуждение)) |
||
Строка 35: | Строка 35: | ||
padding-right: 1px; | padding-right: 1px; | ||
margin-left: 1px; | margin-left: 1px; | ||
} | } | ||
Версия 03:18, 23 апреля 2019
/** Размещённый здесь 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; text-align: center; font-size: 110%; } .mw-charinsert-buttons a { color: black; background-color: #cde !important; font-weight: bold; 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(//forum.nashtransport.ru/style_images/1/images/icon_plus_1.gif) no-repeat left center; padding-left: 14px; } .unfolded { display: block; background: transparent url(//forum.nashtransport.ru/style_images/1/images/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(//forum.nashtransport.ru/style_images/1/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(//forum.nashtransport.ru/style_images/1/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(//forum.nashtransport.ru/style_images/1/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(//forum.nashtransport.ru/style_images/1/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(//forum.nashtransport.ru/style_images/1/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(//forum.nashtransport.ru/style_images/1/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(//forum.nashtransport.ru/style_images/1/tile_back.gif); border: 1px solid #FFF; height: 68px; margin: 0; padding: 0; } #logographic { background: transparent url(//forum.nashtransport.ru/style_images/1/logo4.gif) no-repeat left; height: 68px; margin: 0; padding: 0; } #submenu { background: transparent url(//forum.nashtransport.ru/style_images/1/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(//forum.nashtransport.ru/style_images/1/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; }