style: restore OUC logo in page footers
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@
|
||||
</main>
|
||||
<div class="footer-affiliations">
|
||||
<a class="footer-affiliation footer-studio" href="https://www.itouc.cn/" aria-label="{{common.studio}}" data-i18n-aria="common.studio"><img src="/assets/itstudio.png" alt="" width="3849" height="990" /></a>
|
||||
<a class="footer-affiliation footer-university" href="https://www.ouc.edu.cn/" aria-label="{{common.university}}" data-i18n-aria="common.university"><img src="/assets/it.png" alt="" width="4384" height="1106" /></a>
|
||||
<a class="footer-affiliation footer-university" href="https://www.ouc.edu.cn/" aria-label="{{common.university}}" data-i18n-aria="common.university"><img src="/assets/ouc.png" alt="" width="4384" height="1106" /></a>
|
||||
</div>
|
||||
<footer class="site-footer"><div class="page-width footer-main">
|
||||
<div class="footer-identity"><a href="/" class="footer-brand" aria-label="{{common.siteName}}" data-i18n-aria="common.siteName"><img class="directory-logo" src="/assets/mirrorOUC_dark.png" alt="" width="2000" height="433" /></a><p id="directory-description" data-i18n="common.footer">{{common.footer}}</p></div>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 198 KiB |
+1
-1
@@ -241,7 +241,7 @@ onBeforeUnmount(() => {
|
||||
<img src="/assets/itstudio.png" alt="" width="3849" height="990" />
|
||||
</a>
|
||||
<a class="footer-affiliation footer-university" href="https://www.ouc.edu.cn/" target="_blank" rel="noopener noreferrer" :aria-label="t('common.university')">
|
||||
<img src="/assets/it.png" alt="" width="4384" height="1106" />
|
||||
<img src="/assets/ouc.png" alt="" width="4384" height="1106" />
|
||||
</a>
|
||||
</div>
|
||||
<footer v-if="!isAdminPage" class="site-footer">
|
||||
|
||||
+1
-1
@@ -156,7 +156,7 @@ h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.04em; }
|
||||
.footer-affiliations { display: flex; align-items: flex-end; gap: 21px; width: 411px; max-width: 100%; margin-left: auto; }
|
||||
.footer-affiliation { position: relative; display: block; min-width: 0; }
|
||||
.footer-studio { flex: 240; --affiliation-image: url('/assets/itstudio.png'); --wordmark-start: 26%; }
|
||||
.footer-university { flex: 280; --affiliation-image: url('/assets/it.png'); --wordmark-start: 25.3%; }
|
||||
.footer-university { flex: 280; --affiliation-image: url('/assets/ouc.png'); --wordmark-start: 25.3%; }
|
||||
.footer-affiliation img { display: block; width: 100%; height: auto; }
|
||||
/* Recolor the pale wordmarks on light backgrounds while keeping the symbols in their original colors. */
|
||||
.footer-affiliation::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent var(--wordmark-start), #004098 var(--wordmark-start)); mask: var(--affiliation-image) center / contain no-repeat; pointer-events: none; }
|
||||
|
||||
Reference in New Issue
Block a user