Template:Team:HokkaidoU Japan/LargeDropDown/CSS

From 2014.igem.org

(Difference between revisions)
 
(32 intermediate revisions not shown)
Line 17: Line 17:
                 color:#000;
                 color:#000;
             }
             }
-
            .box{
+
.box{
-
                height:30px;
+
    margin-top:-1px;
-
width:100%;
+
    width:100%;
-
                position:relative;
+
    position:relative;
-
            }
+
    background-color:#000;
-
            .box h2{
+
}
-
color:#f0f0f0;
+
.box h2{
-
padding:40px 10px;
+
color:#f0f0f0;
-
text-shadow:1px 1px 1px #ccc;
+
padding:40px 10px;
-
            }
+
text-shadow:1px 1px 1px #ccc;
 +
}
 +
 
 +
#box-wrapper {
 +
    width:960px;
 +
    height:50px;
 +
    margin: 0 auto;
 +
    text-align:center;
 +
}
.ldd_menu{
.ldd_menu{
Line 32: Line 40:
padding:0;
padding:0;
display:block;
display:block;
-
height:30px;
+
height:50px;
-
background-color:#D04528;
+
background-color:transparent;
list-style:none;
list-style:none;
-
font-family:"Trebuchet MS", sans-serif;
+
font-family: 'Special Elite', cursive;
-
border-top:1px solid #EF593B;
+
/*border-top:1px solid #EF593B;
border-bottom:1px solid #EF593B;
border-bottom:1px solid #EF593B;
border-left:1px solid #D04528;
border-left:1px solid #D04528;
-moz-box-shadow:0px 3px 4px #591E12;
-moz-box-shadow:0px 3px 4px #591E12;
-webkit-box-shadow:0px 3px 4px #591E12;
-webkit-box-shadow:0px 3px 4px #591E12;
-
-box-shadow:0px 3px 4px #591E12;
+
-box-shadow:0px 3px 4px #591E12;*/
-
         width:700px;
+
         width:553px;
-
        float:right;
+
}
}
Line 57: Line 64:
float:left;
float:left;
color:#fff;
color:#fff;
-
background-color:#D04528;
+
background-color:transparent;
-
height:29px;
+
height:49px;
-
line-height:28px;
+
line-height:20px;
cursor:default;
cursor:default;
-
padding:0;
+
padding:9px;
-
text-shadow:0px 0px 1px #fff;
+
/*text-shadow:0px 0px 1px #fff;
border-right:1px solid #DF7B61;
border-right:1px solid #DF7B61;
-
border-left:1px solid #C44D37;
+
border-left:1px solid #C44D37;*/
         text-align:center;
         text-align:center;
         width:138px;
         width:138px;
 +
}
}
.ldd_menu .ldd_submenu{
.ldd_menu .ldd_submenu{
position:absolute;
position:absolute;
-
top:29px;
+
top:49px;
width:650px;
width:650px;
display:none;
display:none;
left:0px;
left:0px;
font-size:20px;
font-size:20px;
-
background: #C34328;
+
background: #d92424;
-
border-top:1px solid #EF593B;
+
/*border-top:1px solid #EF593B;*/
-moz-box-shadow:0px 3px 4px #591E12 inset;
-moz-box-shadow:0px 3px 4px #591E12 inset;
-webkit-box-shadow:0px 3px 4px #591E12 inset;
-webkit-box-shadow:0px 3px 4px #591E12 inset;
-box-shadow:0px 3px 4px #591E12 inset;
-box-shadow:0px 3px 4px #591E12 inset;
-
         z-index:1000;
+
         z-index:1005;
-
}
+
-
a.ldd_subfoot{
+
-
background-color:#f0f0f0;
+
-
color:#444;
+
-
display:block;
+
-
clear:both;
+
-
padding:15px 20px;
+
-
text-transform:uppercase;
+
-
font-family: Arial, serif;
+
-
font-size:12px;
+
-
text-shadow:0px 0px 1px #fff;
+
-
-moz-box-shadow:0px 0px 2px #777 inset;
+
-
-webkit-box-shadow:0px 0px 2px #777 inset;
+
-
-box-shadow:0px 0px 2px #777 inset;
+
}
}
 +
.ldd_menu ul{
.ldd_menu ul{
list-style:none;
list-style:none;
float:left;
float:left;
margin:20px 10px 20px 10px;
margin:20px 10px 20px 10px;
-
         width:155px;
+
         width:170px;
}
}
.ldd_heading > a{
.ldd_heading > a{
font-size: 20px;
font-size: 20px;
-
color:#f7aaa9;
+
color:#d5a826;
-
text-shadow:0px 0px 1px #B03E23;
+
/*text-shadow:0px 0px 1px #B03E23;*/
 +
padding:10px 0px 10px 0px;
         font-style:italic;
         font-style:italic;
font-family: Georgia, serif;
font-family: Georgia, serif;
Line 112: Line 108:
.ldd_submenu > ul > li:hover {
.ldd_submenu > ul > li:hover {
-
-moz-box-shadow:0px 0px 2px #333;
+
      -moz-box-shadow:0px 0px 2px #333;
-webkit-box-shadow:0px 0px 2px #333;
-webkit-box-shadow:0px 0px 2px #333;
box-shadow:0px 0px 2px #333;
box-shadow:0px 0px 2px #333;
-
background:#AF412B;       opacity:0.7;
+
background:#AF412B;
 +
        opacity:0.7;
 +
}
 +
 
 +
.ldd_submenu > ul > li:hover {
 +
       
}
}
Line 138: Line 139:
.menu-list {
.menu-list {
   color: white;
   color: white;
 +
}
 +
 +
* {  -webkit-box-sizing: border-box;
 +
      -moz-box-sizing: border-box;
 +
        -o-box-sizing: border-box;
 +
        -ms-box-sizing: border-box;
 +
            box-sizing: border-box;
 +
}
}
</style>
</style>
</html>
</html>

Latest revision as of 14:39, 17 October 2014