diff --git a/contact.html b/contact.html index d7d37fc..f442c69 100644 --- a/contact.html +++ b/contact.html @@ -12,6 +12,7 @@ My Blog diff --git a/css/style.css b/css/style.css index 0dc0a2f..eef36d8 100644 --- a/css/style.css +++ b/css/style.css @@ -120,6 +120,59 @@ button[type="submit"]:hover { filter: brightness(1.1); } +/* --- Reading list --- */ +.reading-category { + margin-bottom: 2rem; +} + +.reading-category h2 { + font-size: 1.1rem; + border-bottom: 1px solid var(--border); + padding-bottom: 0.35rem; + margin-bottom: 0.75rem; +} + +.reading-list { + margin: 0; + padding: 0; + list-style: none; + display: grid; + gap: 0.75rem; +} + +.reading-entry { + display: grid; + gap: 0.1rem; +} + +.reading-link { + color: var(--accent); + text-decoration: none; + overflow-wrap: anywhere; +} + +.reading-link:hover, +.reading-link:focus { + text-decoration: underline; +} + +.reading-note { + margin: 0; + color: var(--muted); + font-size: 0.9rem; +} + +.reading-empty { + color: var(--muted); +} + +/* Two columns once there is room — keeps long lists scannable. */ +@media (min-width: 40rem) { + .reading-list { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } +} + /* --- Footer --- */ .site-footer { border-top: 1px solid var(--border); diff --git a/index.html b/index.html index 28aa417..7fe5e75 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,7 @@ My Blog diff --git a/reading.html b/reading.html new file mode 100644 index 0000000..09d9219 --- /dev/null +++ b/reading.html @@ -0,0 +1,32 @@ + + + + + + Reading list | My Personal Blog + + + + +
+

Reading list

+

Articles and links I’ve found worth keeping, grouped by category.

+
+ +
+
+ + + +