2 background-color: rgb(255, 255, 255) !important;
3 box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
5 color: rgb(68, 68, 68) !important;
6 font-family: Consolas, "Courier New", monospace;
10 white-space: pre-wrap;
11 word-break: break-all;
12 word-wrap: break-word;
14 &:not(.redactorCalcHeight)::before,
15 &.woltlabHtml::before {
16 color: $wcfContentLink;
17 content: attr(data-title);
20 font-family: $wcfFontFamily;
23 @include wcfFontHeadline;
32 color: $wcfContentDimmedText;
33 content: attr(data-description);
36 font-family: $wcfFontFamily;
40 @include wcfFontSmall;
46 background-color: $wcfContentBackground;
47 box-shadow: 0 0 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
69 background-image: linear-gradient(
71 opacify($wcfContentBackground, 0.9),
72 transparentize($wcfContentBackground, 1)
89 padding: 10px 10px 10px;
90 margin: -10px -10px 0;
91 background-color: $wcfContentBackground;
96 /* required to avoid layout jumping caused by the dynamically added 24px button */
103 @include wcfFontHeadline;
114 font-family: Consolas, "Courier New", monospace;
124 text-overflow: ellipsis;
126 /* No one has line numbers greater than 999999 */
130 content: attr(title);
135 white-space: pre-wrap;
136 word-break: break-all;
140 background-color: rgba(255, 255, 102, 1);
147 background-color: opacify($wcfContentBackground, 0.9);
150 padding: 10px 20px 0 10px;
153 @include wcfFontSmall;
157 .anchorFixedHeader:not(.disableAnchorFixedHeader):target .codeBoxHeader {
158 top: -30px; /* see wsc31.scss */
161 .dialogContent .codeBox .codeBoxHeader {
162 /* Prevent the header being sticky inside dialogs, which doesn't really work. */
167 https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript&plugins=autoloader */
169 * prism.js default theme for JavaScript, CSS and HTML
170 * Based on dabblet (http://dabblet.com)
211 .language-css .token.string,
212 .style .token.string {
214 background: hsla(0, 0%, 100%, 0.5);