MediaWiki:Common.css

/* Prevent line breaks in silly places: 1) Links when we don't want them to  2) Bold "links" to the page itself 2) HTML formulae  3) Ref tags with group names  --> "[Note 1]"

/* Wikipedia CSS */ /*  */

/* Experimental CSS-based Ruby markup support */ /* Ruby text*/

ruby { ruby-align: space-around; display: inline-table; text-align: center; border-collapse: collapse; /* border collapse mechanism will be used to adjust vertical alignment */ vertical-align: bottom; /* if ruby text contains text only and there are two ruby annotations (one placed above the base and one below) then vertical centering roughly aligns baseline of base with baseline of parent */ /* border-bottom: solid 1.1em transparent; */ /* o.75em is height of ruby text (0.5000d7 1.2em = 0.6em) plus space between baseline and text-bottom (about 0.15em) this extra border is counter-weight used to restore vertical centering broken by presence of ruby text (in case if there is only one ruby annotation, if there are two annotations then counter-weight is no longer necessary and can be annihilated using border collapse mechanism) */ }

rt { text-align: center; } /* 'ruby { text-align: center; } does not cascade to rt now */

ruby > rt, rtc { display: table-header-group; } /* used to move first ruby container above the base */

/* ruby > rb, rbc, ruby > rt + rt, rtc + rtc { display: table-row; } */ /* base and second ruby are formatted as table-rows */

ruby > rt + rt, rtc + rtc { border-bottom: hidden; } /* if there are two annotations then extra border is no longer necessary and can be annihilated using border collapse mechanism */

rb, rbc, rt, rtc { white-space: nowrap; } /* prohibits line breaks inside ruby text */

rtc > rt, rbc > rb { display: table-cell; } /* used to distribute annotations in table like manner */

rtc > rt[rbspan] { column-span: all; } /* ruby text may span several cells */

ruby > rt, rtc { font-size: 0.7em; line-height: 1.2em; letter-spacing: -0.1em; } /* font-size of ruby text is reduced */

rp { display: none; } /* fallback markup is no longer necessary */

/* Cell Styles */ /* outcell: dark-blue outer border of table incell: light-blue table cells with various rounded corners */

.outcell { border: 1px solid #7384B5; border-radius: 5px; } .incell, .incell_top, .incell_bottom, .incell_topleft, .incell_topright, .incell_bottomleft, .incell_bottomright { background: #DDE6FF; text-align: center; font-size: 120%; } .incell_top { border-radius: 3px 3px 0px 0px; } .incell_bottom { border-radius: 0px 0px 3px 3px; } .incell_topleft { border-radius: 3px 0px 0px 0px; } .incell_topright { border-radius: 0px 3px 0px 0px; } .incell_bottomleft { border-radius: 0px 0px 0px 3px; } .incell_bottomright { border-radius: 0px 0px 3px 0px; }

/* Ensure everything inside a spoiler is blacked out. Without this, links show through. */ .t_hidetext, .t_hidetext * { background-color: black; color: black; } .t_hidetext a { color: black !important; } .t_hidetext:hover, .t_hidetext:hover *, .t_hidetext:focus, .t_hidetext:focus * { color: white !important; } .t_hidetext:hover a { color: #30A0EF !important; } .t_hidetext:hover a:visited { color: #7084DA !important; } .t_hidetext:hover a.new { color: #ED6A6A !important; } .t_hidetext:hover a.new:visited { color: #ED9999 !important; } .t_hidetext:hover a.extiw { color: #47C !important; } .t_hidetext:hover a.extiw:visited { color: #969 !important; }

/* Force pre tag auto wrap text */ pre { white-space: pre-wrap; }

/* Make Lua text readable */ .source-lua { font-size: 1.2em; }

/* Used for User:K/de:Filename_Conflicts */ .de-image>a { background: none !important; } .de-image>a>img { width: 200px; }

/* Sitenotice AutoScroll CSS */ width: 100%; height: 25px; line-height: 25px; overflow: hidden }
 * 1) scrollDiv{

height: 25px; padding-left: 10px; list-style: none; }
 * 1) scrollDiv li{

/* Custom tab */

/* Tab image */ .tab_content_container { text-align: center; margin: 0; padding: 0; } .tab_content_button { display: inline-block; padding: 2px; margin-left: 2px; margin-right: 2px; background-color: #eee; text-align: center; box-shadow: 0 0 3px 0 #000; cursor: pointer; }

.tab_content_content { padding: 2px; border: 1px solid black; padding: 3px; display: none; }