Difference between revisions of "Team:Warwick/CSS"

m
m
Line 29: Line 29:
 
#TopNav ul, #BottNav ul {
 
#TopNav ul, #BottNav ul {
 
     list-style-type: none;
 
     list-style-type: none;
 +
    list-style-image: none;
 
     margin: 0 !important;
 
     margin: 0 !important;
 
     padding: 0 !important;
 
     padding: 0 !important;

Revision as of 13:49, 1 October 2018

@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700');

  1. content{
 width: 100% !important;
 margin: 0;
 padding: 0;

}

table{

 border: none !important;

}

  1. top_title{
 display:none;

}

  1. HQ_page p{
 padding: 0;
 margin: 0;
 text-align: inherit !important;

}

  • {
 font-family: "Quicksand", "Calibri" !important;
 margin: 0;
 padding: 0;

}

  1. TopNav ul, #BottNav ul {
   list-style-type: none;
   list-style-image: none;
   margin: 0 !important;
   padding: 0 !important;
   overflow: hidden;
   text-align: right;

}

  1. TopNav li, #BottNav li{
   display: inline-block;
   min-width: 15%;
   margin: 0 !important;

}

  1. TopNav li:hover{
 font-weight: 600;

}

  1. BottNav li{
 cursor: pointer;

}

  1. TopNav li span, #BottNav li span{
   display: block;
   text-align: center;
   padding: 14px 16px;
   font-size: 1.3vw;

}

  1. BottNav{
 width: 15%;
 border-bottom-left-radius: 15px;
 border-bottom-right-radius: 15px;
 margin-top: 0 !important;

}

  1. BottNav li{
 display: block;

}

  1. BottNav li span{
 color: black;

}

  1. BottNav li span:hover {
   box-shadow: inset 0px 0px 10px -8px black;

}

  1. Navbar{
 position: fixed;
 top: 20;
 width: 100%;
 z-index: 100;

}

  1. TopNav{
 -webkit-transition: background-color 400ms linear,
 color 400ms linear;
 background: transparent;

}

  1. TopNav.TopNavsscrolled{
 background: linear-gradient(to right, #eee, white 40%);
 background-color: white;

}

  1. topnav0{
 -webkit-transition: background-color 400ms linear;
 background: transparent;

}

  1. topnav0.topnav0scrolled, #topnav0:hover{
 background: linear-gradient(to right, white, #d8fdfd);

}

  1. topnav1{
 -webkit-transition: background-color 400ms linear;
 background: transparent;

}

  1. topnav1.topnav1scrolled, #topnav1:hover{
 background: linear-gradient(to right, #d8fdfd, #bbf0f3);

}

  1. topnav2{
 -webkit-transition: background-color 400ms linear;
 background: transparent;

}

  1. topnav2.topnav2scrolled, #topnav2:hover{
 background: linear-gradient(to right, #bbf0f3, #85e4e9);

}

  1. topnav3{
 -webkit-transition: background-color 400ms linear;
 background: transparent;

}

  1. topnav3.topnav3scrolled, #topnav3:hover{
 background: linear-gradient(to right, #85e4e9, #02c9d0);

}

  1. logo{
 width: 15%;
 height: auto;
 vertical-align: middle;
 display: inline;

}

  1. WelcomeH3{
 display: inline;
 vertical-align: middle;
 font-size: 9vw !important;
 font-weight: 500 !important;
 color: white;
 margin: 0;
 padding: 0;
 line-height: normal;

}

  1. fancyText{
 color: white;
 font-family: 'Quicksand', 'Helvetica' !important;
 font-weight: 300;
 padding-top: 5vw;
 margin-top: 2vw;
 margin-right: 20%;
 margin-left: 20%;
 margin-bottom: 3vw;
 height: 40vw;
 overflow: hidden;
 -webkit-backface-visibility: hidden;
 -webkit-perspective: 1000;
 -webkit-transform: translate3d(0,0,0);

}

.WelcomeDivs {

 display:inline-block;
 overflow:hidden;
 white-space:nowrap;

}

  1. WDRipple {
 animation: showup 10s forwards;

}

.WelcomeDivs:last-of-type {

 width: 0px;
 animation: reveal 1s forwards;

}

  1. WDT0, #WDT1, #WDT2, #WDT3{
 margin-left: -100%;
 margin-top: 2vw;

}

  1. WDT0{
 animation: slidein 7s forwards;

}

  1. WDT1{
 animation: slidein 10s forwards;

}

  1. WDT2{
 animation: slidein 13s forwards;

}

  1. WDT3{
 animation: slideinqwe 17s forwards;

}

@keyframes showup {

   0% {opacity:0;}
   20% {opacity:1;}
   80% {opacity:1;}
   100% {opacity:1;}

}

@keyframes slidein {

   0% { margin-left:-200%; }
   20% { margin-left:-200%; }
   35% { margin-left:0px; }
   100% { margin-left:0px; }

}

@keyframes slideinqwe {

   0% { margin-left:200%; }
   20% { margin-left:200%; }
   35% { margin-left:0px; }
   100% { margin-left:0px; }

}

@keyframes reveal {

   0% {opacity:0;width:0px;}
   20% {opacity:0;width:0px;}
   30% {width:100%}
   80% {opacity:1;}
   100% {opacity:1;width:100%;}

}


  1. riverDiv{
 background: url("T--Warwick--river-min.jpg") no-repeat fixed center center;
 background-size: cover;
 width: 100%;
 height: auto;

}

  1. WDRipple{
 font-size: 9vw !important;
 font-weight: 500 !important;

}

  1. WDText{
 font-size: 5vw;
 height: 100%;

}

.contentDivs{

 font-size: 125% !important;
 padding: 2% 15%;
 text-align: center;
 color: #051c24;

}

.contentDivs h1{

 margin-bottom: 1%

}

  1. CDiv1 h1, #CDiv2 h1{
 font-size: 250% !important;
 font-weight: 600;
 line-height: normal !important;

}

  1. CDiv1 p, #CDiv2 p{
 font-size: 125% !important;

}

  1. CDiv2{
 background-color: #eee;

}

  1. greywhitesplit{
 height: 9.765vw;
 background: white;
 background: linear-gradient(to right bottom, #eee 50%, white 50%);

}

  1. whitegreysplit{
 position: absolute;
 top: 0;
 left: 0;
 height: 9.765vw;
 width: 100%;
 background: white;
 background: linear-gradient(to right bottom, white 50%, transparent 50%);
 z-index: 10;

}

  1. BOIStriangle{
 position: relative;
 margin: 7.5% auto;
 width: 30vw;
 height: 30vw;
 background-color: transparent;
 border-radius: 50%;
 border: 2px dashed black;
 transition: transform 1s ease-in-out;

}

  1. BOIStriangle img{
 width: 7.813vw;
 height: auto;
 position: absolute;
 border-radius: 50%;
 background-color: white;
 transition: transform 1s ease-in-out;

}

  1. BOIStriangle img:hover{
 cursor: pointer;

}

  1. BOISContent{
 width: 60%;
 height: 60%;
 margin: 20%;
 text-align: center !important;
 vertical-align: middle;
 transition: transform 1s ease-in-out;

}

  1. BCTitle{
 font-size: 2vw !important;
 line-height: normal;

}

  1. BCText{
 font-size: 1.2vw !important;

}

  1. bioIMG{
 top: -3.64585vw;
 left: calc(50% - 3.9065vw);

}

  1. orgIMG{
 bottom: 3.3854vw;
 left: -1.97915vw;

}


  1. inorgIMG{
 bottom: 3.3854vw;
 right: -1.97915vw;

}

  1. labIMG{
 width: 100%;
 display: block;

}

.imageDivs{

 position: relative;
 text-align: center;
 color: white;
 font-size: 200%;

}

  1. imageFilter{
 position: absolute;
 top: 0;
 left: 0;
 bottom: 0;
 right: 0;
 background-color: rgba(3, 46, 67, 50%);

}

.contentOnImages{

 position: absolute;
 top: calc(50% + 50px);
 left: 50%;
 transform: translate(-50%, -50%);
 width: 70%;
 padding: 1.302vw 0.651vw 0px 0.651vw;

}

.contentOnImages button{

 background: none;
 border: #BBB 0.15vw solid;
 border-radius: 50vh;
 font-size: 2vw;
 color: white;
 padding: 0.651vw 0.9765vw;
 outline: 0 none;
 width: 20vw;

}

.contentOnImages button:hover{

 cursor: pointer;
 background: linear-gradient(to right, #d8fdfd, #bbf0f3, #85e4e9, #02c9d0);
 color: black;
 border: none;
 padding: 0.801vw 1.1265vw;

}

  1. footer{
 height: 27.67vw;

}

  1. leftFoot{
 background: linear-gradient(to bottom, #063444, #002634);
 padding-top: 1vw;
 height: 27.67vw;
 width: 50%;
 float: left;
 text-align: center;
 position: relative;

}

  1. rightFoot{
 background: linear-gradient(to bottom, #aaa, #ddd, #eee, #eee);
 padding-top: 1vw;
 background-size: 27.67vw;
 height: 27.67vw;
 width: 50%;
 float: right;
 text-align: center;
 position: relative;
 overflow: hidden;

}

  1. rightFoot td{
 text-align: center;

}

.sponsorimages{

 width: 9.765625vw;
 margin: 0.651vw;

}

  1. socialmedia{
 width: 33%;
 overflow: hidden;
 position: absolute;
 right: 15%;
 top: 42%;

}

.socialMedia img{

 width: 10% !important;
 display: inline;

}

a{

 text-decoration: none;

}

a:visited{

 color: initial;

}

.bottomrow img{

 width: 19.53125vw;

}

.FooterTitle{

 margin: 0.9765625vw auto;
 color: white;
 font-size: 2.625vw;
 font-weight: 300;

}

  1. theSponsors{
 width: 100%;
 margin-top: -0.9765625vw;

}

  1. FooterLogo{
 position: absolute;
 width: 12vw;
 left: 15%;
 top: 25%;

}

a, a:hover, a:visited{

 text-decoration: none;
 color: black;

}

  1. Stripe{
 height: 2px;
 width: 60%;
 margin: 2% 20%;
 background-color: #02c9d0;

}