Fix: Update Certificate Icon

This commit is contained in:
Nelson Chan 2021-10-01 22:29:22 +08:00
parent 13bdfefa9d
commit b7568e9caa
2 changed files with 21 additions and 3 deletions

View file

@ -2,7 +2,10 @@
<div>
<div class="d-flex flex-row align-items-center p-1 overflow-hidden">
<div class="m-3 ps-3">
<font-awesome-icon class="cert-icon" icon="file-contract" />
<div class="cert-icon">
<font-awesome-icon icon="file" />
<font-awesome-icon class="award-icon" icon="award" />
</div>
</div>
<div class="m-3">
<table class="text-start">
@ -82,6 +85,7 @@ table {
}
.cert-icon {
position: relative;
font-size: 70px;
color: $link-color;
opacity: 0.5;
@ -92,6 +96,18 @@ table {
}
}
.award-icon {
position: absolute;
font-size: 0.5em;
bottom: 20%;
left: 12%;
color: white;
.dark & {
color: $dark-bg;
}
}
.link-icon {
font-size: 20px;
margin-left: 50px !important;

View file

@ -30,7 +30,8 @@ import {
faUpload,
faCopy,
faCheck,
faFileContract,
faFile,
faAward,
faLink,
} from "@fortawesome/free-solid-svg-icons";
@ -61,7 +62,8 @@ library.add(
faUpload,
faCopy,
faCheck,
faFileContract,
faFile,
faAward,
faLink,
);