courses:ast100:2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| courses:ast100:2 [2026/02/23 23:00] – asad | courses:ast100:2 [2026/03/22 02:14] (current) – asad | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== 2. Galactic age ====== | ====== 2. Galactic age ====== | ||
| + | |||
| < | < | ||
| < | < | ||
| <meta charset=" | <meta charset=" | ||
| <meta name=" | <meta name=" | ||
| - | < | + | < |
| </ | </ | ||
| < | < | ||
| Line 11: | Line 12: | ||
| < | < | ||
| /* Container ID: # | /* Container ID: # | ||
| - | | + | |
| */ | */ | ||
| # | # | ||
| - | /* Elegant | + | /* Elegant Theme Variables */ |
| - | --bg-color: #ffffff; | + | --bg: #ffffff; |
| - | --panel-bg: #f8f9fa; | + | --text-main: #1a202c; |
| - | --text-primary: #2d3748; | + | --text-muted: #4a5568; |
| - | --text-secondary: #718096; | + | --border: #e2e8f0; |
| - | --accent-color: #4a5568; | + | --hover: #f8fafc; |
| - | --border-color: #e2e8f0; | + | --accent: #2b6cb0; |
| - | --line-color: #cbd5e0; | + | --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); |
| | | ||
| /* Typography & Layout */ | /* Typography & Layout */ | ||
| font-family: | font-family: | ||
| - | background-color: | + | background-color: |
| - | color: var(--text-primary); | + | max-width: |
| - | line-height: | + | margin: |
| - | width: 100%; | + | padding: |
| - | max-width: | + | |
| - | display: block; | + | |
| - | margin: | + | |
| - | padding: | + | |
| } | } | ||
| Line 40: | Line 37: | ||
| } | } | ||
| - | /* Timeline Styling | + | /* Table Architecture |
| - | # | + | # |
| - | | + | |
| - | | + | |
| - | | + | |
| + | border-radius: | ||
| + | box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025); | ||
| + | overflow: hidden; | ||
| } | } | ||
| - | | + | # |
| - | | + | |
| - | | + | |
| - | position: absolute; | + | |
| - | left: 24px; | + | |
| - | top: 0; | + | |
| - | | + | |
| - | width: 2px; | + | |
| - | background: | + | |
| } | } | ||
| - | # | + | # |
| - | | + | |
| - | margin-bottom: | + | |
| } | } | ||
| - | # | + | |
| - | | + | |
| + | display: flex; | ||
| + | padding: 22px 30px; | ||
| + | cursor: pointer; | ||
| + | align-items: center; | ||
| + | | ||
| + | transition: var(--transition); | ||
| } | } | ||
| - | | + | # |
| - | | + | background: var(--hover); |
| - | position: absolute; | + | |
| - | left: -32px; | + | |
| - | top: 8px; | + | |
| - | width: 16px; | + | |
| - | height: 16px; | + | |
| - | border-radius: | + | |
| - | background-color: #fff; | + | |
| - | border: 3px solid var(--accent-color); | + | |
| - | z-index: 2; | + | |
| } | } | ||
| - | # | + | # |
| - | | + | |
| - | font-size: 0.85rem; | + | |
| font-weight: | font-weight: | ||
| - | | + | |
| - | margin-bottom: 10px; | + | |
| - | | + | |
| - | padding: 4px 12px; | + | |
| - | border-radius: 20px; | + | |
| - | text-transform: uppercase; | + | |
| letter-spacing: | letter-spacing: | ||
| } | } | ||
| - | # | + | # |
| - | font-size: 1.3rem; | + | flex: 1 1 auto; |
| - | | + | font-weight: |
| - | color: #1a202c; | + | font-size: 1.15rem; |
| - | | + | |
| - | | + | padding-right: |
| + | line-height: | ||
| + | } | ||
| + | |||
| + | /* Chevron Icon */ | ||
| + | # | ||
| + | flex: 0 0 32px; | ||
| + | display: flex; | ||
| + | align-items: | ||
| + | justify-content: | ||
| + | width: 32px; | ||
| + | height: 32px; | ||
| + | border-radius: | ||
| + | background: #edf2f7; | ||
| + | color: | ||
| + | transition: var(--transition); | ||
| + | } | ||
| + | |||
| + | | ||
| + | width: 16px; | ||
| + | | ||
| + | transition: var(--transition); | ||
| + | fill: none; | ||
| + | | ||
| + | stroke-width: | ||
| + | stroke-linecap: | ||
| + | stroke-linejoin: | ||
| + | } | ||
| + | |||
| + | /* Active State */ | ||
| + | # | ||
| + | background: var(--hover); | ||
| + | } | ||
| + | |||
| + | # | ||
| + | transform: rotate(180deg); | ||
| + | background: var(--accent); | ||
| + | color: var(--bg); | ||
| + | } | ||
| + | |||
| + | /* Expanded Content */ | ||
| + | # | ||
| + | max-height: | ||
| + | overflow: hidden; | ||
| + | transition: max-height 0.4s cubic-bezier(0.4, | ||
| + | background: var(--hover); | ||
| } | } | ||
| - | # | + | # |
| - | | + | |
| font-size: 1.05rem; | font-size: 1.05rem; | ||
| - | | + | line-height: |
| - | | + | color: var(--text-muted); |
| + | text-align: justify; | ||
| } | } | ||
| /* Mobile Optimization */ | /* Mobile Optimization */ | ||
| - | @media (max-width: | + | @media (max-width: |
| - | # | + | # |
| - | # | + | flex-wrap: wrap; |
| - | #doku-cosmic-light .timeline::before { left: 19px; } | + | |
| - | # | + | |
| - | # | + | # |
| + | flex: 1 1 100%; | ||
| + | | ||
| + | font-size: 0.85rem; | ||
| + | | ||
| + | # | ||
| + | font-size: 1.05rem; | ||
| + | padding-right: 15px; | ||
| + | | ||
| + | # | ||
| + | padding: 0 20px 24px 20px; | ||
| + | | ||
| } | } | ||
| </ | </ | ||
| - | <div class=" | + | <div class=" |
| - | < | + | |
| - | <div class=" | + | < |
| - | <span class=" | + | <div class=" |
| - | <h3 class=" | + | <div class=" |
| - | <p class=" | + | <div class=" |
| - | | + | <div class=" |
| + | <div class=" | ||
| + | <svg viewBox=" | ||
| + | </div> | ||
| + | </div> | ||
| + | < | ||
| + | <div class=" | ||
| + | | ||
| + | | ||
| + | </ | ||
| </ | </ | ||
| - | < | + | < |
| - | <div class=" | + | <div class=" |
| - | <span class=" | + | <div class=" |
| - | <h3 class=" | + | <div class=" |
| - | <p class=" | + | <div class=" |
| - | | + | <div class=" |
| + | <svg viewBox=" | ||
| + | </div> | ||
| + | </div> | ||
| + | < | ||
| + | <div class=" | ||
| + | | ||
| + | | ||
| + | </ | ||
| </ | </ | ||
| - | < | + | < |
| - | <div class=" | + | <div class=" |
| - | <span class=" | + | <div class=" |
| - | <h3 class=" | + | <div class=" |
| - | <p class=" | + | <div class=" |
| - | | + | <div class=" |
| + | <svg viewBox=" | ||
| + | </div> | ||
| + | </div> | ||
| + | < | ||
| + | <div class=" | ||
| + | As the universe continued to expand and evolve between 500 million and 1 billion years after the Big Bang, it was populated not by the grand spiral and elliptical galaxies we see today, but by countless small, irregular | ||
| + | | ||
| + | </ | ||
| </ | </ | ||
| - | < | + | < |
| - | <div class=" | + | <div class=" |
| - | <span class=" | + | <div class=" |
| - | <h3 class=" | + | <div class=" |
| - | <p class=" | + | <div class=" |
| - | | + | <div class=" |
| + | <svg viewBox=" | ||
| + | </div> | ||
| + | </div> | ||
| + | < | ||
| + | <div class=" | ||
| + | As early protogalaxies collided and merged to form increasingly massive structures, tremendous quantities of gas, dust, and stars were driven toward their dense galactic centers. Under the overwhelming force of such extreme | ||
| + | | ||
| + | </ | ||
| </ | </ | ||
| - | < | + | < |
| - | <div class=" | + | <div class=" |
| - | <span class=" | + | <div class=" |
| - | <h3 class=" | + | <div class=" |
| - | <p class=" | + | <div class=" |
| - | | + | <div class=" |
| + | <svg viewBox=" | ||
| + | </div> | ||
| + | </div> | ||
| + | < | ||
| + | <div class=" | ||
| + | | ||
| + | | ||
| + | </ | ||
| </ | </ | ||
| - | < | + | < |
| - | <div class=" | + | <div class=" |
| - | <span class=" | + | <div class=" |
| - | <h3 class=" | + | <div class=" |
| - | <p class=" | + | <div class=" |
| - | | + | <div class=" |
| + | <svg viewBox=" | ||
| + | </div> | ||
| + | </div> | ||
| + | < | ||
| + | <div class=" | ||
| + | By the time the universe reached three billion years of age, its grand macroscopic architecture had largely taken its final shape, sculpted by the persistent, unyielding influence of dark matter and gravity. | ||
| + | | ||
| + | </ | ||
| </ | </ | ||
| - | < | + | < |
| - | <div class=" | + | <div class=" |
| - | <span class=" | + | <div class=" |
| - | <h3 class=" | + | <div class=" |
| - | <p class=" | + | <div class=" |
| - | | + | <div class=" |
| + | <svg viewBox=" | ||
| + | </div> | ||
| + | </div> | ||
| + | < | ||
| + | <div class=" | ||
| + | Throughout the Galactic Age, a continuous and violent cycle of stellar birth and explosive death slowly but fundamentally transformed | ||
| + | | ||
| + | </ | ||
| </ | </ | ||
| + | |||
| </ | </ | ||
| + | |||
| + | < | ||
| + | function toggleRow(element) { | ||
| + | const row = element.parentElement; | ||
| + | const content = row.querySelector(' | ||
| + | const inner = row.querySelector(' | ||
| + | | ||
| + | // Toggle the active class for styling and rotation | ||
| + | row.classList.toggle(' | ||
| + | | ||
| + | // Calculate and set the max-height to smoothly animate the opening | ||
| + | if (row.classList.contains(' | ||
| + | content.style.maxHeight = inner.scrollHeight + " | ||
| + | } else { | ||
| + | content.style.maxHeight = " | ||
| + | } | ||
| + | } | ||
| + | | ||
| + | // Ensure heights are recalculated if the window is resized to prevent content clipping | ||
| + | window.addEventListener(' | ||
| + | document.querySelectorAll(' | ||
| + | const inner = content.querySelector(' | ||
| + | content.style.maxHeight = inner.scrollHeight + " | ||
| + | }); | ||
| + | }); | ||
| + | </ | ||
| </ | </ | ||
| </ | </ | ||
| </ | </ | ||
courses/ast100/2.1771912850.txt.gz · Last modified: by asad
