Difference between revisions of "Template:UAlberta/CSS"

m
 
(48 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; }
  
/* Typeface */
+
#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; }
  
/* devanagari */
+
/* ****************************************
@font-face {
+
* Stylesheet
  font-family: 'Amiko';
+
**************************************** */
  font-style: normal;
+
 
  font-weight: 400;
+
.ua-home {
   src: local('Amiko'), local('Amiko-Regular'), url(https://fonts.gstatic.com/s/amiko/v2/WwkQxPq1DFK04uqjeV_8MQ.woff2) format('woff2');
+
   position: relative;
   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;
+
   overflow: hidden;
 
}
 
}
/* 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;
   font-size: 115%;
+
 
}
 
}
  
/* Header */
+
.ua-porphyrin:nth-child(3) {
 +
  left: 0;
 +
}
  
.navbar-custom {
+
.ua-porphyrin:nth-child(4) {
background-color: #FFCC33;
+
  left: 0;
 
}
 
}
  
.navbar-text {
+
.ua-porphyrin:nth-child(5) {
   color: #000;
+
   right: 0;
 
}
 
}
  
/* Footer */
+
.ua-porphyrin:nth-child(6) {
.ua-footer {
+
 
   left: 0;
 
   left: 0;
  bottom: 0;
 
  background-color: black;
 
  color: white;
 
  text-align: left;
 
  width: 100%;
 
 
}
 
}
  
.ua-footer-column{
+
.ua-porphyrin img {
   padding: 50px 10px;
+
   position: relative;
 
}
 
}
  
.footer-contact {
+
.ua-porphyrin:nth-child(1) img {
   list-style: none
+
   top: 100px;
 +
  left: -240px;
 +
  width: 75%;
 +
  height: auto;
 +
  transform: rotate(16deg);
 
}
 
}
  
.footer-contact > li, a{
+
.ua-porphyrin:nth-child(2) img {
   font-family: 'Amiko',sans-serif;
+
   float: right;
   font-size:9pt;
+
   top: 250px;
   color: white
+
  right: -500px;
 +
  width: 120%;
 +
   height: auto;
 +
  transform: rotate(12deg);
 
}
 
}
  
/*BG image*/
+
.ua-porphyrin:nth-child(3) img {
.hero-image{
+
  top: 720px;
   background-size: cover;
+
  left: -180px;
   background-repeat: no-repeat;
+
  width: 60%;
   background-position: 50% 25%;
+
  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%;
 
   width: 100%;
   height: 500px;
+
   height: 100%;
 +
  object-fit: cover
 +
}
 +
 
 +
.ua-global-map {
 
   position: relative;
 
   position: relative;
 
}
 
}
  
.hero-text{
+
.ua-global-map img {
   text-align: center;
+
   transition: all 0.2s;
 +
}
 +
 
 +
.location-marker-1 {
 
   position: absolute;
 
   position: absolute;
   top: 50%;
+
   width: 3%;
   left: 50%;
+
   top: 29%;
   transform: translate(-50%, -50%);
+
   left: 9.5%;
  color: white;
+
 
}
 
}
  
.hero-text > h1{
+
.location-marker-2 {
   font-family: 'Amiko',sans-serif;
+
   position: absolute;
   font-weight: bold;
+
   width: 3%;
   font-size: 350%;
+
   top: 13%;
 +
  left: 11.5%;
 
}
 
}
  
.hero-text > h2{
+
.location-marker-3 {
   font-family: 'Amiko',sans-serif;
+
   position: absolute;
   font-size: 300%;
+
   width: 3%;
 +
  top: 13%;
 +
  left: 11%;
 
}
 
}
  
#ua-project-experimental{
+
.location-marker-4 {
   background-image: url(../images/project/T--Ualberta-Project-ExperimentalBG.png);
+
   position: absolute;
 +
  width: 3%;
 +
  top: 12.5%;
 +
  left: 44.5%;
 
}
 
}
  
#ua-hp-overview{
+
.ua-global-map a img:hover {
   background-image: url(../images/human-practices/T--UAlberta-HP-OverviewBG.png);
+
   transform: translateY(-18%);
 
}
 
}
  
#ua-team-members{
+
.location-marker-2:hover {
   background-image: url(../images/team/T--UAlberta-Team-MembersBG.png);
+
   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;
 +
}
 +
 +
.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;
 +
}
 +
 +
.card img {
 +
  border-radius: 8px;
 +
}
 +
 +
.fixed-top {
 +
  position: absolute !important;
 +
}
  
/*Content*/
+
.tooltip-inner {
.ua-content{
+
   font-family: 'Amiko', sans-serif !important;
   background-color: #F2F2F2;
+
  padding-top: 6%;
+
  padding-bottom: 6%;
+
 
}
 
}
  
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 04:50, 8 December 2018