Skip to content
Snippets Groups Projects
formatting.css 1.6 KiB
Newer Older
  • Learn to ignore specific revisions
  • /* Styles that mainly affect how text looks, but not where it is */
    
    
    DCoded's avatar
    DCoded committed
    .scene-intro,	/* setting at the beginning of a scene / subscene */
    .detail,		/* adds detail to an option: Do something. <span class="detail">Sentence that explains the effect/conditions */
    .note,			/* additional information not related to a specific option */
    .italics {
    
    Arkerthan's avatar
    Arkerthan committed
    	font-family: 'sc-icons';
    
    }
    
    .story-label, .regularParties, .underline {
    
    	text-decoration: underline;
    
    }
    
    /* Note: Do not do a linebreak after span in HTML, because it will underline the automatic space it inserts: "Matilda_is a cow" */
    .slave-name {
    
    	color: pink;
    	font-weight: bold;
    	text-decoration: underline;
    	text-decoration-color: white;
    
    	color: yellow;
    	font-weight: bold;
    
    Arkerthan's avatar
    Arkerthan committed
    /* strong & bold are deprecated, use custom classes instead */
    /* :not(.defiant) : quick fix to make defiant styles look correct */
    .major-link, .bold:not(.defiant), .strong {
    
    lowercasedonkey's avatar
    lowercasedonkey committed
    .monospace {
    
    lowercasedonkey's avatar
    lowercasedonkey committed
    }
    
    
    .strikethrough {
    
    	text-decoration: line-through
    
    .clear-formatting {
    
    	color: white;
    	font-weight: normal;
    	font-style: normal;
    
    .clear-formatting a {
    
    	color: var(--link-color) !important;
    
    .major-warning {
    
    	border-color: #900;
    	background-color: rgba(255, 0, 0, 0.25);
    
    }
    
    input:focus:invalid {
    
    }
    
    input:out-of-range {
    
    	background-color: rgba(255, 0, 0, 0.25);
    	border: 2px solid #900;