Merge pull request #199 from pateljannat/certificate-ui
fix: certificate ui
This commit is contained in:
@@ -1313,69 +1313,66 @@ textarea.form-control {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.certificate-page .common-card-style {
|
.certificate-page .common-card-style {
|
||||||
font-family: Inter;
|
|
||||||
color: black;
|
color: black;
|
||||||
width: 40%;
|
font-size: 1.25rem;
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.certificate-content {
|
.certificate-content {
|
||||||
padding: 5rem;
|
padding: 5rem 9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.certificate-footer {
|
||||||
|
margin-bottom: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.certificate-ribbon {
|
.certificate-ribbon {
|
||||||
background-color: var(--primary-color);
|
background-color: var(--primary-color);
|
||||||
margin-right: 2rem;
|
margin-right: 3rem;
|
||||||
width: 20%;
|
width: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.certificate-heading {
|
.certificate-heading {
|
||||||
font-size: 2rem;
|
font-size: 3rem;
|
||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.certificate-para {
|
.certificate-para {
|
||||||
margin-bottom: 3rem;
|
margin-bottom: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.certificate-logo {
|
.certificate-logo {
|
||||||
height: 20px;
|
height: 30px;
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
.certificate-content {
|
.certificate-content {
|
||||||
padding: 3rem;
|
padding: 3rem 5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.certificate-page .common-card-style {
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
.certificate-content {
|
|
||||||
padding: 2rem;
|
|
||||||
}
|
|
||||||
.certificate-ribbon {
|
|
||||||
margin-right: 1rem;
|
|
||||||
}
|
|
||||||
.certificate-heading {
|
.certificate-heading {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 550px) {
|
|
||||||
.certificate-page .common-card-style {
|
|
||||||
width: 60%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
.certificate-page .common-card-style {
|
.certificate-page .common-card-style {
|
||||||
width: 90%;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
.certificate-heading {
|
.certificate-content {
|
||||||
font-size: 2rem;
|
padding: 3rem;
|
||||||
|
}
|
||||||
|
.certificate-ribbon {
|
||||||
|
background-color: var(--primary-color);
|
||||||
|
margin-right: 2rem;
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 375px) {
|
||||||
|
.certificate-content {
|
||||||
|
padding: 2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
<span class="font-weight-bold">{{ frappe.utils.format_date(certificate.issue_date, "medium") }}</span>
|
<span class="font-weight-bold">{{ frappe.utils.format_date(certificate.issue_date, "medium") }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="certificate-footer">
|
<div class="certificate-footer">
|
||||||
|
{% if instructor %}
|
||||||
<div>
|
<div>
|
||||||
<span>
|
<span>
|
||||||
Instructor:
|
Instructor:
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
{{ instructor.full_name }}
|
{{ instructor.full_name }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% if certificate.expiry_date %}
|
{% if certificate.expiry_date %}
|
||||||
<div>
|
<div>
|
||||||
<span>
|
<span>
|
||||||
|
|||||||
Reference in New Issue
Block a user