Difference between revisions of "Template:Team:Tokyo Tech/template2016"

Line 6: Line 6:
 
body{
 
body{
 
     background: #052d5d;
 
     background: #052d5d;
}
 
#logo{
 
        margin: 0 auto;
 
        text-align: center;
 
 
}
 
}
 
.menu_list_class{
 
.menu_list_class{
Line 63: Line 59:
 
list-style: none;
 
list-style: none;
 
position: absolute;
 
position: absolute;
left: -70%;
+
left: -100%; // なぜかigemのテンプレートページで-60%にしないとずれる
 
z-index: 9999;
 
z-index: 9999;
 
top: 100%;
 
top: 100%;
Line 70: Line 66:
 
}
 
}
 
.drop_menu li{
 
.drop_menu li{
 +
display: inline-block;
 
width: 100%;
 
width: 100%;
 
overflow: hidden;
 
overflow: hidden;
 
height: 0;
 
height: 0;
 
transition: .2s;
 
transition: .2s;
 +
margin: 0;
 +
padding: 0;
 +
}
 +
.drop_menu li:nth-child(7n+1){
 +
margin: 0;
 +
}
 +
.drop_menu li:nth-child(7n){
 +
margin: 0;
 
}
 
}
 
.drop_menu li a{
 
.drop_menu li a{
padding: 13px 15px;
+
margin: 0;
 +
padding: 5px 15px;
 +
height: 40px;
 
border-top: 1px solid #052d5d;
 
border-top: 1px solid #052d5d;
 
background: #0d4f78;
 
background: #0d4f78;
Line 86: Line 93:
 
.drop_menu li a:hover{
 
.drop_menu li a:hover{
 
background: #186b91;
 
background: #186b91;
 +
}
 +
#main_contents{
 +
#z-index: 1;
 
}
 
}
 
--></style>
 
--></style>

Revision as of 05:16, 16 August 2016