mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-14 03:07:43 -05:00
268 lines
4.8 KiB
CSS
268 lines
4.8 KiB
CSS
@font-face {
|
|
font-family: 'Sax Mono';
|
|
src: url('/fonts/saxmono.ttf') format('truetype');
|
|
font-display: fallback;
|
|
}
|
|
|
|
.certification-namespace * {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.certification-namespace h1 {
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.certification-namespace.container {
|
|
max-width: 1500px;
|
|
width: 100%;
|
|
padding: 30px;
|
|
border: var(--theme-color) 15px solid;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.certification-namespace .row {
|
|
margin: 0;
|
|
}
|
|
|
|
.certification-namespace .col-sm-12 {
|
|
padding: 0;
|
|
}
|
|
|
|
.certification-namespace.certificate-wrapper {
|
|
font-family: 'Sax Mono', monospace;
|
|
}
|
|
|
|
/* center the certificate vertically */
|
|
.certificate-outer-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
flex-direction: column;
|
|
padding: 50px;
|
|
}
|
|
|
|
.certificate-outer-wrapper .donation-section {
|
|
padding-bottom: 100px;
|
|
}
|
|
|
|
.certificate-outer-wrapper .donation-section hr {
|
|
border: 1px solid var(--gray-10);
|
|
}
|
|
|
|
.certificate-outer-wrapper .donation-completion .btn {
|
|
background-color: var(--gray-15);
|
|
border-color: var(--gray-85);
|
|
color: var(--gray-85);
|
|
}
|
|
|
|
.certificate-outer-wrapper .donation-completion .btn:hover {
|
|
border-color: var(--gray-85);
|
|
background-color: var(--gray-85);
|
|
color: var(--gray-05);
|
|
}
|
|
|
|
.certificate-outer-wrapper .donation-completion .btn[disabled],
|
|
.certificate-outer-wrapper .donation-completion .btn[disabled]:hover {
|
|
background-color: var(--gray-15);
|
|
border-color: var(--quaternary-color);
|
|
color: var(--quaternary-color);
|
|
}
|
|
|
|
.certificate-outer-wrapper .donation-section,
|
|
.certificate-outer-wrapper .donation-section p {
|
|
font-family: 'Lato', sans-serif;
|
|
}
|
|
|
|
.certification-namespace header {
|
|
width: 100%;
|
|
height: 140px;
|
|
background-color: var(--theme-color);
|
|
position: relative;
|
|
}
|
|
|
|
.certification-namespace .logo {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 140px;
|
|
margin-left: 100px;
|
|
}
|
|
|
|
.certification-namespace .logo svg {
|
|
height: 100%;
|
|
width: 100%;
|
|
max-width: 500px;
|
|
}
|
|
|
|
.certification-namespace .issue-date {
|
|
line-height: 140px;
|
|
font-size: 20px;
|
|
text-align: right;
|
|
margin-right: 100px;
|
|
color: var(--gray-00);
|
|
}
|
|
|
|
.certification-namespace .issue-date strong {
|
|
color: var(--gray-00);
|
|
}
|
|
|
|
.certification-namespace .information {
|
|
height: 380px;
|
|
text-align: center;
|
|
background-color: var(--gray-05);
|
|
}
|
|
|
|
.certification-namespace .information-container {
|
|
position: relative;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
margin: 0px 100px;
|
|
}
|
|
|
|
.certification-namespace p {
|
|
margin: 0;
|
|
}
|
|
|
|
.certification-namespace h3 {
|
|
font-size: 25px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.certification-namespace h4 {
|
|
margin-top: 25px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.certification-namespace h1 {
|
|
font-size: 40px;
|
|
color: var(--theme-color);
|
|
}
|
|
|
|
.certification-namespace .signatures {
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
background-color: var(--gray-05);
|
|
}
|
|
|
|
.certification-namespace .signatures img {
|
|
max-width: 300px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.certification-namespace .signatures p {
|
|
font-size: 18px;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.certification-namespace .verify {
|
|
padding: 30px 0;
|
|
font-size: 15px;
|
|
text-align: center;
|
|
word-wrap: break-word;
|
|
background-color: var(--gray-05);
|
|
}
|
|
|
|
/*mobile media queries*/
|
|
@media screen and (max-width: 675px) {
|
|
.certification-namespaces.issue-date {
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.certification-namespace header {
|
|
height: 190px;
|
|
}
|
|
|
|
.certification-namespace h3 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.certification-namespace h1 {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.certification-namespace h4 {
|
|
font-size: 15px;
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 992px) {
|
|
.certification-namespace header {
|
|
height: 160px;
|
|
}
|
|
|
|
.certification-namespace .logo {
|
|
margin-left: 0;
|
|
padding: 20px;
|
|
justify-content: center;
|
|
height: 80px;
|
|
}
|
|
|
|
.certification-namespace .logo svg {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.certification-namespace .issue-date {
|
|
margin-top: 10px;
|
|
margin-right: 0;
|
|
text-align: center;
|
|
line-height: 0px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.certification-namespace .issue-date strong {
|
|
display: block;
|
|
margin-top: 15px;
|
|
line-height: 25px;
|
|
}
|
|
|
|
.certification-namespace .information {
|
|
height: 300px;
|
|
}
|
|
|
|
.certification-namespace .information-container {
|
|
margin: 0px 15px;
|
|
text-align: center;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.certification-namespace h3 {
|
|
font-size: 25px;
|
|
}
|
|
|
|
.certification-namespace h1 {
|
|
font-size: 28px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 675px) {
|
|
.certification-namespaces.issue-date {
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.certification-namespace header {
|
|
height: 190px;
|
|
}
|
|
|
|
.certification-namespace h3 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.certification-namespace h1 {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.certification-namespace h4 {
|
|
font-size: 15px;
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
|
|
.certificate-outer-wrapper {
|
|
margin-top: calc(-1 * var(--header-height));
|
|
background-color: #fff;
|
|
}
|