science
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| science [2026/02/10 22:25] – hjb | science [2026/02/14 18:11] (current) – hjb | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | + | < |
| - | <span style=" | + | |
| - | <a href="/ | + | |
| - | </span> | + | |
| - | </ | + | |
| < | < | ||
| - | <span style=" | + | <span style=" |
| - | <a href="/ | + | <a href="/ |
| </ | </ | ||
| </ | </ | ||
| + | ---- | ||
| + | < | ||
| + | <div id=" | ||
| + | < | ||
| + | # | ||
| + | max-width: | ||
| + | margin:0 auto; | ||
| + | font-family: | ||
| + | } | ||
| + | # | ||
| + | text-align: | ||
| + | font-size: | ||
| + | font-weight: | ||
| + | margin:8px 0 20px; | ||
| + | color:# | ||
| + | letter-spacing: | ||
| + | } | ||
| + | # | ||
| + | display: | ||
| + | grid-template-columns: | ||
| + | gap:16px; | ||
| + | } | ||
| + | @media (max-width: 900px){ | ||
| + | # | ||
| + | } | ||
| + | # | ||
| + | padding: | ||
| + | border-radius: | ||
| + | border:2px solid transparent; | ||
| + | box-shadow: | ||
| + | min-height: | ||
| + | box-sizing: | ||
| + | } | ||
| + | # | ||
| + | display: | ||
| + | font-size: | ||
| + | font-weight: | ||
| + | letter-spacing: | ||
| + | text-transform: | ||
| + | padding:6px 10px; | ||
| + | border-radius: | ||
| + | margin-bottom: | ||
| + | } | ||
| + | # | ||
| + | margin:4px 0 8px 0; | ||
| + | font-size: | ||
| + | letter-spacing: | ||
| + | line-height: | ||
| + | } | ||
| + | # | ||
| + | margin:0 0 8px 0; | ||
| + | font-size: | ||
| + | line-height: | ||
| + | } | ||
| + | |||
| + | /* Biology theme */ | ||
| + | # | ||
| + | background: | ||
| + | border-color:# | ||
| + | } | ||
| + | # | ||
| + | # | ||
| + | |||
| + | /* Chemistry theme */ | ||
| + | # | ||
| + | background: | ||
| + | border-color:# | ||
| + | } | ||
| + | # | ||
| + | # | ||
| + | |||
| + | /* Physics theme */ | ||
| + | # | ||
| + | background: | ||
| + | border-color:# | ||
| + | } | ||
| + | # | ||
| + | # | ||
| + | </ | ||
| + | |||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <h2 id=" | ||
| + | <p id=" | ||
| + | </ | ||
| + | |||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <h2 id=" | ||
| + | <p id=" | ||
| + | </ | ||
| + | |||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <h2 id=" | ||
| + | <p id=" | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | (function(){ | ||
| + | const biologyWords = [ | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: "Cell membrane", | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: "Organ system", | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: "Food chain", | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | ]; | ||
| + | |||
| + | const chemistryWords = [ | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: "Ionic bond", definition: "The electrostatic attraction between oppositely charged ions." }, | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | ]; | ||
| + | |||
| + | const physicsWords = [ | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: "Work done", definition: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | { word: " | ||
| + | ]; | ||
| + | |||
| + | const now = new Date(); | ||
| + | const start = new Date(now.getFullYear(), | ||
| + | const dayOfYear = Math.floor((now - start) / 86400000); | ||
| + | |||
| + | function setWord(prefix, | ||
| + | const idx = dayOfYear % list.length; | ||
| + | const wordEl = document.getElementById(prefix + " | ||
| + | const defEl = document.getElementById(prefix + " | ||
| + | if(wordEl) wordEl.textContent = list[idx].word; | ||
| + | if(defEl) defEl.innerHTML = "< | ||
| + | } | ||
| + | |||
| + | setWord(" | ||
| + | setWord(" | ||
| + | setWord(" | ||
| + | })(); | ||
| + | </ | ||
| + | </ | ||
science.1770762306.txt.gz · Last modified: by hjb
