Ken_D
|
|
|
VECĀ MIESA
Foruma ieraksti: 982
UWM Reputācija:
|
uWEBMEISTARS ordeņi:
1. līmenis
2. līmenis
3. līmenis
Jaunākie apbalvojumi:
|
@Ken_D raksta .. :
Bilde - http://www.bildites.lv/images/7knsutgmcwiiufj0bq.png
Html kods: Code <nav> <ul> <li class="active"><a href="http://biedriem.ucoz.lv/">Sākums</a></li> <li><a href="http://biedriem.ucoz.lv/">Filmas<span class="badge">198</span></a></li> <li><a href="http://biedriem.ucoz.lv/">Seriāli<span class="badge green">58</span></a></li> <li><a href="http://biedriem.ucoz.lv/">Raksti<span class="badge yellow">15</span></a></li> <li><a href="http://biedriem.ucoz.lv/">Video<span class="badge red">16</span></a></li> <li><a href="http://biedriem.ucoz.lv/">Iziet</a></li> </ul> </nav>
CSS Code nav { height: 26px; text-align: center; } nav ul { border-width: 1px; border-style: solid; border-color: #d5d5d5 #d2d2d2 #cdcdcd; border-radius: 3px; display: inline-block; vertical-align: baseline; zoom: 1; *display: inline; *vertical-align: auto; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); } nav li { float: left; border-left: 1px solid #d2d2d2; } nav li:first-child { border-left: 0; } nav li:first-child a { border-radius: 3px 0 0 3px; } nav li:last-child a { border-radius: 0 3px 3px 0; } nav a { position: relative; display: block; padding: 0 14px; font-size: 11px; font-weight: bold; color: #666; height: 26px; line-height: 26px; text-shadow: 0 1px #fff; background-color: #fafafa; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcfcfc), color-stop(100%, #f0f0f0)); background-image: -webkit-linear-gradient(top, #fcfcfc, #f0f0f0); background-image: -moz-linear-gradient(top, #fcfcfc, #f0f0f0); background-image: -ms-linear-gradient(top, #fcfcfc, #f0f0f0); background-image: -o-linear-gradient(top, #fcfcfc, #f0f0f0); background-image: linear-gradient(top, #fcfcfc, #f0f0f0); -webkit-box-shadow: inset 0 0 0 1px #fafafa; -moz-box-shadow: inset 0 0 0 1px #fafafa; box-shadow: inset 0 0 0 1px #fafafa; } nav a:hover { color: #333; z-index: 10; text-decoration: none; -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 0 0 1px #fafafa; -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 0 0 1px #fafafa; box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 0 0 1px #fafafa; } nav li.active a, nav a:active { color: #333; background: #fff; -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1); box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1); } nav .badge { display: block; position: absolute; top: -12px; right: 3px; line-height: 16px; height: 16px; padding: 0 5px; font-family: Arial, sans-serif; color: #fff; text-shadow: 0 1px rgba(0, 0, 0, 0.25); border-width: 1px; border-style: solid; border-radius: 10px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), inset 0 1px rgba(255, 255, 255, 0.3); -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), inset 0 1px rgba(255, 255, 255, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), inset 0 1px rgba(255, 255, 255, 0.3); } nav .badge { border-color: #30aae9; background-color: #67c1ef; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #acddf6), color-stop(100%, #67c1ef)); background-image: -webkit-linear-gradient(top, #acddf6, #67c1ef); background-image: -moz-linear-gradient(top, #acddf6, #67c1ef); background-image: -ms-linear-gradient(top, #acddf6, #67c1ef); background-image: -o-linear-gradient(top, #acddf6, #67c1ef); background-image: linear-gradient(top, #acddf6, #67c1ef); } nav .badge.green { border-color: #59ad33; background-color: #77cc51; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a5dd8c), color-stop(100%, #77cc51)); background-image: -webkit-linear-gradient(top, #a5dd8c, #77cc51); background-image: -moz-linear-gradient(top, #a5dd8c, #77cc51); background-image: -ms-linear-gradient(top, #a5dd8c, #77cc51); background-image: -o-linear-gradient(top, #a5dd8c, #77cc51); background-image: linear-gradient(top, #a5dd8c, #77cc51); } nav .badge.yellow { border-color: #f4a306; background-color: #faba3e; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcd589), color-stop(100%, #faba3e)); background-image: -webkit-linear-gradient(top, #fcd589, #faba3e); background-image: -moz-linear-gradient(top, #fcd589, #faba3e); background-image: -ms-linear-gradient(top, #fcd589, #faba3e); background-image: -o-linear-gradient(top, #fcd589, #faba3e); background-image: linear-gradient(top, #fcd589, #faba3e); } nav .badge.red { border-color: #fa5a35; background-color: #fa623f; background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fc9f8a), color-stop(100%, #fa623f)); background-image: -webkit-linear-gradient(top, #fc9f8a, #fa623f); background-image: -moz-linear-gradient(top, #fc9f8a, #fa623f); background-image: -ms-linear-gradient(top, #fc9f8a, #fa623f); background-image: -o-linear-gradient(top, #fc9f8a, #fa623f); background-image: linear-gradient(top, #fc9f8a, #fa623f); }
Paraksta nav
|
|
|
|