Difference between revisions of "Template:NCKU Tainan/Style"

Line 9: Line 9:
 
   #sideMenu, #top_title, .patrollink  {display:none;}
 
   #sideMenu, #top_title, .patrollink  {display:none;}
 
   #content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px; background-color: transparent;}
 
   #content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px; background-color: transparent;}
   body { background-color:grey; }
+
   body { background-color:#eee; }
 
   #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
   #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
   html {
 
   html {
Line 21: Line 21:
 
   #HQ_page p {
 
   #HQ_page p {
 
     font-family: 'Noto Serif', serif;
 
     font-family: 'Noto Serif', serif;
 +
  }
 +
  .vertical-container {
 +
    height: 100vh;
 +
    display: -webkit-flex;
 +
    display:        flex;
 +
    -webkit-align-items: center;
 +
            align-items: center;
 +
    -webkit-justify-content: center;
 +
            justify-content: center;
 +
 +
 +
    background-size: cover;
 +
    background-repeat: no-repeat;
 +
    background-attachment: scroll;
 +
    background-position: center;
 +
  }
 +
 +
  .category{
 +
    height: 100vh;
 +
    text-align: center;
 +
    /*border: 2px solid rgb(228, 159, 5);*/
 +
  }
 +
  .category h1{
 +
    margin: auto;
 +
    color: #eee;
 +
    font-size: 120px;
 +
    font-style: bolder;
 +
    font-family: 'Kalam', cursive;
 +
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
 
   }
 
   }
  

Revision as of 13:32, 18 October 2017