*, *:before, *:after { box-sizing: border-box; // remove tap highlighting to fix nasty android behaviour ... -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; } // media img { display: inline-block; vertical-align: middle; } img, object, embed { max-width: 100%; height: auto; } object, embed { height: 100%; } // links a, a:visited, a:link { /*color: var(--color-text);*/ text-decoration: none; //transition: color .2s, transform .2s, background .2s; } button { -webkit-appearance: none; border: none; background: transparent; cursor: pointer; padding: 0; margin: 0; text-align: left; } // headlines h1 { font-size: calc(1.4rem + 0.1vmin); font-weight: 400; margin: -0.3rem 0 3rem; } h2 { font-size: calc(1.4rem + 0.1vmin); font-weight: 400; margin: 0 0 2rem; } // lists ul { margin: 0; padding: 0; } ul li { list-style: none inside; margin-bottom: 0; padding-left: 16px; position: relative; } ul li:last-child { margin-bottom: 0; } ul li:before { content: ' '; display: inline-block; width: 4px; height: 4px; border-radius: 12px; background: var(--color-text); position: absolute; left: 1px; top: 9px; } ol { margin: 0; padding: 0; } ol li { list-style-position: outside; margin-left: 1em; margin-bottom: 20px; position: relative; } ol li:last-child { margin-bottom: 0; } li { line-height: 1.8; } li > * { margin: 0 !important; padding: 0 !important; display: inline; } // remove outline from active elements a[href], button { &:focus { outline: var(--color-button-focus-outline); outline-offset: 2px; outline: none; // TODO deactivated for now as it always shows on clicks } } /*a[href], button { position: relative; overflow: visible !important; &:focus { outline: none; } &:focus:after { content: ''; position: absolute; z-index: 10; left: -4px; top: -4px; right: -4px; bottom: -4px; border-radius: 7px; border: var(--color-button-focus-outline); } }*/ // tables table { border-collapse: collapse; } // misc hr { margin: 20px 0; border: none; border-bottom: 1px solid var(--color-line); } sup { margin-left: 5px; font-size: 0.7em; } // media iframe, video { margin-top: 20px; } code { border-radius: 3px; padding: 1px 4px; border: 1px dashed var(--color-line-dashed); background: var(--color-bg-shade-2); color: var(--color-text); } // screenreader .sr-only { height: 1px; width: 1px; clip: rect(1px, 1px, 1px, 1px); overflow: hidden; position: absolute; opacity: 0.01; } /// scrollbar * { //scrollbar-color: var(--color-bg-mid) transparent; scrollbar-width: thin; } ::-webkit-scrollbar { width: 7px; height: 7px; background-color: transparent; } /*::-webkit-scrollbar-thumb { background: var(--color-bg-mid); }*/ /// ui resizable .ui-resizing { user-select: none; }