WIP style adjustments to match eh22 styleguide

This commit is contained in:
kritzl 2025-02-15 03:32:26 +01:00
commit 9402a254c6
Signed by: kritzl
SSH key fingerprint: SHA256:5BmINP9VjZWaUk5Z+2CTut1KFhwLtd0ZynMekKbtViM
56 changed files with 966 additions and 232 deletions

View file

@ -5,7 +5,7 @@
html, body {
background-color: @ini_background_site;
background-color: var(--color-background);
}
/* highlight selected tool */
@ -26,7 +26,11 @@ html, body {
.page ol li,
.page ul li,
.aside ul li {
color: @ini_text;
color: var(--color-foreground);
.li {
color: var(--color-foreground);
}
}
.pageId {
@ -41,7 +45,7 @@ html, body {
font-size: @font-size-small;
border: solid @ini_background_alt;
border-width: 1px 1px 0;
background-color: @ini_background_site;
background-color: var(--color-background);
color: @ini_text_alt;
padding: .1em .35em;
border-top-left-radius: 2px;
@ -55,7 +59,7 @@ html, body {
clear: both;
overflow: hidden;
word-wrap: break-word;
background: @ini_background;
background: var(--color-background);
color: inherit;
padding: @page_padding-top @margin-default @margin-default;
@ -374,16 +378,11 @@ ol ol ol ol ol {
.dokuwiki {
table.inline tr:hover {
th {
background-color: fade(@ini_background_alt, 50%);
background-color: var(--color-shade-3);
}
td {
background-color: fade(@ini_background_alt, 80%);
color: @ini_text_alt;
*:not(button,a) {
color: @ini_text_alt;
}
background-color: var(--color-shade-2);
}
}
}
@ -392,7 +391,7 @@ table {
border-collapse: collapse;
empty-cells: show;
border-spacing: 0;
border: 1px solid @ini_border;
border: 1px solid var(--color-shade-4);
font-size: @font-size-default;
line-height: 140%;
}
@ -411,13 +410,13 @@ td {
padding: .3em .5em;
margin: 0;
vertical-align: top;
border: 1px solid @ini_border;
border: 1px solid var(--color-shade-4);
}
th {
font-weight: bold;
background-color: @ini_background_alt;
color: @ini_text_alt;
background-color: var(--color-shade-1);
color: var(--color-foreground);
text-align: left;
a {
@ -470,7 +469,7 @@ button img {
hr {
border-top: solid @ini_border;
border-bottom: solid @ini_background_site;
border-bottom: solid var(--color-background);
border-width: 1px 0;
height: 0;
text-align: center;
@ -498,14 +497,13 @@ pre,
code,
samp,
kbd {
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
font-family: "Departure Mono", ui-monospace, monospace;
/* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */
font-size: @font-size-default;
direction: ltr;
text-align: left;
background-color: @code-background;
color: @noopentasks-color;
box-shadow: inset 0 0 .3em @noopentasks-border;
background-color: var(--color-shade-1);
color: var(--color-foreground);
border-radius: @fix_border-radius;
padding-left: @small-spacing;
padding-right: @small-spacing;
@ -537,7 +535,6 @@ kbd {
pre {
overflow: auto;
word-wrap: normal;
border: 1px solid @noopentasks-border;
font-size: @font-size-default;
line-height: 140%;
padding: .7em 1em;