diff options
Diffstat (limited to 'served/words')
-rw-r--r-- | served/words/debugging-my-sql-query.html | 11 | ||||
-rwxr-xr-x | served/words/weeknotes/2024/sol.html | 2 | ||||
-rwxr-xr-x | served/words/words.css | 55 | ||||
-rwxr-xr-x | served/words/words.html | 96 | ||||
-rwxr-xr-x | served/words/writing.css | 12 |
5 files changed, 97 insertions, 79 deletions
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 <i>(not great probably, the mutex, but)</i>. 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. -<pre><code>SELECT creation_date, state, game, result FROM awoo;</code></pre> +<pre><code>SELECT creation_date, state, game, result +FROM awoo;</code></pre> <pre><code>Some("no such table: awoo")</code></pre> @@ -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 -<pre><code>SELECT creation_date, state, game, result FROM double_dodge WHERE player_id = ?1 AND state = ?2</code></pre> +<pre><code>SELECT creation_date, state, game, result +FROM double_dodge +WHERE player_id = ?1 AND state = ?2</code></pre> those are all columns that exist, even if sqlite does not believe me. oh, i'm not selecting <code>player_id</code>. that's probably not good. -<pre><code>SELECT player_id, creation_date, state, game, result FROM double_dodge WHERE player_id = ?1 AND state = ?2;</code></pre> +<pre><code>SELECT player_id, creation_date, state, game, result +FROM double_dodge +WHERE player_id = ?1 AND state = ?2;</code></pre> <b><i>success :)</i></b> 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 <a href="/atom.xml">Atom Feed</a>. <section id="weeknotes-section"> <h2 id="weeknotes">weeknotes</h2> <h3 id="what-weeknotes"><a href="weeknotes/what.html">what?</a></h3> - <ul class="wk-list"> - <li><a href="weeknotes/48.html">48</a></li> - <li class="miss">47</li> - <li><a href="a-really-long-week.html">a really long week</a></li> - <li class="miss">45</li> - <li class="miss">44</li> + <ul class="wk-miss"> + <li>49</li> + <li>48</li> + <li>dec</li> + <li>47</li> + </ul> + <ul class="wk-notes"> + <li><a href="a-really-long-week.html">46: a really long week</a></li> + </ul> + <ul class="wk-miss"> + <li>45</li> + <li>44</li> <li>nov</li> + <li>43</li> + <li>42</li> + <li>41</li> + <li>40</li> + <li>oct</li> + <li>39</li> + <li>38</li> + <li>37</li> + <li>36</li> + <li>35</li> + <li>sep</li> + <li>34</li> + <li>33</li> + <li>32</li> + <li>31</li> + <li>aug</li> + <li>30</li> </ul> - <ul id="weeknotes-ifc"> - <li>sol</li> - <li class="month"><a href="weeknotes/2024/sol.html">complete</a></li> - <li>jun</li> - <li class="early miss">early</li> - <li class="miss">late</li> + <ul class="wk-notes"> + <li><a href="weeknotes/2024/sol.html">Week 29</a></li> </ul> - <ul id="weeknotes-list"> - <li class="miss">23</li> + <ul class="wk-miss"> + <li>28</li> + <li>27</li> + <li>jul</li> + <li>26</li> + <li>25</li> + <li>24</li> + <li>23</li> + <li>22</li> <li>jun</li> - <li class="miss">22</li> - <li class="miss">21</li> - <li><a href="weeknotes/2024/20.html">20</a></li> - <li class="miss">19</li> - <li class="miss">18</li> + <li>21</li> + </ul> + <ul class="wk-notes"> + <li><a href="weeknotes/2024/20.html">Week 20</a></li> + </ul> + <ul class="wk-miss"> + <li>19</li> + <li>18</li> <li>may</li> - <li><a href="weeknotes/2024/17.html">17</a></li> - <li class="miss">16</li> - <li><a href="weeknotes/2024/15.html">15</a></li> - <li><a href="weeknotes/2024/14.html">14</a></li> + </ul> + <ul class="wk-notes"> + <li><a href="weeknotes/2024/17.html">Week 17</a></li> + </ul> + <ul class="wk-miss"> + <li>16</li> + </ul> + <ul class="wk-notes"> + <li><a href="weeknotes/2024/15.html">Week 15</a></li> + <li><a href="weeknotes/2024/14.html">Week 14</a></li> + </ul> + <ul class="wk-miss"> <li>apr</li> <li>mar</li> + <li>13</li> + <li>12</li> + <li>11</li> + <li>10</li> + <li>9</li> <li>feb</li> + <li>8</li> + <li>7</li> + <li>6</li> + <li>5</li> <li>jan</li> + <li>4</li> + <li>3</li> + <li>2</li> + <li>1</li> <li>2024</li> </ul> </section> 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 |