title: $:/themes/tiddlywiki/vanilla/base tags: [[$:/tags/stylesheet]] \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline /* ** Start with the normalize CSS reset, and then belay some of its effects */ {{$:/themes/tiddlywiki/vanilla/reset}} *, input[type="search"] { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } html button { line-height: 1.2; } /* ** Basic element styles */ html { font-family: {{$:/themes/tiddlywiki/vanilla/settings/fontfamily}}; text-rendering: optimizeLegibility; /* Enables kerning and ligatures etc. */ } html:-webkit-full-screen { background-color: <>; } body.tw-body { font-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}}; line-height: {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}}; color: <>; background-color: <>; word-wrap: break-word; } h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 300; } pre { display: block; padding: 14px; margin-top: 1em; margin-bottom: 1em; word-break: normal; word-wrap: break-word; white-space: pre; white-space: pre-wrap; background-color: <>; border: 1px solid <>; padding: 0 3px 2px; border-radius: 3px; } code { color: <>; background-color: <>; border: 1px solid <>; white-space: pre-wrap; padding: 0 3px 2px; border-radius: 3px; } blockquote { border-left: 5px solid <>; margin-left: 25px; padding-left: 10px; } dl dt { font-weight: bold; margin-top: 6px; } .tw-muted { color: <>; } /* Markdown likes putting code elements inside pre elements */ pre > code { padding: 0; border: none; background-color: inherit; color: inherit; } table { border: 1px solid <>; width: auto; max-width: 100%; caption-side: bottom; margin-top: 1em; margin-bottom: 1em; } table th, table td { padding: 0 7px 0 7px; border-top: 1px solid <>; border-left: 1px solid <>; } table thead tr td, table th { background-color: <>; font-weight: bold; } table tfoot tr td { background-color: <>; } .tw-csv-table { white-space: nowrap; } .tw-tiddler-frame img, .tw-tiddler-frame svg, .tw-tiddler-frame canvas, .tw-tiddler-frame embed, .tw-tiddler-frame iframe { max-width: 100%; } .tw-tiddler-frame embed, .tw-tiddler-frame iframe { width: 100%; height: 600px; } /* ** Links */ a.tw-tiddlylink { text-decoration: none; font-weight: normal; color: <>; -webkit-user-select: inherit; /* Otherwise the draggable attribute makes links impossible to select */ } .tw-sidebar-lists a.tw-tiddlylink { color: <>; } .tw-sidebar-lists a.tw-tiddlylink:hover { color: <>; } a.tw-tiddlylink:hover { text-decoration: underline; } a.tw-tiddlylink-resolves { } a.tw-tiddlylink-shadow { font-weight: bold; } a.tw-tiddlylink-shadow.tw-tiddlylink-resolves { font-weight: normal; } a.tw-tiddlylink-missing { font-style: italic; } a.tw-tiddlylink-external { text-decoration: underline; color: <>; background-color: <>; } a.tw-tiddlylink-external:visited { color: <>; background-color: <>; } a.tw-tiddlylink-external:hover { color: <>; background-color: <>; } /* ** Drag and drop styles */ .tw-tiddler-dragger { position: relative; z-index: -10000; } .tw-tiddler-dragger-inner { position: absolute; display: inline-block; padding: 8px 20px; font-size: 16.9px; font-weight: bold; line-height: 20px; color: <>; text-shadow: 0 1px 0 rgba(0, 0, 0, 1); white-space: nowrap; vertical-align: baseline; background-color: <>; border-radius: 20px; } .tw-tiddler-dragger-cover { position: absolute; background-color: <>; } .tw-dropzone { position: relative; } .tw-dropzone.tw-dragover:before { z-index: 10000; display: block; position: absolute; top: 0; left: 0; right: 0; background: <>; text-align: center; content: "Drop here"; } /* ** Buttons */ button svg, button img { vertical-align: middle; } .btn-invisible { padding: 0; margin: 0; background: none; border: none; } .btn-icon svg { height: 1em; width: 1em; fill: <>; } .btn-big-green { padding: 8px; margin: 4px 8px 4px 8px; background: <>; color: <>; fill: <>; border: none; font-size: 1.2em; line-height: 1.4em; } .tw-sidebar-lists input { color: <>; } .tw-sidebar-lists button { color: <>; fill: <>; } .tw-sidebar-lists button.btn-mini { color: <>; } .tw-sidebar-lists button.btn-mini:hover { color: <>; } button svg.tw-image-button, button .tw-image-button img { height: 1em; width: 1em; } /* ** Tags and missing tiddlers */ .tw-tag-list-item { position: relative; display: inline-block; margin-right: 7px; } .tw-tags-wrapper { margin: 4px 0 14px 0; } .tw-missing-tiddler-label { font-style: italic; font-weight: normal; display: inline-block; font-size: 11.844px; line-height: 14px; white-space: nowrap; vertical-align: baseline; } .tw-tag-label { display: inline-block; padding: 2px 9px; font-size: 0.9em; font-weight: 300; line-height: 1.2em; color: <>; white-space: nowrap; vertical-align: baseline; background-color: <>; border-radius: 8px; } .tw-untagged-label { background-color: <>; } .tw-tag-label svg, .tw-tag-label img { height: 1em; width: 1em; fill: <>; } /* ** Page layout */ .tw-topbar { position: fixed; z-index: 1200; } .tw-topbar-left { left: 29px; top: 5px; } .tw-topbar-right { top: 5px; right: 29px; } .tw-topbar button { padding: 8px; } .tw-topbar svg { fill: <>; } .tw-topbar button:hover svg { fill: <>; } .sidebar-header { color: <>; fill: <>; } .sidebar-header .title a.tw-tiddlylink-resolves { font-weight: 300; } .sidebar-header .tw-sidebar-lists p { margin-top: 3px; margin-bottom: 3px; } .sidebar-header .tw-missing-tiddler-label { color: <>; } .tw-advanced-search input { width: 60%; } .tw-search a svg { height: 0.75em; } .tw-search-results { padding-top: 14px; } .tw-page-controls { margin-top: 14px; font-size: 1.5em; } .tw-page-controls button { margin-right: 0.5em; } .tw-page-controls a.tw-tiddlylink:hover { text-decoration: none; } .tw-page-controls img { width: 1em; } .tw-page-controls svg { fill: <>; } .tw-page-controls button:hover svg, .tw-page-controls a:hover svg { fill: <>; } .tw-menu-list-item { white-space: nowrap; } .tw-menu-list-count { font-weight: bold; } .tw-open-tiddler-list { <> } .tw-menu-list-subitem { padding-left: 7px; } .story-river { position: relative; } .tw-story-spacer { position: absolute; min-height: 100%; } @media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { .sidebar-header { padding: 14px; min-height: 32px; } .story-river { position: relative; padding: 0; } } @media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { .tw-message-box { margin: 21px -21px 21px -21px; } .tw-sidebar-scrollable { position: fixed; top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}}; left: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}}; bottom: 0; right: 0; overflow-y: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 0 -42px; padding: 71px 0 28px 42px; } .story-river { position: relative; left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}; top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}}; width: {{$:/themes/tiddlywiki/vanilla/metrics/storywidth}}; padding: 42px 42px 42px 42px; } <> } @media print { body.tw-body { background-color: transparent; } .sidebar-header, .tw-topbar { display: none; } .story-river { margin: 0; padding: 0; } .story-river .tw-tiddler-frame { margin: 0; border: none; padding: 28px; } } /* ** Tiddler styles */ .tw-tiddler-frame { margin-bottom: 28px; background-color: <>; border: 1px solid <>; } .tw-tiddler-info { padding: 14px 42px 14px 42px; background-color: <>; border-top: 1px solid <>; border-bottom: 1px solid <>; } .tw-tiddler-info p { margin-top: 3px; margin-bottom: 3px; } .tw-tiddler-info .tw-tab-buttons button.tw-tab-selected { background-color: <>; border-bottom: 1px solid <>; } .tw-view-field-table { width: 100%; } .tw-view-field-name { width: 1%; /* Makes this column be as narrow as possible */ text-align: right; font-style: italic; font-weight: 200; } .tw-view-field-value { } @media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { .tw-tiddler-frame { padding: 14px 14px 14px 14px; } .tw-tiddler-info { margin: 0 -14px 0 -14px; } } @media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { .tw-tiddler-frame { padding: 28px 42px 42px 42px; width: {{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}}; } <> .tw-tiddler-info { margin: 0 -42px 0 -42px; } } .tw-site-title, .titlebar { font-weight: 300; font-size: 2.35em; line-height: 1.2em; color: <>; margin: 0; } .tw-system-title-prefix { color: <>; } .titlebar img { height: 1em; } .tw-subtitle { font-size: 0.9em; color: <>; font-weight: 300; } .tw-tiddler-missing .title { font-style: italic; font-weight: normal; } .tw-tiddler-frame .tw-tiddler-controls { float: right; } .tw-tiddler-controls .tw-drop-down { font-size: 0.6em; } .tw-tiddler-controls button { vertical-align: baseline; } .tw-tiddler-controls button svg, .tw-tiddler-controls button img { height: 0.75em; fill: <>; } .tw-tiddler-controls button.tw-selected svg { fill: <>; } .tw-tiddler-controls button.btn-invisible:hover svg { fill: <>; } @media print { .tw-tiddler-controls { display: none; } } .tw-tiddler-help { /* Help prompts within tiddler template */ color: <>; margin-top: 14px; } .tw-tiddler-help a.tw-tiddlylink { color: <>; } .tw-tiddler-frame input.tw-edit-texteditor, .tw-tiddler-frame textarea.tw-edit-texteditor { width: 100%; padding: 3px 3px 3px 3px; border: 1px solid <>; line-height: 1.3em; -webkit-appearance: none; margin: 4px 0 4px 0; } .tw-tiddler-frame .tw-binary-warning { width: 100%; height: 5em; text-align: center; padding: 3em 3em 6em 3em; background: <>; border: 1px solid <>; } .tw-tiddler-frame input.tw-edit-texteditor { background-color: <>; } canvas.tw-edit-bitmapeditor { border: 6px solid <>; cursor: crosshair; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; margin-top: 6px; margin-bottom: 6px; } .tw-edit-bitmapeditor-width { display: block; } .tw-edit-bitmapeditor-height { display: block; } /* ** Toolbar buttons */ .tw-page-controls svg.tw-image-new-button { fill: <>; } .tw-page-controls svg.tw-image-options-button { fill: <>; } .tw-page-controls svg.tw-image-save-button { fill: <>; } .tw-tiddler-controls button svg.tw-image-info-button { fill: <>; } .tw-tiddler-controls button svg.tw-image-edit-button { fill: <>; } .tw-tiddler-controls button svg.tw-image-close-button { fill: <>; } .tw-tiddler-controls button svg.tw-image-delete-button { fill: <>; } .tw-tiddler-controls button svg.tw-image-cancel-button { fill: <>; } .tw-tiddler-controls button svg.tw-image-done-button { fill: <>; } /* ** Tiddler edit mode */ .tw-tiddler-edit-frame em.tw-edit { color: <>; font-style: normal; } .tw-edit-type-dropdown a.tw-tiddlylink-missing { font-style: normal; } .tw-edit-tags { border: 1px solid <>; padding: 4px 8px 4px 8px; } .tw-edit-add-tag { display: inline-block; } .tw-edit-add-tag .tw-add-tag-name input { width: 50%; } .tw-edit-tags .tw-tag-label { display: inline-block; } .tw-edit-tags-list { margin: 14px 0 14px 0; } .tw-tag-editor-label { display: inline-block; margin-right: 7px; } .tw-remove-tag-button { padding-left: 4px; } .tw-tiddler-preview { overflow: auto; } .tw-tiddler-preview-preview { float: right; width: 48%; border: 1px solid <>; margin: 4px 3px 3px 3px; padding: 3px 3px 3px 3px; } .tw-tiddler-preview-edit { width: 48%; } .tw-edit-fields { width: 100%; } .tw-edit-fields table, .tw-edit-fields tr, .tw-edit-fields td { border: none; padding: 4px; } .tw-edit-fields > tbody > .tw-edit-field:nth-child(odd) { background-color: <>; } .tw-edit-fields > tbody > .tw-edit-field:nth-child(even) { background-color: <>; } .tw-edit-field-name { text-align: right; } .tw-edit-field-value input { width: 100%; } .tw-edit-field-remove { } .tw-edit-field-remove svg { height: 1em; width: 1em; fill: <>; vertical-align: middle; } .tw-edit-field-add-name { display: inline-block; width: 15%; } .tw-edit-field-add-button { display: inline-block; width: 10%; } /* ** Dropdowns */ .btn-dropdown { text-align: left; } .btn-dropdown svg, .btn-dropdown img { height: 1em; width: 1em; fill: <>; } .tw-drop-down-wrapper { position: relative; } .tw-drop-down { min-width: 280px; border: 1px solid <>; background-color: <>; padding: 7px 0 7px 0; margin: 4px 0 0 0; white-space: nowrap; text-shadow: none; line-height: 1.4; } .tw-drop-down button svg, .tw-drop-down a svg { fill: <>; } .tw-drop-down button.btn-invisible:hover svg { fill: <>; } .tw-drop-down p { padding: 0 14px 0 14px; } .tw-drop-down svg { width: 1em; height: 1em; } .tw-drop-down img { width: 1em; } .tw-drop-down a, .tw-drop-down button { display: block; padding: 0 14px 0 14px; width: 100%; text-align: left; color: <>; line-height: 1.4; } .tw-drop-down .tw-file-input-wrapper { width: 100%; } .tw-drop-down .tw-file-input-wrapper button { color: <>; } .tw-drop-down a:hover, .tw-drop-down button:hover, .tw-drop-down .tw-file-input-wrapper:hover button { color: <>; background-color: <>; text-decoration: none; } .tw-drop-down .tw-tab-buttons button { background-color: <>; } .tw-drop-down .tw-tab-buttons button.tw-tab-selected { background-color: <>; border-bottom: 1px solid <>; } .tw-drop-down-bullet { display: inline-block; width: 0.5em; } .tw-drop-down .tw-tab-contents a { padding: 0 0.5em 0 0.5em; } .tw-block-dropdown-wrapper { position: relative; } .tw-block-dropdown { position: absolute; min-width: 280px; border: 1px solid <>; background-color: <>; padding: 0 0 0 0; margin: 4px 0 0 0; white-space: nowrap; z-index: 1000; } .tw-block-dropdown a { display: block; padding: 4px 14px 4px 14px; } .tw-drop-down .tw-dropdown-item, .tw-block-dropdown .tw-dropdown-item { padding: 4px 14px 4px 7px; color: <>; } .tw-block-dropdown a:hover { color: <>; background-color: <>; text-decoration: none; } /* ** Modals */ .modal-wrapper { position: fixed; overflow: auto; overflow-y: scroll; top: 0; right: 0; bottom: 0; left: 0; } .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; background-color: <>; } .modal { z-index: 1100; background-color: <>; border: 1px solid <>; } @media (max-width: 55em) { .modal { position: fixed; top: 1em; left: 1em; right: 1em; } .modal-body { overflow-y: auto; max-height: 400px; } } @media (min-width: 55em) { .modal { position: relative; width: 50%; margin: 30px auto; } } .modal-header { padding: 9px 15px; border-bottom: 1px solid <>; } .modal-header h3 { margin: 0; line-height: 30px; } .modal-body { padding: 15px; } .modal-footer { padding: 14px 15px 15px; margin-bottom: 0; text-align: right; background-color: <>; border-top: 1px solid <>; } /* ** Notifications */ .tw-notification { position: fixed; top: 14px; right: 42px; z-index: 1000; max-width: 280px; padding: 0 14px 0 14px; background-color: <>; border: 1px solid <>; } /* ** Tabs */ .tw-tab-set.tw-vertical { display: -webkit-flex; display: flex; } .tw-tab-buttons { font-size: 0.85em; padding-top: 1em; margin-bottom: -1px; } .tw-tab-buttons.tw-vertical { z-index: 100; display: block; padding-top: 14px; vertical-align: top; text-align: right; margin-bottom: inherit; margin-right: -1px; max-width: 33%; -webkit-flex: 0 0 auto; flex: 0 0 auto; } .tw-tab-buttons button.tw-tab-selected { color: <>; background-color: <>; border-left: 1px solid <>; border-top: 1px solid <>; border-right: 1px solid <>; } .tw-tab-buttons button { color: <>; padding: 3px 5px 3px 5px; font-weight: 300; border: none; background: inherit; background-color: <>; border-left: 1px solid <>; border-top: 1px solid <>; border-right: 1px solid <>; } .tw-tab-buttons.tw-vertical button { display: block; width: 100%; margin-top: 3px; text-align: right; background-color: <>; border-left: 1px solid <>; border-bottom: 1px solid <>; border-right: none; } .tw-tab-buttons.tw-vertical button.tw-tab-selected { background-color: <>; border-right: 1px solid <>; } .tw-tab-divider { border-top: 1px solid <>; } .tw-tab-divider.tw-vertical { display: none; } .tw-tab-content { margin-top: 14px; } .tw-tab-content.tw-vertical { display: inline-block; vertical-align: top; padding-top: 0; padding-left: 14px; border-left: 1px solid <>; -webkit-flex: 1 0 70%; flex: 1 0 70%; } .tw-sidebar-lists .tw-tab-buttons button.tw-tab-selected { background-color: <>; color: <>; border-left: 1px solid <>; border-top: 1px solid <>; border-right: 1px solid <>; } .tw-sidebar-lists .tw-tab-buttons button { background-color: <>; color: <>; border-left: 1px solid <>; border-top: 1px solid <>; border-right: 1px solid <>; } .tw-sidebar-lists .tw-tab-divider { border-top: 1px solid <>; } .tw-more-sidebar .tw-tab-buttons button { background-color: <>; border-top: none; border-left: none; border-bottom: none; border-right: 1px solid #ccc; margin-bottom: inherit; } .tw-more-sidebar .tw-tab-buttons button.tw-tab-selected { background-color: <>; border: none; } /* ** Alerts */ .tw-alerts { position: fixed; top: 0; left: 0; max-width: 500px; z-index: 20000; } .tw-alert { position: relative; margin: 28px; padding: 14px 14px 14px 14px; border: 2px solid <>; background-color: <>; } .tw-alert-toolbar { position: absolute; top: 14px; right: 14px; } .tw-alert-toolbar svg { fill: <>; } .tw-alert-subtitle { color: <>; font-weight: bold; } .tw-alert-highlight { color: <>; } .tw-static-alert { position: relative; } .tw-static-alert-inner { padding: 0 2px 2px 42px; color: <>; position: absolute; } /* ** Grids */ .tw-grid-frame td { width: 1em; height: 1em; } /* ** Control panel */ .tw-control-panel td { padding: 4px; } .tw-control-panel table, .tw-control-panel table input, .tw-control-panel table textarea { width: 100%; } .tw-plugin-info { display: block; border: 1px solid <>; background-colour: <>; margin: 1em 0 1em 0; padding: 8px; } .tw-plugin-info-disabled { background: -webkit-repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px); background: repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px); } .tw-plugin-info-disabled:hover { background: -webkit-repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px); background: repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px); } a.tw-tiddlylink.tw-plugin-info:hover { text-decoration: none; background-color: <>; color: <>; } .tw-plugin-info-chunk { display: inline-block; vertical-align: middle; } .tw-plugin-info img { width: 3em; } .tw-plugin-info svg { width: 3em; height: 3em; } .tw-plugin-info-dropdown { border: 1px solid <>; padding: 1em 1em 0 1em; margin-top: -1em; } /* ** Message boxes */ .tw-message-box { border: 1px solid <>; background: <>; padding: 0px 21px 0px 21px; font-size: 12px; line-height: 18px; color: <>; } .tw-message-box img { float: right; width: 150px; margin: 0px 0px 12px 12px; } /* ** Chooser */ .tw-chooser { border: 1px solid <>; } .tw-chooser-item { border: 8px; } .tw-chooser-item a.tw-tiddlylink { display: block; text-decoration: none; color: <>; background-color: <>; margin: 4px; } .tw-chooser-item a.tw-tiddlylink:hover { text-decoration: none; color: <>; background-color: <>; } /* ** Palette swatches */ .tw-swatches-horiz { } .tw-swatches-horiz .tw-swatch { display: inline-block; } .tw-swatch { width: 2em; height: 2em; margin: 4px; border: 1px solid #000; } /* ** Table of contents */ .tw-sidebar-lists .tw-table-of-contents { white-space: nowrap; } .tw-table-of-contents button { color: <>; } .tw-table-of-contents svg { width: 0.7em; height: 0.7em; vertical-align: middle; fill: <>; } .tw-table-of-contents ol { list-style-type: none; padding-left: 0; } .tw-table-of-contents ol ol { padding-left: 1em; } .tw-table-of-contents li { font-size: 1.0em; font-weight: bold; } .tw-table-of-contents li a { font-weight: bold; } .tw-table-of-contents li li { font-size: 0.95em; font-weight: normal; line-height: 1.4; } .tw-table-of-contents li li a { font-weight: normal; } .tw-table-of-contents li li li { font-size: 0.95em; font-weight: 200; line-height: 1.5; } .tw-table-of-contents li li li a { font-weight: bold; } .tw-table-of-contents li li li li { font-size: 0.95em; font-weight: 200; } /* ** Dirty indicator */ body.tw-dirty span.tw-dirty-indicator, body.tw-dirty span.tw-dirty-indicator svg { fill: <>; color: <>; } /* ** File inputs */ .tw-file-input-wrapper { position: relative; overflow: hidden; display: inline-block; vertical-align: middle; } .tw-file-input-wrapper input[type=file] { position: absolute; top: 0; left: 0; right: 0; bottom: 0; font-size: 999px; max-width: 100%; max-height: 100%; filter: alpha(opacity=0); opacity: 0; outline: none; background: white; cursor: pointer; display: inline-block; }