From 7ad63700224f7278c2264cb2312bc795323625a5 Mon Sep 17 00:00:00 2001 From: gennyble Date: Tue, 17 Dec 2024 08:56:16 -0600 Subject: with misses in html --- served/words/debugging-my-sql-query.html | 11 +++- served/words/weeknotes/2024/sol.html | 2 +- served/words/words.css | 55 +++++------------- served/words/words.html | 96 ++++++++++++++++++++++++-------- served/words/writing.css | 12 ---- 5 files changed, 97 insertions(+), 79 deletions(-) (limited to 'served/words') diff --git a/served/words/debugging-my-sql-query.html b/served/words/debugging-my-sql-query.html index e9f5643..dde57cd 100644 --- a/served/words/debugging-my-sql-query.html +++ b/served/words/debugging-my-sql-query.html @@ -58,7 +58,8 @@ held my database connection (not great probably, the mutex, but). does it just say that if it doesn't think the table is real? surely the table is real. we have so much evidence it is. i changed the table name. -
SELECT creation_date, state, game, result FROM awoo;
+
SELECT creation_date, state, game, result
+FROM awoo;
Some("no such table: awoo")
@@ -68,12 +69,16 @@ i tried removing my where clause. aha! it ran. what's wrong with my where clause? let's look at it again -
SELECT creation_date, state, game, result FROM double_dodge WHERE player_id = ?1 AND state = ?2
+
SELECT creation_date, state, game, result
+FROM double_dodge
+WHERE player_id = ?1 AND state = ?2
those are all columns that exist, even if sqlite does not believe me. oh, i'm not selecting player_id. that's probably not good. -
SELECT player_id, creation_date, state, game, result FROM double_dodge WHERE player_id = ?1 AND state = ?2;
+
SELECT player_id, creation_date, state, game, result
+FROM double_dodge
+WHERE player_id = ?1 AND state = ?2;
success :) diff --git a/served/words/weeknotes/2024/sol.html b/served/words/weeknotes/2024/sol.html index e0ba7a8..d5620c3 100755 --- a/served/words/weeknotes/2024/sol.html +++ b/served/words/weeknotes/2024/sol.html @@ -5,7 +5,7 @@ style=/styles/post.css style=../writing.css path-offset=2 -#weeknote=20 +#weeknote=29 published=2024-07-20 09:00 description=wherein she briefly explains her absence and introduces a new calendar system diff --git a/served/words/words.css b/served/words/words.css index abe4ee5..afc2919 100755 --- a/served/words/words.css +++ b/served/words/words.css @@ -7,6 +7,7 @@ div { grid-column: 2 / 3; display: flex; flex-direction: column; + row-gap: 1rem; } #written { @@ -14,54 +15,32 @@ div { grid-column: 1 / 2; } -#weeknotes-list, -.wk-list { - padding: 0; - margin: 0; - display: flex; - flex-direction: row; - column-gap: 1rem; - list-style: none; - flex-wrap: wrap; -} - #what-weeknotes { align-self: end; margin-top: -0.75rem; font-weight: normal; } -#weeknotes-ifc { - padding: 0.75rem 0; - margin: 0.75rem 0 0.75rem 0; - display: grid; - grid-template-columns: min-content 1fr 1fr; +.wk-miss, +.wk-notes { + padding: 0; + margin: 0; + display: flex; + flex-direction: row; + flex-wrap: wrap; column-gap: 1rem; - list-style: none; - border-style: solid; - border-color: var(--text-dim); - border-width: 1px 0 1px 0; -} - -#weeknotes-early-only { - grid-column: 2 / 4; - padding-right: calc(50% + 1.5rem); - text-align: right; -} -.early { - text-align: right; - padding-right: 1rem; + list-style: none; + display: flex; } -.late { - text-align: left; +.wk-miss { + display: none; } -.month { - text-align: center; - grid-column: 2 / 4; - padding-right: 1rem; +.wk-notes { + flex-direction: column; + row-gap: 1rem; } h2 { @@ -72,10 +51,6 @@ h2 { margin: 0; } -.miss { - color: var(--text-dim); -} - @media (max-width: 30rem) { div { display: flex; diff --git a/served/words/words.html b/served/words/words.html index 587d021..ffb9181 100755 --- a/served/words/words.html +++ b/served/words/words.html @@ -16,38 +16,88 @@ The writing is part of the website Atom Feed.

weeknotes

what?

-
diff --git a/served/words/writing.css b/served/words/writing.css index 6983ccc..bfe46a3 100755 --- a/served/words/writing.css +++ b/served/words/writing.css @@ -61,16 +61,4 @@ q { q::before, q::after { content: none; -} - -main a { - color: var(--text-link); -} - -main a:visited { - color: var(--text-link-visited); -} - -.writing { - line-height: 1.65; } \ No newline at end of file -- cgit 1.4.1-3-g733a5