Difference between revisions of "Template:BIT/css/home"

(Created page with "#main{ margin-top: 46px; } #top-zone{ width: 100%; background-image: url("https://static.igem.org/mediawiki/2018/5/54/T--BIT--iGEM_BIT2018_ANZT_WORK_5.jpeg");: ba...")
 
Line 71: Line 71:
 
}
 
}
 
.one-own p{
 
.one-own p{
     font-size: 24px;
+
     font-size: 24px !important;
     font-weight: bold;
+
     font-weight: bold !important;
     color: black;
+
     color: black !important;
 
}
 
}
 
a{
 
a{

Revision as of 03:19, 18 October 2018

  1. main{
   margin-top: 46px;

}

  1. top-zone{
   width: 100%;
   /*background-image: url("T--BIT--iGEM_BIT2018_ANZT_WORK_5.jpeg");*/
   background-image: url("img/title.jpg");
   padding-bottom: 50%;
   background-repeat: no-repeat;
   background-size: 100%;

}

  1. top-font{
   position: absolute;
   color: white;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   width: 100%;

}

  1. big-title{
   font-size: 5vw;
   margin-bottom: 0.5em;
   font-family: 'Microsoft YaHei UI';
   /*font-family: 'AP';*/

}

  1. small-title{
   font-size: 2vw;

}

  1. main-content{
   margin-top: 50px;
   width: 80%;
   max-width: 1000px;
   margin-bottom: 50px;

}

  1. main-zone{
   display: flex;
   flex-direction: column;
   align-items: center;
   margin-bottom: 100px;

}

  1. main-content p{
   font-size: 18px;
   line-height: 27px;
   font-family: 'quicksand medium';
   text-align: justify;

}

  1. main-content h2{
   font-size: 44px;

} .three{

   display: flex;
   justify-content: space-between;
   width: 60%;
   max-width: 1000px;
   margin-bottom: 40px;

} .one-own{

   width: 50%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   transition: all 0.3s;

} .one-own img{

   width: 100%;

} .one-own:hover{

   width: 70%;

} .one-own p{

   font-size: 24px !important;
   font-weight: bold !important;
   color: black !important;

} a{

   text-decoration: none;

} .all{

   width: 30%;

}