MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* HEDDGEDOCS COLOR PALETTES */
:root {
--hedgedocs-accent-color: #3e7e9e;
--hedgedocs-accent-color-secondary: #4d9ec7;
--hedgedocs-base-border-color: #adb5c2;
--hedgedocs-frame-bg-color: #e9ebec;
--hedgedocs-scrollbar-color: #888888;
--hedgedocs-bg-color: #f0f3f4;
--hedgedocs-bg-color-secondary: #dddddd;
--hedgedocs-header-color: var(--hedgedocs-accent-color);
--hedgedocs-header-fg-color: #f2f8f8;
--hedgedocs-fg-color-light: #333333;
--hedgedocs-fg-color: #202122;
--hedgedocs-link-color: #36c;
--hedgedocs-link-hover: #757575;
--hedgedocs-link-active-color: #00aedf;
--hedgedocs-input-bg-color: #ffffff;
--hedgedocs-input-fg-color: #202122;
--hedgedocs-input-border-color: var(--hedgedocs-input-bg-color);
--hedgedocs-button-bg-color: #bbbbbb;
--hedgedocs-button-bg-color-hover: #999999;
--hedgedocs-button-check-fg-color: #ffffff;
--hedgedocs-button-check-bg-color: var(--hedgedocs-accent-color);
--hedgedocs-button-accent-bg-color: var(--hedgedocs-accent-color);
--hedgedocs-button-accent-fg-color: #ffffff;
--hedgedocs-button-accent-bg-color-hover: var(--hedgedocs-accent-color-secondary);
--hedgedocs-table-header-bg-color: var(--hedgedocs-bg-color-secondary);
--hedgedocs-table-data-bg-color: var(--hedgedocs-frame-bg-color);
--hedgedocs-table-header-fg-color: var(--hedgedocs-fg-color);
--hedgedocs-table-border-color: #B2B2B2;
--hedgedocs-notice-note-header-color: rgba(68, 138, 255, 0.15);
--hedgedocs-notice-note-border-color: rgba(68, 138, 255, 0.75);
--hedgedocs-notice-info-header-color: rgba(0, 184, 212, 0.15);
--hedgedocs-notice-info-border-color: rgba(0, 184, 212, 0.75);
--hedgedocs-notice-warn-header-color: rgba(255, 145, 0, 0.15);
--hedgedocs-notice-warn-border-color: rgba(255, 145, 0, 0.75);
--hedgedocs-notice-example-header-color: rgba(118, 84, 250, 0.15);
--hedgedocs-notice-example-border-color: rgba(118, 84, 250, 0.75);
}
.skin-theme-clientpref-night {
--hedgedocs-accent-color: #0f3885;
--hedgedocs-accent-color-secondary: #0d2a5f;
--hedgedocs-base-border-color: #414658;
--hedgedocs-frame-bg-color: #1a1c24;
--hedgedocs-scrollbar-color: #888888;
--hedgedocs-bg-color: #151515;
--hedgedocs-bg-color-secondary: #272a35;
--hedgedocs-header-fg-color: #f2f8f8;
--hedgedocs-fg-color-light: #e0e6e6;
--hedgedocs-fg-color: #d2d2d2;
--hedgedocs-link-color: #88a3e8;
--hedgedocs-link-hover: #4e67f0;
--hedgedocs-link-active-color: #5082dc;
--hedgedocs-input-bg-color: #222222;
--hedgedocs-input-fg-color: #d2d2d2;
--hedgedocs-input-border-color: var(--hedgedocs-input-bg-color);
--hedgedocs-button-bg-color: #333333;
--hedgedocs-button-bg-color-hover: #555555;
--hedgedocs-button-check-fg-color: #ffffff;
--hedgedocs-button-check-bg-color: var(--hedgedocs-accent-color);
--hedgedocs-table-header-bg-color: #252833;
--hedgedocs-table-data-bg-color: var(--hedgedocs-frame-bg-color);
--hedgedocs-table-header-fg-color: var(--hedgedocs-fg-color);
--hedgedocs-table-border-color: #3A3A3A;
}
:root, .skin-theme-clientpref-night, html.skin-theme-clientpref-night {
--background-color-base: var(--hedgedocs-bg-color);
--background-color-interactive: var(--hedgedocs-bg-color-secondary);
--background-color-interactive-subtle: var(--hedgedocs-bg-color-secondary);
--background-color-neutral-subtle: var(--hedgedocs-bg-color);
--border-color-base: var(--hedgedocs-base-border-color);
}
body {
background-color: var(--hedgedocs-bg-color) !important;
color: var(--hedgedocs-fg-color) !important;
}
.mw-page-container {
background-color: transparent !important;
}
.mw-heading, h1, h2:not(.vector-pinnable-header-label), h3, h4, h5, h6 {
color: var(--hedgedocs-fg-color) !important;
}
/* HEDDGEDOCS DARK THEME TWEAKS */
html.skin-theme-clientpref-night, .skin-theme-clientpref-night * {
// Nullify auto dark mode
filter: none !important;
}
.skin-theme-clientpref-night {
.mw-page-container .vector-icon {
filter: invert() !important;
}
.vector-icon.mw-ui-icon-listBullet {
filter: none !important;
}
.vector-icon.mw-ui-icon-wikimedia-unStar, .vector-icon.mw-ui-icon-wikimedia-star, .vector-icon.mw-ui-icon-wikimedia-expand {
filter: none !important;
}
#vector-page-tools-dropdown-label {
color: var(--hedgedocs-fg-color);
transition: color 0s;
}
.mw-header .vector-icon:not(.vector-dropdown-content .vector-icon) {
filter: brightness(2) !important;
}
.ext-darkmode-link::after {
content: '\263C';
}
.mw-list-item span#skin-theme-beta-notice {
display: none !important;
}
#searchInput, .cdx-text-input__input:enabled, .cdx-text-input__input {
background-color: var(--hedgedocs-input-bg-color) !important;
border-color: var(--hedgedocs-input-border-color) !important;
color: var(--hedgedocs-input-fg-color) !important;
}
.oo-ui-iconElement-icon:not(.oo-ui-checkboxInputWidget-checkIcon, .oo-ui-image-progressive, .oo-ui-icon-error), .oo-ui-indicatorElement-indicator {
filter: invert() !important;
}
}
.ext-darkmode-link::after {
content: '\263E';
display: inline-block;
}
span#skin-theme-beta-notice {
display: none !important;
}
#skin-client-prefs-skin-theme .cdx-radio:first-child {
display: none;
}
/* HEDDGEDOCS FONTS */
// Roboto
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
:root {
--font-size-medium: var(--hedgedocs-font-size);
--hedgedocs-font-size: 16px;
--hedgedocs-font-size-sidebars: 16px;
--hedgedocs-font-size-sidebars-pin-button: 13px;
--hedgedocs-font: 'Roboto', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
--hedgedocs-code-font: 'Roboto Mono', SFMono-Regular, Consolas, Menlo, monospace;
}
body {
-webkit-font-smoothing: antialiased;
}
body, .mw-body, h1, h2, .mw-createacct-benefits-heading, .oo-ui-menuToolGroup-tools .oo-ui-tool-title, .vector-sticky-header-context-bar-primary, .mw-body-content .mw-number-text span {
font-family: var(--hedgedocs-font) !important;
}
body .oo-ui-tool-name-preformatted .oo-ui-tool-link .oo-ui-tool-title, pre, code, tt, kbd, samp, .mw-code {
font-family: var(--hedgedocs-code-font) !important;
}
h1 {
font-weight: bold;
}
/* HEDGEDOCS PAGE STYLING CSS */
.mw-logo-wordmark {
font-size: 17pt;
}
.mw-logo-icon {
font-size: 7pt;
padding-left: 1.5em;
}
.mw-logo {
transition: opacity .25s;
}
.mw-logo:hover {
opacity: 0.7;
}
div.vector-pinnable-header-label, h2.vector-pinnable-header-label {
background: var(--hedgedocs-header-color);
color: var(--hedgedocs-header-fg-color);
padding: 2px 10px 2px 10px;
cursor: default;
margin: 0em !important;
}
button.vector-pinnable-header-toggle-button {
width: 100%;
text-align: center;
font-size: var(--hedgedocs-font-size-sidebars-pin-button);
background-color: var(--hedgedocs-button-bg-color);
padding: 2px 10px 2px 10px;
transition: background-color 0.1s;
margin-bottom: 0.5rem;
}
button.vector-pinnable-header-toggle-button:hover {
background-color: var(--hedgedocs-button-bg-color-hover);
}
div.vector-pinnable-header {
padding-bottom: 0;
margin-bottom: 0;
border-bottom: none;
display: flex;
flex-direction: column;
justify-content: center;
}
div.vector-pinnable-element div.vector-menu-heading {
color: var(--hedgedocs-fg-color-light);
font-weight: bold;
cursor: default;
padding: 6px 0;
border-bottom: none;
}
// Main Menu Items
#vector-main-menu .vector-menu-content .mw-list-item {
//background-color: var(--hedgedocs-accent-color);
//color: var(--hedgedocs-header-fg-color) !important;
//transition: background-color 125ms;
}
#vector-main-menu .vector-menu-content .mw-list-item:hover {
//background-color: var(--hedgedocs-accent-color-secondary);
}
#vector-main-menu .vector-menu-content .mw-list-item a {
//color: var(--hedgedocs-header-fg-color) !important;
//padding: 8px 10px 8px 10px;
font-weight: bold;
text-decoration: none !important;
}
#vector-main-menu .vector-menu-content .mw-list-item a:hover {
//color: var(--hedgedocs-header-fg-color) !important;
text-decoration: none !important;
}
#vector-main-menu .vector-menu-content .mw-list-item {
margin-bottom: 0;
}
.mw-list-item a, .vector-toc-link {
color: var(--hedgedocs-fg-color) !important;
transition: color 125ms;
}
.mw-list-item a:hover, .vector-toc-link:hover {
color: var(--hedgedocs-link-hover) !important;
text-decoration: none;
}
.vector-toc .vector-toc-list-item-active > a.vector-toc-link, .vector-toc .vector-toc-level-1-active:not(.vector-toc-list-item-expanded) > a.vector-toc-link, .vector-toc .vector-toc-list-item-active.vector-toc-level-1-active > a.vector-toc-link {
color: var(--hedgedocs-link-active-color) !important;
font-weight: inherit;
}
.vector-pinnable-element, .vector-pinnable-header-label {
font-size: var(--hedgedocs-font-size-sidebars) !important;
}
.vector-pinned-container {
background-color: var(--hedgedocs-bg-color) !important;
}
.vector-sticky-pinned-container::after {
background: linear-gradient(rgba(255, 255, 255, 0), var(--hedgedocs-bg-color)) !important;
}
#toc-mw-content-text {
display: none;
}
div.vector-toc-pinnable-header {
margin-bottom: .25rem;
}
.vector-toc .vector-toc-toggle {
top: 4px !important;
}
.vector-toc button.vector-pinnable-header-toggle-button {
display: none !important;
}
.vector-toc .vector-toc-list-item-active > a.vector-toc-link span, .vector-toc .vector-toc-level-1-active:not(.vector-toc-list-item-expanded) > a.vector-toc-link span, .vector-toc .vector-toc-list-item-active.vector-toc-level-1-active > a.vector-toc-link span {
border-left: .25em solid;
padding-left: .5em;
}
.vector-page-titlebar .firstHeading {
padding-bottom: 6px !important;
}
.firstHeading.mw-first-heading {
font-size: 2.2rem;
}
.vector-menu-tabs .mw-list-item.vector-tab-noicon > a, #vector-page-tools-dropdown-label {
padding: 9px 0 7px 0 !important;
}
.vector-header-container header.mw-header, .vector-header-container div.vector-sticky-header {
background-color: transparent;
max-width: 99.75rem;
}
.vector-feature-limited-width-clientpref-0 .vector-header-container header.mw-header, .vector-header-container div.vector-sticky-header {
max-width: none;
}
.vector-header-container {
background-color: var(--hedgedocs-header-color);
box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3), 0 0.4rem 4rem rgba(0, 0, 0, 0.15);
align-items: center;
justify-content: center;
min-height: 5rem;
margin-bottom: 1rem;
}
.vector-header-container div.vector-sticky-header {
color: var(--hedgedocs-header-fg-color);
border: none;
}
.vector-header-container .vector-button-flush-left {
margin-right: -24px;
}
.vector-header-container .vector-header-start .vector-button-flush-right {
margin-right: -24px;
}
.vector-header-container .vector-header-end .vector-button-flush-right {
margin-right: -6px;
}
.vector-header-container div.vector-sticky-header .vector-icon {
filter: invert();
}
.mw-header a:not(.vector-menu-content a, a.cdx-typeahead-search__search-footer), .mw-header a:visited:not(.vector-menu-content a), .user-links-collapsible-item a:not(.vector-dropdown-content .user-links-collapsible-item a) {
color: var(--hedgedocs-header-fg-color) !important;
}
.mw-header a:not(.vector-menu-content a, a.cdx-typeahead-search__search-footer):hover, .mw-header a:visited:not(.vector-menu-content a):hover, .user-links-collapsible-item a:not(.vector-dropdown-content .user-links-collapsible-item a):hover {
color: var(--hedgedocs-header-fg-color) !important;
}
.vector-dropdown div.vector-dropdown-content {
background-color: var(--hedgedocs-bg-color);
}
.mw-header .vector-icon:not(.vector-dropdown-content .vector-icon ) {
filter: invert();
}
.vector-user-menu-logged-in .vector-dropdown-label::after {
background-color: var(--hedgedocs-header-fg-color) !important;
}
.mw-header .vector-icon:not(.vector-dropdown-content .vector-icon) {
filter: invert() brightness(2);
}
.vector-header .cdx-button.cdx-button--icon-only {
min-width: 32px !important;
}
@media screen and (max-width: calc(639px)) {
.vector-header {
flex-flow: row !important;
}
.mw-logo {
min-width: 11em !important;
}
}
.cdx-menu {
color: var(--hedgedocs-fg-color);
}
.mw-footer li {
color: var(--hedgedocs-fg-color) !important;
}
#searchInput, .cdx-text-input__input:enabled, .cdx-text-input__input {
background-color: var(--hedgedocs-input-bg-color) !important;
border-color: var(--hedgedocs-input-border-color) !important;
color: var(--hedgedocs-input-fg-color) !important;
}
.oo-ui-checkboxInputWidget [type='checkbox'] + span {
background-color: var(--hedgedocs-input-bg-color);
color: var(--hedgedocs-fg-color);
}
.oo-ui-textInputWidget input.oo-ui-inputWidget-input{
background-color: var(--hedgedocs-input-bg-color);
}
.oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled {
background-color: var(--hedgedocs-input-bg-color) !important;
color: var(--hedgedocs-input-fg-color) !important;
}
.cdx-text-input__input:enabled~.cdx-text-input__icon-vue {
color: var(--hedgedocs-input-fg-color) !important;
opacity: 0.5 !important;
}
span.cdx-text-input__icon.cdx-text-input__start-icon {
background-color: var(--hedgedocs-input-fg-color) !important;
opacity: 0.5 !important;
}
textarea {
background-color: var(--hedgedocs-bg-color);
}
button.cdx-button, button.cdx-button:enabled, .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
background-color: var(--hedgedocs-button-bg-color);
border: none;
transition: background-color 0.1s;
}
button.cdx-button:hover, .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
background-color: var(--hedgedocs-button-bg-color-hover) !important;
}
.cdx-button.cdx-button--weight-primary.cdx-button--action-progressive, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button, .oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link {
background-color: var(--hedgedocs-button-accent-bg-color) !important;
transition: background-color 0.1s;
}
.cdx-button.cdx-button--weight-primary.cdx-button--action-progressive:hover, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover, .oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link:hover {
background-color: var(--hedgedocs-button-accent-bg-color-hover) !important;
}
.cdx-radio__icon {
background-color: var(--hedgedocs-button-bg-color) !important;
}
.cdx-radio:hover .cdx-radio__icon {
background-color: var(--hedgedocs-button-bg-color-hover) !important;
}
.cdx-radio__input:enabled:checked+.cdx-radio__icon {
background-color: var(--hedgedocs-button-check-fg-color) !important;
border-color: var(--hedgedocs-button-check-bg-color) !important;
}
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate + span {
background-color: var(--hedgedocs-button-check-bg-color) !important;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
background-color: var(--hedgedocs-button-accent-bg-color) !important;
color: var(--hedgedocs-button-accent-fg-color) !important;
}
.tdg-templateDataParamWidget-param-alias:first-child {
background-color: var(--hedgedocs-bg-color-secondary) !important;
color: var(--hedgedocs-fg-color-light) !important;
border-color: var(--hedgedocs-base-border-color);
}
.oo-ui-toolbar-bar {
background-color: var(--hedgedocs-bg-color-secondary) !important;
color: var(--hedgedocs-fg-color) !important;
}
.oo-ui-menuToolGroup, .oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
border-color: var(--hedgedocs-bg-color) !important;
}
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link {
color: var(--hedgedocs-header-fg-color) !important;
background-color: var(--hedgedocs-header-color) !important;
}
.editOptions {
background-color: var(--hedgedocs-bg-color-secondary);
color: var(--hedgedocs-fg-color);
}
.editCheckboxes {
margin-bottom: .5rem;
}
.oo-ui-panelLayout-framed {
border: none;
background-color: var(--hedgedocs-frame-bg-color);
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected {
background-color: var(--hedgedocs-frame-bg-color) !important;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected .oo-ui-labelElement-label, .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget .oo-ui-labelElement-label {
border: none !important;
}
.approved-revision {
background-color: transparent !important;
border: 3px solid;
color: var(--hedgedocs-fg-color) !important;
}
#mw-content-text {
margin-top: 0 !important;
}
figure[typeof~='mw:File/Thumb'] {
background-color: transparent !important;
border: none !important;
margin-bottom: 0.5em !important;
}
figure[typeof~='mw:File/Thumb'].mw-halign-left {
margin-bottom: 0.5em !important;
}
figure[typeof~='mw:File/Thumb'] > .mw-file-description > img {
background-color: transparent !important;
border: none !important;
}
figure[typeof~='mw:File/Thumb'] > .mw-file-description::after {
display: none !important;
}
figure[typeof~='mw:File/Thumb'] > figcaption {
background-color: transparent !important;
border: none !important;
padding: 5px !important;
}
.mw-body-content a {
color: var(--hedgedocs-link-color);
}
.mw-body-content a:visited, .mw-body-content a:visited:hover{
color: var(--hedgedocs-link-color);
}
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: var(--hedgedocs-table-header-bg-color) !important;
color: var(--hedgedocs-table-header-fg-color) !important;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
background-color: var(--hedgedocs-table-data-bg-color);
color: var(--hedgedocs-fg-color);
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
border: 1px solid var(--hedgedocs-table-border-color) !important;
padding: 5px 9px;
}
code, pre {
background-color: var(--hedgedocs-frame-bg-color);
border-color: var(--hedgedocs-base-border-color);
color: var(--hedgedocs-fg-color-light);
scrollbar-color: var(--hedgedocs-scrollbar-color) transparent;
}
pre {
overflow: auto;
white-space: pre;
}
/* HEDGEDOCS CUSTOM ELEMENTS */
.hedgedocs-card {
display: grid;
background-color: var(--hedgedocs-frame-bg-color);
padding: 5px 20px 25px 20px;
margin-bottom: 1rem;
border-radius: 2px;
}
.hedgedocs-card-header p {
margin: .5rem 0 0 0 !important;
font-weight: bolder;
font-size: 25px;
}
.hedgedocs-card-header {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 1;
grid-row-end: 2;
}
.hedgedocs-card-description {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 2;
grid-row-end: 3;
text-align: justify;
}
.hedgedocs-card-button {
grid-column-start: 2;
grid-column-end: 3;
grid-row-start: 3;
grid-row-end: 4;
text-align: right;
}
.hedgedocs-card-button a {
background-color: var(--hedgedocs-button-accent-bg-color);
color: var(--hedgedocs-button-accent-fg-color) !important;
padding: 10px 30px !important;
background-image: none !important;
transition: background-color 0.1s;
border-radius: 2px;
}
.hedgedocs-card-button a:hover {
background-color: var(--hedgedocs-button-accent-bg-color-hover);
text-decoration: none !important;
}
.hedgedocs-card-button p {
margin: 0 !important;
}
.hedgedocs-home-links {
display: flex;
flex-direction: column;
justify-content: center;
}
.hedgedocs-home-links a {
display: inline-block;
background-color: var(--hedgedocs-button-accent-bg-color);
color: var(--hedgedocs-button-accent-fg-color) !important;
padding: 10px 0px 10px 0px !important;
text-align: center;
margin-bottom: 10px;
background-image: none !important;
transition: background-color 0.1s;
width: 100%;
margin-left: 0;
margin-right: 0;
border-radius: 2px;
}
.hedgedocs-home-links a:hover {
background-color: var(--hedgedocs-button-accent-bg-color-hover);
text-decoration: none !important;
}
.hedgedocs-home-links p {
margin: 0 0 1.5em 0 !important;
}
.hedgedocs-home-links a {
margin-left: 0;
margin-right: 0;
}
.hedgedocs-homepage-scripts {
display: none;
}
:root {
--imagePreview-finalScale: 1.75;
--imagePreview-finalScale-bounce: 1.765;
}
.imagePreview-background {
background: #000000;
visibility: visible;
display: inherit;
opacity: 85%;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 9;
transition: opacity 2s;
animation: fadein 0.25s;
cursor: default;
}
.imagePreview {
text-align: center;
opacity: 0;
justify-content: center;
display: none;
z-index: 9;
position: fixed;
transition: opacity 0.25s;
}
.imagePreview-image {
flex-direction: column;
align-items: center;
display: none;
z-index: 9;
position: fixed;
margin: auto;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
}
.imagePreview-image-element {
display: block;
cursor: default !important;
object-fit: contain;
max-width: 20vw;
max-height: 15vw;
}
@media screen and (max-width: 76.25em) {
.imagePreview-image-element {
max-width: 50vw;
max-height: 45vw;
}
}
.imagePreview-image-caption {
display: block;
width: -moz-fit-content;
width: 100%;
color: #888888 !important;
margin-top: .5rem;
font-size: 10px;
line-height: 12px;
text-align: left;
}
.imagePreview-image-caption:hover {
color: #CCCCCC !important;
}
.scaleup {
animation: scaleup 0.25s forwards;
}
.scaledown {
animation: scaledown 0.3s forwards;
}
@keyframes scaleup {
0% {
opacity: 0%;
transform: translate(-50%, -50%) scale(0);
}
80% {
opacity: 100%;
transform: translate(-50%, -50%) scale(var(--imagePreview-finalScale-bounce));
}
100% {
opacity: 100%;
transform: translate(-50%, -50%) scale(var(--imagePreview-finalScale));
}
}
@keyframes scaledown {
0% {
opacity: 100%;
transform: translate(-50%, -50%) scale(var(--imagePreview-finalScale));
}
80% {
opacity: 0%;
}
100% {
opacity: 0%;
transform: translate(-50%, -50%) scale(0);
}
}
.hedgedocs-infobox {
display: flex;
flex-direction: column;
justify-content: center;
border: 1px solid var(--hedgedocs-base-border-color);
background-color: var(--hedgedocs-frame-bg-color);
padding: 7px 13px 10px 13px;
margin-bottom: 1em;
font-size: 88%;
float: right;
clear: right;
width: 17rem;
margin-left: 1rem;
}
.hedgedocs-infobox tr {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
}
.hedgedocs-infobox tbody {
display: block;
width: 100%;
}
@media screen and (max-width: 76.25em) {
.hedgedocs-infobox {
float: none;
clear: none;
margin: auto;
width: 20rem;
}
}
.hedgedocs-infobox-title {
font-size: 1.2em;
font-weight: bold;
text-align: center;
padding-bottom: 0.2rem;
}
.hedgedocs-infobox-image {
text-align: center;
padding-bottom: 0.75rem;
}
.hedgedocs-infobox-image img {
max-width: 100%;
height: auto;
}
.hedgedocs-infobox-label {
font-weight: bold;
width: 50%;
vertical-align: top;
}
.hedgedocs-infobox-data {
width: 50%;
}
.hedgedocs-infobox-website,
.hedgedocs-infobox-download {
padding-top: 0.25rem;
width: 100%;
}
.hedgedocs-infobox .hedgedocs-infobox-links a {
display: block;
padding: .5em !important;
background-color: var(--hedgedocs-button-accent-bg-color);
color: var(--hedgedocs-button-accent-fg-color) !important;
text-decoration: none;
background-image: none !important;
width: auto;
transition: background-color 125ms;
}
.hedgedocs-infobox a:hover {
background-color: var(--hedgedocs-button-accent-bg-color-hover);
color: var(--hedgedocs-button-accent-fg-color);
text-decoration: none;
}
.hedgedocs-notice {
border: 1px solid;
border-radius: 2px;
color: var(--hedgedocs-fg-color);
box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.051), 0 0 0.05rem rgba(0, 0, 0, 0.102);
margin: 1.5rem 0;
}
.hedgedocs-notice-note {
border-color: var(--hedgedocs-notice-note-border-color);
.hedgedocs-notice-header {
background-color: var(--hedgedocs-notice-note-header-color);
}
}
.hedgedocs-notice-info {
border-color: var(--hedgedocs-notice-info-border-color);
.hedgedocs-notice-header {
background-color: var(--hedgedocs-notice-info-header-color);
}
}
.hedgedocs-notice-warn {
border-color: var(--hedgedocs-notice-warn-border-color);
.hedgedocs-notice-header {
background-color: var(--hedgedocs-notice-warn-header-color);
}
}
.hedgedocs-notice-example {
border-color: var(--hedgedocs-notice-example-border-color);
.hedgedocs-notice-header {
background-color: var(--hedgedocs-notice-example-header-color);
}
}
.hedgedocs-notice .hedgedocs-notice-header {
font-weight: bold;
color: var(--hedgedocs-fg-color);
padding: 7px 15px;
}
.hedgedocs-notice-content {
padding: 15px;
background-color: var(--hedgedocs-frame-bg-color);
white-space: pre-wrap;
}
.hedgedocs-notice-content p {
display: inline-block;
padding: 0;
margin: 0 !important;
}