Commit 01cdc408 authored by Carl Schwan's avatar Carl Schwan 🚴🏻

Merge branch 'feature/granjow/typo-upgrade' into 'master'

improve typography on MediaWiki

See merge request !15
parents 20b622e5 14950748
Pipeline #18602 passed with stage
in 3 minutes and 44 seconds
......@@ -8,6 +8,23 @@ h1 {
margin-top: 0.3rem;
}
b, strong {
font-weight: 700; /* Bootstrap uses 500, which is not supported by the current fonts. 700 is default for bold. */
}
p {
margin: 1em 0; /* Use consistent spacing around paragraphs */
}
table {
margin: 1em 0; /* Use consistent spacing around tables */
}
.content {
font-size: .875em; /* 0.875em is also used by Wikipedia. */
line-height: 1.6; /* Slightly increased line height for better readability. */
}
.mw-editsection {
font-size: 1.8rem;
margin-left: 1rem;
......@@ -184,12 +201,12 @@ code {
border: 1px solid rgba(0, 0, 0, 0.15);
}
table.vertical-centered td {
padding: 8px;
table td,
table th {
padding: .5em; /* Add padding to table cells to make them visually lighter */
}
table:not(.mw-changeslist-line) td:first-child {
padding-left: 0;
min-width: 48px;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment