samthecookielord

Basic Cozy Cute Twine Stylesheet Template for Harlowe

Mar 5th, 2024
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.62 KB | None | 0 0
  1. /*TWINE BASIC STYLESHEET TEMPLATE FOR HARLOWE 3.3.8 - COZY CUTE*/
  2. /*I made this as an easy to understand sheet for beginners with lots of comments to explain things!
  3. * This is also just what I normally use for most of my Twine games!
  4. THIS IS A PRE-FILLED VERSION OF MY TEMPLATE. For a blank version or a different version, please see what other options I have on my site under Twine Help -> https://samsillycorner.neocities.org/cookie_lords_games*/
  5. tw-story { /*this styles the whole game*/
  6.    background-color: #f2ccb3;
  7.    color: #593c28;
  8.    font: 30px "Georgia"; /*see: https://www.w3schools.com/Css/css_font.asp*/
  9.    font-family: "Georgia", serif;
  10. }
  11.  
  12. tw-link,enchantment-link{ /*this styles regular passage links*/
  13.     background-color: #ffffff;
  14.     color: #b24f7e;
  15. }
  16.  
  17. tw-link:hover,enchantment-link:hover{ /*this styles regular passage links when hovered over with a cursor*/
  18.     background-color: #ffffff;
  19.     color: #ea7aaf;
  20. }
  21.  
  22. tw-link.visited,enchantment-link.visited{ /*this styles links to passages you have already visited before*/
  23.     background-color: #ffffff;
  24.     color: #c2693f;
  25. }
  26.  
  27. tw-link.visited:hover,enchantment-link.visited:hover{ /*this styles visited passage links you hover over*/
  28.     background-color: #ffffff;
  29.     color: #c48e75;
  30. }
  31.  
  32. /*SIDEBAR -- these affect Twine's built in sidebar
  33. * display: switch to none if you want to remove a feature from the sidebar. see this for more info -> https://www.w3schools.com/cssref/pr_class_display.php
  34. * visibility: switch to hidden if you want to hide a feature that still takes up space on the sidebar. see this for more info -> https://www.w3schools.com/cssref/pr_class_visibility.php
  35. */
  36. tw-sidebar { /*this styles the sidebar itself - the box where the buttons sit*/
  37.     display: default;
  38.     visibility: default;
  39.     opacity: default; /*from 0-100%*/
  40.     background-color: default;
  41.     color: default;
  42. }
  43. tw-icon[title="Undo"] { /*this styles the undo button*/
  44.     display: default;
  45.     visibility: default;
  46.     opacity: default; /*from 0-100%*/
  47.     background-color: default;
  48.     color: default;
  49. }
  50. tw-icon[title="Redo"] { /*this styles the redo button*/
  51.     display: default;
  52.     visibility: default;
  53.     opacity: default; /*from 0-100%*/
  54.     background-color: default;
  55.     color: default;
  56. }
  57.  
  58. /*TAGGED PASSAGES -- want specific passages to be different than others? you can do this with tags!
  59. *See the examples below. Try assigning two different passages new tags named "forest" and "night" respectively!
  60. */
  61. tw-story[tags~="forest"]{
  62.     background-color: #77b08b;
  63.     color: #3c7662;
  64. }
  65.  
  66. tw-story[tags~="night"]{
  67.     background-color: #47345e;
  68.     color: #c78ec7;
  69. }
  70. /*END OF TEMPLATE*/
Advertisement
Add Comment
Please, Sign In to add comment