Skip to content

Commit e9cb7d4

Browse files
authored
Merge pull request #5 from KeenAaron/langx-token-introduction
Introduction of the LangX token
2 parents 2e4f6a1 + 907678c commit e9cb7d4

File tree

3 files changed

+365
-34
lines changed

3 files changed

+365
-34
lines changed

css/style.css

+169
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,150 @@ footer {
269269
transform: scale(0.7);
270270
}
271271

272+
/* LangX Token Introduction */
273+
274+
.langx-token-introduction-section {
275+
background-color: #ffc409;
276+
padding: 64px 24px;
277+
}
278+
279+
.langx-token-introduction-section > main {
280+
max-width: 900px;
281+
}
282+
283+
284+
.langx-token-introduction-section p {
285+
font-size: 1.2rem;
286+
line-height: 1.6;
287+
}
288+
289+
.langx-token-introduction-section > main {
290+
display: flow-root;
291+
margin: auto;
292+
}
293+
294+
.langx-token-introduction-section > main > section + section {
295+
margin-top: 72px;
296+
}
297+
298+
.langx-token-introduction-section > main > section + section::before {
299+
content: '';
300+
display: block;
301+
position: relative;
302+
background-color: #ff571a;
303+
height: 4px;
304+
width: 95%;
305+
margin: auto;
306+
top: -40px;
307+
}
308+
309+
.langx-token-introduction-section h1 {
310+
font-size: 5.5rem;
311+
text-shadow: 0px 8px 0px #130900;
312+
}
313+
314+
.bigger-fs {
315+
font-size: 6.5rem;
316+
text-shadow: 0px 10px 0px #130900;
317+
}
318+
319+
.langx-token-introduction-section a[href]{
320+
color: #d41c16;
321+
text-decoration: #d41c16 2px solid underline;
322+
font-weight: 600;
323+
text-underline-offset: 3px;
324+
}
325+
326+
.langx-token-introduction-section a[href]:hover{
327+
cursor: alias;
328+
}
329+
330+
.langx-token-introduction-section h2 {
331+
font-size: 5.3rem;
332+
text-shadow: 0px 6px 0px #130900;
333+
}
334+
335+
.langx-token-introduction-section :is(h2, h3) {
336+
margin: 0px;
337+
}
338+
339+
.list-token-distribution-criteria {
340+
font-size: 1.1em;
341+
border: #d44916 5px;
342+
border-style: dashed;
343+
border-radius: 12px;
344+
max-width: fit-content;
345+
margin: 24px auto 0px;
346+
padding: 16px 40px;
347+
-webkit-border-radius: 12px;
348+
-moz-border-radius: 12px;
349+
-ms-border-radius: 12px;
350+
-o-border-radius: 12px;
351+
}
352+
353+
.list-token-distribution-criteria :is(ul) {
354+
margin:0 0 0 16px;
355+
padding: 0;
356+
text-indent: 0;
357+
}
358+
359+
.list-token-distribution-criteria ::marker{
360+
color: #d44916;
361+
font-size: 1.6em;
362+
}
363+
364+
.list-token-distribution-criteria li + li {
365+
margin-top: 0.5em;
366+
}
367+
368+
.accordion{
369+
margin: 16px auto 0;
370+
}
371+
372+
.accordion-panel {
373+
display: grid;
374+
padding: 16px 24px;
375+
grid-template-rows: auto 0fr;
376+
transition: grid-template-rows 500ms ease-out;
377+
-webkit-transition: grid-template-rows 500ms ease-out;
378+
-moz-transition: grid-template-rows 500ms ease-out;
379+
-ms-transition: grid-template-rows 500ms ease-out;
380+
-o-transition: grid-template-rows 500ms ease-out;
381+
cursor: pointer;
382+
}
383+
384+
.accordion-panel + .accordion-panel {
385+
border-top: #000 1px solid;
386+
}
387+
388+
.accordion-panel-title{
389+
font-size: 1.2rem;
390+
display: flex;
391+
align-items: center;
392+
gap: 16px;
393+
}
394+
395+
.accordion-panel-title > a {
396+
transition: transform 500ms;
397+
font-size: 2em;
398+
}
399+
400+
.is-open {
401+
transform: rotate(45deg);
402+
}
403+
404+
.accordion-content {
405+
overflow: hidden;
406+
}
407+
408+
p:first-child {
409+
margin-top: 16px;
410+
}
411+
412+
.accordion-panel[aria-expanded="true"] {
413+
grid-template-rows: auto 1fr;
414+
}
415+
272416
/*Footer*/
273417
footer {
274418
width: 100%;
@@ -372,6 +516,15 @@ footer p,
372516
.buttons {
373517
margin: 12px;
374518
}
519+
520+
/* LangX Token Introduction */
521+
.langx-token-introduction-section p, .accordion-panel-title {
522+
font-size: 1.1rem;
523+
}
524+
525+
.list-token-distribution-criteria {
526+
font-size: 1rem;
527+
}
375528
}
376529

377530
@media screen and (max-width: 539px) {
@@ -438,4 +591,20 @@ footer p,
438591
.footer-content {
439592
padding-bottom: 80px;
440593
}
594+
595+
/* LangX Token Introduction */
596+
.langx-token-introduction-section h1 {
597+
font-size: 3.2rem;
598+
text-shadow: 0px 4px 0px #130900;
599+
}
600+
601+
.bigger-fs {
602+
font-size: 5rem;
603+
text-shadow: 0px 6px 0px #130900;
604+
}
605+
606+
.langx-token-introduction-section h2 {
607+
font-size: 3.4rem;
608+
text-shadow: 0px 4px 0px #130900;
609+
}
441610
}

0 commit comments

Comments
 (0)