Difference between revisions of "Template:UAlberta/CSS"

m
 
(52 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 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 15: Line 19:
 
#bodyContent a[href ^="https://"], .link-https { padding-right: unset; }
 
#bodyContent a[href ^="https://"], .link-https { padding-right: unset; }
  
 +
#mw-content-text > p { margin: 5px 0; }
 +
#globalWrapper { padding-bottom: 0; }
 +
#HQ_page p { text-align: unset; }
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin: 0; }
  
/* Typeface */
+
/* ****************************************
 +
* Stylesheet
 +
**************************************** */
  
/* devanagari */
+
.ua-home {
@font-face {
+
   position: relative;
   font-family: 'Amiko';
+
   overflow: hidden;
   font-style: normal;
+
  font-weight: 400;
+
  src: local('Amiko'), local('Amiko-Regular'), url(https://fonts.gstatic.com/s/amiko/v2/WwkQxPq1DFK04uqjeV_8MQ.woff2) format('woff2');
+
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
+
 
}
 
}
/* latin-ext */
+
 
@font-face {
+
.ua-home-section {
   font-family: 'Amiko';
+
   position: relative;
  font-style: normal;
+
  font-weight: 400;
+
  src: local('Amiko'), local('Amiko-Regular'), url(https://fonts.gstatic.com/s/amiko/v2/WwkQxPq1DFK04uqseV_8MQ.woff2) format('woff2');
+
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
 
}
 
}
/* latin */
+
 
@font-face {
+
.ua-home-section:nth-child(2) {
  font-family: 'Amiko';
+
   margin-bottom: 200px;
  font-style: normal;
+
  font-weight: 400;
+
  src: local('Amiko'), local('Amiko-Regular'), url(https://fonts.gstatic.com/s/amiko/v2/WwkQxPq1DFK04uqieV8.woff2) format('woff2');
+
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+
 
}
 
}
/* devanagari */
+
 
@font-face {
+
.ua-stripes {
   font-family: 'Amiko';
+
   width: 100%;
   font-style: normal;
+
   height: 100%;
   font-weight: 700;
+
   position: absolute;
   src: local('Amiko Bold'), local('Amiko-Bold'), url(https://fonts.gstatic.com/s/amiko/v2/WwkdxPq1DFK04uIZXErCEIUwUQ.woff2) format('woff2');
+
  transform-origin: 0;
   unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
+
   transform: skewY(-12deg);
 +
  display: grid;
 +
   grid-template: repeat(10, 76px) / repeat(10, 1fr);
 
}
 
}
/* latin-ext */
+
 
@font-face {
+
.ua-home-section:nth-child(1) .ua-stripes {
  font-family: 'Amiko';
+
   background: linear-gradient(#9370DB, #E6E6FA);
   font-style: normal;
+
   /* background: linear-gradient(rgb(255, 255, 255), rgb(248, 248, 213)); */
  font-weight: 700;
+
   z-index: -1;
   src: local('Amiko Bold'), local('Amiko-Bold'), url(https://fonts.gstatic.com/s/amiko/v2/WwkdxPq1DFK04uIZXErNEIUwUQ.woff2) format('woff2');
+
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
 
}
 
}
/* latin */
+
 
@font-face {
+
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(1) {
  font-family: 'Amiko';
+
   grid-area: 1 / 1 / 4 / -1;
  font-style: normal;
+
   background: linear-gradient(168deg, #800080, #DA70D6);
   font-weight: 700;
+
   /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
   src: local('Amiko Bold'), local('Amiko-Bold'), url(https://fonts.gstatic.com/s/amiko/v2/WwkdxPq1DFK04uIZXErDEIU.woff2) format('woff2');
+
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+
 
}
 
}
/* latin-ext */
+
 
@font-face {
+
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(2) {
  font-family: 'Karla';
+
   grid-area: 4 / 6 / 5 / -1;
  font-style: italic;
+
   background: linear-gradient(270deg, #800080, #DA70D6);
   font-weight: 400;
+
   /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
   src: local('Karla Italic'), local('Karla-Italic'), url(https://fonts.gstatic.com/s/karla/v6/qkBVXvYC6trAT7RQHtCe4YZO.woff2) format('woff2');
+
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
 
}
 
}
/* latin */
+
 
@font-face {
+
/* .ua-home-section:nth-child(1) .ua-stripes span:nth-child(3) {
  font-family: 'Karla';
+
   grid-area: 5 / 8 / 6 / -1;
  font-style: italic;
+
   background: linear-gradient(-12deg, #800080, #DA70D6);
   font-weight: 400;
+
} */
   src: local('Karla Italic'), local('Karla-Italic'), url(https://fonts.gstatic.com/s/karla/v6/qkBVXvYC6trAT7RQHt6e4Q.woff2) format('woff2');
+
 
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+
.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); */
 
}
 
}
/* latin-ext */
+
 
@font-face {
+
.ua-home-section:nth-child(1) .ua-stripes span:nth-child(5) {
  font-family: 'Karla';
+
   grid-area: 10 / 10 / -2 / -1;
  font-style: italic;
+
   background: linear-gradient(168deg, #800080, #DA70D6);
   font-weight: 700;
+
   /* background: linear-gradient(168deg, #FFDF00, #FFA500); */
   src: local('Karla Bold Italic'), local('Karla-BoldItalic'), url(https://fonts.gstatic.com/s/karla/v6/qkBQXvYC6trAT7RQFmW79LdvnTzC.woff2) format('woff2');
+
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
 
}
 
}
/* latin */
+
 
@font-face {
+
/* .ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) {
  font-family: 'Karla';
+
   grid-area: 10 / 1 / -1 / 4;
  font-style: italic;
+
   background: linear-gradient(145deg, #800080, #DA70D6);
   font-weight: 700;
+
} */
   src: local('Karla Bold Italic'), local('Karla-BoldItalic'), url(https://fonts.gstatic.com/s/karla/v6/qkBQXvYC6trAT7RQFmW79LlvnQ.woff2) format('woff2');
+
 
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+
.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); */
 
}
 
}
/* latin-ext */
+
 
@font-face {
+
.ua-home-section:nth-child(2) .ua-stripes {
  font-family: 'Karla';
+
   background: #fff;
  font-style: normal;
+
   z-index: -1;
  font-weight: 400;
+
   src: local('Karla'), local('Karla-Regular'), url(https://fonts.gstatic.com/s/karla/v6/qkBbXvYC6trAT7RbLtyG5Q.woff2) format('woff2');
+
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
 
}
 
}
/* latin */
+
 
@font-face {
+
.ua-home-section:nth-child(3) .ua-stripes {
  font-family: 'Karla';
+
   /* background: #E6E6FA; */
  font-style: normal;
+
   /* background: rgb(248, 248, 213); */
   font-weight: 400;
+
   z-index: -1;
   src: local('Karla'), local('Karla-Regular'), url(https://fonts.gstatic.com/s/karla/v6/qkBbXvYC6trAT7RVLtw.woff2) format('woff2');
+
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+
 
}
 
}
/* latin-ext */
+
 
@font-face {
+
.ua-home-section-hero {
  font-family: 'Karla';
+
   position: relative;
  font-style: normal;
+
   height: 760px;
   font-weight: 700;
+
   src: local('Karla Bold'), local('Karla-Bold'), url(https://fonts.gstatic.com/s/karla/v6/qkBWXvYC6trAT7zuC8m3xLt3mQ.woff2) format('woff2');
+
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
 
}
 
}
/* latin */
+
 
@font-face {
+
.ua-home-section-hero .row {
  font-family: 'Karla';
+
   height: 760px;
  font-style: normal;
+
  font-weight: 700;
+
  src: local('Karla Bold'), local('Karla-Bold'), url(https://fonts.gstatic.com/s/karla/v6/qkBWXvYC6trAT7zuC8m5xLs.woff2) format('woff2');
+
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+
 
}
 
}
  
/* Text */
+
.ua-porphyrin {
 +
  position: absolute;
 +
}
  
h1, h2, h3, h4, h5, h6, a {
+
.ua-porphyrin:nth-child(1) {
   font-family: 'Amiko', sans-serif; margin-bottom: 0;
+
   left: 0;
 
}
 
}
  
p {
+
.ua-porphyrin:nth-child(2) {
   font-family: 'Karla',sans-serif
+
   right: 0;
 
}
 
}
  
/* Header */
+
.ua-porphyrin:nth-child(3) {
 +
  left: 0;
 +
}
  
.clear.extra_space {
+
.ua-porphyrin:nth-child(4) {
height: 0;
+
  left: 0;
 
}
 
}
  
.navbar-custom {
+
.ua-porphyrin:nth-child(5) {
background-color: #fcda07;
+
  right: 0;
 
}
 
}
  
.navbar-custom .navbar-text {
+
.ua-porphyrin:nth-child(6) {
   color: #000;
+
  left: 0;
 +
}
 +
 
 +
.ua-porphyrin img {
 +
  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-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;
 +
}
 +
 
 +
.ua-navbar {
 +
  /* background: #8478b8; */
 +
  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;
 
}
 
}
  
/* Footer */
 
 
.ua-footer {
 
.ua-footer {
  position: fixed;
+
   background: #800080;
  left: 0;
+
   height: 100%;
  bottom: 0;
+
   background-color: black;
+
  color: white;
+
   text-align: left;
+
 
   width: 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;
 +
}
 +
 +
.ua-home p {
 +
  font-family: 'Karla', sans-serif !important;
 +
  font-size: 20px !important;
 +
  line-height: 160%;
 +
  text-align: justify !important;
 +
  color: #000;
 +
}
 +
 +
.ua-home li {
 +
  font-family: 'Karla', sans-serif !important;
 +
}
 +
 +
.ua-home-section-primary p {
 +
  padding: 20px;
 +
}
 +
 +
.ua-home-section-secondary h1,
 +
.ua-home-section-secondary p {
 +
  text-align: right !important;
 +
  margin-bottom: 20px;
 +
}
 +
 +
.ua-home-section-secondary h1 {
 +
  font-size: 48px;
 +
}
 +
 +
.ua-research-content h1 {
 +
  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%;
 +
  font-size: 20px !important;
 +
  margin: 20px;
 +
  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
 +
**************************************** */
 +
 +
.navbar-dark .navbar-nav .nav-link {
 +
  color: rgba(255, 255, 255, 0.75);
 +
}
 +
 +
.navbar-dark .navbar-nav .nav-link:hover {
 +
  color: rgba(255, 255, 255, 1.00);
 +
}
 +
 +
.card {
 +
  border: none;
 +
}
 +
 +
.card-deck .card {
 +
  border-radius: 8px;
 
}
 
}
  
.ua-footer-column{
+
.card img {
   padding: 50px 10px;
+
   border-radius: 8px;
 
}
 
}
  
.footer-contact {
+
.fixed-top {
   list-style: none
+
   position: absolute !important;
 
}
 
}
  
.footer-contact li, a{
+
.tooltip-inner {
   font-family: 'Amiko',sans-serif;
+
   font-family: 'Amiko', sans-serif !important;
  font-size:9pt;
+
  color: white;
+
 
}
 
}
  
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 04:50, 8 December 2018