|
|
Line 27: |
Line 27: |
| color: #222222; | | color: #222222; |
| align:center; | | align:center; |
− | }
| |
− |
| |
− |
| |
− |
| |
− | #header{
| |
− | width:800px;
| |
− | max-height:200px;
| |
− | color-background:black;
| |
− | display: block;
| |
− | margin-left: auto;
| |
− | margin-right: auto;
| |
− | z-index: 1;
| |
− | }
| |
− |
| |
− |
| |
− | #colorNav > ul{
| |
− | margin-left: auto;
| |
− | margin-right: auto;
| |
− | top:50px;
| |
− | }
| |
− |
| |
− | #colorNav > ul > li{ /* will style only the top level li */
| |
− | list-style: none;
| |
− | display: inline-block;
| |
− | line-height:2;
| |
− | margin: 0px;
| |
− | border-radius: 15px;
| |
− | position:relative;
| |
− | z-index: 3;
| |
− | }
| |
− | #colorNav > ul > li > a{
| |
− | color:inherit;
| |
− | text-decoration:none !important;
| |
− | font-size:14px;
| |
− | padding: 30px;
| |
− | z-index: 3;
| |
− | }
| |
− | #colorNav li ul{
| |
− | position:absolute;
| |
− | list-style:none;
| |
− | text-align:center;
| |
− | width:180px;
| |
− | left:50%;
| |
− | margin-left:-90px;
| |
− | top:10px;
| |
− | font:bold 12px 'Open Sans Condensed', sans-serif;
| |
− | z-index: 3;
| |
− |
| |
− | /* This is important for the show/hide CSS animation */
| |
− | max-height:0px;
| |
− | overflow:hidden;
| |
− | border-radius: 30px;
| |
− | -webkit-transition:max-height 0.4s linear;
| |
− | -moz-transition:max-height 0.4s linear;
| |
− | transition:max-height 0.4s linear;
| |
− | }
| |
− | #colorNav li:hover ul{
| |
− | max-height:500px;
| |
− | z-index: 3;
| |
− | }
| |
− | #colorNav li ul li{
| |
− |
| |
− | z-index: 3;
| |
− | /*background-color:#369799; --> old one*/
| |
− | background:url("http://i.imgur.com/Ckch1o4.png");
| |
− | background-repeat:no-repeat;
| |
− | background-size: 180px 40px
| |
− | }
| |
− |
| |
− | #colorNav li ul li a{
| |
− | padding:12px;
| |
− | color:#fff !important;
| |
− | text-decoration:none !important;
| |
− | display:block;
| |
− | z-index: 3;
| |
− |
| |
− |
| |
− | }
| |
− |
| |
− | #colorNav li ul li:nth-child(odd){ /* zebra stripes */
| |
− | background-color:#369799;
| |
− | z-index: 3;
| |
− | }
| |
− |
| |
− | #colorNav li ul li:hover{
| |
− | background-color:#369741;
| |
− | z-index: 3;
| |
− | }
| |
− |
| |
− | #colorNav li ul li:first-child{
| |
− | border-radius:3px 3px 0 0;
| |
− | margin-top:25px;
| |
− | position:relative;
| |
− | z-index: 3;
| |
− | }
| |
− |
| |
− | #colorNav li ul li:first-child:before{ /* the pointer tip */
| |
− | content:'';
| |
− | position:absolute;
| |
− | width:1px;
| |
− | height:1px;
| |
− | border:5px solid transparent;
| |
− | border-bottom-color:#313131;
| |
− | left:50%;
| |
− | top:-10px;
| |
− | margin-left:-5px;
| |
− | z-index: 3;
| |
| } | | } |
| | | |
Line 363: |
Line 256: |
| background-size:cover; | | background-size:cover; |
| } | | } |
− |
| |
− | #colorNav li ul li:last-child{
| |
− | border-bottom-left-radius:3px;
| |
− | border-bottom-right-radius:3px;
| |
− | }
| |
− | #colorNav li.green{
| |
− | /* This is the color of the menu item */
| |
− | background-color:#00c08b;
| |
− |
| |
− | /* This is the color of the icon */
| |
− | color:#000000;
| |
− | }
| |
− |
| |
− | #colorNav li.pink{background-color:#ea5080;color:#000000;}
| |
− | #colorNav li.blue{background-color:#53bfe2;color:#000000;}
| |
− | #colorNav li.brown{background-color:#f8c54d;color:#000000;}
| |
− | #colorNav li.purple{background-color:#df6dc2;color:#000000;}
| |
− | #colorNav li.orange{background-color:#df6dc2;color:#000000;}
| |
− | #colorNav li.green{background-color:#00FF00;color:#000000;}
| |
− | #colorNav li.yellow{background-color:#e2ff00;color:#000000;}
| |
− | #colorNav li.red{background-color:#f00000;color:#000000;}
| |
− | #colorNav li.grey{background-color:#d3d3d3;color:#000000;}
| |
− |
| |
| | | |
| | | |
| </style> | | </style> |
| </html> | | </html> |