Line 2: | Line 2: | ||
display:none;} | display:none;} | ||
+ | #content { | ||
+ | width: 100vw; | ||
+ | padding: 0; | ||
+ | } | ||
/*fonts*/ | /*fonts*/ | ||
@font-face { | @font-face { |
Revision as of 03:59, 23 June 2018
.logo_2018, #firstHeading, #top_menu_under { display:none;}
- content {
width: 100vw; padding: 0; } /*fonts*/ @font-face {
src: url("https://2018.igem.org/File:T--IISER-Kolkata--blogger.ttf"); font-family: blogger;
} @font-face {
src: url("https://2018.igem.org/File:T--IISER-Kolkata--prime.otf"); font-family: prime;
} @font-face {
src: url("https://2018.igem.org/File:T--IISER-Kolkata--rodina.otf"); font-family: rodina;
} @font-face {
src: url("https://2018.igem.org/File:T--IISER-Kolkata--social.ttf"); font-family: social;
}
/*body*/ body, html { width: 100vw; margin: 0; padding: 0; } body {
height: 1200vh;
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: 1200vh; width: 100vw; display: flex; flex-direction: column; }
/*navbar*/
- menubar {
width: 100vw;
height: 3vw; background-color: rgba(0,0,0,0.7); display: inline-flex; align-items: center; position: absolute; top: 100vh; left: 0vw; z-index: 10;
}
- menubar.stickymenu {
position: fixed; top: 3vh; left: 1.6vw;
}
- menubar #logo {
margin-left: 1vw; margin-right: 1vw; display: flex; width: 2.5vw; height: 2.5vw;
}
- logo img {
height: 100%; width: 100%;
}
- menubar .pagelink {
display: flex; align-items: center; justify-content: center; height: 100%; width: 8vw;
}
- menubar .pagelink#registerMenu {
margin-left: auto;
}
- menubar .pagelink#loginMenu {
margin-right: 1vw;
} .pagelink div {
cursor: pointer; -webkit-transition: 0.2s linear; -moz-transition: 0.2s linear; -o-transition: 0.2s linear; transition: 0.2s linear;
} .pagelink div p {
font-family: prime; font-size: 1.3vw; color: #cccccc;
} .pagelink div:hover > p {
color: white !important;
}
- register {
position: fixed; display: flex; height: 40vw; width: 40vw; left: -45vw; top: 50vh; margin-top: -20vw; background-color: white; border: 0.2vw solid black; border-radius: 2vw; z-index: 10; -webkit-transition: 0.2s linear; -moz-transition: 0.2s linear; -o-transition: 0.2s linear; transition: 0.2s linear;
}
- login {
position: fixed; display: flex; height: 20vw; width: 30vw; left: -35vw; top: 50vh; margin-top: -10vw; background-color: white; border: 0.2vw solid black; border-radius: 2vw; z-index: 10; -webkit-transition: 0.2s linear; -moz-transition: 0.2s linear; -o-transition: 0.2s linear; transition: 0.2s linear;
} .orangetext div p {
color: orange !important;
} .orangetext div:hover > p {
color: yellow !important;
}
- login .exit, #register .exit {
position: absolute; top: 1vw; right: 1vw; height: 3vw; width: 3vw; border-radius: 100%; font-family: rodina; font-weight: bold; font-size: 3vw; cursor: pointer; color: black; z-index: 1; display: flex; align-items: center; justify-content: center; -webkit-transition: 0.2s linear; -moz-transition: 0.2s linear; -o-transition: 0.2s linear; transition: 0.2s linear;
}
- login .exit:hover, #register .exit:hover {
background-color: black; color: white;
}
section { position: relative; display: flex; height: 200vh; 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:hover {
}
- iiserk a img {
height: 6vw; width: auto;
}
- home #pagedown {
position: absolute; top: 80vh; left: 47vw; height: 3vw; width: 6vw; font-size: 2vw; cursor: pointer; display: flex; align-items: center; justify-content: center; background-color: gray; border: solid black 0.1vw;
}
/*aboutUs page*/
- aboutUs {
background-color: chartreuse; }
/*events page*/
- events {
background-color: yellow;
}
- gallery {
background-color: orange;
}
- ourTeam {
background-color: darkorchid;
}
- sponsors {
background-color: goldenrod;
}
- reachUs {
background-color: pink; height: 100vh;
}