From 372a9dff5a9fd37661bac2cc4aeafa732e5fdff1 Mon Sep 17 00:00:00 2001
From: liquidev
+ like have you noticed this branch is kind of really fucking weird with the default cursor?
+
+
+ % id = "01HQ8JHZ5NT1P5R3EM9GEKZ3DK"
+ - and this one is *even* weirder, with unselectable text! (sorry for this. I'm trying to make a point.)
+
+ % id = "01HQ8JHZ5N21GM1FWEXAKPWDPA"
+ - the fact you can press Ctrl + A and it selects all text also gives off a texture typical of websites.
+
+ % id = "01HQ8JHZ5NMA2HT3M075G9AV1A"
+ - the common usage of [hyperlinks][def:word/hyperlink] over buttons is also typical of websites.
+
+% id = "01HQ8JHZ5N2WA7G6QN7YCE8PN0"
+- Git for Windows asks whether you want to use stock Windows `cmd.exe` or mintty.
+for as long as I can remember, mintty always felt *wrong* to me. like the experience was not *Windowsy.*
+simply because the terminal window is so tiny, the cursor is an I-beam, and the default font used is Lucida Console rather than Consolas.
+
+ % id = "01HQ8JHZ5NHEW18R8JQWQCAB6Y"
+ - synaesthetically, it feels to me as if `cmd.exe` is smooth, and mintty is rough. like with `cmd.exe` you're touching matte plastic, an LCD display, and with mintty you're touching a piece of paper or tree bark.
diff --git a/content/index.tree b/content/index.tree
index d950d75..62230db 100644
--- a/content/index.tree
+++ b/content/index.tree
@@ -29,6 +29,10 @@
content.link = "programming"
+ ## programming
+ % id = "design"
+ content.link = "design"
+ + ## design
+
% id = "music"
content.link = "music"
+ ## music
diff --git a/content/treehouse/new.tree b/content/treehouse/new.tree
index 1e9661e..a7b6738 100644
--- a/content/treehouse/new.tree
+++ b/content/treehouse/new.tree
@@ -4,8 +4,17 @@
feed = "news"
% id = "01HQ6G30PTVT5H0Z04VVRHEZQF"
-- ever wondered how Terraria renders its worlds? or how editors like Tiled manage to make painting tiles so easy?
+- featured ever wondered how Terraria renders its worlds? or how editors like Tiled manage to make painting tiles so easy?
### tairu - an interactive exploration of 2D autotiling techniques
[read][page:programming/blog/tairu]
+
+% id = "01HQ8KV8T8GRCVFDJ3EP6QE163"
+- I started a branch on user interface and user experience design, because I was working with mintty at work and had some thoughts about it.
+
+"why does mintty always feel so *out of place* compared to `cmd.exe`?"
+
+### liquidex's treehouse: design
+
+[read: *on digital textures*][page:design/digital-textures] [go to branch][page:design]
diff --git a/crates/treehouse/src/cli/generate.rs b/crates/treehouse/src/cli/generate.rs
index 74e2191..eee907f 100644
--- a/crates/treehouse/src/cli/generate.rs
+++ b/crates/treehouse/src/cli/generate.rs
@@ -219,7 +219,8 @@ impl Generator {
let relative_path = path
.strip_prefix(paths.template_dir)?
.to_string_lossy()
- .into_owned();
+ .into_owned()
+ .replace('\\', "/");
let file_id =
Self::register_template(&mut handlebars, treehouse, &relative_path, path)?;
template_file_ids.insert(relative_path, file_id);
@@ -263,7 +264,6 @@ impl Generator {
let branch = treehouse.tree.branch(root);
feed.branches.push(branch.attributes.id.clone());
}
- dbg!(&feed.branches);
feeds.insert(feed_name.to_owned(), feed);
}
}
diff --git a/static/css/main.css b/static/css/main.css
index ef5e4a8..80c2436 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -452,6 +452,8 @@ a[is="th-new"] {
color: var(--text-color);
opacity: 50%;
+ margin-right: 16px;
+
&.has-news {
opacity: 100%;
text-decoration: none;
@@ -483,6 +485,11 @@ span.badge {
background-color: #d01243;
}
+ &.blue {
+ color: white;
+ background-color: #058ef0;
+ }
+
&.before-content {
margin-right: 6px;
}
@@ -774,4 +781,4 @@ section[is="th-settings"] {
/* Don't display settings when JavaScript is disabled.
JS overrides this value on the element itself. */
display: none;
-}
+}
\ No newline at end of file
diff --git a/static/css/new.css b/static/css/new.css
index e26ed00..5ff71ea 100644
--- a/static/css/new.css
+++ b/static/css/new.css
@@ -7,10 +7,12 @@ section {
.tree th-bc>p:last-child {
--transition-duration: 0.2s;
- margin-top: 12px;
+ margin-top: 8px;
margin-bottom: 4px;
&>a {
+ display: inline-block;
+
padding: 0.5em 1.5em;
color: var(--text-color);
@@ -33,6 +35,35 @@ section {
}
}
+.tree li>div:first-child,
+.tree li>details>summary:first-child {
+ --margin: 2.5em;
+
+ border: none;
+ margin-left: var(--tree-indent-width);
+ width: calc(100% - var(--tree-indent-width));
+ margin-top: var(--margin);
+ margin-bottom: var(--margin);
+}
+
+.tree th-bp {
+ display: none;
+}
+
+.tree th-bb {
+ opacity: 100%;
+
+ & .branch-date {
+ display: block !important;
+ }
+}
+
+@media (max-width: 600px) {
+ .tree .branch-container {
+ flex-direction: column-reverse;
+ }
+}
+
section[is="th-settings"] {
& h3 {
display: inline;
@@ -100,4 +131,4 @@ section[is="th-settings"] {
border-color: white;
}
}
-}
+}
\ No newline at end of file
diff --git a/template/_new.hbs b/template/_new.hbs
index a48ce51..dfc40fd 100644
--- a/template/_new.hbs
+++ b/template/_new.hbs
@@ -25,12 +25,8 @@
here's a recap just for you - enjoy!
note that this page does not include any updates that were made to the website itself - for that, you can visit the changelog. @@ -74,4 +70,4 @@