Warning! You are viewing the old version of site.

You will be redirected to the new site in 5 seconds

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

#likes-section{ display:none !important; } #labels-section{ display:none !important; } .wiki-content a:link, .wiki-content a:visited, .wiki-content a:active { text-decoration: none; } .wiki-content a:hover { text-decoration: none; } .container { margin-left: -13px; /* Отступ от левого края сайта */ margin-right: auto; margin-top: -153px; /* Отступ от верхнего края сайта */ width: 465px; /* длина строки меню*/ position: fixed; z-index: 1000; } /* common and top level styles */ #nav span { display: none; } #nav, #nav ul { list-style: none outside none; margin: 0; padding: 0; } #nav { background-color: #FFFFFF; border-bottom: 0 solid #205081; float: left; margin-left: 1%; margin-right: 1%; width: 465px; } #nav ul.subs { background-color: #FFFFFF; box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); color: #333333; display: none; left: 3px; padding: 2%; position: absolute; top: 39px; /* Отступ выпадающего меню от полосы главного меню */ width: 915px; border-top: 1px solid #205081; /* Линия сверху всплывающего подменю */ } #nav > li { border-bottom: 5px solid transparent; float: left; margin-bottom: -5px; text-align: left; -moz-transition: all 300ms ease-in-out 0s; -ms-transition: all 300ms ease-in-out 0s; -o-transition: all 300ms ease-in-out 0s; -webkit-transition: all 300ms ease-in-out 0s; transition: all 300ms ease-in-out 0s; } #nav li a { display: block; text-decoration: none; -moz-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s; -ms-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s; -o-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s; -webkit-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s; transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s; white-space: normal; } #nav > li > a { color: #205081; display: block; font-size: 1.3em; /* Размер шрифта главного меню */ line-height: 39px; padding: 0 15px; /* text-transform: uppercase; */ } #nav > li:hover > a, #nav > a:hover { background-color: #205081; color: #FFFFFF; } #nav li.active > a { background-color: #205081; /* Цвет блока меню при клике курсором мыши - голубой */ color: #FFFFFF; } /* submenu */ #nav li:hover ul.subs { display: block; } #nav ul.subs > li { display: inline-block; float: none; padding: 10px 1%; vertical-align: top; width: 190px; /* Ширина блока в подменю */ } #nav ul.subs > li a { color: #205081; /* Цвет текста подменю */ line-height: 20px; } #nav ul li a:hover { color: #3b73af; /* Цвет текста подменю при наведении мыши */ font-size: 1.1em; text-decoration: underline; } #nav ul.subs > li > a { font-size: 1.3em; margin-bottom: 10px; /* text-transform: uppercase; */ } #nav ul.subs > li li { float: none; padding-left: 8px; -moz-transition: padding 150ms ease-out 0s; -ms-transition: padding 150ms ease-out 0s; -o-transition: padding 150ms ease-out 0s; -webkit-transition: padding 150ms ease-out 0s; transition: padding 150ms ease-out 0s; } #nav ul.subs > li li:hover { padding-left: 5px; /* Смещение пункта подменю при наведении мышки */ } /* responsive rules */ @media all and (max-width : 900px) { #nav > li { float: none; border-bottom: 0; margin-bottom: 0; } #nav ul.subs { position: relative; top: 0; } #nav li:hover ul.subs { display: none; } #nav li #s1:target + ul.subs, #nav li #s2:target + ul.subs { display: block; } #nav ul.subs > li { display: block; width: auto; } } /* Линия-разделитель главного меню и всплывающего подменю */ hr { border: none; /* Убираем границу */ background-color: red; /* Цвет линии */ color: #205081; /* Цвет линии для IE6-7 */ height: 0px; /* Толщина линии */ width: 465px; /* длина строки меню*/ position: absolute; top: 32px; left: 3px; }
  • No labels