Reduce banner download losslessly and show title during loading
Browse files- .gitattributes +1 -0
- README.md +4 -3
- assets/ciil-banner-wide-lossless.webp +3 -0
- index.html +9 -6
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
assets/ciil-banner.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
assets/ciil-banner-palace.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
assets/ciil-banner.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
assets/ciil-banner-palace.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/ciil-banner-wide-lossless.webp filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -8,9 +8,10 @@ app_file: index.html
|
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
-
<
|
| 12 |
-
<
|
| 13 |
-
</
|
|
|
|
| 14 |
|
| 15 |
<h3 align="center">भारतीय भाषा संस्थान</h3>
|
| 16 |
|
|
|
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
<div style="position: relative; aspect-ratio: 4 / 1; margin: 0 0 28px; overflow: hidden; border-radius: 6px; background: linear-gradient(120deg, #3e2818, #20170f 55%, #674020);">
|
| 12 |
+
<span aria-hidden="true" style="position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(1rem, 2.5vw, 2.8rem); line-height: 1.1; padding: 8px;">Central Institute of<br />Indian Languages</span>
|
| 13 |
+
<img src="https://huggingface.co/spaces/CIIL/README/resolve/main/assets/ciil-banner-wide-lossless.webp" alt="Central Institute of Indian Languages" width="3456" height="865" loading="eager" fetchpriority="high" decoding="async" style="position: absolute; inset: 0; display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; object-position: center 44%; border-radius: 6px; color: transparent;" />
|
| 14 |
+
</div>
|
| 15 |
|
| 16 |
<h3 align="center">भारतीय भाषा संस्थान</h3>
|
| 17 |
|
assets/ciil-banner-wide-lossless.webp
ADDED
|
Git LFS Details
|
index.html
CHANGED
|
@@ -5,13 +5,15 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
<meta name="description" content="Central Institute of Indian Languages — India’s languages. Shared knowledge. An inclusive AI future.">
|
| 7 |
<title>CIIL · Central Institute of Indian Languages</title>
|
|
|
|
| 8 |
<style>
|
| 9 |
:root { color-scheme: light dark; --bg: #fff; --text: #28303c; --heading: #18202c; --link: #805328; --rule: #e5e7eb; --quote: #b77a35; }
|
| 10 |
* { box-sizing: border-box; }
|
| 11 |
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Devanagari", sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
|
| 12 |
main { max-width: none; margin: 0 auto; padding: 40px 28px 48px; overflow-wrap: break-word; }
|
| 13 |
-
main >
|
| 14 |
-
|
|
|
|
| 15 |
img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 6px; }
|
| 16 |
h2, h3 { color: var(--heading); font-weight: 650; line-height: 1.35; }
|
| 17 |
h2 { margin: 2.25em 0 1em; font-size: 1.55rem; letter-spacing: -0.025em; }
|
|
@@ -29,15 +31,16 @@ ul { padding-left: 1.35em; }
|
|
| 29 |
li { padding-left: 0.25em; margin: 1em 0; }
|
| 30 |
li::marker { color: var(--quote); }
|
| 31 |
hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0 24px; }
|
| 32 |
-
@media (max-width: 600px) { main { padding: 16px 20px 32px; } main >
|
| 33 |
@media (prefers-color-scheme: dark) { :root { --bg: #0f172a; --text: #cbd5e1; --heading: #f1f5f9; --link: #dfb476; --rule: #334155; --quote: #c89653; } }
|
| 34 |
</style>
|
| 35 |
</head>
|
| 36 |
<body>
|
| 37 |
<main aria-label="Central Institute of Indian Languages organization card">
|
| 38 |
-
<
|
| 39 |
-
<
|
| 40 |
-
</
|
|
|
|
| 41 |
<h3 align="center">भारतीय भाषा संस्थान</h3>
|
| 42 |
<p align="center">
|
| 43 |
<strong>Department of Higher Education · Ministry of Education · Government of India</strong><br />
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
<meta name="description" content="Central Institute of Indian Languages — India’s languages. Shared knowledge. An inclusive AI future.">
|
| 7 |
<title>CIIL · Central Institute of Indian Languages</title>
|
| 8 |
+
<link rel="preload" as="image" href="https://huggingface.co/spaces/CIIL/README/resolve/main/assets/ciil-banner-wide-lossless.webp" fetchpriority="high">
|
| 9 |
<style>
|
| 10 |
:root { color-scheme: light dark; --bg: #fff; --text: #28303c; --heading: #18202c; --link: #805328; --rule: #e5e7eb; --quote: #b77a35; }
|
| 11 |
* { box-sizing: border-box; }
|
| 12 |
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Devanagari", sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
|
| 13 |
main { max-width: none; margin: 0 auto; padding: 40px 28px 48px; overflow-wrap: break-word; }
|
| 14 |
+
main > .ciil-banner { position: relative; aspect-ratio: 4 / 1; margin: 0 -28px 28px; overflow: hidden; border-radius: 6px; background: linear-gradient(120deg, #3e2818, #20170f 55%, #674020); }
|
| 15 |
+
.ciil-banner-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(1rem, 2.5vw, 2.8rem); line-height: 1.1; padding: 8px; }
|
| 16 |
+
main > .ciil-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; color: transparent; }
|
| 17 |
img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 6px; }
|
| 18 |
h2, h3 { color: var(--heading); font-weight: 650; line-height: 1.35; }
|
| 19 |
h2 { margin: 2.25em 0 1em; font-size: 1.55rem; letter-spacing: -0.025em; }
|
|
|
|
| 31 |
li { padding-left: 0.25em; margin: 1em 0; }
|
| 32 |
li::marker { color: var(--quote); }
|
| 33 |
hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0 24px; }
|
| 34 |
+
@media (max-width: 600px) { main { padding: 16px 20px 32px; } main > .ciil-banner { margin-left: -20px; margin-right: -20px; } .ciil-banner-label { font-size: 1.2rem; } h2 { font-size: 1.35rem; } h3[align="center"] { font-size: 1.4rem; } blockquote { padding-left: 14px; } }
|
| 35 |
@media (prefers-color-scheme: dark) { :root { --bg: #0f172a; --text: #cbd5e1; --heading: #f1f5f9; --link: #dfb476; --rule: #334155; --quote: #c89653; } }
|
| 36 |
</style>
|
| 37 |
</head>
|
| 38 |
<body>
|
| 39 |
<main aria-label="Central Institute of Indian Languages organization card">
|
| 40 |
+
<div class="ciil-banner">
|
| 41 |
+
<span class="ciil-banner-label" aria-hidden="true">Central Institute of<br />Indian Languages</span>
|
| 42 |
+
<img src="https://huggingface.co/spaces/CIIL/README/resolve/main/assets/ciil-banner-wide-lossless.webp" alt="Central Institute of Indian Languages" width="3456" height="865" loading="eager" fetchpriority="high" decoding="async" />
|
| 43 |
+
</div>
|
| 44 |
<h3 align="center">भारतीय भाषा संस्थान</h3>
|
| 45 |
<p align="center">
|
| 46 |
<strong>Department of Higher Education · Ministry of Education · Government of India</strong><br />
|