Difference between revisions of "Template:Tokyo Tech"

Line 102: Line 102:
 
}
 
}
 
.menu_list_class li{
 
.menu_list_class li{
display: table-cell;
+
// display: table-cell;
 +
float: left;
 +
list-style: none;
 
position: relative;
 
position: relative;
margin: 0 5%;
+
// margin: 0 1.71%;
padding: 0 1%;
+
margin: 0;
 +
padding: 0;
 +
width: 12.5%;
 
text-align: center;
 
text-align: center;
}
+
vertical-align: middle;
 
+
#menu_list_class li:nth-child(5n+1){
+
margin: 0 1% 0 0;
+
 
}
 
}
 
.menu_list_class li a{
 
.menu_list_class li a{
Line 117: Line 118:
 
height: 48px;
 
height: 48px;
 
margin: 0;
 
margin: 0;
padding: 15px 30px 11px;
+
padding: 2px 0;
 
color: #583612;
 
color: #583612;
 
font-size: 18px;
 
font-size: 18px;
Line 412: Line 413:
 
</body>
 
</body>
 
</html>
 
</html>
 
 
{{Team:Tokyo_Tech/template2016}}
 
{{Team:Tokyo_Tech/template2016}}

Revision as of 20:16, 18 October 2016