Difference between revisions of "Template:Kyoto"

Line 277: Line 277:
  
 
         /* top banner list */
 
         /* top banner list */
        ul.nv {  
+
.nav {
                width:1450px;
+
  text-align:center;
                height: 10vh;
+
  width: 1024px;
                position: relative;
+
  height:72px;
                margin-left: 15px;
+
  position: relative;
                letter-spacing: -.40em;
+
  left: 0;
        }
+
}
     
+
.nav ul {
        ul.nv li {
+
  width:1024px;
                width: 11%;
+
  margin: 0 auto;
                display: inline-block;
+
  list-style-type: none;
                list-style-type: none;
+
}
                position: relative;
+
.nav ul li{
                vertical-align: center;
+
  float: left;
                text-align: center;
+
  width: 121px;
                font-size:18px;
+
  margin: 0;
                letter-spacing: normal;
+
  /*border-right: 1px solid #e6e4e4;*/
        }
+
  box-sizing: border-box;
 
+
  /*text-indent:-9999px;*/
        ul.nv a {
+
}
                background-color: #cc0000;  
+
.nav ul li:last-child {
                color: white;             
+
  border-right: none;
                line-height: 40px;       
+
}
                text-align: center;      
+
.nav ul li a{
                text-decoration: none;   
+
  display: block;
                font-weight: bold;        
+
  width: 100%;
                display: block;           
+
  height:72px;
        }
+
  line-height:72px;
        ul.nv a:hover {
+
}
                background-color: #ffdddd;  
+
                color: #dd0000;           
+
        }
+
 
+
        ul.nv li:hover ul {
+
                display: block;
+
        }
+
     
+
        ul.nv ul{
+
                display: none;
+
                margin: 0px;
+
                padding: 0px;
+
                position: absolute;
+
        }
+
  
 
/* non numbered lists */
 
/* non numbered lists */

Revision as of 04:15, 15 October 2017