summaryrefslogtreecommitdiff
path: root/assets
AgeCommit message (Collapse)Author
2025-08-16feat: add vscode syntax highlightingMartin Fischer
2025-08-16fix: blockquote stylingMartin Fischer
A heading in a blockquote had no padding between the border and the heading.
2025-08-16fix: enable dark theme via CSSMartin Fischer
2025-08-16fork: Typo as TastefejlMartin Fischer
2025-05-16Add author renderingFrancesco
2025-05-04Word break in header menu, reduced excessive margins while wrappedFrancesco
2025-04-18Add proper table renderingFrancesco
2025-04-17Update table styleFrancesco
2025-04-17Add missing style to code on listsFrancesco
2025-04-13Fixes code blocks with highlightsVasily Negrebetskiy
2025-04-01Revert "fix: copy button position"Francesco Tomaselli
2025-04-01Merge pull request #110 from Borber/mainFrancesco Tomaselli
fix: copy button position
2025-03-26Fix layout shifts by preserving aspect-ratio at responsive sizesSangeeth Sudheer
Uses `aspect-ratio` property to constrain height and width of render image's container to allow responsive resizing while maintaining the original aspect ratio and avoiding layout shifts. Previously, even though `width` and `height` attributes were passed to the `img` element, Chrome (and probably others) weren't reserving space for the image as expected because CSS `width`/`height` were both `auto`. At least one of them needed to be a fixed value in order to maintain aspect ratio. Even with this change, it doesn't seem possible to constrain both width and height on the same element at the same time — only one or the other works. The change introduced makes the `img` element constrain width using `max-width` while the parent element constrain height using `max-height` and `aspect-ratio`. This way, we can get responsive sizing on both axes while obeying the constraints.
2025-03-25fix: copy button positionBorber
2025-03-19Nowrap on pagination controlFrancesco
2025-03-09Add breadcrumbs config to hide current page and change home textSangeeth Sudheer
Changes `breadcrumbs` config into an object to add customizations such as hiding current page and changing the text of the home crumb. By default, Typo will now show breadcrumbs. If breadcrumbs are enabled, the current default of showing the current page crumb is preserved. BREAKING CHANGE: `breadcrumbs` is now an object so existing `breadcrumbs = <true/false>` line in config needs to be changed.
2025-03-06List alignment fixes and input dark mode supportSangeeth Sudheer
Fixes margin and alignment issues in ul, ol and checkbox lists including when they are nested within each other. input elements in dark mode are forced to be in browser's dark color scheme.
2025-02-20Merge pull request #84 from OleMussmann/fix-header-reflowFrancesco Tomaselli
prevent linebreaks in header words for small window sizes
2025-02-20prevent linebreaks in header wordsOle Mussmann
2025-02-19Update breadcrumbs styleFrancesco
2025-02-02Merge pull request #75 from OleMussmann/mainFrancesco Tomaselli
2025-02-02fix disappearing header linksOle Mussmann
2025-02-02fix whitespace around #small imagesOle Mussmann
2025-01-21Added base16-default themesrbbhn
2025-01-21Removed unneeded commentsrbbhn
2025-01-21Added spacegray.cssrbbhn
2025-01-21Initial commitrbbhn
2025-01-21Added spacegray.css themerbbhn
2025-01-16feat(copy-code): To allow user to copy contents within code block to clipboardArun Mathai
fix(ui): corrections told by tomfran fix(ui): add more contrast to button. fix(ui): loading js as deferred
2024-11-18Increased max image height, heading anchor tag to monospaceFrancesco
2024-11-18Merge pull request #49 from runofthemillgeek/feat/heading-anchorsFrancesco Tomaselli
Add article heading anchors
2024-11-17Add width and height attrs for local imagesSangeeth Sudheer
Image render hook now computes width/height of local images and adds them as attributes. This patch also adds relevant CSS changes to prevent stretchy images. The main reason for this change is to avoid content shifts when images load. Without providing width/height, browser doesn't have info to know the aspect ratio to reserve some space until the image loads. With this change, browser knows the intrinsic size and aspect-ratio to reserve space and avoid content shifts in the page. I believe this also fixes an issue I face in Safari where sometimes, an image below the fold wouldn't load and thus have zero height because it has loading="lazy". To avoid images getting stretched and images overflow/filling the entire screen when their intrinsic size is larger than the container size, I've added some CSS. A configurable `max-height` is present which is used for `figure img` elements. This especially helps when you have tall images like mobile screenshots.
2024-11-17Add article heading anchorsSangeeth Sudheer
Adds heading anchors (#) that appear when user hovers over headings in articles. Clicking the anchor will scroll viewport until heading is aligned to top and update the address bar with the hash. This makes it easy to copy URLs that link to a specific heading in the article.
2024-10-30Add small to header pFrancesco
2024-10-29Add font-family fallback and optimize font loadingSangeeth Sudheer
Optimized font loading by adding `font-display: swap`. Additionally, moved font-family values into CSS variables.
2024-10-28Make header title a link to base URL (home page)Sangeeth Sudheer
This is a common pattern found in many sites. I've also added styling to remove the underline.
2024-07-07Updated quote CSSFrancesco
2024-06-29Color pallettes and hide header modeFrancesco
2024-06-24Pagination on single postsFrancesco
2024-06-09Added color palettesFrancesco
2024-05-23Blockquote cssFrancesco
2024-05-23Tables stylingFrancesco
2024-05-23Image tags for sizingFrancesco
2024-05-21MinorFrancesco
2024-05-21MinorFrancesco
2024-05-20Increased font to match Medium-like size, fixed code missing padding on scrollFrancesco
2024-05-19Secondary color, tweaked widthFrancesco
2024-05-16Back to top buttonFrancesco
2024-05-11MinorFrancesco
2024-05-11Breadcrumbs and tagsFrancesco