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

 
(44 intermediate revisions by 2 users 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;
 
overflow-x: hidden;
 
margin: auto;
 
}
 
body::-webkit-scrollbar-track
 
{
 
background-color: black;
 
}
 
body::-webkit-scrollbar
 
{
 
width: 1vw;
 
}
 
body::-webkit-scrollbar-thumb
 
{
 
background-color: #999999;
 
}
 
body::-webkit-scrollbar-thumb:hover
 
{
 
    background-color: #777777;
 
}
 
 
#container {
 
height: auto;
 
width: 100vw;
 
 
display: flex;
 
display: flex;
 
flex-direction: column;
 
flex-direction: column;
 
}
 
}
  
#home_gif{
+
section.mainpage {  
    width: 55vw;
+
position: relative;
    margin-left: 20vw;
+
display: flex;
    margin-top: 2vh;
+
width: 100vw;
}
+
#main_title{
+
    top: 60vh;
+
    left: 20vw;
+
    height: 6vw;
+
    width: 6vw;
+
    font-size: 4vw;
+
    position: absolute;
+
    align-items: center;
+
    justify-content: center;
+
}
+
#title_desc{
+
    position: absolute;
+
    left: 40vw;
+
    top: 65vh;
+
    height: 4vh;
+
    width:40vw;
+
    align-items: center;
+
    justify-content: center;
+
 
}
 
}
  
#mascot{
+
/*Landing*/
     margin-left:5vw;
+
.mainpage#landing {
     margin-top: 15vh;
+
     flex-direction: column;
}
+
     min-height: 70vh;
 
+
#abstract_text{
+
    height:70vh;
+
    width:55vw;
+
    left:40vw;
+
    top:13vh;
+
    justify-content: center;
+
 
     align-items: center;
 
     align-items: center;
    position: absolute;
 
}
 
 
#descript  ,#details{
 
    height:70vh;
 
    width:80vw;
 
    top:20vh;
 
    left:10vw;
 
}
 
#des_left ,#det_cont{
 
    position: absolute;
 
    left:10vw;
 
    top: 15vh;
 
    width: 80vw;
 
 
     justify-content: center;
 
     justify-content: center;
     align-items: center;
+
     background-color: #eeeeee;
     text-align: justify;
+
     padding: 10vmin 0vw 5vmin 0vw;
 
}
 
}
#team_left{
+
#landing #goldmedal {
    width: 35vw;
+
     height: 20vmin;
     height: 70vh;
+
     width: auto;  
     left:10vw;
+
     margin: 2vw;  
     top:25vh;
+
 
     position: absolute;
 
     position: absolute;
 +
    left: 80vw;
 +
    top: 5vw; 
 
}
 
}
#team_right{
+
#landing #mainlogo {
    width: 35vw;
+
     height: 50vmin;
     height: 70vh;
+
     width: auto;  
     left:45vw;
+
     margin: 2vw;  
    top:17vh;
+
     position: absolute;
+
 
}
 
}
#team_right2{
+
#landing h3 {
     width: 35vw;
+
     width: auto;
     height: 70vh;
+
     font-family: prime;
     left:75vw;
+
     font-size: 1.8vmax;
     top:17vh;
+
     margin: 2vw 0vw 1.5vw 0vw;
    position: absolute;
+
 
}
 
}
/*navbar*/
+
#landing p {
#menubar {
+
     margin: 0.8vw 0vw 1.2vw 0vw;
width: 100vw;
+
     font-family: blogger;
     height: 3vw;
+
     font-size: 1.5vmax;
    background-color: rgba(0,0,0,1);
+
     display: inline-flex;
+
    align-items: center;
+
     position: absolute;
+
    top: 100vh;
+
    left: 0vw;
+
    z-index: 10;
+
 
}
 
}
#menubar.stickymenu {
+
#homeflex {
     position: fixed;
+
     width: 100%;
     top: 3vh;
+
     height: auto;
    left: 0vw;
+
}
+
#menubar #logo {
+
    margin-left: 1vw;
+
    margin-right: 1vw;
+
 
     display: flex;
 
     display: flex;
     width: 2.5vw;
+
     flex-wrap: wrap;
     height: 2.5vw;     
+
     align-items: center;
 +
     justify-content: center;
 
}
 
}
#logo img {
+
#homeflex .homebutton {
    height: 100%;
+
    width: 100%;
+
}
+
#menubar .pagelink {
+
 
     display: flex;   
 
     display: flex;   
 
     align-items: center;
 
     align-items: center;
 
     justify-content: center;   
 
     justify-content: center;   
     height: 100%;
+
    width: auto;
     width: 8vw;      
+
     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;   
 
}
 
}
#menubar .pagelink#registerMenu {
+
.homebutton a {
     margin-left: auto;
+
     text-decoration: none !important;
 +
    color: black;
 
}
 
}
#menubar .pagelink#loginMenu {
+
.homebutton a p {  
     margin-right: 1vw;
+
     font-family: rodina !important;
}
+
     font-size: 1.8vmax !important;      
.pagelink div {
+
     cursor: pointer;
+
 
     -webkit-transition: 0.2s linear;
 
     -webkit-transition: 0.2s linear;
 
     -moz-transition: 0.2s linear;
 
     -moz-transition: 0.2s linear;
Line 185: Line 84:
 
     transition: 0.2s linear;
 
     transition: 0.2s linear;
 
}
 
}
.pagelink div p {
+
.homebutton:hover {
     font-family: prime !important;
+
     background-color: black !important;
    font-size: 1vw;
+
}
     color: #cccccc;  
+
.homebutton:hover a {
 +
     color: gold !important;
 
}
 
}
.pagelink div:hover > p {
+
.homebutton a:hover {
 
     color: white !important;
 
     color: white !important;
 +
    text-decoration: none;
 
}
 
}
  
section {
+
/*Sponsors*/
position: relative;
+
.mainpage#sponsors {
display: flex;
+
    flex-wrap: wrap;
height: 100vh;
+
    height: auto;
width: 100vw;
+
    background-color: #dddddd;
 +
    justify-content: space-around;
 +
}
 +
#sponsors a img {
 +
    height: 20vmin;
 +
    width: auto;
 +
    margin: 2vmax;
 
}
 
}
  
#home {
+
/*Contact Us*/
     background: white;
+
.mainpage#contactUs {
     height: 100vh;
+
     flex-wrap: wrap;
 +
     height: auto;
 +
    background-color: #222222;
 +
    justify-content: center;
 
}
 
}
#home #iiserk {
+
#contactUs #contactLeft {
    height: 6vw;
+
    width: 6vw;   
+
 
     display: flex;
 
     display: flex;
     align-items: center;
+
     flex-direction: column;
     position: absolute;
+
     width: 40vw;
     top: 1vw;
+
     margin: 2vw;
    left: 1vw;
+
    z-index: 5;
+
    cursor: pointer;
+
 
}
 
}
#iiserk:hover {
+
#contactUs #contactRight {
      
+
     display: flex;
 +
    flex-direction: column;
 +
    width: 30vw;
 +
    margin: 2vw;
 
}
 
}
#iiserk a img {
+
#contactLeft h4,#contactRight h4 {
     height: 6vw;
+
     margin: 1.5vw 0vw 1vw 0vw;
     width: auto;
+
     color: #dddddd;
 +
    font-family: prime;
 +
    font-size: 1.6vmax;
 
}
 
}
#home #pagedown {
+
#contactLeft p,#contactRight p {
     top: 90vh;
+
     margin: 0.5vw 0vw 0.5vw 0vw;
     left: 47vw;
+
     color: #dddddd;
     height: 3vw;
+
     font-family: blogger;
     margin-left: 6vw;
+
    font-size: 1.5vmax;
     margin-top: 7vh;
+
}
     width: 6vw;
+
#contactLeft a,#contactRight a {
     cursor: pointer;
+
    color: #999999;
 +
    font-family: blogger;
 +
    font-size: 1.5vmax;
 +
    text-decoration: none;
 +
}
 +
#contactLeft a:hover,#contactRight a:hover {
 +
    color: white;
 +
}
 +
#contactUs #social {
 +
    display: flex; 
 +
    width: 100vw;
 +
     margin: 1vmax 0vmax 1vmax 0vmax;
 +
    justify-content: center;
 +
}
 +
#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; 
 +
}
 +
#socFacebook:hover {
 +
    color: #3b5998;
 +
}
 +
#socTwitter:hover {
 +
    color: #00aced;
 +
}
 +
#footer {
 
     display: flex;
 
     display: flex;
 
     align-items: center;
 
     align-items: center;
     justify-content: center;
+
     justify-content: flex-end;
     background-color: gray;
+
     min-height: 2vmax;
     border: solid black 0.1vw;
+
     width: 90vw;
 
}
 
}
 
+
#footer p {
/*aboutUs page*/
+
    margin: 1vw 0vh 0vw 0vh;
#aboutUs {
+
    padding: 0.5vw 0 0.5vw 0;
background-color: #D8D9E5;
+
    border-top: 0.1vw solid white;
 +
    font-size: 1.5vmax;
 +
    font-family: rodina;
 +
    color: #dddddd;
 
}
 
}
  
 
+
/*Abstract and Description*/
/*events page*/
+
#homecontainer {
#events {
+
    position: relative;
     background-color: #B4BAC2;
+
    top: 2vmax;
 +
    width: 100%;
 +
    height: auto;
 +
    display: flex;
 +
    flex-direction: column;
 +
     background-color: #eeeeee;
 
}
 
}
 
+
section.submainpage {
#gallery {
+
     padding: 2.5vw 7.5vw 2.5vw 7.5vw;
     background-color: #D8D9E5;
+
    position: relative;
 +
    display: flex;
 +
    flex-direction: column;
 +
    align-items: center;
 +
    min-height: 100vh;
 +
    width: auto;
 
}
 
}
#ourTeam {
+
.submainpage h1.subheading {
     background-color: #B4BAC2;
+
     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;
 
}
 
}
#sponsors {
+
.submainpage p {
     background-color: #D8D9E5;
+
     width: auto;
}
+
    align-self: flex-start;
#reachUs {
+
    font-family: blogger !important;
     background-color: #B4BAC2;
+
    font-size: 1.5vmax !important;
     height: 100vh;
+
     text-align: justify !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;

}