saturn
- 187 commits
- 2 branches
- 0 tags
- updated
- CI 2/2
index.html
11.6 KB · 268 lines
1<!doctype html>2<html lang="en">3 <head>4 <meta charset="UTF-8" />5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />6 <meta7 name="description"8 content="daniel daum's rating system - what 1 through 5 mean, and the colors that go with them"9 />10 <meta11 http-equiv="Content-Security-Policy"12 content="default-src 'self'; style-src 'self'; font-src 'self'; img-src 'self' https://assets.danieldaum.net; media-src 'self' https://assets.danieldaum.net;"13 />14 <meta name="referrer" content="strict-origin-when-cross-origin" />15 <link16 rel="preload"17 href="/assets/fonts/geistpixel/GeistPixel-Square.woff2"18 as="font"19 type="font/woff2"20 crossorigin21 />22 <link rel="preconnect" href="https://assets.danieldaum.net" />23 <link rel="stylesheet" href="/global.css" />24 <script src="/theme.js"></script>25 <link26 rel="icon"27 type="image/png"28 sizes="32x32"29 href="/assets/favicon/favicon-32x32.png"30 />31 <link32 rel="icon"33 type="image/png"34 sizes="16x16"35 href="/assets/favicon/favicon-16x16.png"36 />37 <link38 rel="apple-touch-icon"39 sizes="180x180"40 href="/assets/favicon/apple-touch-icon.png"41 />42 <link rel="manifest" href="/assets/favicon/site.webmanifest" />43 <link44 rel="alternate"45 type="application/atom+xml"46 title="daniel daum"47 href="https://danieldaum.net/feed.xml"48 />49 <title>daniel daum - ratings</title>5051 <meta property="og:type" content="website" />52 <meta property="og:site_name" content="daniel daum" />53 <meta property="og:title" content="daniel daum - ratings" />54 <meta55 property="og:description"56 content="daniel daum's rating system - what 1 through 5 mean, and the colors that go with them"57 />58 <meta property="og:url" content="https://danieldaum.net/ratings/" />59 <meta60 property="og:image"61 content="https://assets.danieldaum.net/img/misc/og.jpg"62 />63 <meta property="og:image:type" content="image/jpeg" />64 <meta property="og:image:width" content="1200" />65 <meta property="og:image:height" content="630" />66 <meta67 property="og:image:alt"68 content="daniel daum - software engineer, avid reader, aspiring game dev - danieldaum.net"69 />7071 <meta name="twitter:card" content="summary_large_image" />72 <meta name="twitter:title" content="daniel daum - ratings" />73 <meta74 name="twitter:description"75 content="daniel daum's rating system - what 1 through 5 mean, and the colors that go with them"76 />77 <meta78 name="twitter:image"79 content="https://assets.danieldaum.net/img/misc/og.jpg"80 />81 <meta82 name="twitter:image:alt"83 content="daniel daum - software engineer, avid reader, aspiring game dev - danieldaum.net"84 />85 </head>8687 <body>88 <a class="skip-link" href="#main">skip to content</a>8990 <!-- ===== HEADER ===== -->91 <header class="site-header">92 <a class="site-name" href="/">Daniel Daum</a>93 <nav aria-label="main navigation">94 <a href="/about/">about</a>95 <a href="/blog/">blog</a>96 <a href="/projects/">projects</a>97 <a href="/garden/">garden</a>98 </nav>99 </header>100101 <!-- ===== MAIN ===== -->102 <main id="main">103104 <header class="page-header page-header--post">105 <p class="page-header-kicker">106 <a href="/garden/"><span aria-hidden="true">/</span>garden</a>107 </p>108 <h1>Ratings</h1>109 <p class="meta">110 How I score things in the garden. One number out of five.111 </p>112 </header>113114 <section>115 <h2 class="caps">the scale</h2>116 <p>117 Everything in the garden gets one score out of five. The118 score is about how much I enjoyed it, not how well made it119 is.120 </p>121122 <table class="table">123 <thead>124 <tr>125 <th scope="col" class="table-col-rating">rating</th>126 <th scope="col" class="table-col-label">label</th>127 <th scope="col">what it means</th>128 </tr>129 </thead>130 <tbody>131 <tr class="table-row">132 <td>133 <span class="rating rating--terrible"134 >(1/5)</span135 >136 </td>137 <td class="table-desc">terrible</td>138 <td class="table-desc">139 Didn't finish it, or wish I hadn't.140 </td>141 </tr>142 <tr class="table-row">143 <td>144 <span class="rating rating--below-average"145 >(2/5)</span146 >147 </td>148 <td class="table-desc">below average</td>149 <td class="table-desc">150 Finished it, but wouldn't recommend it.151 </td>152 </tr>153 <tr class="table-row">154 <td>155 <span class="rating rating--good">(3/5)</span>156 </td>157 <td class="table-desc">average</td>158 <td class="table-desc">159 Fine. No regrets, no strong feelings.160 </td>161 </tr>162 <tr class="table-row">163 <td>164 <span class="rating rating--above-average"165 >(4/5)</span166 >167 </td>168 <td class="table-desc">above average</td>169 <td class="table-desc">170 Really liked it. Would recommend.171 </td>172 </tr>173 <tr class="table-row">174 <td>175 <span class="rating rating--great">(5/5)</span>176 </td>177 <td class="table-desc">great</td>178 <td class="table-desc">179 A favorite. It goes on the favorites shelf at180 the top of its page.181 </td>182 </tr>183 </tbody>184 </table>185186 <p class="meta">187 Half points are allowed. Anything I haven't scored yet shows188 as189 <span class="rating">(?/5)</span>.190 </p>191192 <h2 class="caps">the colors</h2>193 <p>194 Each score has its own color so a wall of covers is easy to195 scan. Red for the low end, green for the high end.196 </p>197198 <div class="swatch-row">199 <div class="swatch">200 <div class="swatch-block rating--terrible"></div>201 <p class="swatch-name">--rating-terrible</p>202 <p class="swatch-value">#e86b6b</p>203 </div>204 <div class="swatch">205 <div class="swatch-block rating--below-average"></div>206 <p class="swatch-name">--rating-below-average</p>207 <p class="swatch-value">#d9a441</p>208 </div>209 <div class="swatch">210 <div class="swatch-block rating--good"></div>211 <p class="swatch-name">--rating-good</p>212 <p class="swatch-value">#bdbd7f</p>213 </div>214 <div class="swatch">215 <div class="swatch-block rating--above-average"></div>216 <p class="swatch-name">--rating-above-average</p>217 <p class="swatch-value">#a9c94f</p>218 </div>219 <div class="swatch">220 <div class="swatch-block rating--great"></div>221 <p class="swatch-name">--rating-great</p>222 <p class="swatch-value">#7ec98f</p>223 </div>224 </div>225226 <p class="meta">227 The number is always shown next to the color. In high228 contrast mode the colors get brighter.229 </p>230231 <h2 class="caps">in markup</h2>232 <p>233 A rating is one element with two classes. The modifier sets234 the color, and the link goes back to this page.235 </p>236 <pre><code class="language-html"><span class="hl-punct"><</span><span class="hl-variable">a</span> <span class="hl-variable">class</span><span class="hl-punct">=</span><span class="hl-string">"rating rating--great"</span> <span class="hl-variable">href</span><span class="hl-punct">=</span><span class="hl-string">"/ratings/"</span><span class="hl-punct">></span>(5/5)<span class="hl-punct"></</span><span class="hl-variable">a</span><span class="hl-punct">></span></code></pre>237 <p class="meta">238 Modifiers, 1 to 5: <code>rating--terrible</code>,239 <code>rating--below-average</code>,240 <code>rating--good</code>,241 <code>rating--above-average</code>,242 <code>rating--great</code>. Leave the modifier off for an243 unrated entry.244 </p>245 <p>246 On a tracker tile the caption is already a link, so the247 rating there is a span instead of a second link. It looks248 the same.249 </p>250 <pre><code class="language-html"><span class="hl-punct"><</span><span class="hl-variable">span</span> <span class="hl-variable">class</span><span class="hl-punct">=</span><span class="hl-string">"rating rating--great"</span><span class="hl-punct">></span>(5/5)<span class="hl-punct"></</span><span class="hl-variable">span</span><span class="hl-punct">></span></code></pre>251 </section>252 </main>253254 <!-- ===== FOOTER ===== -->255 <footer>256 <nav aria-label="site links">257 <p aria-hidden="true">//</p>258 <a href="mailto:daniel@danieldaum.net"> email </a>259 <a href="/projects/saturn/">source</a>260 <a href="/id/">ID</a>261 <a href="/changelog/">changelog</a>262 <a href="/privacy/">privacy</a>263 <a href="/feed.xml">RSS</a>264 <button type="button" class="theme-button">theme</button>265 </nav>266 </footer>267 </body>268</html>