Difference between revisions of "Team:Warwick/CSS"

m
m
 
(40 intermediate revisions by the same user not shown)
Line 43: Line 43:
 
}
 
}
  
#TopNav li:hover{
+
#TopNav li:hover, #BottNav li:hover{
 
   font-weight: 600;
 
   font-weight: 600;
 
}
 
}
Line 49: Line 49:
 
#BottNav li{
 
#BottNav li{
 
   cursor: pointer;
 
   cursor: pointer;
 +
}
 +
 +
#TopNav li span{
 +
    font-weight: 500;
 
}
 
}
  
Line 62: Line 66:
 
   border-bottom-left-radius: 15px;
 
   border-bottom-left-radius: 15px;
 
   border-bottom-right-radius: 15px;
 
   border-bottom-right-radius: 15px;
   margin-top: 0 !important;
+
   margin-top: -60px !important;
 +
  padding-top: 60px !important;
 
}
 
}
 +
 
#BottNav li{
 
#BottNav li{
 
   display: block;
 
   display: block;
Line 89: Line 95:
 
}
 
}
 
#TopNav.TopNavsscrolled{
 
#TopNav.TopNavsscrolled{
   background: linear-gradient(to right, #eee, white 40%);
+
   background: linear-gradient(to right, #eee, white 25%);
 
   background-color: white;
 
   background-color: white;
 
}
 
}
  
#topnav0{
+
#topnav0, #topnav1, #topnav2, #topnav3, #topnav4{
 
   -webkit-transition: background-color 400ms linear;
 
   -webkit-transition: background-color 400ms linear;
 
   background: transparent;
 
   background: transparent;
 
}
 
}
 +
 
#topnav0.topnav0scrolled, #topnav0:hover{
 
#topnav0.topnav0scrolled, #topnav0:hover{
   background: linear-gradient(to right, white, #d8fdfd);
+
   background: linear-gradient(to right, white, #e6fefe);
 +
  font-weight: 400;
 
}
 
}
  
#topnav1{
 
  -webkit-transition: background-color 400ms linear;
 
  background: transparent;
 
}
 
 
#topnav1.topnav1scrolled, #topnav1:hover{
 
#topnav1.topnav1scrolled, #topnav1:hover{
   background: linear-gradient(to right, #d8fdfd, #bbf0f3);
+
   background: linear-gradient(to right, #e6fefe, #d8fdfd);
 +
  font-weight: 400;
 
}
 
}
  
#topnav2{
+
#topnav2.topnav2scrolled, #topnav2:hover{
   -webkit-transition: background-color 400ms linear;
+
   background: linear-gradient(to right, #d8fdfd, #bbf0f3);
   background: transparent;
+
   font-weight: 400;
 
}
 
}
#topnav2.topnav2scrolled, #topnav2:hover{
+
 
 +
#topnav3.topnav3scrolled, #topnav3:hover{
 
   background: linear-gradient(to right, #bbf0f3, #85e4e9);
 
   background: linear-gradient(to right, #bbf0f3, #85e4e9);
 +
  font-weight: 400;
 
}
 
}
  
#topnav3{
+
#topnav4.topnav4scrolled, #topnav4:hover{
   -webkit-transition: background-color 400ms linear;
+
   background: linear-gradient(to right, #85e4e9, #02c9d0);
   background: transparent;
+
   font-weight: 400;
 
}
 
}
#topnav3.topnav3scrolled, #topnav3:hover{
+
 
  background: linear-gradient(to right, #85e4e9, #02c9d0);
+
#topnav0:hover, #topnav1:hover, #topnav2:hover, #topnav3:hover, #topnav4:hover{
 +
font-weight: 500;
 
}
 
}
  
Line 148: Line 156:
 
   font-weight: 300;
 
   font-weight: 300;
 
   padding-top: 5vw;
 
   padding-top: 5vw;
   margin-top: 2vw;
+
   margin-top: 2vw 0 3vw 20%;
  margin-right: 20%;
+
   padding-left: 5vw;
   margin-left: 20%;
+
  margin-bottom: 3vw;
+
 
   height: 40vw;
 
   height: 40vw;
 
   overflow: hidden;
 
   overflow: hidden;
Line 167: Line 173:
 
#WDRipple {
 
#WDRipple {
 
   animation: showup 10s forwards;
 
   animation: showup 10s forwards;
 +
  animation-delay: 3s;
 
}
 
}
  
Line 172: Line 179:
 
   width: 0px;
 
   width: 0px;
 
   animation: reveal 1s forwards;
 
   animation: reveal 1s forwards;
 +
  animation-delay: 3s;
 
}
 
}
  
 
#WDT0, #WDT1, #WDT2, #WDT3{
 
#WDT0, #WDT1, #WDT2, #WDT3{
 
   margin-left: -100%;
 
   margin-left: -100%;
   margin-top: 2vw;
+
   margin-top: 10vw;
 
}
 
}
  
 
#WDT0{
 
#WDT0{
 
   animation: slidein 7s forwards;
 
   animation: slidein 7s forwards;
 +
  animation-delay: 3s;
 
}
 
}
  
 
#WDT1{
 
#WDT1{
 
   animation: slidein 10s forwards;
 
   animation: slidein 10s forwards;
 +
  animation-delay: 3s;
 
}
 
}
  
 
#WDT2{
 
#WDT2{
 
   animation: slidein 13s forwards;
 
   animation: slidein 13s forwards;
 +
  animation-delay: 3s;
 
}
 
}
  
 
#WDT3{
 
#WDT3{
 
   animation: slideinqwe 17s forwards;
 
   animation: slideinqwe 17s forwards;
 +
  animation-delay: 3s;
 
}
 
}
  
Line 399: Line 411:
 
   padding-top: 1vw;
 
   padding-top: 1vw;
 
   height: 27.67vw;
 
   height: 27.67vw;
   width: 50%;
+
   width: 20%;
 
   float: left;
 
   float: left;
 
   text-align: center;
 
   text-align: center;
Line 406: Line 418:
  
 
#rightFoot{
 
#rightFoot{
   background: linear-gradient(to bottom, #aaa, #ddd, #eee, #eee);
+
   background-color: white;
 
   padding-top: 1vw;
 
   padding-top: 1vw;
 
   background-size: 27.67vw;
 
   background-size: 27.67vw;
 
   height: 27.67vw;
 
   height: 27.67vw;
   width: 50%;
+
   width: 80%;
 
   float: right;
 
   float: right;
 
   text-align: center;
 
   text-align: center;
Line 427: Line 439:
  
 
#socialmedia{
 
#socialmedia{
   width: 33%;
+
   width: 80%;
 
   overflow: hidden;
 
   overflow: hidden;
 
   position: absolute;
 
   position: absolute;
   right: 15%;
+
  left: 10%;
 +
   right: 10%;
 
   top: 42%;
 
   top: 42%;
 
}
 
}
  
 
.socialMedia img{
 
.socialMedia img{
   width: 10% !important;
+
   width: 25% !important;
 
   display: inline;
 
   display: inline;
 
}
 
}
Line 456: Line 469:
 
   font-size: 2.625vw;
 
   font-size: 2.625vw;
 
   font-weight: 300;
 
   font-weight: 300;
 +
  line-height: normal;
 +
  padding: 0 !important;
 
}
 
}
  
 
#theSponsors{
 
#theSponsors{
 
   width: 100%;
 
   width: 100%;
   margin-top: -0.9765625vw;
+
   margin-top: -2vw !important;
 
}
 
}
  
Line 485: Line 500:
 
   margin: 2% 20%;
 
   margin: 2% 20%;
 
   background-color: #02c9d0;
 
   background-color: #02c9d0;
 +
}
 +
 +
#topnavHome{
 +
  margin-right: 15vw;
 +
}
 +
 +
#topnavHome:hover{
 +
  cursor: pointer;
 
}
 
}

Latest revision as of 16:38, 10 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;
 background: 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, #BottNav li:hover{
 font-weight: 600;

}

  1. BottNav li{
 cursor: pointer;

}

  1. TopNav li span{
   font-weight: 500;

}

  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: -60px !important;
 padding-top: 60px !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 25%);
 background-color: white;

}

  1. topnav0, #topnav1, #topnav2, #topnav3, #topnav4{
 -webkit-transition: background-color 400ms linear;
 background: transparent;

}

  1. topnav0.topnav0scrolled, #topnav0:hover{
 background: linear-gradient(to right, white, #e6fefe);
 font-weight: 400;

}

  1. topnav1.topnav1scrolled, #topnav1:hover{
 background: linear-gradient(to right, #e6fefe, #d8fdfd);
 font-weight: 400;

}

  1. topnav2.topnav2scrolled, #topnav2:hover{
 background: linear-gradient(to right, #d8fdfd, #bbf0f3);
 font-weight: 400;

}

  1. topnav3.topnav3scrolled, #topnav3:hover{
 background: linear-gradient(to right, #bbf0f3, #85e4e9);
 font-weight: 400;

}

  1. topnav4.topnav4scrolled, #topnav4:hover{
 background: linear-gradient(to right, #85e4e9, #02c9d0);
 font-weight: 400;

}

  1. topnav0:hover, #topnav1:hover, #topnav2:hover, #topnav3:hover, #topnav4:hover{
font-weight: 500;

}

  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 0 3vw 20%;
 padding-left: 5vw;
 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;
 animation-delay: 3s;

}

.WelcomeDivs:last-of-type {

 width: 0px;
 animation: reveal 1s forwards;
 animation-delay: 3s;

}

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

}

  1. WDT0{
 animation: slidein 7s forwards;
 animation-delay: 3s;

}

  1. WDT1{
 animation: slidein 10s forwards;
 animation-delay: 3s;

}

  1. WDT2{
 animation: slidein 13s forwards;
 animation-delay: 3s;

}

  1. WDT3{
 animation: slideinqwe 17s forwards;
 animation-delay: 3s;

}

@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: 20%;
 float: left;
 text-align: center;
 position: relative;

}

  1. rightFoot{
 background-color: white;
 padding-top: 1vw;
 background-size: 27.67vw;
 height: 27.67vw;
 width: 80%;
 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: 80%;
 overflow: hidden;
 position: absolute;
 left: 10%;
 right: 10%;
 top: 42%;

}

.socialMedia img{

 width: 25% !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;
 line-height: normal;
 padding: 0 !important;

}

  1. theSponsors{
 width: 100%;
 margin-top: -2vw !important;

}

td{

 padding: 0 !important;
 border: none !important;

}

  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;

}

  1. topnavHome{
 margin-right: 15vw;

}

  1. topnavHome:hover{
 cursor: pointer;

}