samthecookielord

Basic Deadly Dark Twine Stylesheet Template for Harlowe

Mar 6th, 2024
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.87 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
  2. /*TWINE BASIC STYLESHEET TEMPLATE FOR HARLOWE 3.3.8 - DEADLY DARK*/
  3. /*I made this as an easy to understand sheet for beginners with lots of comments to explain things!
  4. * This is also just what I normally use for most of my Twine games!
  5. 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*/
  6. tw-story { /*this styles the whole game*/
  7.    background-color: #3f2c2c;
  8.    color: #994747;
  9.    font: 40px "Shadows Into Light"; /*see: https://www.w3schools.com/Css/css_font.asp*/
  10.    font-family: "Shadows Into Light", cursive;
  11. }
  12.  
  13. tw-link,enchantment-link{ /*this styles regular passage links*/
  14.     background-color: default;
  15.     color: #b40000;
  16. }
  17.  
  18. tw-link:hover,enchantment-link:hover{ /*this styles regular passage links when hovered over with a cursor*/
  19.     background-color: default;
  20.     color: #d71568;
  21. }
  22.  
  23. tw-link.visited,enchantment-link.visited{ /*this styles links to passages you have already visited before*/
  24.     background-color: default;
  25.     color: #8d0094;
  26. }
  27.  
  28. tw-link.visited:hover,enchantment-link.visited:hover{ /*this styles visited passage links you hover over*/
  29.     background-color: default;
  30.     color: #7b407d;
  31. }
  32.  
  33. /*SIDEBAR -- these affect Twine's built in sidebar
  34. * 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
  35. * 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
  36. */
  37. tw-sidebar { /*this styles the sidebar itself - the box where the buttons sit*/
  38.     display: default;
  39.     visibility: default;
  40.     opacity: default; /*from 0-100%*/
  41.     background-color: #2f0000;
  42.     color: default;
  43.     /*creating a tall solid bar...for dramatic effect! or something!*/
  44.     height: 2000px;
  45.     margin-top:-150px;
  46.     overflow: visible;
  47. }
  48. tw-icon[title="Undo"] { /*this styles the undo button*/
  49.     display: default;
  50.     visibility: hidden;
  51.     opacity: default; /*from 0-100%*/
  52.     background-color: default;
  53.     color: default;
  54. }
  55. tw-icon[title="Redo"] { /*this styles the redo button*/
  56.     display: default;
  57.     visibility: hidden;
  58.     opacity: default; /*from 0-100%*/
  59.     background-color: default;
  60.     color: default;
  61. }
  62.  
  63. /*TAGGED PASSAGES -- want specific passages to be different than others? you can do this with tags!
  64. *See the examples below. Try assigning two different passages new tags named "forest" and "terror" respectively!
  65. */
  66. tw-story[tags~="forest"]{
  67.     background-color: #3e6158;
  68.     color: #769188;
  69. }
  70.  
  71. tw-story[tags~="terror"]{
  72.     background-color: #ba2c2c;
  73.     color: #670000;
  74. }
  75. /*END OF TEMPLATE*/
Advertisement
Add Comment
Please, Sign In to add comment