Line 1: | Line 1: | ||
.logo_2018, #firstHeading, #top_menu_under { | .logo_2018, #firstHeading, #top_menu_under { | ||
− | display:none | + | display:none;} |
#content { | #content { | ||
− | width: 100vw | + | width: 100vw; |
− | padding: 0 | + | padding: 0; |
− | margin-left:0 | + | margin-left:0; |
} | } | ||
/*fonts*/ | /*fonts*/ | ||
@font-face { | @font-face { | ||
− | src: url("https://static.igem.org/mediawiki/2018/1/14/T--IISER-Kolkata--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("https://static.igem.org/mediawiki/2018/7/7a/T--IISER-Kolkata--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("https://static.igem.org/mediawiki/2018/5/5a/T--IISER-Kolkata--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("https://static.igem.org/mediawiki/2018/f/f7/T--IISER-Kolkata--social.ttf") | + | src: url("https://static.igem.org/mediawiki/2018/f/f7/T--IISER-Kolkata--social.ttf"); |
− | font-family: social | + | font-family: social; |
} | } | ||
/*body*/ | /*body*/ | ||
body, html { | body, html { | ||
− | width: 100vw | + | width: 100vw; |
− | margin: 0 | + | margin: 0; |
− | padding: 0 | + | padding: 0; |
} | } | ||
body { | body { | ||
− | height: auto | + | height: auto; |
− | overflow-y: scroll | + | overflow-y: scroll; |
− | overflow-x: hidden | + | overflow-x: hidden; |
− | margin: auto | + | margin: auto; |
} | } | ||
body::-webkit-scrollbar-track | body::-webkit-scrollbar-track | ||
{ | { | ||
− | background-color: black | + | background-color: black; |
} | } | ||
body::-webkit-scrollbar | body::-webkit-scrollbar | ||
{ | { | ||
− | width: 1vw | + | width: 1vw; |
} | } | ||
body::-webkit-scrollbar-thumb | body::-webkit-scrollbar-thumb | ||
{ | { | ||
− | background-color: #999999 | + | background-color: #999999; |
} | } | ||
body::-webkit-scrollbar-thumb:hover | body::-webkit-scrollbar-thumb:hover | ||
{ | { | ||
− | background-color: #777777 | + | background-color: #777777; |
} | } | ||
#container { | #container { | ||
− | height: auto | + | height: auto; |
− | width: 100vw | + | width: 100vw; |
− | display: flex | + | display: flex; |
− | flex-direction: column | + | flex-direction: column; |
} | } | ||
#home_gif{ | #home_gif{ | ||
− | width: 55vw | + | width: 55vw; |
− | margin-left: 20vw | + | margin-left: 20vw; |
− | margin-top: 2vh | + | margin-top: 2vh; |
} | } | ||
#main_title{ | #main_title{ | ||
− | top: 60vh | + | top: 60vh; |
− | left: 20vw | + | left: 20vw; |
− | height: 6vw | + | height: 6vw; |
− | width: 6vw | + | width: 6vw; |
− | font-size: 4vw | + | font-size: 4vw; |
− | position: absolute | + | position: absolute; |
− | align-items: center | + | align-items: center; |
− | justify-content: center | + | justify-content: center; |
} | } | ||
#title_desc{ | #title_desc{ | ||
− | position: absolute | + | position: absolute; |
− | left: 40vw | + | left: 40vw; |
− | top: 65vh | + | top: 65vh; |
− | height: 4vh | + | height: 4vh; |
− | width:40vw | + | width:40vw; |
− | align-items: center | + | align-items: center; |
− | justify-content: center | + | justify-content: center; |
} | } | ||
#mascot{ | #mascot{ | ||
− | margin-left:5vw | + | margin-left:5vw; |
− | margin-top: 15vh | + | margin-top: 15vh; |
} | } | ||
#abstract_text{ | #abstract_text{ | ||
− | height:70vh | + | height:70vh; |
− | width:55vw | + | width:55vw; |
− | left:40vw | + | left:40vw; |
− | top:13vh | + | top:13vh; |
− | justify-content: center | + | justify-content: center; |
− | align-items: center | + | align-items: center; |
− | position: absolute | + | position: absolute; |
} | } | ||
#descript ,#details{ | #descript ,#details{ | ||
− | height:70vh | + | height:70vh; |
− | width:80vw | + | width:80vw; |
− | top:20vh | + | top:20vh; |
− | left:10vw | + | left:10vw; |
} | } | ||
#des_left ,#det_cont{ | #des_left ,#det_cont{ | ||
− | position: absolute | + | position: absolute; |
− | left:10vw | + | left:10vw; |
− | top: 15vh | + | top: 15vh; |
− | width: 80vw | + | width: 80vw; |
− | justify-content: center | + | justify-content: center; |
− | align-items: center | + | align-items: center; |
− | text-align: justify | + | text-align: justify; |
} | } | ||
#team_left{ | #team_left{ | ||
− | width: 35vw | + | width: 35vw; |
− | height: 70vh | + | height: 70vh; |
− | left:10vw | + | left:10vw; |
− | top:25vh | + | top:25vh; |
− | position: absolute | + | position: absolute; |
} | } | ||
#team_right{ | #team_right{ | ||
− | width: 35vw | + | width: 35vw; |
− | height: 70vh | + | height: 70vh; |
− | left:45vw | + | left:45vw; |
− | top:17vh | + | top:17vh; |
− | position: absolute | + | position: absolute; |
} | } | ||
#team_right2{ | #team_right2{ | ||
− | width: 35vw | + | width: 35vw; |
− | height: 70vh | + | height: 70vh; |
− | left:75vw | + | left:75vw; |
− | top:17vh | + | top:17vh; |
− | position: absolute | + | position: absolute; |
} | } | ||
/*navbar*/ | /*navbar*/ | ||
#menubar { | #menubar { | ||
− | width: 100vw | + | width: 100vw; |
− | height: 3vw | + | height: 3vw; |
− | background-color: rgba(0,0,0,0.8) | + | background-color: rgba(0,0,0,0.8); |
− | display: inline-flex | + | display: inline-flex; |
− | align-items: center | + | align-items: center; |
− | position: absolute | + | position: absolute; |
− | top: 100vh | + | top: 100vh; |
− | left: 0vw | + | left: 0vw; |
− | z-index: 10 | + | z-index: 10; |
} | } | ||
#menubar.stickymenu { | #menubar.stickymenu { | ||
− | position: fixed | + | position: fixed; |
− | top: 3vh | + | top: 3vh; |
− | left: 0vw | + | left: 0vw; |
} | } | ||
#menubar #logo { | #menubar #logo { | ||
− | margin-left: 1vw | + | margin-left: 1vw; |
− | margin-right: 1vw | + | margin-right: 1vw; |
− | display: flex | + | display: flex; |
− | width: 2.5vw | + | width: 2.5vw; |
− | height: 2.5vw | + | height: 2.5vw; |
} | } | ||
#logo img { | #logo img { | ||
− | height: 100% | + | height: 100%; |
− | width: 100% | + | width: 100%; |
} | } | ||
#menubar .pagelink { | #menubar .pagelink { | ||
− | display: flex | + | display: flex; |
− | align-items: center | + | align-items: center; |
− | justify-content: center | + | justify-content: center; |
− | height: 100% | + | height: 100%; |
− | width: 8vw | + | width: 8vw; |
} | } | ||
#menubar .pagelink#registerMenu { | #menubar .pagelink#registerMenu { | ||
− | margin-left: auto | + | margin-left: auto; |
} | } | ||
#menubar .pagelink#loginMenu { | #menubar .pagelink#loginMenu { | ||
− | margin-right: 1vw | + | margin-right: 1vw; |
} | } | ||
.pagelink div { | .pagelink div { | ||
− | cursor: pointer | + | cursor: pointer; |
− | -webkit-transition: 0.2s linear | + | -webkit-transition: 0.2s linear; |
− | -moz-transition: 0.2s linear | + | -moz-transition: 0.2s linear; |
− | -o-transition: 0.2s linear | + | -o-transition: 0.2s linear; |
− | transition: 0.2s linear | + | transition: 0.2s linear; |
} | } | ||
.pagelink div p { | .pagelink div p { | ||
− | font-family: prime | + | font-family: prime !important; |
− | font-size: 1vw | + | font-size: 1vw; |
− | color: #cccccc | + | color: #cccccc; |
} | } | ||
.pagelink div:hover > p { | .pagelink div:hover > p { | ||
− | color: white | + | color: white !important; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
section { | section { | ||
− | position: relative | + | position: relative; |
− | display: flex | + | display: flex; |
− | height: 100vh | + | height: 100vh; |
− | width: 100vw | + | width: 100vw; |
} | } | ||
#home { | #home { | ||
− | background: white | + | background: white; |
− | height: 100vh | + | height: 100vh; |
} | } | ||
#home #iiserk { | #home #iiserk { | ||
− | height: 6vw | + | height: 6vw; |
− | width: 6vw | + | width: 6vw; |
− | display: flex | + | display: flex; |
− | align-items: center | + | align-items: center; |
− | position: absolute | + | position: absolute; |
− | top: 1vw | + | top: 1vw; |
− | left: 1vw | + | left: 1vw; |
− | z-index: 5 | + | z-index: 5; |
− | cursor: pointer | + | cursor: pointer; |
} | } | ||
#iiserk:hover { | #iiserk:hover { | ||
Line 227: | Line 220: | ||
} | } | ||
#iiserk a img { | #iiserk a img { | ||
− | height: 6vw | + | height: 6vw; |
− | width: auto | + | width: auto; |
} | } | ||
#home #pagedown { | #home #pagedown { | ||
− | top: 90vh | + | top: 90vh; |
− | left: 47vw | + | left: 47vw; |
− | height: 3vw | + | height: 3vw; |
− | margin-left: 6vw | + | margin-left: 6vw; |
− | margin-top: 7vh | + | margin-top: 7vh; |
− | width: 6vw | + | width: 6vw; |
− | cursor: pointer | + | cursor: pointer; |
− | display: flex | + | display: flex; |
− | align-items: center | + | align-items: center; |
− | justify-content: center | + | justify-content: center; |
− | background-color: gray | + | background-color: gray; |
− | border: solid black 0.1vw | + | border: solid black 0.1vw; |
} | } | ||
/*aboutUs page*/ | /*aboutUs page*/ | ||
#aboutUs { | #aboutUs { | ||
− | background-color: #D8D9E5 | + | background-color: #D8D9E5; |
} | } | ||
Line 253: | Line 246: | ||
/*events page*/ | /*events page*/ | ||
#events { | #events { | ||
− | background-color: #B4BAC2 | + | background-color: #B4BAC2; |
} | } | ||
#gallery { | #gallery { | ||
− | background-color: #D8D9E5 | + | background-color: #D8D9E5; |
} | } | ||
#ourTeam { | #ourTeam { | ||
− | background-color: #B4BAC2 | + | background-color: #B4BAC2; |
} | } | ||
#sponsors { | #sponsors { | ||
− | background-color: #D8D9E5 | + | background-color: #D8D9E5; |
} | } | ||
#reachUs { | #reachUs { | ||
− | background-color: #B4BAC2 | + | background-color: #B4BAC2; |
− | height: 100vh | + | height: 100vh; |
} | } |
Revision as of 13:52, 29 June 2018
.logo_2018, #firstHeading, #top_menu_under { display:none;}
- 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*/ body, html { width: 100vw; margin: 0; padding: 0; } body {
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; flex-direction: column; }
- home_gif{
width: 55vw; margin-left: 20vw; margin-top: 2vh;
}
- 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{
margin-left:5vw; margin-top: 15vh;
}
- abstract_text{
height:70vh; width:55vw; left:40vw; top:13vh; justify-content: 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; align-items: center; text-align: justify;
}
- 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;
} /*navbar*/
- menubar {
width: 100vw;
height: 3vw; background-color: rgba(0,0,0,0.8); display: inline-flex; align-items: center; position: absolute; top: 100vh; left: 0vw; z-index: 10;
}
- menubar.stickymenu {
position: fixed; top: 3vh; left: 0vw;
}
- 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 !important; font-size: 1vw; color: #cccccc;
} .pagelink div:hover > p {
color: white !important;
}
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:hover {
}
- iiserk a img {
height: 6vw; width: auto;
}
- home #pagedown {
top: 90vh; left: 47vw; height: 3vw; margin-left: 6vw; margin-top: 7vh; width: 6vw; cursor: pointer; display: flex; align-items: center; justify-content: center; background-color: gray; border: solid black 0.1vw;
}
/*aboutUs page*/
- aboutUs {
background-color: #D8D9E5; }
/*events page*/
- events {
background-color: #B4BAC2;
}
- gallery {
background-color: #D8D9E5;
}
- ourTeam {
background-color: #B4BAC2;
}
- sponsors {
background-color: #D8D9E5;
}
- reachUs {
background-color: #B4BAC2; height: 100vh;
}