Difference between revisions of "Template:UAlberta/CSS"

m
 
(32 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
 
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
 
<link href="https://fonts.googleapis.com/css?family=Amiko:400,700|Karla:400,700" rel="stylesheet">
 
<link href="https://fonts.googleapis.com/css?family=Amiko:400,700|Karla:400,700" rel="stylesheet">
 +
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
 +
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
 
<style>
 
<style>
 
/* ****************************************
 
/* ****************************************
Line 18: Line 20:
  
 
#mw-content-text > p { margin: 5px 0; }
 
#mw-content-text > p { margin: 5px 0; }
#HQ_page p { font-family: unset; font-size: unset; text-align: unset; }
 
 
#globalWrapper { padding-bottom: 0; }
 
#globalWrapper { padding-bottom: 0; }
 +
#HQ_page p { text-align: unset; }
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin: 0; }
  
 
/* ****************************************
 
/* ****************************************
Line 25: Line 28:
 
**************************************** */
 
**************************************** */
  
.ua-research-content {
+
.ua-home {
   padding: 50px 0;
+
   position: relative;
 +
  overflow: hidden;
 
}
 
}
  
.ua-banner {
+
.ua-home-section {
   height: 350px;
+
   position: relative;
 
}
 
}
  
.ua-banner img {
+
.ua-home-section:nth-child(2) {
 +
  margin-bottom: 200px;
 +
}
 +
 
 +
.ua-stripes {
 
   width: 100%;
 
   width: 100%;
 
   height: 100%;
 
   height: 100%;
   object-fit: cover
+
   position: absolute;
 +
  transform-origin: 0;
 +
  transform: skewY(-12deg);
 +
  display: grid;
 +
  grid-template: repeat(10, 76px) / repeat(10, 1fr);
 
}
 
}
  
.ua-global-map {
+
.ua-home-section:nth-child(1) .ua-stripes {
 +
  background: linear-gradient(#9370DB, #E6E6FA);
 +
  /* background: linear-gradient(rgb(255, 255, 255), rgb(248, 248, 213)); */
 +
  z-index: -1;
 +
}
 +
 
 +
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(1) {
 +
  grid-area: 1 / 1 / 4 / -1;
 +
  background: linear-gradient(168deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
 +
}
 +
 
 +
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(2) {
 +
  grid-area: 4 / 6 / 5 / -1;
 +
  background: linear-gradient(270deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
 +
}
 +
 
 +
/* .ua-home-section:nth-child(1) .ua-stripes span:nth-child(3) {
 +
  grid-area: 5 / 8 / 6 / -1;
 +
  background: linear-gradient(-12deg, #800080, #DA70D6);
 +
} */
 +
 
 +
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(4) {
 +
  grid-area: 9 / 8 / -2 / -1;
 +
  background: linear-gradient(270deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
 +
}
 +
 
 +
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(5) {
 +
  grid-area: 10 / 10 / -2 / -1;
 +
  background: linear-gradient(168deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
 +
}
 +
 
 +
/* .ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) {
 +
  grid-area: 10 / 1 / -1 / 4;
 +
  background: linear-gradient(145deg, #800080, #DA70D6);
 +
} */
 +
 
 +
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) {
 +
  grid-area: 10 / 1 / -1 / -1;
 +
  background: linear-gradient(145deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(90deg, #FFDF00, #FFA500); */
 +
}
 +
 
 +
.ua-home-section:nth-child(2) .ua-stripes {
 +
  background: #fff;
 +
  z-index: -1;
 +
}
 +
 
 +
.ua-home-section:nth-child(3) .ua-stripes {
 +
  /* background: #E6E6FA; */
 +
  /* background: rgb(248, 248, 213); */
 +
  z-index: -1;
 +
}
 +
 
 +
.ua-home-section-hero {
 
   position: relative;
 
   position: relative;
 +
  height: 760px;
 
}
 
}
  
.ua-global-map img {
+
.ua-home-section-hero .row {
   transition: all 0.2s;
+
   height: 760px;
 
}
 
}
  
.location-marker-1 {
+
.ua-porphyrin {
 
   position: absolute;
 
   position: absolute;
  width: 3%;
 
  top: 13%;
 
  left: 12%;
 
 
}
 
}
  
.location-marker-2 {
+
.ua-porphyrin:nth-child(1) {
  position: absolute;
+
   left: 0;
  width: 3%;
+
  top: 30%;
+
   left: 10%;
+
 
}
 
}
  
.location-marker-3 {
+
.ua-porphyrin:nth-child(2) {
   position: absolute;
+
   right: 0;
  width: 3%;
+
  top: 14%;
+
  left: 45%;
+
 
}
 
}
  
.location-marker-1:hover {
+
.ua-porphyrin:nth-child(3) {
   transform: translateY(-18%);
+
   left: 0;
 
}
 
}
  
.location-marker-2:hover {
+
.ua-porphyrin:nth-child(4) {
   transform: translateY(-18%);
+
   left: 0;
 
}
 
}
  
.location-marker-3:hover {
+
.ua-porphyrin:nth-child(5) {
   transform: translateY(-18%);
+
   right: 0;
 
}
 
}
  
.ua-research-content h1 {
+
.ua-porphyrin:nth-child(6) {
   font-family: 'Amiko', sans-serif;
+
   left: 0;
  font-size: 128px;
+
  /* color: #007bb8; */
+
  color: #800080;
+
  text-align: center;
+
  margin-top: 20px;
+
  margin-bottom: 70px;
+
  /* padding-top: 0; iGEM */
+
 
}
 
}
  
.ua-research-content h2 {
+
.ua-porphyrin img {
   font-family: 'Amiko', sans-serif;
+
   position: relative;
  font-size: 48px;
+
  /* color: #007bb8; */
+
  color: #800080;
+
  text-align: left;
+
 
}
 
}
  
.ua-research-content h3 {
+
.ua-porphyrin:nth-child(1) img {
   font-family: 'Amiko', sans-serif;
+
   top: 100px;
   font-size: 48px;
+
   left: -240px;
   /* color: #007bb8; */
+
   width: 75%;
   color: #800080;
+
   height: auto;
   margin: 40px 0;
+
   transform: rotate(16deg);
 
}
 
}
  
.ua-research-content h4 {
+
.ua-porphyrin:nth-child(2) img {
   font-family: 'Amiko', sans-serif;
+
   float: right;
   font-size: 32px;
+
   top: 250px;
   color: #007bb8;
+
  right: -500px;
   margin: 40px 0;
+
  width: 120%;
 +
   height: auto;
 +
   transform: rotate(12deg);
 
}
 
}
  
.ua-research-content p {
+
.ua-porphyrin:nth-child(3) img {
   font-family: 'Karla', sans-serif !important;
+
   top: 720px;
   line-height: 160%;
+
  left: -180px;
   text-align: justify;
+
  width: 60%;
   font-size: 20px !important;
+
  height: auto;
   margin: 20px;
+
  transform: rotate(-124deg);
 +
}
 +
 
 +
.ua-porphyrin:nth-child(4) img {
 +
   top: 130px;
 +
  left: -240px;
 +
  width: 80%;
 +
  height: auto;
 +
  transform: rotate(40deg);
 +
}
 +
 
 +
.ua-porphyrin:nth-child(5) img {
 +
  float: right;
 +
  top: 160px;
 +
  right: -465px;
 +
  width: 120%;
 +
   height: auto;
 +
  transform: rotate(-5deg);
 +
}
 +
 
 +
.ua-porphyrin:nth-child(6) img {
 +
  top: 840px;
 +
   left: -250px;
 +
  width: 80%;
 +
   height: auto;
 +
  transform: rotate(-124deg);
 +
}
 +
 
 +
.ua-home-section-secondary {
 +
  position: relative;
 +
  height: 760px;
 +
  /* background: #E6E6FA; */
 +
  /* background: rgb(248, 248, 213); */
 +
  z-index: -1;
 +
}
 +
 
 +
.ua-research-content {
 +
  padding: 50px 0;
 
}
 
}
  
Line 132: Line 221:
 
}
 
}
  
.ua-footer {
+
.ua-banner {
   /* background: #8478b8; */
+
   height: 350px;
  background: #800080;
+
}
  height: 200px;
+
 
 +
.ua-banner img {
 
   width: 100%;
 
   width: 100%;
   margin-bottom: -5px;
+
   height: 100%;
 +
  object-fit: cover
 
}
 
}
  
.ua-home {
+
.ua-global-map {
 
   position: relative;
 
   position: relative;
  overflow: hidden;
 
 
}
 
}
  
.ua-home .ua-navbar {
+
.ua-global-map img {
   background: transparent;
+
   transition: all 0.2s;
 
}
 
}
  
.ua-home-section {
+
.location-marker-1 {
   position: relative;
+
   position: absolute;
 +
  width: 3%;
 +
  top: 29%;
 +
  left: 9.5%;
 
}
 
}
  
.ua-stripes {
+
.location-marker-2 {
  width: 100%;
+
  height: 100%;
+
 
   position: absolute;
 
   position: absolute;
   transform-origin: 0;
+
   width: 3%;
   transform: skewY(-12deg);
+
   top: 13%;
   display: grid;
+
   left: 11.5%;
  grid-template: repeat(10, 76px) / repeat(10, 1fr);
+
 
}
 
}
  
.ua-home-section:nth-child(1) .ua-stripes {
+
.location-marker-3 {
   background: linear-gradient(#9370DB, #FFF);
+
   position: absolute;
   z-index: -1;
+
   width: 3%;
 +
  top: 13%;
 +
  left: 11%;
 
}
 
}
  
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(1) {
+
.location-marker-4 {
   grid-area: 1 / 1 / 4 / -1;
+
  position: absolute;
   background: linear-gradient(168deg, #800080, #DA70D6);
+
  width: 3%;
 +
   top: 12.5%;
 +
   left: 44.5%;
 
}
 
}
  
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(2) {
+
.ua-global-map a img:hover {
   grid-area: 4 / 6 / 5 / -1;
+
   transform: translateY(-18%);
  background: linear-gradient(270deg, #800080, #DA70D6);
+
 
}
 
}
  
/* .ua-home-section:nth-child(1) .ua-stripes span:nth-child(3) {
+
.location-marker-2:hover {
   grid-area: 5 / 8 / 6 / -1;
+
   z-index: 1;
  background: linear-gradient(-12deg, #800080, #DA70D6);
+
} */
+
 
+
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(4) {
+
  grid-area: 9 / 8 / -2 / -1;
+
  background: linear-gradient(270deg, #800080, #DA70D6);
+
 
}
 
}
  
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(5) {
+
.location-marker-3:hover {
   grid-area: 10 / 10 / -2 / -1;
+
   z-index: 1;
  background: linear-gradient(168deg, #800080, #DA70D6);
+
 
}
 
}
  
/* .ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) {
+
.ua-collapsable .ua-collapse-button {
   grid-area: 10 / 1 / -1 / 4;
+
   background: #800080;
   background: linear-gradient(145deg, #800080, #DA70D6);
+
   color: #fff;
} */
+
   padding: 15px;
 
+
   border-radius: 8px;
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) {
+
   grid-area: 10 / 1 / -1 / 6;
+
   background: linear-gradient(145deg, #800080, #DA70D6);
+
 
}
 
}
  
.ua-home-section:nth-child(2) .ua-stripes {
+
.ua-footer {
   background: #fff;
+
   background: #800080;
   z-index: -1;
+
  height: 100%;
 +
  width: 100%;
 +
   margin-bottom: -5px;
 
}
 
}
  
.ua-home-section:nth-child(3) .ua-stripes {
+
.ua-footer h5 {
   /* background: #E6E6FA; */
+
   margin-top: 10px;
   background: #E6E6FA;
+
   color: #fff;
  z-index: -1;
+
 
}
 
}
  
.ua-home-section-content {
+
.ua-footer ul {
   position: relative;
+
   list-style-type: none;
  display: grid;
+
  grid-template: repeat(10, 76px) / repeat(8, 1fr);
+
 
}
 
}
  
.ua-home-hero {
+
.ua-footer li a {
   grid-area: 3 / 2 / 8 / -2;
+
   color: #fff;
  text-align: left;
+
 
}
 
}
  
.ua-home-image {
+
.ua-footer li:last-child {
   grid-area: 5 / 6 / -1 / -2;
+
   margin-bottom: 20px;
 
}
 
}
  
.ua-home-image img {
+
.ua-flipImage {
   transform: scale(1.5);
+
   transform: scaleX(-1);
 
}
 
}
  
.ua-home-hero h1 {
+
/* ****************************************
   font-family: 'Amiko', sans-serif;
+
* Header and paragraph styles
   font-size: 48px;
+
**************************************** */
 +
 
 +
.ua-home h1 {
 +
   font-family: 'Amiko', sans-serif !important;
 +
   font-size: 32px;
 
   color: #4B0082;
 
   color: #4B0082;
  margin-bottom: 2rem;
 
 
}
 
}
  
.ua-home-hero p {
+
.ua-home p {
   font-family: 'Karla', sans-serif;
+
   font-family: 'Karla', sans-serif !important;
 +
  font-size: 20px !important;
 
   line-height: 160%;
 
   line-height: 160%;
   text-align: justify;
+
   text-align: justify !important;
  font-size: 18px;
+
 
   color: #000;
 
   color: #000;
  margin-bottom: 2rem;
 
  max-width: 50%;
 
 
}
 
}
  
.ua-home-section-block {
+
.ua-home li {
   grid-area: 1 / 2 / 5 / 5;
+
   font-family: 'Karla', sans-serif !important;
  text-align: right;
+
 
}
 
}
  
.ua-home-section-block h1 {
+
.ua-home-section-primary p {
   font-family: 'Amiko', sans-serif;
+
   padding: 20px;
  font-size: 64px;
+
  color: #4B0082;
+
  margin-bottom: 2rem;  
+
 
}
 
}
  
.ua-home-section-block p {
+
.ua-home-section-secondary h1,
  font-family: 'Karla', sans-serif;
+
.ua-home-section-secondary p {
  line-height: 160%;
+
   text-align: right !important;
   font-size: 18px;
+
   margin-bottom: 20px;
  color: #000;
+
   margin-bottom: 2rem;
+
 
}
 
}
  
.ua-home-cards {
+
.ua-home-section-secondary h1 {
   grid-area: 8 / 2 / -1 / -2;
+
   font-size: 48px;
 
}
 
}
  
.ua-home-section-secondary {
+
.ua-research-content h1 {
   position: relative;
+
   font-family: 'Amiko', sans-serif !important;
   height: 760px;
+
   font-size: 64px;
   background: #E6E6FA;
+
   /* color: #007bb8; */
 +
  color: #800080;
 +
  margin-bottom: 80px!important;  
 
}
 
}
  
.ua-home-section-navigation {
+
.ua-research-content h2 {
   text-align: center;
+
   font-family: 'Amiko', sans-serif !important;
 +
  font-size: 48px;
 +
  /* color: #007bb8; */
 +
  color: #800080;
 +
  margin-bottom: 40px !important;
 
}
 
}
  
.ua-home-section-navigation h1 {
+
.ua-research-content h3 {
   font-family: 'Amiko', sans-serif;
+
   font-family: 'Amiko', sans-serif !important;
   font-size: 64px;
+
   font-size: 38px;
   color: #4B0082;
+
font-style: italic;
   margin-bottom: 2rem;  
+
  /* color: #007bb8; */
 +
   color: #800080;
 +
   margin-bottom: 40px !important;
 
}
 
}
  
.ua-home-section-navigation p {
+
.ua-research-content p {
   font-family: 'Karla', sans-serif;
+
   font-family: 'Karla', sans-serif !important;
 
   line-height: 160%;
 
   line-height: 160%;
   font-size: 18px;
+
   font-size: 20px !important;
   color: #000;
+
   margin: 20px;
   margin-bottom: 4rem;
+
   margin-bottom: 40px;
 
}
 
}
  
.ua-home-video {
+
.ua-research-content li {
   grid-area: 1 / 5 / -1 / -2;
+
   font-family: 'Karla', sans-serif !important;
  text-align: right;
+
  margin-left: 80px;
+
  margin-top: 60px;
+
 
}
 
}
  
.card-deck .card-body h5 {
+
.ua-collapsable .card-body {
   text-align: center;
+
   font-family: 'Karla', sans-serif !important;
 +
  line-height: 160%;
 +
  font-size: 20px !important;
 
}
 
}
  
@media (min-width: 880px) {
+
.ua-collapse-button h6 {
   .card-deck .card-body p {
+
   font-family: 'Karla', sans-serif !important;
    display: none;
+
  display: inline-block;
   }
+
   margin-bottom: 0;
 +
  margin-left: 5px;
 +
  padding: 0;
 
}
 
}
  
/* .ua-home-section-info {
+
.ua-collapse-button i {
   grid-area: 3 / 2 / -1 / -2;
+
   float: right;
} */
+
  margin-top: 3px;
 +
  margin-right: 10px;  
 +
}
  
/* .ua-home-section-info .tab-content {
+
.card-title {
   font-family: 'Karla', sans-serif;
+
   font-family: 'Amiko', sans-serif !important;
  line-height: 160%;
+
}
  font-size: 18px;
+
 
  color: #000;
+
.card h5.card-title {
   margin-bottom: 2rem;
+
   text-align: center;
} */
+
}
 +
 
 +
/* ****************************************
 +
* Overrides
 +
**************************************** */
  
/* Overrides */
 
 
.navbar-dark .navbar-nav .nav-link {
 
.navbar-dark .navbar-nav .nav-link {
 
   color: rgba(255, 255, 255, 0.75);
 
   color: rgba(255, 255, 255, 0.75);
Line 349: Line 439:
 
}
 
}
  
 +
.fixed-top {
 +
  position: absolute !important;
 +
}
  
/* font-family: 'Amiko', sans-serif;
+
.tooltip-inner {
font-family: 'Karla', sans-serif; */
+
  font-family: 'Amiko', sans-serif !important;
 +
}
  
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 04:50, 8 December 2018