Difference between revisions of "Template:UAlberta/CSS"

m
m
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<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|Karla" 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; }
  
 
/* ****************************************
 
/* ****************************************
 
* Stylesheet
 
* Stylesheet
 
**************************************** */
 
**************************************** */
 
.ua-research-content {
 
  padding: 50px 0;
 
  background: rgba(230, 230, 250, 0.5);
 
}
 
 
.ua-research-content h1 {
 
  font-family: 'Amiko', sans-serif;
 
  font-size: 128px;
 
  /* color: #007bb8; */
 
  color: #800080;
 
  text-align: center;
 
  margin-top: 20px;
 
  margin-bottom: 70px;
 
  /* padding-top: 0; iGEM */
 
}
 
 
.ua-research-content h2 {
 
  font-family: 'Amiko', sans-serif;
 
  font-size: 64px;
 
  /* color: #007bb8; */
 
  color: #800080;
 
  text-align: left;
 
}
 
 
.ua-research-content h3 {
 
  font-family: 'Amiko', sans-serif;
 
  font-size: 48px;
 
  /* color: #007bb8; */
 
  color: #800080;
 
  margin: 40px 0;
 
}
 
 
.ua-research-content h4 {
 
  font-family: 'Amiko', sans-serif;
 
  font-size: 32px;
 
  color: #007bb8;
 
  margin: 40px 0;
 
}
 
 
.ua-research-content p {
 
  font-family: 'Karla', sans-serif;
 
  line-height: 160%;
 
  text-align: justify;
 
  font-size: 18px;
 
  margin: 20px;
 
}
 
 
.ua-navbar {
 
  /* background: #8478b8; */
 
  background: #800080;
 
}
 
 
.ua-navbar-brand {
 
  height: 50px;
 
  width: 272px;
 
}
 
 
.ua-footer {
 
  /* background: #8478b8; */
 
  background: #800080;
 
  height: 200px;
 
  width: 100%;
 
}
 
  
 
.ua-home {
 
.ua-home {
 
   position: relative;
 
   position: relative;
 
   overflow: hidden;
 
   overflow: hidden;
}
 
 
.ua-home .ua-navbar {
 
  background: transparent;
 
 
}
 
}
  
 
.ua-home-section {
 
.ua-home-section {
 
   position: relative;
 
   position: relative;
 +
}
 +
 +
.ua-home-section:nth-child(2) {
 +
  margin-bottom: 200px;
 
}
 
}
  
Line 113: Line 52:
  
 
.ua-home-section:nth-child(1) .ua-stripes {
 
.ua-home-section:nth-child(1) .ua-stripes {
   background: linear-gradient(#9370DB, #FFF);
+
   background: linear-gradient(#9370DB, #E6E6FA);
 +
  /* background: linear-gradient(rgb(255, 255, 255), rgb(248, 248, 213)); */
 
   z-index: -1;
 
   z-index: -1;
 
}
 
}
Line 120: Line 60:
 
   grid-area: 1 / 1 / 4 / -1;
 
   grid-area: 1 / 1 / 4 / -1;
 
   background: linear-gradient(168deg, #800080, #DA70D6);
 
   background: linear-gradient(168deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
 
}
 
}
  
Line 125: Line 66:
 
   grid-area: 4 / 6 / 5 / -1;
 
   grid-area: 4 / 6 / 5 / -1;
 
   background: linear-gradient(270deg, #800080, #DA70D6);
 
   background: linear-gradient(270deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
 
}
 
}
  
Line 135: Line 77:
 
   grid-area: 9 / 8 / -2 / -1;
 
   grid-area: 9 / 8 / -2 / -1;
 
   background: linear-gradient(270deg, #800080, #DA70D6);
 
   background: linear-gradient(270deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
 
}
 
}
  
Line 140: Line 83:
 
   grid-area: 10 / 10 / -2 / -1;
 
   grid-area: 10 / 10 / -2 / -1;
 
   background: linear-gradient(168deg, #800080, #DA70D6);
 
   background: linear-gradient(168deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
 
}
 
}
  
Line 148: Line 92:
  
 
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) {
 
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) {
   grid-area: 10 / 1 / -1 / 6;
+
   grid-area: 10 / 1 / -1 / -1;
 
   background: linear-gradient(145deg, #800080, #DA70D6);
 
   background: linear-gradient(145deg, #800080, #DA70D6);
 +
  /* background: linear-gradient(90deg, #FFDF00, #FFA500); */
 
}
 
}
  
Line 159: Line 104:
 
.ua-home-section:nth-child(3) .ua-stripes {
 
.ua-home-section:nth-child(3) .ua-stripes {
 
   /* background: #E6E6FA; */
 
   /* background: #E6E6FA; */
   background: #E6E6FA;
+
   /* background: rgb(248, 248, 213); */
 
   z-index: -1;
 
   z-index: -1;
 
}
 
}
  
.ua-home-section-content {
+
.ua-home-section-hero {
 
   position: relative;
 
   position: relative;
   display: grid;
+
   height: 760px;
  grid-template: repeat(10, 76px) / repeat(8, 1fr);
+
 
}
 
}
  
.ua-home-hero {
+
.ua-home-section-hero .row {
   grid-area: 3 / 2 / 8 / -2;
+
   height: 760px;
  text-align: left;
+
 
}
 
}
  
.ua-home-image {
+
.ua-porphyrin {
   grid-area: 5 / 6 / -1 / -2;
+
   position: absolute;
 
}
 
}
  
.ua-home-image img {
+
.ua-porphyrin:nth-child(1) {
   transform: scale(1.5);
+
   left: 0;
 
}
 
}
  
.ua-home-hero h1 {
+
.ua-porphyrin:nth-child(2) {
   font-family: 'Amiko', sans-serif;
+
   right: 0;
  font-size: 48px;
+
  color: #4B0082;
+
  margin-bottom: 2rem;  
+
 
}
 
}
  
.ua-home-hero p {
+
.ua-porphyrin:nth-child(3) {
   font-family: 'Karla', sans-serif;
+
   left: 0;
  line-height: 160%;
+
  text-align: justify;
+
  font-size: 18px;
+
  color: #000;
+
  margin-bottom: 2rem;
+
  max-width: 50%;
+
 
}
 
}
  
.ua-home-section-block {
+
.ua-porphyrin:nth-child(4) {
   grid-area: 1 / 2 / 5 / 5;
+
   left: 0;
  text-align: right;
+
 
}
 
}
  
.ua-home-section-block h1 {
+
.ua-porphyrin:nth-child(5) {
   font-family: 'Amiko', sans-serif;
+
   right: 0;
  font-size: 64px;
+
  color: #4B0082;
+
  margin-bottom: 2rem;  
+
 
}
 
}
  
.ua-home-section-block p {
+
.ua-porphyrin:nth-child(6) {
   font-family: 'Karla', sans-serif;
+
  left: 0;
   line-height: 160%;
+
}
   font-size: 18px;
+
 
   color: #000;
+
.ua-porphyrin img {
   margin-bottom: 2rem;
+
   position: relative;
 +
}
 +
 
 +
.ua-porphyrin:nth-child(1) img {
 +
  top: 100px;
 +
   left: -240px;
 +
  width: 75%;
 +
  height: auto;
 +
  transform: rotate(16deg);
 +
}
 +
 
 +
.ua-porphyrin:nth-child(2) img {
 +
  float: right;
 +
  top: 250px;
 +
  right: -500px;
 +
  width: 120%;
 +
   height: auto;
 +
  transform: rotate(12deg);
 +
}
 +
 
 +
.ua-porphyrin:nth-child(3) img {
 +
  top: 720px;
 +
   left: -180px;
 +
   width: 60%;
 +
  height: auto;
 +
  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-home-cards {
+
.ua-porphyrin:nth-child(6) img {
   grid-area: 8 / 2 / -1 / -2;
+
   top: 840px;
 +
  left: -250px;
 +
  width: 80%;
 +
  height: auto;
 +
  transform: rotate(-124deg);
 
}
 
}
  
Line 226: Line 202:
 
   position: relative;
 
   position: relative;
 
   height: 760px;
 
   height: 760px;
   background: #E6E6FA;
+
   /* background: #E6E6FA; */
 +
  /* background: rgb(248, 248, 213); */
 +
  z-index: -1;
 
}
 
}
  
.ua-home-section-navigation {
+
.ua-research-content {
   text-align: center;
+
   padding: 50px 0;
 
}
 
}
  
.ua-home-section-navigation h1 {
+
.ua-navbar {
   font-family: 'Amiko', sans-serif;
+
  /* background: #8478b8; */
   font-size: 64px;
+
  background: #800080;
 +
}
 +
 
 +
.ua-navbar-brand {
 +
  height: 50px;
 +
  width: 272px;
 +
}
 +
 
 +
.ua-banner {
 +
  height: 350px;
 +
}
 +
 
 +
.ua-banner img {
 +
  width: 100%;
 +
  height: 100%;
 +
  object-fit: cover
 +
}
 +
 
 +
.ua-global-map {
 +
  position: relative;
 +
}
 +
 
 +
.ua-global-map img {
 +
  transition: all 0.2s;
 +
}
 +
 
 +
.location-marker-1 {
 +
  position: absolute;
 +
  width: 3%;
 +
  top: 29%;
 +
  left: 9.5%;
 +
}
 +
 
 +
.location-marker-2 {
 +
  position: absolute;
 +
  width: 3%;
 +
  top: 13%;
 +
  left: 11.5%;
 +
}
 +
 
 +
.location-marker-3 {
 +
  position: absolute;
 +
  width: 3%;
 +
  top: 13%;
 +
  left: 11%;
 +
}
 +
 
 +
.location-marker-4 {
 +
  position: absolute;
 +
  width: 3%;
 +
  top: 12.5%;
 +
  left: 44.5%;
 +
}
 +
 
 +
.ua-global-map a img:hover {
 +
  transform: translateY(-18%);
 +
}
 +
 
 +
.location-marker-2:hover {
 +
  z-index: 1;
 +
}
 +
 
 +
.location-marker-3:hover {
 +
  z-index: 1;
 +
}
 +
 
 +
.ua-collapsable .ua-collapse-button {
 +
  background: #800080;
 +
  color: #fff;
 +
  padding: 15px;
 +
  border-radius: 8px;
 +
}
 +
 
 +
.ua-footer {
 +
  background: #800080;
 +
  height: 100%;
 +
  width: 100%;
 +
  margin-bottom: -5px;
 +
}
 +
 
 +
.ua-footer h5 {
 +
  margin-top: 10px;
 +
  color: #fff;
 +
}
 +
 
 +
.ua-footer ul {
 +
  list-style-type: none;
 +
}
 +
 
 +
.ua-footer li a {
 +
  color: #fff;
 +
}
 +
 
 +
.ua-footer li:last-child {
 +
  margin-bottom: 20px;
 +
}
 +
 
 +
.ua-flipImage {
 +
  transform: scaleX(-1);
 +
}
 +
 
 +
/* ****************************************
 +
* Header and paragraph styles
 +
**************************************** */
 +
 
 +
.ua-home h1 {
 +
   font-family: 'Amiko', sans-serif !important;
 +
   font-size: 32px;
 
   color: #4B0082;
 
   color: #4B0082;
  margin-bottom: 2rem;
 
 
}
 
}
  
.ua-home-section-navigation 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%;
   font-size: 18px;
+
   text-align: justify !important;
 
   color: #000;
 
   color: #000;
  margin-bottom: 4rem;
 
 
}
 
}
  
.ua-home-video {
+
.ua-home 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-home-section-primary p {
   text-align: center;
+
   padding: 20px;
 
}
 
}
  
@media (min-width: 880px) {
+
.ua-home-section-secondary h1,
  .card-deck .card-body p {
+
.ua-home-section-secondary p {
    display: none;
+
  text-align: right !important;
   }
+
   margin-bottom: 20px;
 
}
 
}
  
/* .ua-home-section-info {
+
.ua-home-section-secondary h1 {
   grid-area: 3 / 2 / -1 / -2;
+
   font-size: 48px;
} */
+
}
  
/* .ua-home-section-info .tab-content {
+
.ua-research-content h1 {
   font-family: 'Karla', sans-serif;
+
  font-family: 'Amiko', sans-serif !important;
 +
  font-size: 64px;
 +
  /* color: #007bb8; */
 +
  color: #800080;
 +
  margin-bottom: 80px!important;
 +
}
 +
 
 +
.ua-research-content h2 {
 +
  font-family: 'Amiko', sans-serif !important;
 +
  font-size: 48px;
 +
  /* color: #007bb8; */
 +
  color: #800080;
 +
  margin-bottom: 40px !important;
 +
}
 +
 
 +
.ua-research-content h3 {
 +
  font-family: 'Amiko', sans-serif !important;
 +
  font-size: 38px;
 +
font-style: italic;
 +
  /* color: #007bb8; */
 +
  color: #800080;
 +
  margin-bottom: 40px !important;
 +
}
 +
 
 +
.ua-research-content p {
 +
   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: 2rem;
+
   margin-bottom: 40px;
} */
+
}
 +
 
 +
.ua-research-content li {
 +
  font-family: 'Karla', sans-serif !important;
 +
}
 +
 
 +
.ua-collapsable .card-body {
 +
  font-family: 'Karla', sans-serif !important;
 +
  line-height: 160%;
 +
  font-size: 20px !important;
 +
}
 +
 
 +
.ua-collapse-button h6 {
 +
  font-family: 'Karla', sans-serif !important;
 +
  display: inline-block;
 +
  margin-bottom: 0;
 +
  margin-left: 5px;
 +
  padding: 0;
 +
}
 +
 
 +
.ua-collapse-button i {
 +
  float: right;
 +
  margin-top: 3px;
 +
  margin-right: 10px;
 +
}
 +
 
 +
.card-title {
 +
  font-family: 'Amiko', sans-serif !important;
 +
}
 +
 
 +
.card h5.card-title {
 +
  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 298: 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