Difference between revisions of "Template:Kyoto"

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