Difference between revisions of "Team:IISER-Kolkata/style.css"

 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
.logo_2018, #firstHeading, #top_menu_under {
+
.pagelink#homeMenu a {
display:none;}
+
    color: gold;
 +
}
  
#content {
+
.maincont#container {
width: 100vw;
+
width: 100vw;
padding: 0;
+
    height: auto;
margin-left:0;
+
display: flex;
 +
flex-direction: column;
 
}
 
}
/*fonts*/
+
 
@font-face {
+
section.mainpage {  
    src: url("https://static.igem.org/mediawiki/2018/1/14/T--IISER-Kolkata--blogger.ttf");
+
position: relative;
    font-family: blogger;
+
display: flex;
}
+
width: 100vw;
@font-face {
+
    src: url("https://static.igem.org/mediawiki/2018/7/7a/T--IISER-Kolkata--prime.otf");
+
    font-family: prime;
+
}
+
@font-face {
+
    src: url("https://static.igem.org/mediawiki/2018/5/5a/T--IISER-Kolkata--rodina.otf");
+
    font-family: rodina;
+
}
+
@font-face {
+
    src: url("https://static.igem.org/mediawiki/2018/f/f7/T--IISER-Kolkata--social.ttf");
+
    font-family: social;
+
 
}
 
}
  
/*body*/
+
/*Landing*/
body, html {
+
.mainpage#landing {
     width: 100vw;
+
     flex-direction: column;
     margin: 0;
+
     min-height: 70vh;
     padding: 0;
+
    align-items: center;
 +
    justify-content: center;
 +
    background-color: #eeeeee;
 +
     padding: 10vmin 0vw 5vmin 0vw;
 
}
 
}
body {
+
#landing #goldmedal {
     height: auto;
+
     height: 20vmin;
     overflow-y: scroll;
+
    width: auto;  
     overflow-x: hidden;
+
     margin: 2vw;  
     margin: auto;
+
     position: absolute;
 +
     left: 80vw;
 +
    top: 5vw; 
 
}
 
}
body::-webkit-scrollbar-track
+
#landing #mainlogo {
{
+
    height: 50vmin;
     background-color: black;
+
    width: auto;
 +
     margin: 2vw;  
 
}
 
}
body::-webkit-scrollbar
+
#landing h3 {
{
+
    width: auto;
     width: 1vw;
+
    font-family: prime;
 +
    font-size: 1.8vmax;
 +
     margin: 2vw 0vw 1.5vw 0vw;
 
}
 
}
body::-webkit-scrollbar-thumb
+
#landing p {
{
+
    margin: 0.8vw 0vw 1.2vw 0vw;
     background-color: #999999;
+
    font-family: blogger;
 +
     font-size: 1.5vmax;
 
}
 
}
body::-webkit-scrollbar-thumb:hover
+
#homeflex {
{
+
     width: 100%;
     background-color: #777777;
+
}
+
#container {
+
 
     height: auto;
 
     height: auto;
    width: 100vw;
 
    display: flex;
 
    flex-direction: column;
 
}
 
section {
 
    position: relative;
 
    display: flex;
 
    height: 100vh;
 
    width: 100vw;
 
}
 
#home {
 
    background: white;
 
    height: 100vh;
 
}
 
#home #iiserk {
 
    height: 6vw;
 
    width: 6vw;   
 
 
     display: flex;
 
     display: flex;
 +
    flex-wrap: wrap;
 
     align-items: center;   
 
     align-items: center;   
     position: absolute;
+
     justify-content: center;
    top: 1vw;
+
    left: 1vw;
+
    z-index: 5;
+
    cursor: pointer;
+
 
}
 
}
#iiserk a img {
+
#homeflex .homebutton {
     height: 6vw;
+
     display: flex;
 +
    align-items: center;
 +
    justify-content: center; 
 
     width: auto;
 
     width: auto;
}
+
     height: 3vmax;  
#home #pagedown {
+
     padding: 1vw;
     top: 90vh;
+
     margin: 1vw;
     left: 47vw;
+
    height: 3vw;
+
     width: 6vw;
+
 
     cursor: pointer;
 
     cursor: pointer;
     display: flex;
+
     background-color: gold;
     align-items: center;
+
     -webkit-transition: 0.2s linear;
     justify-content: center;
+
     -moz-transition: 0.2s linear;
     background-color: gray;
+
     -o-transition: 0.2s linear;
    border: solid black 0.1vw;
+
     transition: 0.2s linear;     
     position: absolute;
+
    font-size: 1.2vw;
+
     font-family: rodina;
+
 
}
 
}
 
+
.homebutton a {
/*abstract page*/
+
     text-decoration: none !important;
#abstract {
+
    color: black;
     background-color: #D8D9E5;
+
 
}
 
}
 
+
.homebutton a p {   
 
+
    font-family: rodina !important;
/*descr page*/
+
    font-size: 1.8vmax !important;       
#descr {
+
    -webkit-transition: 0.2s linear;
     background-color: #B4BAC2;
+
     -moz-transition: 0.2s linear;
 +
    -o-transition: 0.2s linear;
 +
    transition: 0.2s linear;
 
}
 
}
 
+
.homebutton:hover {
#details {
+
     background-color: black !important;
     background-color: #D8D9E5;
+
 
}
 
}
#interLab {
+
.homebutton:hover a {
     height: 600vh;
+
     color: gold !important;
 
}
 
}
#ourTeam {
+
.homebutton a:hover {
    background-color: #B4BAC2;
+
     color: white !important;
}
+
     text-decoration: none;
#sponsors {
+
     background-color: #D8D9E5;
+
}
+
#contactUs {
+
     background-color: #B4BAC2;
+
 
}
 
}
  
#home_gif{
+
/*Sponsors*/
     width: 55vw;
+
.mainpage#sponsors {
     margin-left: 20vw;
+
     flex-wrap: wrap;
     margin-top: 2vh;
+
     height: auto;
 +
    background-color: #dddddd;
 +
     justify-content: space-around;
 
}
 
}
#main_title{
+
#sponsors a img {
    top: 60vh;
+
     height: 20vmin;
    left: 22vw;
+
     width: auto;
     height: 6vw;
+
     margin: 2vmax;
     width: 6vw;
+
    position: absolute;
+
    align-items: center;
+
    justify-content: center;
+
    font-family: blogger;
+
     font-size: 4vw ;
+
 
}
 
}
p {
 
    font-size: 1.3vw !important;
 
    font-family: blogger !important;
 
}
 
span.heading {
 
    font-size: 1.5vw;
 
    font-family: prime;
 
}
 
#title_desc{
 
    position: absolute;
 
    left: 40vw;
 
    top: 65vh;
 
    height: 4vh;
 
    width:40vw;
 
    align-items: center;
 
    justify-content: center;
 
    font-family: sans-serif;
 
    font-size:1.2vw;
 
  
}
+
/*Contact Us*/
 
+
.mainpage#contactUs {
 
+
     flex-wrap: wrap;
#mascot{
+
     height: auto;
     position: absolute;
+
     background-color: #222222;
     margin-left:5vw;
+
     margin-top: 15vh;
+
}
+
#abstractDiv {
+
    position: absolute;
+
}
+
#abstract_text{
+
    height:70vh;
+
    width:55vw;
+
    left:40vw;
+
    top:13vh;
+
 
     justify-content: center;
 
     justify-content: center;
    align-items: center;
 
    position: absolute;
 
    font-size: 1.2vw;
 
    font-family: sans-serif;
 
 
}
 
}
 
+
#contactUs #contactLeft {
 
+
     display: flex;
#descript  ,#detdiv{
+
     flex-direction: column;
     position: absolute;
+
     width: 40vw;
     height:70vh;
+
     margin: 2vw;
     width:80vw;
+
    top:15vh;
+
     left:10vw;
+
 
}
 
}
 
+
#contactUs #contactRight {
 
+
     display: flex;
#des_left ,#det_cont{
+
     flex-direction: column;
     position: absolute;
+
     width: 30vw;
     left:2vw;
+
     margin: 2vw;
    top: 2vh;
+
     width: 80vw;
+
     justify-content: center;
+
    align-items: center;
+
    text-align: justify;
+
    font-family: sans-serif;
+
 
}
 
}
 
+
#contactLeft h4,#contactRight h4 {
 
+
     margin: 1.5vw 0vw 1vw 0vw;
#interDiv {
+
     color: #dddddd;
     position: absolute;
+
     font-family: prime;
     padding: 3vw;
+
     font-size: 1.6vmax;
    width: 80vw;
+
    height: auto;
+
     left: 10vw;
+
     top: 10vh;
+
 
}
 
}
table.table {
+
#contactLeft p,#contactRight p {
     font-size: 1.3vw;
+
     margin: 0.5vw 0vw 0.5vw 0vw;
     border: 0.1vw solid black;  
+
     color: #dddddd;
 
     font-family: blogger;
 
     font-family: blogger;
}
+
     font-size: 1.5vmax;
.table td {
+
     padding: 0.2vw;
+
 
}
 
}
.table th {
+
#contactLeft a,#contactRight a {
     padding: 0.2vw;
+
     color: #999999;
     font-weight: bold;
+
     font-family: blogger;
 +
    font-size: 1.5vmax;
 +
    text-decoration: none;
 
}
 
}
 
+
#contactLeft a:hover,#contactRight a:hover {
 
+
#team {
+
    position: absolute;
+
}
+
#team_left{
+
    width: 35vw;
+
    height: 70vh;
+
    left:10vw;
+
    top:25vh;
+
    position: absolute;
+
}
+
#team_right{
+
    width: 35vw;
+
    height: 70vh;
+
    left:45vw;
+
    top:17vh;
+
    position: absolute;
+
}
+
#team_right2{
+
    width: 35vw;
+
    height: 70vh;
+
    left:75vw;
+
    top:17vh;
+
    position: absolute;
+
}
+
span.instructName {
+
    font-size: 2vw;
+
}
+
span.studentName {
+
    font-size: 1.2vw;
+
}
+
 
+
 
+
#spon {
+
    position: absolute;
+
}
+
#dbt{
+
    width:15vw;
+
    left:10vw;
+
    top:15vh;
+
    position: absolute;
+
    font-size:1.2vw;
+
}
+
#dbt_des{
+
    width:15vw;
+
    left:10vw;
+
    top:20vh;
+
    position: absolute;
+
    background-color: gray;
+
    opacity: 0;
+
 
     color: white;
 
     color: white;
    text-align: center;
 
    font-size:1.2vw;
 
 
}
 
}
#dbt_des:hover{
+
#contactUs #social {
     opacity: 1;
+
     display: flex; 
 +
    width: 100vw;
 +
    margin: 1vmax 0vmax 1vmax 0vmax;
 +
    justify-content: center;  
 
}
 
}
#dbt_text{
+
#social .links {
     top:45vh;
+
     font-family: social;
     left:10vw;
+
     font-size: 4vmax;
     position: absolute;
+
     margin: 1vmax;
     font-size:1.2vw;
+
     color: #999999;
 +
    text-decoration: none;
 +
    -webkit-transition: 0.2s linear;
 +
    -moz-transition: 0.2s linear;
 +
    -o-transition: 0.2s linear;
 +
    transition: 0.2s linear;  
 
}
 
}
#gb{
+
#socFacebook:hover {
     width:25vw;
+
     color: #3b5998;
    position: absolute;
+
    left:30vw;
+
    top:15vh;
+
 
}
 
}
#gb_text{
+
#socTwitter:hover {
     top:33vh;
+
     color: #00aced;
    left:39vw;
+
    position: absolute;
+
    font-size:1.2vw;
+
 
}
 
}
#gb_des{
+
#footer {
     width:25vw;
+
     display: flex;
     position: absolute;
+
     align-items: center;
     left:30vw;
+
     justify-content: flex-end;
    top:18vh;
+
     min-height: 2vmax;
    background-color: gray;
+
     width: 90vw;
     opacity: 0;
+
    color: white;   
+
    text-align: center;
+
     font-size:1.2vw;
+
 
}
 
}
#gb_des:hover{
+
#footer p {
     opacity: 1;
+
     margin: 1vw 0vh 0vw 0vh;
}
+
     padding: 0.5vw 0 0.5vw 0;
#idt{
+
     border-top: 0.1vw solid white;
     width:17.5vw;
+
     font-size: 1.5vmax;
    left:60vw;
+
     font-family: rodina;
    top:15vh;
+
     color: #dddddd;
    position: absolute;
+
}
+
#idt_text{
+
    top:33vh;
+
    left:61vw;
+
    position: absolute;
+
    font-size:1.2vw;
+
}
+
#idt_des{
+
    width:17.5vw;
+
    left:60vw;
+
    top:15vh;
+
    position: absolute;
+
    background-color: gray;
+
    opacity: 0;
+
     font-size:1.2vw;
+
    color: white;
+
    text-align: center;
+
}
+
#idt_des:hover{
+
    opacity: 1;
+
}
+
#ik{
+
    width:15vw;
+
    left:82vw;
+
    top:15vh;
+
    position: absolute;
+
}
+
#ik_des{
+
    font-size:1.2vw;
+
    width:15vw;
+
    left:82vw;
+
    top:25vh;
+
    position: absolute;
+
    background-color: gray;
+
    opacity: 0;
+
    color: white;
+
    text-align: center;   
+
}
+
#ik_des:hover{
+
    opacity: 1;
+
}
+
#ik_text{
+
    position: absolute;
+
    left:86vw;
+
    font-size:1.2vw !importan;
+
    top:47vh;
+
}
+
#neb{
+
    width:25vw;
+
    left:20vw;
+
    top:60vh;
+
    position: absolute;
+
}
+
#neb_des{
+
    width:25vw;
+
    left:20vw;
+
    font-size:1.2vw;
+
    top:63vh;
+
    position: absolute;
+
    background-color: gray;
+
    opacity: 0;
+
    color: white;
+
    text-align: center;
+
}
+
#neb_des:hover{
+
    opacity: 1;
+
}
+
#neb_text{
+
    left:26vw;
+
    top:80vh;
+
     font-size:1.2vw;
+
    position: absolute;
+
}
+
#sg{
+
    width: 35vw;
+
    left:55vw;
+
    top: 60vh;
+
    position: absolute;
+
}
+
#sg_des{
+
    width: 35vw;
+
    left:55vw;
+
     font-size:1.2vw;
+
     top: 65vh;
+
    position: absolute;
+
    background-color: gray;
+
    opacity: 0;
+
    color: white;
+
    text-align: center;
+
}
+
#sg_des:hover{
+
    opacity: 1;
+
}
+
#sg_text{
+
    left:70vw;
+
    font-size:1.2vw;
+
    top:80vh;
+
    position: absolute;
+
 
}
 
}
  
 
+
/*Abstract and Description*/
#contactDiv {
+
#homecontainer {
     position: absolute;
+
     position: relative;
 +
    top: 2vmax;
 +
    width: 100%;
 +
    height: auto;
 +
    display: flex;
 +
    flex-direction: column;
 +
    background-color: #eeeeee;
 
}
 
}
#phys{
+
section.submainpage {
     width: 40vw;
+
     padding: 2.5vw 7.5vw 2.5vw 7.5vw;
    height:80vh;
+
     position: relative;
    font-size: 1.5vw;
+
    position: absolute;
+
    left:10vw;
+
    top: 20vh;
+
}
+
#write{
+
    width: 40vw;
+
    height: 35vh;
+
    left:55vw;
+
    top:12vh;
+
    position: absolute;
+
}
+
#soc{
+
    left:55vw;
+
    top:70vh;
+
    position: absolute;
+
    width:40vw;
+
    height: 30vh;
+
}
+
.ver_tab{
+
    display:inline-block;  
+
    width: 2vw;
+
}
+
 
+
/*navbar*/
+
#menubar { 
+
    width: 100vw;
+
    height: 3vw;
+
    background-color: rgba(0,0,0,1);
+
    display: inline-flex;
+
    align-items: center; 
+
     position: absolute;
+
    top: 100vh;
+
    left: 0vw;
+
    z-index: 10;
+
}
+
#menubar.stickymenu {
+
    position: fixed;
+
    top: 16px;
+
    left: 0vw;
+
}
+
#menubar #logo {
+
    margin-left: 1vw;
+
    margin-right: 1vw;
+
 
     display: flex;
 
     display: flex;
     width: 2.5vw;
+
     flex-direction: column;
    height: 2.5vw;   
+
}
+
#logo img {
+
    height: 100%;
+
    width: 100%;
+
}
+
#menubar .pagelink {
+
    display: flex;
+
 
     align-items: center;
 
     align-items: center;
     justify-content: center; 
+
     min-height: 100vh;
    height: 100%;
+
     width: auto;
     width: 8vw;      
+
 
}
 
}
 
+
.submainpage h1.subheading {
.pagelink div {
+
     width: auto;
     cursor: pointer;
+
     font-family: rodina !important;
     -webkit-transition: 0.2s linear;
+
     font-size: 3vmax !important;
     -moz-transition: 0.2s linear;
+
     margin: 2.5vw 0vw 2.5vw 0vw !important;
     -o-transition: 0.2s linear;
+
     border-bottom: 0.3vw solid gold !important;
     transition: 0.2s linear;
+
 
}
 
}
.pagelink div p {
+
.submainpage p {
     font-family: prime !important;
+
    width: auto;
     font-size: 1.2vw !important;  
+
    align-self: flex-start;
     color: #cccccc;  
+
     font-family: blogger !important;
}
+
     font-size: 1.5vmax !important;
.pagelink div:hover > p {
+
     text-align: justify !important;
     color: white !important;
+
     margin: 0.8vw 0vw 1.2vw 0vw !important;
 
}
 
}

Latest revision as of 05:30, 24 November 2018

.pagelink#homeMenu a {

   color: gold;

}

.maincont#container { width: 100vw;

   height: auto;

display: flex; flex-direction: column; }

section.mainpage { position: relative; display: flex; width: 100vw; }

/*Landing*/ .mainpage#landing {

   flex-direction: column;
   min-height: 70vh;
   align-items: center;
   justify-content: center;
   background-color: #eeeeee;
   padding: 10vmin 0vw 5vmin 0vw;

}

  1. landing #goldmedal {
   height: 20vmin;
   width: auto; 
   margin: 2vw; 
   position: absolute;
   left: 80vw;
   top: 5vw;  

}

  1. landing #mainlogo {
   height: 50vmin;
   width: auto; 
   margin: 2vw;   

}

  1. landing h3 {
   width: auto;
   font-family: prime;
   font-size: 1.8vmax;
   margin: 2vw 0vw 1.5vw 0vw;

}

  1. landing p {
   margin: 0.8vw 0vw 1.2vw 0vw;
   font-family: blogger;
   font-size: 1.5vmax;

}

  1. homeflex {
   width: 100%;
   height: auto;
   display: flex;
   flex-wrap: wrap;
   align-items: center;  
   justify-content: center;

}

  1. homeflex .homebutton {
   display: flex;  
   align-items: center;
   justify-content: center;   
   width: auto;
   height: 3vmax; 
   padding: 1vw;
   margin: 1vw;
   cursor: pointer;
   background-color: gold;
   -webkit-transition: 0.2s linear;
   -moz-transition: 0.2s linear;
   -o-transition: 0.2s linear;
   transition: 0.2s linear;     

} .homebutton a {

   text-decoration: none !important;
   color: black;

} .homebutton a p {

   font-family: rodina !important;
   font-size: 1.8vmax !important;        
   -webkit-transition: 0.2s linear;
   -moz-transition: 0.2s linear;
   -o-transition: 0.2s linear;
   transition: 0.2s linear;

} .homebutton:hover {

   background-color: black !important;

} .homebutton:hover a {

   color: gold !important;

} .homebutton a:hover {

   color: white !important;
   text-decoration: none;

}

/*Sponsors*/ .mainpage#sponsors {

   flex-wrap: wrap;
   height: auto;
   background-color: #dddddd;
   justify-content: space-around;

}

  1. sponsors a img {
   height: 20vmin;
   width: auto;
   margin: 2vmax;

}

/*Contact Us*/ .mainpage#contactUs {

   flex-wrap: wrap;
   height: auto;
   background-color: #222222;
   justify-content: center;

}

  1. contactUs #contactLeft {
   display: flex;
   flex-direction: column;
   width: 40vw;
   margin: 2vw;

}

  1. contactUs #contactRight {
   display: flex;
   flex-direction: column;
   width: 30vw;
   margin: 2vw;

}

  1. contactLeft h4,#contactRight h4 {
   margin: 1.5vw 0vw 1vw 0vw;
   color: #dddddd;
   font-family: prime;
   font-size: 1.6vmax;

}

  1. contactLeft p,#contactRight p {
   margin: 0.5vw 0vw 0.5vw 0vw;
   color: #dddddd;
   font-family: blogger;
   font-size: 1.5vmax;

}

  1. contactLeft a,#contactRight a {
   color: #999999;
   font-family: blogger;
   font-size: 1.5vmax;
   text-decoration: none;

}

  1. contactLeft a:hover,#contactRight a:hover {
   color: white;

}

  1. contactUs #social {
   display: flex;   
   width: 100vw;
   margin: 1vmax 0vmax 1vmax 0vmax;
   justify-content: center; 

}

  1. social .links {
   font-family: social;
   font-size: 4vmax;
   margin: 1vmax;
   color: #999999;
   text-decoration: none;
   -webkit-transition: 0.2s linear;
   -moz-transition: 0.2s linear;
   -o-transition: 0.2s linear;
   transition: 0.2s linear;   

}

  1. socFacebook:hover {
   color: #3b5998;

}

  1. socTwitter:hover {
   color: #00aced;

}

  1. footer {
   display: flex;
   align-items: center;
   justify-content: flex-end;
   min-height: 2vmax;
   width: 90vw;

}

  1. footer p {
   margin: 1vw 0vh 0vw 0vh;
   padding: 0.5vw 0 0.5vw 0;
   border-top: 0.1vw solid white;
   font-size: 1.5vmax;
   font-family: rodina;
   color: #dddddd;

}

/*Abstract and Description*/

  1. homecontainer {
   position: relative;
   top: 2vmax;
   width: 100%;
   height: auto;
   display: flex;
   flex-direction: column;
   background-color: #eeeeee;

} section.submainpage {

   padding: 2.5vw 7.5vw 2.5vw 7.5vw;
   position: relative;
   display: flex;
   flex-direction: column;
   align-items: center;
   min-height: 100vh;
   width: auto;

} .submainpage h1.subheading {

   width: auto;
   font-family: rodina !important;
   font-size: 3vmax !important;
   margin: 2.5vw 0vw 2.5vw 0vw !important;
   border-bottom: 0.3vw solid gold !important;

} .submainpage p {

   width: auto;
   align-self: flex-start;
   font-family: blogger !important;
   font-size: 1.5vmax !important;
   text-align: justify !important;
   margin: 0.8vw 0vw 1.2vw 0vw !important;

}