wovenstarlight

ORV System Workskin CSS

Jan 11th, 2021 (edited)
1,173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.66 KB | None | 0 0
  1. /* Companion paste to my HTML for the ORV System AO3 work skin. Be sure to credit @wovenstarlight when using this.
  2. Notable features are annotated in comments, so that you can modify them if you'd like.
  3.  
  4. HOW TO USE:
  5. - Go to the following link: https://archiveofourown.org/skins/new?skin_type=WorkSkin
  6. - Enter a recognizable name in the Title field, such as "ORV System Windows".
  7. - Copy everything after the line "Have fun!" and paste it in the "CSS" field, then hit save.
  8. - Edit the work you want to use this skin in. If it's a multi-chapter work, you'll want to edit the entire work, not just a single chapter. Scroll down to the "Associations" section; in the last option, "Select Work Skin", pick the name that you saved this work skin under. Save the work. You will now be able to add in this skin's associated HTML and create system windows similar to the preview.
  9.  
  10. THIS WORK SKIN ONLY WORKS IN COMBINATION WITH ITS COMPANION HTML, AVAILABLE HERE: https://pastebin.com/BmLznhvj
  11.  
  12. Have fun! */
  13.  
  14. /* The main window. Change the width of your windows by altering the "max-width" value below. */
  15. #workskin .userstuff > .blue {
  16. margin: 2em auto;
  17. max-width: 600px;
  18. }
  19.  
  20. /* Angular borders, blue and white. */
  21. #workskin .blue {
  22.   background: -moz-linear-gradient(45deg, transparent 10px, #3abafd 10px), -moz-linear-gradient(315deg, transparent 20px, #3abafd 20px), -moz-linear-gradient(225deg, transparent 10px, #3abafd 10px), -moz-linear-gradient(135deg, transparent 20px, #3abafd 20px);
  23. }
  24. #workskin .blue {
  25.   background: -o-linear-gradient(45deg, transparent 10px, #3abafd 10px), -o-linear-gradient(315deg, transparent 20px, #3abafd 20px), -o-linear-gradient(225deg, transparent 10px, #3abafd 10px), -o-linear-gradient(135deg, transparent 20px, #3abafd 20px);
  26. }
  27. #workskin .blue {
  28.   background: -webkit-linear-gradient(45deg, transparent 10px, #3abafd 10px), -webkit-linear-gradient(315deg, transparent 20px, #3abafd 20px), -webkit-linear-gradient(225deg, transparent 10px, #3abafd 10px), -webkit-linear-gradient(135deg, transparent 20px, #3abafd 20px);
  29. }
  30. #workskin .blue {
  31.   background: linear-gradient(45deg, transparent 10px, #3abafd 10px), linear-gradient(315deg, transparent 20px, #3abafd 20px), linear-gradient(225deg, transparent 10px, #3abafd 10px), linear-gradient(135deg, transparent 20px, #3abafd 20px);
  32. }
  33. #workskin .white {
  34.   background: -moz-linear-gradient(45deg, transparent 10px, #f0fefe 10px), -moz-linear-gradient(315deg, transparent 20px, #f0fefe 20px), -moz-linear-gradient(225deg, transparent 10px, #f0fefe 10px), -moz-linear-gradient(135deg, transparent 20px, #f0fefe 20px);
  35. }
  36. #workskin .white {
  37.   background: -o-linear-gradient(45deg, transparent 10px, #f0fefe 10px), -o-linear-gradient(315deg, transparent 20px, #f0fefe 20px), -o-linear-gradient(225deg, transparent 10px, #f0fefe 10px), -o-linear-gradient(135deg, transparent 20px, #f0fefe 20px);
  38. }
  39. #workskin .white {
  40.   background: -webkit-linear-gradient(45deg, transparent 10px, #f0fefe 10px), -webkit-linear-gradient(315deg, transparent 20px, #f0fefe 20px), -webkit-linear-gradient(225deg, transparent 10px, #f0fefe 10px), -webkit-linear-gradient(135deg, transparent 20px, #f0fefe 20px);
  41. }
  42. #workskin .white {
  43.   background: linear-gradient(45deg, transparent 10px, #f0fefe 10px), linear-gradient(315deg, transparent 20px, #f0fefe 20px), linear-gradient(225deg, transparent 10px, #f0fefe 10px), linear-gradient(135deg, transparent 20px, #f0fefe 20px);
  44. }
  45.  
  46. /* General setup for the main window. */
  47. #workskin .windorv {
  48.   background-position: bottom left, bottom right, top right, top left;
  49.   -moz-background-size: 50% 50%;
  50.   -webkit-background-size: 50% 50%;
  51.   background-size: 50% 50%;
  52.   background-repeat: no-repeat;
  53.   padding: 2px;
  54.   box-shadow: 0 0 20px 10px #4fffff11, 0 0 10px 20px #4fffff11 inset;
  55.   border-radius: 15px;
  56. }
  57. /* Accounting for AO3's additional <p> tags. */
  58. #workskin .windorv p {
  59.   margin: 0;
  60.   padding: 0 !important;
  61. }
  62.  
  63. /* Styling for the text within the window. */
  64. #workskin .lastwin {
  65.   padding: 10px 5px;
  66.   color: #f0fefe;
  67.   font-family: Trebuchet MS, sans-serif;
  68.   text-transform: uppercase;
  69.   text-shadow: 0 0 5px #052160;
  70.   font-weight: bold;
  71. }
  72.  
  73. /* The minimize, resize, and close buttons on the window. */
  74. .lastwin::before {
  75.   content: "— ❐ ✖";
  76.   float: right;
  77.   padding: 2px 15px 0 0;
  78.   font-size: 1.2em;
  79. }
  80.  
  81. /* Aligning the paragraphs within the window. */
  82. #workskin .lastwin p {
  83.   margin-left: auto;
  84.   margin-right: auto;
  85.   text-align: center;
  86.   width: fit-content;
  87. }
  88. #workskin .lastwin p {
  89.   width: -webkit-fit-content;
  90. }
  91. #workskin .lastwin p {
  92.   width: -moz-fit-content;
  93. }
  94.  
  95. /* Scenario window navigation bar, angular and underlying borders. */
  96. #workskin .outer {
  97.   padding: 1px;
  98.   box-shadow: 0px 10px 0px 0px #3abafd, 0px 16px 0px -1px #f0fefe;
  99.   margin-bottom: 25px;
  100.   margin-top: -5px;
  101.   background: linear-gradient(225deg, transparent 10px, #f0fefe 10px), linear-gradient(315deg, transparent 20px, #f0fefe 20px);
  102. }
  103. #workskin .outer {
  104.   background: -moz-linear-gradient(225deg, transparent 10px, #f0fefe 10px), -moz-linear-gradient(315deg, transparent 20px, #f0fefe 20px);
  105. }
  106. #workskin .outer {
  107.   background: -o-linear-gradient(225deg, transparent 10px, #f0fefe 10px), -o-linear-gradient(315deg, transparent 20px, #f0fefe 20px);
  108. }
  109. #workskin .outer {
  110.   background: -webkit-linear-gradient(225deg, transparent 10px, #f0fefe 10px), -webkit-linear-gradient(315deg, transparent 20px, #f0fefe 20px);
  111. }
  112.  
  113. /* More navbar angular borders and navbar text styling. */
  114. #workskin .inner {
  115.   padding: 4px;
  116.   font-size: 1.2em;
  117.   text-align: center;
  118.   background: linear-gradient(225deg, transparent 10px, #5cebfc 10px), linear-gradient(315deg, transparent 20px, #5cebfc 20px);
  119. }
  120. #workskin .inner {
  121.   background: -moz-linear-gradient(225deg, transparent 10px, #5cebfc 10px), -moz-linear-gradient(315deg, transparent 20px, #5cebfc 20px);
  122. }
  123. #workskin .inner {
  124.   background: -o-linear-gradient(225deg, transparent 10px, #5cebfc 10px), -o-linear-gradient(315deg, transparent 20px, #5cebfc 20px);
  125. }
  126. #workskin .inner {
  127.   background: -webkit-linear-gradient(225deg, transparent 10px, #5cebfc 10px), -webkit-linear-gradient(315deg, transparent 20px, #5cebfc 20px);
  128. }
  129.  
  130. /* Navbar styling. */
  131. #workskin .scenario {
  132.   background-position: top right, top left;
  133.   -moz-background-size: 50% 100%;
  134.   -webkit-background-size: 50% 100%;
  135.   background-size: 50% 100%;
  136.   background-repeat: no-repeat;
  137. }
  138.  
  139. /* Styling for the headings, like scenario name and clear conditions. */
  140. #workskin .header {
  141.   font-size: 1.4em;
  142.   margin-top: 10px !important;
  143.   margin-bottom: 10px !important;
  144. }
  145.  
  146. /* Styling for all other text in the scenario window. */
  147. #workskin .lastwin p:not(.header) {
  148.   text-align: left;
  149. }
Add Comment
Please, Sign In to add comment