Difference between revisions of "Template:NAU-CHINA/header"

Line 11: Line 11:
 
     }
 
     }
  
    #head_container {
+
 
      display: grid;
+
      grid-template-rows: 60px 150px;
+
      text-align: center;
+
      line-height: 60px; /*line-height的值应与grid-template-rows的值相等,用于垂直居中*/
+
      /*background-color: #C7EDCC;*/
+
      font-family: Goudy Old Style Regular,sans-serif;
+
      font-size: 18px;   
+
    }
+
  
 
     #nav_container {
 
     #nav_container {
Line 40: Line 32:
 
     #nav a:hover {background-color: #C7EDCC;}
 
     #nav a:hover {background-color: #C7EDCC;}
  
 
 
    .head_picture {
 
      background-image: url(https://static.igem.org/mediawiki/2018/7/7b/T--NAU-CHINA--head_picture1.png);
 
      background-size: cover;
 
      line-height: 150px;
 
      font-size: 50px;
 
      color: white;
 
 
    }
 
  
  

Revision as of 01:27, 29 September 2018

2018_NAU-CHINA/header