|
@@ -0,0 +1,344 @@
|
|
|
+::StoryCSS [stylesheet]
|
|
|
+
|
|
|
+.flashed-message {
|
|
|
+ border: 1px solid gray;
|
|
|
+ display: block;
|
|
|
+ padding: 5px;
|
|
|
+ margin: 3px;
|
|
|
+}
|
|
|
+
|
|
|
+.hidden {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+
|
|
|
+header#title {
|
|
|
+ height: auto;
|
|
|
+ white-space: normal;
|
|
|
+}
|
|
|
+
|
|
|
+#story-subtitle, #story-author, #story-title-seperator {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/* Notepad Effect */
|
|
|
+
|
|
|
+.notepad {
|
|
|
+ background-color: #f5f5f5;
|
|
|
+ width: 600px;
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+.notepad h4 {
|
|
|
+ color: #cd0000 !important;
|
|
|
+ font-size: 42px !important;
|
|
|
+ letter-spacing: -2px !important;
|
|
|
+ text-align: left !important;
|
|
|
+ margin: 0;
|
|
|
+}
|
|
|
+.notepad ul.list {
|
|
|
+ color: #555 !important;
|
|
|
+ font-size: 22px;
|
|
|
+ padding: 0 !important;
|
|
|
+ width: auto;
|
|
|
+ font-family: courier, monospace;
|
|
|
+ border: 1px solid #dedede;
|
|
|
+ margin: 0;
|
|
|
+}
|
|
|
+.notepad ul.list li {
|
|
|
+ list-style: none;
|
|
|
+ border-bottom: 1px dotted #ccc;
|
|
|
+ text-indent: 25px;
|
|
|
+ height: auto;
|
|
|
+ padding: 10px;
|
|
|
+}
|
|
|
+.notepad .lines {
|
|
|
+ border-left: 1px solid #ffaa9f;
|
|
|
+ border-right: 1px solid #ffaa9f;
|
|
|
+ width: 2px;
|
|
|
+ float: left;
|
|
|
+ margin-left: 40px;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/* Text Message effect from https://codepen.io/2ne/pen/osvpj */
|
|
|
+
|
|
|
+
|
|
|
+@import "https://fonts.googleapis.com/css?family=Open+Sans:400,600,700";
|
|
|
+* {
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+/*
|
|
|
+body {
|
|
|
+ background: none repeat scroll 0 0 #fff;
|
|
|
+ color: #FFFFFF;
|
|
|
+ font-family: "Open Sans";
|
|
|
+ line-height: 26px;
|
|
|
+ width: 400px;
|
|
|
+ margin: 0 auto;
|
|
|
+ overflow-X: hidden;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+*/
|
|
|
+
|
|
|
+.left {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 35px;
|
|
|
+ font-size: 18px
|
|
|
+}
|
|
|
+
|
|
|
+.left:after {
|
|
|
+ border: 3px solid #2095FE;
|
|
|
+ border-right: 3px solid transparent;
|
|
|
+ border-top: 3px solid transparent;
|
|
|
+ content: " ";
|
|
|
+ height: 14px;
|
|
|
+ left: -20px;
|
|
|
+ position: absolute;
|
|
|
+ top: 20px;
|
|
|
+ -webkit-transform: rotate(45deg);
|
|
|
+ -moz-transform: rotate(45deg);
|
|
|
+ transform: rotate(45deg);
|
|
|
+ width: 14px;
|
|
|
+}
|
|
|
+.right {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 15px;
|
|
|
+ font-size: 18px
|
|
|
+}
|
|
|
+header {
|
|
|
+ color: #2095FE;
|
|
|
+ background: #eee;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ border-bottom: 1px solid #bbb;
|
|
|
+ box-shadow: 0 1px 2px rgba(1,1,1,0.2);
|
|
|
+ height: 60px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 20px;
|
|
|
+ line-height: 58px;
|
|
|
+ white-space: nowrap;
|
|
|
+
|
|
|
+}
|
|
|
+header h2 {
|
|
|
+ font-weight: bold;
|
|
|
+ color: #111111;
|
|
|
+}
|
|
|
+ {
|
|
|
+ padding-top: 10px;
|
|
|
+ position: relative;
|
|
|
+ border: 1px solid #ddd;
|
|
|
+ border-top: 0 none;
|
|
|
+}
|
|
|
+.message {
|
|
|
+ border-radius: 20px 20px 20px 20px;
|
|
|
+ margin: 0 15px 10px;
|
|
|
+ padding: 15px 20px;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.message.to {
|
|
|
+ background-color: #2095FE;
|
|
|
+ color: #fff;
|
|
|
+ margin-left: 80px;
|
|
|
+}
|
|
|
+.message.from {
|
|
|
+ background-color: #E5E4E9;
|
|
|
+ color: #363636;
|
|
|
+ margin-right: 80px;
|
|
|
+}
|
|
|
+.message.to + .message.to,
|
|
|
+.message.from + .message.from {
|
|
|
+ margin-top: -7px;
|
|
|
+}
|
|
|
+.message:before {
|
|
|
+ border-color: #2095FE;
|
|
|
+ border-radius: 50% 50% 50% 50%;
|
|
|
+ border-style: solid;
|
|
|
+ border-width: 0 20px;
|
|
|
+ bottom: 0;
|
|
|
+ clip: rect(20px, 35px, 42px, 0px);
|
|
|
+ content: " ";
|
|
|
+ height: 40px;
|
|
|
+ position: absolute;
|
|
|
+ right: -50px;
|
|
|
+ width: 30px;
|
|
|
+ z-index: -1;
|
|
|
+}
|
|
|
+.message.from:before {
|
|
|
+ border-color: #E5E4E9;
|
|
|
+ left: -50px;
|
|
|
+ transform: rotateY(180deg);
|
|
|
+}
|
|
|
+
|
|
|
+/***********************************************************************
|
|
|
+ BLEACHED - A largely white style for SugarCube v2.17.0+
|
|
|
+***********************************************************************/
|
|
|
+body {
|
|
|
+ color: #111;
|
|
|
+ background-color: #fff;
|
|
|
+}
|
|
|
+a {
|
|
|
+ color: #35c;
|
|
|
+}
|
|
|
+a:hover {
|
|
|
+ color: #57e;
|
|
|
+}
|
|
|
+span.link-disabled {
|
|
|
+ color: #777;
|
|
|
+}
|
|
|
+button {
|
|
|
+ color: #111;
|
|
|
+ background-color: #acf;
|
|
|
+ border-color: #8ad;
|
|
|
+}
|
|
|
+button:hover {
|
|
|
+ background-color: #8ad;
|
|
|
+ border-color: #68b;
|
|
|
+}
|
|
|
+button:disabled {
|
|
|
+ background-color: #ccc;
|
|
|
+ border-color: #aaa;
|
|
|
+}
|
|
|
+input, select, textarea {
|
|
|
+ color: #111;
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+input:focus, select:focus, textarea:focus,
|
|
|
+input:hover, select:hover, textarea:hover {
|
|
|
+ background-color: #eee;
|
|
|
+ border-color: #111;
|
|
|
+}
|
|
|
+hr {
|
|
|
+ border-color: #111;
|
|
|
+}
|
|
|
+
|
|
|
+.error {
|
|
|
+ background-color: #eaa;
|
|
|
+ border-left-color: #d77;
|
|
|
+}
|
|
|
+
|
|
|
+#ui-bar {
|
|
|
+ background-color: #eee;
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+#ui-bar hr {
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+#ui-bar-toggle,
|
|
|
+#ui-bar-history [id|="history"] {
|
|
|
+ color: #111;
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+#ui-bar-toggle:hover,
|
|
|
+#ui-bar-history [id|="history"]:hover {
|
|
|
+ background-color: #ccc;
|
|
|
+ border-color: #111;
|
|
|
+}
|
|
|
+#ui-bar-history [id|="history"]:disabled {
|
|
|
+ color: #ccc;
|
|
|
+ background-color: transparent;
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+#menu ul {
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+#menu li:not(:first-child) {
|
|
|
+ border-top-color: #ccc;
|
|
|
+}
|
|
|
+#menu li a {
|
|
|
+ color: #111;
|
|
|
+}
|
|
|
+#menu li a:hover {
|
|
|
+ background-color: #ccc;
|
|
|
+ border-color: #111;
|
|
|
+}
|
|
|
+
|
|
|
+/* Default dialog styling */
|
|
|
+#ui-overlay {
|
|
|
+ background-color: #777;
|
|
|
+}
|
|
|
+#ui-dialog-titlebar {
|
|
|
+ background-color: #ccc;
|
|
|
+}
|
|
|
+#ui-dialog-close:hover {
|
|
|
+ background-color: #b44;
|
|
|
+ border-color: #a33;
|
|
|
+}
|
|
|
+#ui-dialog-body {
|
|
|
+ background-color: #fff;
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+#ui-dialog-body hr {
|
|
|
+ background-color: #ccc;
|
|
|
+}
|
|
|
+
|
|
|
+/* List-based dialog styling */
|
|
|
+#ui-dialog-body.list li:not(:first-child) {
|
|
|
+ border-top-color: #ccc;
|
|
|
+}
|
|
|
+#ui-dialog-body.list li a {
|
|
|
+ color: #111;
|
|
|
+}
|
|
|
+#ui-dialog-body.list li a:hover {
|
|
|
+ background-color: #ccc;
|
|
|
+ border-color: #111;
|
|
|
+}
|
|
|
+
|
|
|
+/* Saves dialog styling */
|
|
|
+#ui-dialog-body.saves > *:not(:first-child),
|
|
|
+#ui-dialog-body.saves tr:not(:first-child) {
|
|
|
+ border-top-color: #ccc;
|
|
|
+}
|
|
|
+#ui-dialog-body.saves .empty {
|
|
|
+ color: #777;
|
|
|
+}
|
|
|
+
|
|
|
+/* Settings dialog styling */
|
|
|
+#ui-dialog-body.settings button[id|="setting-control"] {
|
|
|
+ color: #111;
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+#ui-dialog-body.settings button[id|="setting-control"]:hover {
|
|
|
+ background-color: #eee;
|
|
|
+ border-color: #111;
|
|
|
+}
|
|
|
+#ui-dialog-body.settings button[id|="setting-control"].enabled {
|
|
|
+ background-color: #9e9;
|
|
|
+ border-color: #7c7;
|
|
|
+}
|
|
|
+#ui-dialog-body.settings button[id|="setting-control"].enabled:hover {
|
|
|
+ background-color: #7c7;
|
|
|
+ border-color: #5a5;
|
|
|
+}
|
|
|
+
|
|
|
+/* Debug view styling */
|
|
|
+html:not([data-debug-view]) #debug-view-toggle {
|
|
|
+ color: #111;
|
|
|
+ border-color: #ccc;
|
|
|
+}
|
|
|
+html:not([data-debug-view]) #debug-view-toggle:hover {
|
|
|
+ background-color: #eee;
|
|
|
+ border-color: #111;
|
|
|
+}
|
|
|
+html[data-debug-view] #debug-view-toggle {
|
|
|
+ background-color: #9e9;
|
|
|
+ border-color: #7c7;
|
|
|
+}
|
|
|
+html[data-debug-view] #debug-view-toggle:hover {
|
|
|
+ background-color: #7c7;
|
|
|
+ border-color: #5a5;
|
|
|
+}
|
|
|
+html[data-debug-view] .debug {
|
|
|
+ background-color: #dc9;
|
|
|
+}
|
|
|
+html[data-debug-view] .debug.hidden,
|
|
|
+html[data-debug-view] .debug.hidden .debug {
|
|
|
+ background-color: #bbb;
|
|
|
+}
|
|
|
+
|
|
|
+/*! <<bugreport>> macro for SugarCube 2.x (bleached) */
|
|
|
+#ui-dialog-body.bugreport #bugreport-info{margin-bottom:1em}#ui-dialog-body.bugreport #bugreport-data{display:block;overflow:auto;font-family:monospace,monospace;background-color:#eee;border:1px solid #111;margin:0;padding:6px;height:auto;min-height:200px;white-space:normal}#ui-dialog-body.bugreport .scroll-pad{margin:0;padding:0}
|
|
|
+
|
|
|
+/*! <<checkvars>> macro for SugarCube 2.x (bleached) */
|
|
|
+#ui-dialog-body.checkvars{padding:1em}#ui-dialog-body.checkvars h1{font-size:1.5em;margin-top:0}#ui-dialog-body.checkvars table{border-collapse:collapse;border-spacing:0}#ui-dialog-body.checkvars thead tr{border-bottom:2px solid #ccc}#ui-dialog-body.checkvars tr:not(:first-child){border-top:1px solid #ccc}#ui-dialog-body.checkvars td,#ui-dialog-body.checkvars th{padding:.25em 1em}#ui-dialog-body.checkvars td:first-child,#ui-dialog-body.checkvars th:first-child{padding-left:.5em;border-right:1px solid #ccc}#ui-dialog-body.checkvars td:last-child,#ui-dialog-body.checkvars th:last-child{padding-right:.5em}#ui-dialog-body.checkvars th:first-child{text-align:center}#ui-dialog-body.checkvars td:first-child{font-weight:700;text-align:right}#ui-dialog-body.checkvars td{font-family:monospace,monospace;vertical-align:top;white-space:pre-wrap}#ui-dialog-body.checkvars .scroll-pad{margin:0;padding:0}
|