Harden org card contrast across Hugging Face themes
Browse files- index.html +50 -52
index.html
CHANGED
|
@@ -6,8 +6,11 @@
|
|
| 6 |
<meta name="color-scheme" content="dark" />
|
| 7 |
<title>Lernex</title>
|
| 8 |
<style>
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
| 11 |
--bg: #070b12;
|
| 12 |
--panel: #0d1420;
|
| 13 |
--panel-soft: #111b2a;
|
|
@@ -18,40 +21,34 @@
|
|
| 18 |
--blue: #65a5ff;
|
| 19 |
--teal: #58d5c9;
|
| 20 |
--amber: #f6c65b;
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
margin: 0;
|
| 27 |
background: var(--bg);
|
| 28 |
color: var(--text);
|
| 29 |
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
| 30 |
letter-spacing: 0;
|
| 31 |
}
|
| 32 |
|
| 33 |
-
|
| 34 |
content: "";
|
| 35 |
-
position:
|
| 36 |
inset: 0;
|
| 37 |
pointer-events: none;
|
| 38 |
background:
|
| 39 |
linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
|
| 40 |
linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
|
| 41 |
background-size: 44px 44px;
|
| 42 |
-
mask-image: linear-gradient(to bottom, rgba(0,0,0,.
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
main {
|
| 46 |
-
width: min(100%, 1180px);
|
| 47 |
-
margin: 0 auto;
|
| 48 |
-
padding: clamp(24px, 5vw, 54px);
|
| 49 |
}
|
| 50 |
|
| 51 |
.shell {
|
|
|
|
| 52 |
display: grid;
|
| 53 |
-
grid-template-columns: minmax(0, 1.
|
| 54 |
-
gap: clamp(
|
| 55 |
align-items: start;
|
| 56 |
}
|
| 57 |
|
|
@@ -59,10 +56,10 @@
|
|
| 59 |
display: inline-flex;
|
| 60 |
align-items: center;
|
| 61 |
gap: 10px;
|
| 62 |
-
margin: 0 0
|
| 63 |
color: var(--teal);
|
| 64 |
-
font-size:
|
| 65 |
-
font-weight:
|
| 66 |
letter-spacing: .12em;
|
| 67 |
text-transform: uppercase;
|
| 68 |
}
|
|
@@ -77,44 +74,45 @@
|
|
| 77 |
|
| 78 |
h1 {
|
| 79 |
margin: 0;
|
| 80 |
-
|
|
|
|
| 81 |
line-height: .9;
|
| 82 |
font-weight: 780;
|
| 83 |
letter-spacing: 0;
|
| 84 |
}
|
| 85 |
|
| 86 |
.lead {
|
| 87 |
-
max-width:
|
| 88 |
-
margin:
|
| 89 |
color: #dbe6f5;
|
| 90 |
-
font-size: clamp(
|
| 91 |
-
line-height: 1.
|
| 92 |
font-weight: 650;
|
| 93 |
}
|
| 94 |
|
| 95 |
.body-copy {
|
| 96 |
-
max-width:
|
| 97 |
-
margin:
|
| 98 |
color: var(--muted);
|
| 99 |
-
font-size:
|
| 100 |
-
line-height: 1.
|
| 101 |
}
|
| 102 |
|
| 103 |
.purpose {
|
| 104 |
-
margin-top:
|
| 105 |
border-left: 2px solid rgba(88, 213, 201, .65);
|
| 106 |
-
padding-left:
|
| 107 |
color: #c8d4e6;
|
| 108 |
-
font-size:
|
| 109 |
-
line-height: 1.
|
| 110 |
-
max-width:
|
| 111 |
}
|
| 112 |
|
| 113 |
.panel {
|
| 114 |
border: 1px solid var(--line);
|
| 115 |
-
background:
|
| 116 |
border-radius: 8px;
|
| 117 |
-
padding: clamp(
|
| 118 |
box-shadow: 0 20px 60px rgba(0,0,0,.28);
|
| 119 |
}
|
| 120 |
|
|
@@ -127,24 +125,24 @@
|
|
| 127 |
letter-spacing: 0;
|
| 128 |
}
|
| 129 |
.panel p {
|
| 130 |
-
margin:
|
| 131 |
color: var(--muted);
|
| 132 |
-
line-height: 1.
|
| 133 |
-
font-size:
|
| 134 |
}
|
| 135 |
|
| 136 |
.model-list {
|
| 137 |
display: grid;
|
| 138 |
-
gap:
|
| 139 |
-
margin-top:
|
| 140 |
}
|
| 141 |
.model-link {
|
| 142 |
display: grid;
|
| 143 |
grid-template-columns: 1fr auto;
|
| 144 |
gap: 14px;
|
| 145 |
align-items: center;
|
| 146 |
-
min-height:
|
| 147 |
-
padding:
|
| 148 |
border: 1px solid rgba(148, 163, 184, .18);
|
| 149 |
background: var(--panel-soft);
|
| 150 |
border-radius: 8px;
|
|
@@ -158,13 +156,13 @@
|
|
| 158 |
.model-link strong {
|
| 159 |
display: block;
|
| 160 |
color: #f8fafc;
|
| 161 |
-
font-size:
|
| 162 |
}
|
| 163 |
.model-link span {
|
| 164 |
display: block;
|
| 165 |
margin-top: 3px;
|
| 166 |
color: var(--soft);
|
| 167 |
-
font-size:
|
| 168 |
}
|
| 169 |
.tag {
|
| 170 |
color: #07111f;
|
|
@@ -176,8 +174,8 @@
|
|
| 176 |
}
|
| 177 |
|
| 178 |
.feedback {
|
| 179 |
-
margin-top:
|
| 180 |
-
padding-top:
|
| 181 |
border-top: 1px solid var(--line);
|
| 182 |
color: #dbe7f8;
|
| 183 |
font-size: 14px;
|
|
@@ -192,13 +190,13 @@
|
|
| 192 |
|
| 193 |
@media (max-width: 900px) {
|
| 194 |
.shell { grid-template-columns: 1fr; }
|
| 195 |
-
|
| 196 |
h1 { font-size: clamp(52px, 18vw, 88px); }
|
| 197 |
}
|
| 198 |
</style>
|
| 199 |
</head>
|
| 200 |
<body>
|
| 201 |
-
<main>
|
| 202 |
<div class="shell">
|
| 203 |
<section>
|
| 204 |
<div class="eyebrow">Lernex Research</div>
|
|
@@ -206,7 +204,7 @@
|
|
| 206 |
<p class="lead">An AI-personalized learning platform built around the learner, the material, and the moment.</p>
|
| 207 |
<p class="body-copy">Lernex turns notes, PDFs, slides, classroom material, questions, and learner goals into lessons, quizzes, flashcards, explanations, study paths, feedback, and memory-aware tutoring.</p>
|
| 208 |
<p class="body-copy">We use AI as the adaptive layer of the learning experience: reading messy source material, shaping practice, explaining ideas, tracking what is confusing, and helping each learner take the next useful step.</p>
|
| 209 |
-
<p class="purpose">Metis is our compact model line for ultra-efficient learning AI
|
| 210 |
</section>
|
| 211 |
|
| 212 |
<aside class="panel" aria-label="Metis model releases">
|
|
|
|
| 6 |
<meta name="color-scheme" content="dark" />
|
| 7 |
<title>Lernex</title>
|
| 8 |
<style>
|
| 9 |
+
* { box-sizing: border-box; }
|
| 10 |
+
html, body { min-height: 100%; }
|
| 11 |
+
body { margin: 0; background: #070b12; }
|
| 12 |
+
|
| 13 |
+
.org-card {
|
| 14 |
--bg: #070b12;
|
| 15 |
--panel: #0d1420;
|
| 16 |
--panel-soft: #111b2a;
|
|
|
|
| 21 |
--blue: #65a5ff;
|
| 22 |
--teal: #58d5c9;
|
| 23 |
--amber: #f6c65b;
|
| 24 |
+
position: relative;
|
| 25 |
+
width: min(100%, 1180px);
|
| 26 |
+
margin: 0 auto;
|
| 27 |
+
padding: clamp(22px, 4vw, 44px);
|
| 28 |
+
overflow: hidden;
|
|
|
|
| 29 |
background: var(--bg);
|
| 30 |
color: var(--text);
|
| 31 |
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
| 32 |
letter-spacing: 0;
|
| 33 |
}
|
| 34 |
|
| 35 |
+
.org-card::before {
|
| 36 |
content: "";
|
| 37 |
+
position: absolute;
|
| 38 |
inset: 0;
|
| 39 |
pointer-events: none;
|
| 40 |
background:
|
| 41 |
linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
|
| 42 |
linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
|
| 43 |
background-size: 44px 44px;
|
| 44 |
+
mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 72%);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
|
| 47 |
.shell {
|
| 48 |
+
position: relative;
|
| 49 |
display: grid;
|
| 50 |
+
grid-template-columns: minmax(0, 1.02fr) minmax(310px, .98fr);
|
| 51 |
+
gap: clamp(22px, 3.8vw, 46px);
|
| 52 |
align-items: start;
|
| 53 |
}
|
| 54 |
|
|
|
|
| 56 |
display: inline-flex;
|
| 57 |
align-items: center;
|
| 58 |
gap: 10px;
|
| 59 |
+
margin: 0 0 17px;
|
| 60 |
color: var(--teal);
|
| 61 |
+
font-size: 12px;
|
| 62 |
+
font-weight: 760;
|
| 63 |
letter-spacing: .12em;
|
| 64 |
text-transform: uppercase;
|
| 65 |
}
|
|
|
|
| 74 |
|
| 75 |
h1 {
|
| 76 |
margin: 0;
|
| 77 |
+
color: var(--text);
|
| 78 |
+
font-size: clamp(52px, 9vw, 106px);
|
| 79 |
line-height: .9;
|
| 80 |
font-weight: 780;
|
| 81 |
letter-spacing: 0;
|
| 82 |
}
|
| 83 |
|
| 84 |
.lead {
|
| 85 |
+
max-width: 700px;
|
| 86 |
+
margin: 21px 0 0;
|
| 87 |
color: #dbe6f5;
|
| 88 |
+
font-size: clamp(20px, 1.9vw, 25px);
|
| 89 |
+
line-height: 1.24;
|
| 90 |
font-weight: 650;
|
| 91 |
}
|
| 92 |
|
| 93 |
.body-copy {
|
| 94 |
+
max-width: 710px;
|
| 95 |
+
margin: 16px 0 0;
|
| 96 |
color: var(--muted);
|
| 97 |
+
font-size: 14px;
|
| 98 |
+
line-height: 1.58;
|
| 99 |
}
|
| 100 |
|
| 101 |
.purpose {
|
| 102 |
+
margin-top: 20px;
|
| 103 |
border-left: 2px solid rgba(88, 213, 201, .65);
|
| 104 |
+
padding-left: 16px;
|
| 105 |
color: #c8d4e6;
|
| 106 |
+
font-size: 14px;
|
| 107 |
+
line-height: 1.55;
|
| 108 |
+
max-width: 710px;
|
| 109 |
}
|
| 110 |
|
| 111 |
.panel {
|
| 112 |
border: 1px solid var(--line);
|
| 113 |
+
background: #0b1220;
|
| 114 |
border-radius: 8px;
|
| 115 |
+
padding: clamp(19px, 2.8vw, 28px);
|
| 116 |
box-shadow: 0 20px 60px rgba(0,0,0,.28);
|
| 117 |
}
|
| 118 |
|
|
|
|
| 125 |
letter-spacing: 0;
|
| 126 |
}
|
| 127 |
.panel p {
|
| 128 |
+
margin: 11px 0 0;
|
| 129 |
color: var(--muted);
|
| 130 |
+
line-height: 1.5;
|
| 131 |
+
font-size: 14px;
|
| 132 |
}
|
| 133 |
|
| 134 |
.model-list {
|
| 135 |
display: grid;
|
| 136 |
+
gap: 9px;
|
| 137 |
+
margin-top: 18px;
|
| 138 |
}
|
| 139 |
.model-link {
|
| 140 |
display: grid;
|
| 141 |
grid-template-columns: 1fr auto;
|
| 142 |
gap: 14px;
|
| 143 |
align-items: center;
|
| 144 |
+
min-height: 54px;
|
| 145 |
+
padding: 12px 14px;
|
| 146 |
border: 1px solid rgba(148, 163, 184, .18);
|
| 147 |
background: var(--panel-soft);
|
| 148 |
border-radius: 8px;
|
|
|
|
| 156 |
.model-link strong {
|
| 157 |
display: block;
|
| 158 |
color: #f8fafc;
|
| 159 |
+
font-size: 14px;
|
| 160 |
}
|
| 161 |
.model-link span {
|
| 162 |
display: block;
|
| 163 |
margin-top: 3px;
|
| 164 |
color: var(--soft);
|
| 165 |
+
font-size: 12px;
|
| 166 |
}
|
| 167 |
.tag {
|
| 168 |
color: #07111f;
|
|
|
|
| 174 |
}
|
| 175 |
|
| 176 |
.feedback {
|
| 177 |
+
margin-top: 20px;
|
| 178 |
+
padding-top: 18px;
|
| 179 |
border-top: 1px solid var(--line);
|
| 180 |
color: #dbe7f8;
|
| 181 |
font-size: 14px;
|
|
|
|
| 190 |
|
| 191 |
@media (max-width: 900px) {
|
| 192 |
.shell { grid-template-columns: 1fr; }
|
| 193 |
+
.org-card { padding: 28px 18px; }
|
| 194 |
h1 { font-size: clamp(52px, 18vw, 88px); }
|
| 195 |
}
|
| 196 |
</style>
|
| 197 |
</head>
|
| 198 |
<body>
|
| 199 |
+
<main class="org-card">
|
| 200 |
<div class="shell">
|
| 201 |
<section>
|
| 202 |
<div class="eyebrow">Lernex Research</div>
|
|
|
|
| 204 |
<p class="lead">An AI-personalized learning platform built around the learner, the material, and the moment.</p>
|
| 205 |
<p class="body-copy">Lernex turns notes, PDFs, slides, classroom material, questions, and learner goals into lessons, quizzes, flashcards, explanations, study paths, feedback, and memory-aware tutoring.</p>
|
| 206 |
<p class="body-copy">We use AI as the adaptive layer of the learning experience: reading messy source material, shaping practice, explaining ideas, tracking what is confusing, and helping each learner take the next useful step.</p>
|
| 207 |
+
<p class="purpose">Metis is our compact model line for ultra-efficient learning AI: models that punch above their weight, run affordably, and fit the exact jobs Lernex needs instead of forcing every interaction through oversized, slow, or expensive general-purpose systems.</p>
|
| 208 |
</section>
|
| 209 |
|
| 210 |
<aside class="panel" aria-label="Metis model releases">
|