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

(Created page with "fonts: @font-face { src: url("../fonts/blogger.ttf"); font-family: blogger; } @font-face { src: url("../fonts/prime.otf"); font-family: prime; } @font-face...")
 
Line 1: Line 1:
 
/*fonts*/
 
/*fonts*/
 
@font-face {
 
@font-face {
     src: url("../fonts/blogger.ttf");
+
     src: url("https://static.igem.org/mediawiki/2018/1/14/T--IISER-Kolkata--blogger.ttf");
 
     font-family: blogger;
 
     font-family: blogger;
 
}
 
}
 
@font-face {
 
@font-face {
     src: url("../fonts/prime.otf");
+
     src: url("https://static.igem.org/mediawiki/2018/7/7a/T--IISER-Kolkata--prime.otf");
 
     font-family: prime;
 
     font-family: prime;
 
}
 
}
 
@font-face {
 
@font-face {
     src: url("../fonts/rodina.otf");
+
     src: url("https://static.igem.org/mediawiki/2018/5/5a/T--IISER-Kolkata--rodina.otf");
 
     font-family: rodina;
 
     font-family: rodina;
 
}
 
}
 
@font-face {
 
@font-face {
     src: url("../fonts/social.ttf");
+
     src: url("https://static.igem.org/mediawiki/2018/f/f7/T--IISER-Kolkata--social.ttf");
 
     font-family: social;
 
     font-family: social;
 
}
 
}

Revision as of 06:54, 10 October 2018

/*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*/ body, html { margin: 0; padding: 0; } body { 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;

}

/*navbar*/

  1. menubar {
   width: 100vw;
   height: 3vmax;
   background-color: #222222;
   display: flex;
   align-items: center;  
   position: fixed;
   top: 18px;
   left: 0vw;
   z-index: 10;

}

  1. menubar #logo {
   margin: 0vw 1vw 0vw 0vw;
   align-self: flex-start;
   display: flex;
   align-items: flex-start;
   justify-content: flex-end;
   width: 8vmax;
   height: 5vmax; 
   border-radius: 0% 0% 50% 0%;
   background-color: #222222;

}

  1. logo a {
   height: 90%;
   width: 70%;

}

  1. logo a img {
   height: 100%;
   width: auto;

}

  1. menubar .pagelink {
   display: flex;  
   align-items: center;
   justify-content: center;   
   height: 100%;
   width: auto; 
   padding: 0vw 2vw 0vw 2vw;
   -webkit-transition: 0.2s linear;
   -moz-transition: 0.2s linear;
   -o-transition: 0.2s linear;
   transition: 0.2s linear;     

} .pagelink a {

   text-decoration: none;
   font-family: prime;
   font-size: 1.5vmax; 
   color: white;  
   cursor: pointer; 

} .pagelink a:hover {

   color: wheat !important;

}

/*side tabnav*/

  1. sidenav {
   width: 15vw;
   height: 100vh;
   display: flex;
   flex-direction: column;
   align-items: center;  
   justify-content: center;
   position: fixed;
   top: 18px;
   left: 0vw;
   z-index: 5;

}

  1. sidenav .subtab {
   display: flex;  
   align-items: center;
   justify-content: center;   
   width: 90%;
   height: 3vmax; 
   padding: 0.5vw 0vw 0.5vw 0vw;
   margin: 0.5vw 0vw 0.5vw 0vw;
   border-radius: 0vw 2vw 0vw 2vw;
   cursor: pointer;
   -webkit-transition: 0.2s linear;
   -moz-transition: 0.2s linear;
   -o-transition: 0.2s linear;
   transition: 0.2s linear;     

} .subtab#problemTab,.subtab#assemblyTab,.subtab#resultsTab,.subtab#fieSurTab,.subtab#studentsTab {

   background-color: black;

} .subtab#problemTab p,.subtab#assemblyTab p,.subtab#resultsTab p,.subtab#fieSurTab p,.subtab#studentsTab p {

   color: white;

} .subtab p {

   text-decoration: none;
   font-family: rodina;
   font-size: 1.8vmax; 
   color: black;   

} .subtab:hover {

   background-color: rgba(0,0,0,0.3) !important;
   border-radius: 0vw 2vw 0vw 2vw !important;

} .subtab:hover > p {

   color: white !important;

}

/*page layouts*/ .subcontainer {

   position: relative;
   top: 3vmax;
   width: 85vw;
   left: 15vw;
   height: auto;
   display: flex;
   flex-direction: column;
   background-color: #eeeeee;

} section.subpage {

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

} .subpage h1.subheading {

   width: auto;
   font-family: rodina;
   font-size: 3vmax;
   margin: 2.5vw 0vw 2.5vw 0vw;

} .subpage h3.subsubheading {

   width: auto;
   align-self: flex-start;
   font-family: prime;
   font-size: 1.8vmax;
   margin: 2vw 0vw 1.5vw 0vw;

} .subpage p,ul,ol {

   width: 70vw;
   font-family: blogger;
   font-size: 1.5vmax;
   text-align: justify;
   margin: 0.8vw 0vw 1.2vw 0vw;

} .subpage li {

   margin: 0.7vw 0vw 0.7vw 0vw;

} table.table {

   font-size: 1.5vmax; 
   font-family: blogger;
   border-collapse: collapse;
   caption-side: bottom;
   margin: 2vw;

} .table caption {

   margin: 0.5vw;
   font-size: 1.3vmax; 

} .table td {

   min-width: 5vw;
   padding: 0.5vw;
   background-color: #eeeeee;
   text-align: center;
   border: 0.1vw solid black; 
   margin: 0vw;

} .table th {

   min-width: 5vw;
   padding: 0.5vw;
   background-color: #dddddd;
   border: 0.1vw solid black; 
   margin: 0vw;

}