Spice up and level up your project devlog jam profile page!

Pitch is a small catalogue of ready-to-use, customizable CSS components and tweaks designed specifically for itch.io project pages.

CC0 Licensed Latest release Milestone progress
GitHub stars Open issues




Getting Started

  Note

This is a detailed walkthrough on how to use the app.
Click Read more... if you're new to the app and CSS on itch.io

Requirements

  • Custom CSS access on your itch.io account.
  • A little bit of HTML and CSS knowledge.

Using the app & the components

1

Browse and pick your components!

And copy its HTML codes.

Copying the HTML

If you're unable to copy the HTML via the button. Select the HTML codes manually, and copy them via context menu right click > copy.

More on step #3.
2

Paste the HTML codes to your page's description content

Switch to HTML mode before pasting.

Important Note

Once you edit your page's content in HTML mode, Its best to keep using HTML mode onward to avoid messing up the layout.

Note on Pasting The HTML

Paste the HTML codes via keyboard Ctrl + V.

Avoid pasting via context menu right click -> paste. As your changes won't be registered, when you click the Save button.

If you uses context menu to paste it, type something else too, a space, a random character that you deleted again, or anything, before hitting the Save button.
3

Grab the components/tweaks' CSS codes

Tick the components/tweaks that you want, and click the copy button.

In case of the copy button failing to copy, toggle the CSS box, and copy them manually.

Copy Button

On Chrome or Chromium-based browsers, the copy button (for the CSS and HTML) won't work, because it requires a permission which itch doesn't allow.

If you're on Firefox or the itch app, the button should works fine.
4

Paste the copied CSS to your page's theme editor.

If the custom CSS field is not there. That means you don't have the CSS access in your account.



Best Practices & Tips

  • Always back up and save your HTML & CSS codes to a file, everytime you make changes.
  • Utilize your browser's developer tools.
  • Use external code editor, like Neovim, Sublime Text, or Visual Studio Code to get the advantages like syntax highlighting, autocompletion, etc.
  • Test your project's page against multiple screen sizes, and on multiple browsers, including the itch app before publishing it.


License

  • The Pitch web app is licensed under GNU AGPLv3.
  • The CSS components are licensed under CC0.

The placeholder content in the HTML preview and/or in the image preview may be subject to different license or copyright restrictions.



Support

Rate Donate Buy me a coffee CC0 Licensed

Feel free to give feedback in the comments below, and report bugs in the GitHub Issues page.

StatusReleased
CategoryTool
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(29 total ratings)
Authornnda
Tagscss, design, framework, html, No AI, Open Source, page, sourcecode, Project template, User Interface (UI)
Code licenseMIT License
Asset licenseCreative Commons Zero v1.0 Universal
LinksSource code, Ko-fi

Development log

View all posts

Comments

Log in with itch.io to leave a comment.

Whenever I click on any of the "copy CSS" buttons, I just get an error saying "failed to copy"

(3 edits)

Click the ‘eye button’ besides the Copy CSS button. And copy the CSS manually from the box, via Ctrl + C, or via Right click menu.

Hope it helps!

The copy features is blocked on Chrome and Chromium-based browsers. But it works on Firefox and the itch app.

(+1)

To piggyback off @Chicken502, this looks amazing, but even now with getting CSS functionality onto my pages, the code I copy from here doesn't do anything on my page.

(1 edit)

Hi, thank you for the comment!

Can you specify which components/tweaks and to which page (project page, profile page) are you trying to add? and the way of how do you add/copy them?

(+1)

honestly, I can't get any of the components to work. Each time I click on the copy button it says fail to copy. I've tried manually pasting as per your instructions,  but nothing works when I've pasted things on the css box for both project and profile pages.

Hey!

I’ve updated the ‘Getting Started’ section of this page. I found and included some notes about copy-pasting stuff on itch.io

Take a look, and see if it’ll solve your issues.

(+1)

That did it! Thank you so much!

(+1)

This is looks incredible but I can't figure out how to add the css

(1 edit) (+1)(-1)

On your project page, click the Edit Theme button, and paste the copied CSS onto the Custom CSS field.

Hope this help :)

If its not there, that means you don’t have custom CSS enabled on your account. You’ll have to contact support to have it enabled. Refer to this itch documentation page for more info.

(+1)

Hey this is incredible, thank you for this awesome work that allow us to make beautifull game pages, all thanks to you !

(+1)

This tool is wonderful! Would love to support once we get paid. Would it be possible to ask about manipulating right column / screenshot placement via CSS?

(+1)

Thank you for the kind comment and the consideration! And sure, feel free to ask anything! We’re open to any inputs and inquiries.

(+1)

Thank you! Would it be possible to request a tutorial on how to move the right column beneath the header div?

Hi, sorry for the late reply!

I assume you meant having the screenshot like in the mobile layout of the page?

You can force the mobile layout by setting it as flexbox and reverse the direction:

.columns {
    /*  Reverse the direction (screenshot column on top)  */
    flex-direction: column-reverse;
}
.columns > .column {
    width: auto;
}

/*  Set the screenshot list to display as if its on mobile layout  */
.view_game_page .screenshot_list {
    white-space: nowrap;
    overflow: auto;
    text-align: center;
    font-size: 0;
}
.view_game_page .screenshot_list img {
    display: inline-block;
    margin: 0;
}
(1 edit) (+1)

Thanks a lot! Been using a friend's game page to experiment with CSS since the feature isn't available on this account yet. If possible to ask, do you have any suggestions for fixing misaligned Video and Screenshot widths like this?

Ah, that little off spacing to the right of the video?

Try this:

.right_col > .video_embed {
    /*  Center video embed  */
    margin: auto;
    /*  Bottom spacing  */
    margin-bottom: .5em;
    /*  Video embed maximum width  */
    max-width: 700px;
}

Its just the margin: auto; that centers it, the rest is optional to tidy things up.

(1 edit) (+1)

This is a very nice tool, I think it would be super cool to include something here which lets us section out the games like you have on your profile

(1 edit) (+1)

Thank you for the comments!

For the main projects section, I used Grid layout, and for the collections, I used List layout in the page’s theme editor.

As for the two-column layout of the collections, that was done through this custom CSS:

@media (min-width: 780px) {
  /* Split collections row into two-column layout on desktop */
  .collections {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 2em 0 !important;
  }
  .collections .inner_column {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  /* Fade out gradient */
  .collection_row {
    position: relative;
    overflow: hidden;
    margin: 0 0.8em;
  }
  .collection_row::before {
    content: "";
    position: absolute;
    bottom: 0;
    box-shadow: inset -13em 0 9em -2em #0f1116; /* Match the background color */
    pointer-events: none;
    width: 100%;
    height: 76%;
    z-index: 2;
  }
  .collection_row:first-child {
    padding-left: 1.2em;
  }
  .collection_row:last-child {
    padding-right: 1.2em;
  }
}
(2 edits) (+1)

This works well thank you :) i tried doing it using the code on your github but i couldnt get it working, by the way for the new author badge I had to type “jackselleck” rather than “Jack Selleck” for it to work

(+1)

Glad it helped! :)

Yea, for my profile page’s CSS, you’d have to build the CSS from the repo first. I’ve put the installation section for that in the readme. Its quite a mess of a system, because I want to save characters count. itch.io limits profile page’s CSS to 5120 characters for some reason :/

And yep, you need your itch.io’s username, instead of the display name for the Author Badge.

(+1)

Very useful tool ! Thank you <3

Can you please add a section for components like hover on a game window on creator page/Outline/some tweens and other cool CSS effects ? :)

(+1)

Thank you for the comments!

I’ve been a little hesitant on adding hover effects or animation-related stuff. Since I’m aiming more on CSS stuff for the page’s content.

But I do plan on adding more decorations, including animation-related tweaks.

And if or when there’s the components/tweaks like you’ve described, it’ll probably be under the ‘Decorations’ or ‘Tweaks’ section/category :)

(+1)

Thank you <3

CSS Hover effects and animated stuff, or even a tiny outline, can give a huge boost to the user itch store page and make it look appealing !
Hope to see it soon in your tool :)

Hello, any way to get the code for the Preview Theme switcher ? I would love to add a swicther like that in my page

(2 edits) (+2)

Hi, the buttons are actually just radio-type <input> elements. I don’t think you can insert it in project pages directly, since input/form elements will be sanitized.

The project is open source. Here’s the snippet of the codes that makes the buttons if you’re interested:
Script: https://github.com/nndda/Pitch/blob/80ac0c31949f5ef281493bcbb7d416ca868be869/src/app/scripts/themes.ts#L61C1-L74C7
Styling: https://github.com/nndda/Pitch/blob/80ac0c31949f5ef281493bcbb7d416ca868be869/src/app/styles/_input.scss#L107C1-L140C2

(+1)

Thank you very much for your answer, it is awesome to see that you are still very active!

(+1)(-3)

Hello, I liked the idea of the program, but I want a Linux version AppImage

(+1)

This really helps a lot thank you :-)

any way to make those “Responsive layout adapts to different screen sizes “ boxes? :3

thats not a part of the css components actually 😅 but heres the html & css source code for those https://gist.github.com/nndda/63ff54c575dbb9e9f6158dc8a446c0db

awww tysm :D