News for hackers. Stuff that matters.
Re:The Rust Calling Convention We Deserve by dhosek on Thursday April 18, 2024 @10:35PM (#40082931)
I just spent a bunch of time on inspect element trying to figure out how the section headings are set at an angle and (at least with Safari tools), I’m stumped. So how did he do this?
Re:The Rust Calling Convention We Deserve by caperfee on Thursday April 18, 2024 @10:40PM (#40082959)
The style is on the `.post-title` element: `transform: skewY(-2deg) translate(-1rem, -0.4rem);`
Re:The Rust Calling Convention We Deserve by skgough on Thursday April 18, 2024 @11:11PM (#40083107)
related, I thought the minimap was using the CSS element() function [0], but it turns out it's actually just a copy of the article shrunk down real small.

[0] https://developer.mozilla.org/en-US/docs/Web/CSS/element

Re:The Rust Calling Convention We Deserve by aaron_seattle2 on Thursday April 18, 2024 @10:43PM (#40082977)
h1, h2, h3, h4, h5, h6 { transform:skewY(-2deg) translate(-1rem,0rem); transform-origin:top; font-style:italic; text-decoration-line:underline; text-decoration-color:goldenrod; text-underline-offset:4%; text-decoration-thickness:.25ex }