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

 
(11 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 {
+
width: 100vw;
+
padding: 0;
+
margin-left:0;
+
}
+
/*fonts*/
+
@font-face {
+
    src: url("https://static.igem.org/mediawiki/2018/1/14/T--IISER-Kolkata--blogger.ttf");
+
    font-family: blogger;
+
}
+
@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*/
+
.maincont#container {
body, html {
+
width: 100vw;
    width: 100vw;
+
    margin: 0;
+
    padding: 0;
+
}
+
body { 
+
 
     height: auto;
 
     height: auto;
    overflow-y: scroll;
+
display: flex;
    overflow-x: hidden;
+
flex-direction: column;
    margin: auto;
+
 
}
 
}
body::-webkit-scrollbar-track
+
 
{
+
section.mainpage {  
    background-color: black;
+
position: relative;
 +
display: flex;
 +
width: 100vw;
 
}
 
}
body::-webkit-scrollbar
+
 
{
+
/*Landing*/
    width: 1vw;
+
.mainpage#landing {
}
+
body::-webkit-scrollbar-thumb
+
{
+
    background-color: #999999;
+
}
+
body::-webkit-scrollbar-thumb:hover
+
{
+
    background-color: #777777;
+
}
+
#container {
+
    height: auto;
+
    width: 100vw;
+
    display: flex;
+
 
     flex-direction: column;
 
     flex-direction: column;
}
+
     min-height: 70vh;
section {
+
     position: relative;
+
    display: flex;
+
    height: 100vh;
+
    width: 100vw;
+
}
+
#home {
+
    background: white;
+
    height: 100vh;
+
}
+
#home #iiserk {
+
    height: 6vw;
+
    width: 6vw;   
+
    display: flex;
+
    align-items: center; 
+
    position: absolute;
+
    top: 1vw;
+
    left: 1vw;
+
    z-index: 5;
+
    cursor: pointer;
+
}
+
#iiserk a img {
+
    height: 6vw;
+
    width: auto;
+
}
+
#home #pagedown {
+
    top: 90vh;
+
    left: 47vw;
+
    height: 3vw;
+
    width: 6vw;
+
    cursor: pointer;
+
    display: flex;
+
 
     align-items: center;
 
     align-items: center;
 
     justify-content: center;
 
     justify-content: center;
     background-color: gray;
+
     background-color: #eeeeee;
     border: solid black 0.1vw;
+
     padding: 10vmin 0vw 5vmin 0vw;
 +
}
 +
#landing #goldmedal {
 +
    height: 20vmin;
 +
    width: auto;
 +
    margin: 2vw;  
 
     position: absolute;
 
     position: absolute;
     font-size: 1.2vw;
+
     left: 80vw;
     font-family: rodina;
+
     top: 5vw;
 
}
 
}
 
+
#landing #mainlogo {
/*abstract page*/
+
     height: 50vmin;
#abstract {
+
    width: auto;
     background-color: #D8D9E5;
+
    margin: 2vw;  
 
}
 
}
 
+
#landing h3 {
 
+
     width: auto;
/*descr page*/
+
    font-family: prime;
#descr {
+
    font-size: 1.8vmax;
     background-color: #B4BAC2;
+
    margin: 2vw 0vw 1.5vw 0vw;
 
}
 
}
 
+
#landing p {
#details {
+
     margin: 0.8vw 0vw 1.2vw 0vw;
     background-color: #D8D9E5;
+
    font-family: blogger;
 +
    font-size: 1.5vmax;
 
}
 
}
#interLab {
+
#homeflex {
    height: 400vh;
+
     width: 100%;
}
+
     height: auto;
#ourTeam {
+
     display: flex;
    background-color: #B4BAC2;
+
     flex-wrap: wrap;
}
+
     align-items: center;
#sponsors {
+
    background-color: #D8D9E5;
+
}
+
#contactUs {
+
    background-color: #B4BAC2;
+
}
+
 
+
#home_gif{
+
     width: 55vw;
+
    margin-left: 20vw;
+
    margin-top: 2vh;
+
}
+
#main_title{
+
    top: 60vh;
+
    left: 22vw;
+
     height: 6vw;
+
     width: 6vw;
+
     position: absolute;
+
     align-items: center;
+
 
     justify-content: center;
 
     justify-content: center;
    font-family: blogger;
 
    font-size: 4vw ;
 
 
}
 
}
p {
+
#homeflex .homebutton {
    font-size: 1.3vw !important;
+
     display: flex;
    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;
 
     align-items: center;
     justify-content: center;
+
     justify-content: center;  
     font-family: sans-serif;
+
     width: auto;
     font-size:1.2vw;
+
    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;
#mascot{
+
     color: black;
     position: absolute;
+
    margin-left:5vw;
+
     margin-top: 15vh;
+
 
}
 
}
#abstractDiv {
+
.homebutton a p {  
     position: absolute;
+
     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;
 
}
 
}
#abstract_text{
+
.homebutton:hover {
     height:70vh;
+
     background-color: black !important;
    width:55vw;
+
    left:40vw;
+
    top:13vh;
+
    justify-content: center;
+
    align-items: center;
+
    position: absolute;
+
    font-size: 1.2vw;
+
    font-family: sans-serif;
+
 
}
 
}
 
+
.homebutton:hover a {
 
+
     color: gold !important;
#descript  ,#detdiv{
+
     position: absolute;
+
    height:70vh;
+
    width:80vw;
+
    top:20vh;
+
    left:10vw;
+
 
}
 
}
 
+
.homebutton a:hover {
 
+
     color: white !important;
#des_left ,#det_cont{
+
     text-decoration: none;
     position: absolute;
+
    left:10vw;
+
    top: 15vh;
+
    width: 80vw;
+
    justify-content: center;
+
    align-items: center;
+
     text-align: justify;
+
    font-family: sans-serif;
+
 
}
 
}
  
 
+
/*Sponsors*/
#interDiv {
+
.mainpage#sponsors {
     position: absolute;
+
     flex-wrap: wrap;
    padding: 2vw;
+
    width: 80vw;
+
 
     height: auto;
 
     height: auto;
     left: 10vw;
+
     background-color: #dddddd;
 +
    justify-content: space-around;
 
}
 
}
table.table {
+
#sponsors a img {
     font-size: 1.3vw;
+
     height: 20vmin;
    border: 0.1vw solid black;
+
     width: auto;
    font-family: rodina;
+
     margin: 2vmax;
}
+
.table td {
+
    padding: 0.2vw;
+
}
+
.table th {
+
    padding: 0.2vw;
+
    background-color: #444444;  
+
     color: white;
+
     font-weight: bold;
+
 
}
 
}
  
 
+
/*Contact Us*/
#team {
+
.mainpage#contactUs {
     position: absolute;
+
     flex-wrap: wrap;
 +
    height: auto;
 +
    background-color: #222222;
 +
    justify-content: center;
 
}
 
}
#team_left{
+
#contactUs #contactLeft {
     width: 35vw;
+
     display: flex;
     height: 70vh;
+
     flex-direction: column;
     left:10vw;
+
     width: 40vw;
    top:25vh;
+
     margin: 2vw;
     position: absolute;
+
 
}
 
}
#team_right{
+
#contactUs #contactRight {
     width: 35vw;
+
     display: flex;
     height: 70vh;
+
     flex-direction: column;
     left:45vw;
+
     width: 30vw;
    top:17vh;
+
     margin: 2vw;
     position: absolute;
+
 
}
 
}
#team_right2{
+
#contactLeft h4,#contactRight h4 {
     width: 35vw;
+
     margin: 1.5vw 0vw 1vw 0vw;
     height: 70vh;
+
     color: #dddddd;
     left:75vw;
+
     font-family: prime;
     top:17vh;
+
     font-size: 1.6vmax;
    position: absolute;
+
 
}
 
}
span.instructName {
+
#contactLeft p,#contactRight p {
     font-size: 2vw;
+
    margin: 0.5vw 0vw 0.5vw 0vw;
 +
    color: #dddddd;
 +
    font-family: blogger;
 +
     font-size: 1.5vmax;
 
}
 
}
span.studentName {
+
#contactLeft a,#contactRight a {
     font-size: 1.2vw;
+
    color: #999999;
 +
    font-family: blogger;
 +
     font-size: 1.5vmax;
 +
    text-decoration: none;
 
}
 
}
 
+
#contactLeft a:hover,#contactRight a:hover {
 
+
#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;

}