MediaWiki:Common.css: различия между версиями
Строка 59: | Строка 59: | ||
/*Менюшка вторая*/ | /*Менюшка вторая*/ | ||
+ | |||
+ | body { | ||
+ | font-family: helvetica, arial, sans-serif; | ||
+ | background: #e3e3e3; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | /* MENU */ | ||
+ | |||
+ | #nav { | ||
+ | background: #e5e5e5; | ||
+ | float: left; | ||
+ | margin: 0; padding: 0; | ||
+ | border: 1px solid white; | ||
+ | border-bottom: none; | ||
+ | } | ||
+ | |||
+ | #nav li a, #nav li { | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | #nav li { | ||
+ | list-style: none; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #nav li a { | ||
+ | padding: 1em 2em; | ||
+ | text-decoration: none; | ||
+ | color: white; | ||
+ | background: #292929; | ||
+ | background: -moz-linear-gradient(top, black, #3c3c3c 1px, #292929 25px); | ||
+ | background: -webkit-gradient(linear, left top, left 25, from(black), color-stop(4%, #3c3c3c), to(#292929)); | ||
+ | border-right: 1px solid #3c3c3c; | ||
+ | border-left: 1px solid #292929; | ||
+ | border-bottom: 1px solid #232323; | ||
+ | border-top: 1px solid #545454; | ||
+ | } | ||
+ | |||
+ | #nav li a:hover { | ||
+ | background: #2a0d65; | ||
+ | background: -moz-linear-gradient(top, #11032e, #2a0d65); | ||
+ | background: -webkit-gradient(linear, left top, left bottom, from(#11032e), to(#2a0d65)); | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Submenu */ | ||
+ | |||
+ | .hasChildren { | ||
+ | position: absolute; | ||
+ | width: 5px; height: 5px; | ||
+ | background: black; | ||
+ | right : 0; | ||
+ | bottom: 0; | ||
+ | } | ||
+ | |||
+ | #nav li ul { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | left: 0; | ||
+ | top: 100%; | ||
+ | padding: 0; margin: 0; | ||
+ | } | ||
+ | |||
+ | #nav li:hover > ul { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | #nav li ul li, #nav li ul li a { | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | #nav li ul li { | ||
+ | _display: inline; /* for IE6 */ | ||
+ | } | ||
+ | |||
+ | #nav li ul li a { | ||
+ | width: 150px; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | /* SUBSUB Menu */ | ||
+ | |||
+ | #nav li ul li ul { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #nav li ul li:hover ul { | ||
+ | left: 100%; | ||
+ | top: 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | #nav li ul |
Версия 16:39, 23 сентября 2013
/** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See * http://www.mediawiki.org/wiki/Manual:Collapsible_tables. * Maintainers: [[en:User:R. Koot]] */ table.collapsed tr.collapsible { display: none; } .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } h1 { text-shadow: 1px 1px 2px black, 0 0 1em #FFF3D3; /* Параметры тени */ color: #CDAA80; /* Белый цвет текста */ font-size: 2em; /* Размер надписи */ } h2 { text-shadow: 1px 1px 2px black, 0 0 1em #FFF3D3; /* Параметры тени */ color: #CDAA80; /* Белый цвет текста */ font-size: 1em; /* Размер надписи */ } h3 { text-shadow: 1px 1px 2px black, 0 0 1em #FFF3D3; /* Параметры тени */ color: #CDAA80; /* Белый цвет текста */ font-size: 0,5em; /* Размер надписи */ } /*Менюшка*/ /* Fixed Positioned AddThis Toolbox */ .addthis_toolbox { position: fixed; z-index: 1000; top: -10px; right: 80%; padding: 5px 5px 4px; width: 32px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } .addthis_toolbox .custom_images a { width: 32px; height: 32px; cursor: pointer; } .addthis_toolbox .custom_images a img { border: 0; margin: 2px 0; opacity: 0.6; } .addthis_toolbox .custom_images a:hover img { margin: 2px 0; opacity: 1.0; } /*Менюшка вторая*/ body { font-family: helvetica, arial, sans-serif; background: #e3e3e3; text-align: center; } /* MENU */ #nav { background: #e5e5e5; float: left; margin: 0; padding: 0; border: 1px solid white; border-bottom: none; } #nav li a, #nav li { float: left; } #nav li { list-style: none; position: relative; } #nav li a { padding: 1em 2em; text-decoration: none; color: white; background: #292929; background: -moz-linear-gradient(top, black, #3c3c3c 1px, #292929 25px); background: -webkit-gradient(linear, left top, left 25, from(black), color-stop(4%, #3c3c3c), to(#292929)); border-right: 1px solid #3c3c3c; border-left: 1px solid #292929; border-bottom: 1px solid #232323; border-top: 1px solid #545454; } #nav li a:hover { background: #2a0d65; background: -moz-linear-gradient(top, #11032e, #2a0d65); background: -webkit-gradient(linear, left top, left bottom, from(#11032e), to(#2a0d65)); } /* Submenu */ .hasChildren { position: absolute; width: 5px; height: 5px; background: black; right : 0; bottom: 0; } #nav li ul { display: none; position: absolute; left: 0; top: 100%; padding: 0; margin: 0; } #nav li:hover > ul { display: block; } #nav li ul li, #nav li ul li a { float: none; } #nav li ul li { _display: inline; /* for IE6 */ } #nav li ul li a { width: 150px; display: block; } /* SUBSUB Menu */ #nav li ul li ul { display: none; } #nav li ul li:hover ul { left: 100%; top: 0; } #nav li ul