Difference between revisions of "Template:Css-gcdigital-hub"

From wiki
Jump to navigation Jump to search
(Created page with "<html><style> * { box-sizing: border-box; } #superBody strong { font-weight: bold; } #firstHeading{ display: none; } body { margin: 0px; } #superBody {...")
 
(No difference)

Latest revision as of 14:43, 21 May 2024

<html><style>

  • {
 box-sizing: border-box;

}

  1. superBody strong {
   font-weight: bold;

}

  1. firstHeading{
 display: none;

}

body

 {
   margin: 0px;
 }
  1. superBody {
 font-family: "Open Sans", sans-serif;
 background-color: #FFFFFF;
 font-style: normal;
 font-weight: 200;
 margin: 0px;

}

  1. superBody hr {

border-top: 2px solid #9747FF; margin-top: 30px; } a { color: #000; }

.card-img img {

 width: 70%;
 border-radius: 50%;;
 height: auto;
 margin: auto;
 display: block;
 margin-top: 20px;

}

.card-body h3 {

 margin-top: 10px !important;

}

a:hover { color: blue; } /* Header CSS */ .headerContent {

 width: 1024px;
 margin-left: auto;
 margin-right: auto;

} /* GCPedia wiki header section */ .headerWiki {

 height: 50px;
 background-color: #6F27BF;

} .headerWiki p {

 color: #6F27BF;
 font-size: 30px;
 padding: 0;
 margin: 0;

} .logo a {

 font-weight: bold;
 float: left;

} .lang-toggle a {

 float: right;

}

.lang-toggle a, .logo a {

 color: #fff;
 margin-top: 15px;

}

.lang-toggle a:hover, .logo a:hover {

 color: #00C3B7;

}

/* Main header section */ .titleHeader {

 color: #FFFFFF;
 background-color: #000000;
 padding-top: 50px;
 padding-bottom: 50px;
 background-image: url("https://www.gcpedia.gc.ca/gcwiki/images/6/61/ExwikiBG.png");
 background-position: top right;
 background-repeat: no-repeat;
 background-size: 60%;

} /* Breadcrumbs */

  1. superBody .breadcrumb {
 background-color: #3D3D3D;
 margin: 0;
 border-radius: 0px;

}

  1. superBody .table-highlight

{

    background: #E4CCFF;

}

  1. superBody caption

{ caption-side:top; }

.breadcrumb ul {

 list-style-type: none;
 overflow: hidden;
 padding: 0; /* Remove padding */
 margin: auto; /* Remove margins */
 width: 1024px;

} .breadcrumb li {

 display: block;
 color: white;
 text-align: center;
 padding: 20px 5px;
 text-decoration: none;
 float: left;

} .breadcrumb li:not(:last-child)::after {

 display: inline-block;
 margin-left: 15px;
 content: ">";

} /* Breadcrumb links */

  1. superBody .breadcrumb li a {
 color: white;
 text-decoration: underline;

}

  1. superBody .breadcrumb li a:hover:not(.active) {
 color: #00C3B7;

}

  1. superBody .breadcrumb .active {
 color: #FFFFFF;

} .rainbow_bar {

 height: 20px;
 background: linear-gradient(90deg, #ffad31, #52c765, #27c9bc, #ff5958);
 margin: 0;
 padding: 0;

} /* Page content */

.pageContent {

 width: 1024px;
 margin-left: auto;
 margin-right: auto;
 padding-bottom: 20px;

} /* Content Headers */

  1. superBody h1 {
 color: #FFFFFF;
 padding-bottom: 0px;
 font-size: 40px;
 font-weight: 700;
 border: none;
 font-family: "Open Sans", sans-serif;

}

  1. superBody h2 {
 margin-bottom: 22px;
 font-size: 40px;
 font-weight: 700;
 margin-top: 44px;
 border:none;
 font-family: "Open Sans", sans-serif;

}

#superBody h3 {
 font-weight: 300;
  font-size: 38px;
 line-height: 33.6px;
 margin-top: 30px;
 padding-bottom: 20px;
}
  1. superBody h3 a {
  text-decoration: underline;

}

#superBody h4 {
 font-weight: 500;
  font-size: 28px;
 line-height: 33.6px;
 margin-top: 30px;
 padding-bottom: 20px;
}
#superBody h5 {
 font-weight: 500;
  font-size: 18px;
 line-height: 33.6px;
 margin-top: 30px;
 padding-bottom: 20px;
}

.infoBox { background-color: #BFF5F1; border-radius: 20px; padding: 20px; padding-bottom: 10px; margin-top: 30px; margin-bottom: 30px; }

  1. superBody .btn-icon

{

   display: inline-flex;

} /* Primary colours */ .bg-primaryDTL {

 background-color: #03C3B8 !important;

} .btn-primaryDTL {

 background-color: #03C3B8 !important;
 border-color: #03C3B8 !important;
 color: black !important;

}

.txt-primary {

 color: #03C3B8 !important;

} .notePrimary {

 border-radius: 15px;
 background-color: #BFF5F1;
 padding: 10px;
 margin-bottom: 10px;

} .bg-secondaryDTL {

 background-color: #FF7675 !important;

} .btn-secondaryDTL {

 background-color: #FF7675 !important;
 border-color: #FF7675 !important;
 color: black;

} .txt-secondary {

 color: #FF7675 !important;

} .noteSecondary {

 border-radius: 15px;
 background-color: #FFD1D1;
 padding: 10px;
 margin-bottom: 10px;

} .bg-tertiaryDTL {

 background-color: #FFAD31 !important;

} .btn-tertiaryDTL {

 background-color: #FFAD31 !important;
 border-color: #FFAD31 !important;
 color: black;

} .txt-tertiary {

 color: #FFAD31 !important;

} .btn:hover, .btn:focus {

 color: #fff !important;

}

.btn:visited:hover {

 color: #fff !important;

}

.btn:visited, .btn:active { color: black !important; }

.noteTertiary {

 border-radius: 15px;
 background-color: #FFECC6;
 padding: 10px;
 margin-bottom: 10px;

} .bg-black {

 background-color: black;

} .text-white {

 color: white;

}

.txt-green {

 color: #52C765 !important;

}

.txt-purple {

 color: #9747FF !important;

}

.rightimg {

 width: 300px;
 margin-top: 10px;
 margin-bottom: 16px;
 }

.btn {

 background-color: #03C3B8;
 padding: 10px;
 border-radius: 10px;
 border: 2px solid #03C3B8;
 font-weight: bold;
 display: inline-block;
 margin-top: 10px;
 text-decoration: underline;

}


.innerCard {

 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 margin-left: 10px;
 margin-right: 10px;
 height: 100%;

} /* cards */ .carditem2w {

 flex: 0 0 50%;
 margin-bottom: 20px;

} .carditem {

 flex: 0 0 33.3%;
 margin-bottom: 20px;

}

  1. superBody .card h3 {
 display: inline-block;

} .card-container {

 display: flex;
 flex-wrap: wrap;

margin-top: 30px; } .card-body {

 padding: 20px !important;
 margin-bottom: 20px;

}

  1. superBody .card-header h3 {
 padding: 20px;
 margin: 0px;

}

 .cardHeadBorder {
 border-bottom: thick solid black !important;

}

  1. superBody .carditem h3 {
 font-size: 20px;
 font-weight: 700;
 

}

  1. superBody .carditem2w h3 {
 font-size: 20px;
 font-weight: 700;

} /* List of courses */

.courseCardsList {

 margin-top: 50px;

}

.courseCard-container {

 display: flex;
 flex-wrap: wrap;
 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
 margin-bottom: 20px;
 padding-top: 5px;
 padding-left: 20px;
 padding-right: 20px;
 padding-bottom: 25px;

}

.courseCard-icon {

   flex: 0 0 15%;

}

.courseCard {

   flex: 0 0 80%;

}

.noicon .courseCard {

   flex: 0 0 100%;

}

ul.checkmark {

 list-style: none;
 margin-left: 25px;

}

ul.checkmark li {

 line-height: 1.8;
 position: relative;

}

ul.checkmark li:before {

 color: #9747FF;
 content: '✓';
 font-weight: bold;
 left: -25px;
 position: absolute;

}


  1. superBody .courseCard-container h3 {
 font-size: 24px;
 font-weight: 300;
 margin-top: 3px;

}

  1. superBody .courseCard h3 a {
 color: black !important;

}

  1. superBody .courseCard h3 a:hover {
 color: blue;

}

.course-SL {

 border-left: 10px #FF7675 solid;
 border-radius: 0px;

}

.course-IP {

 border-left: 10px #52C765 solid;
 border-radius: 0px;

}

.course-H {

 border-left: 10px #9747FF solid;
 border-radius: 0px;

}

.course-V {

 border-left: 10px #00C3B7 solid;
 border-radius: 0px;

}

.course-Y {

 border-left: 10px #FFAD31 solid;
 border-radius: 0px;

}

.card-icon {

 text-align: center;
 margin-top: auto;
 margin-bottom: auto;
 padding: 10px;

}

.card-icon .material-icons {

 font-size: 50px;

}

/* Skills chips */ .chipList {

 list-style-type: none;
 padding: 0px;

}

.chipList li {

 display: inline;
 padding: 10px;
 border: 2px solid #006B64;
 border-radius: 100px;
 background-color: #BFF5F1;

}

.courseSumm { border: medium solid #03C3B8; padding: 20px; border-radius: 10px; margin-bottom: 30px; }

.contactUs {

 margin-top: 30px;
 border-top: medium solid #03C3B8;
 display: inline-block;

} /* Footer */

footer {

 color: #FFFFFF;
 background-color: #000000;
 padding-top: 50px;
 padding-bottom: 50px;

}

.footerContent {

 width: 1024px;
 margin-left: auto;
 margin-right: auto;

}

@media (min-width: 850px) and (max-width: 1024px) { main {

 width: 100%;

} .headerContent {

 width: 100%;
 padding-left: 30px;
 padding-right: 30px;

} .pageContent {

 width: 100%;
 padding-left: 30px;
 padding-right: 30px;
 padding-bottom: 50px;

}

.lang-toggle {

 float: none;
 margin-top: 15px;

}

.headerWiki {

 width: 100%;
 text-align: center;

} .breadcrumb ul {

 width: 100%;
 padding-left: 30px;
 padding-right: 30px;

} .footerContent {

 width: 100%;
 padding-left: 30px;
 padding-right: 30px;

} }

@media (min-width: 100px) and (max-width: 850px) { main {

 width: 100%;

} .headerContent {

 width: 100%;
 padding-left: 30px;
 padding-right: 30px;

} .pageContent {

 width: 100%;
 padding-left: 30px;
 padding-right: 30px;
 padding-bottom: 50px;

}

.carditem {

 margin-bottom: 20px;
 display: inline-block;
 width: 100%;

flex: none; } .carditem2w {

 margin-bottom: 20px;
 display: inline-block;
 width: 100%;

flex: none; }

.cardContainer {
 margin-bottom: 20px;

display: inline-block; }

.lang-toggle {

 float: none;
 margin-top: 15px;

}

.headerWiki {

 width: 100%;
 text-align: center;

} .breadcrumb ul {

 width: 100%;
 padding-left: 30px;
 padding-right: 30px;

} .footerContent {

 width: 100%;
 padding-left: 30px;
 padding-right: 30px;

} }</style> </html>