adjust table & footer css; edit readme

This commit is contained in:
loikein 2023-04-15 16:20:36 +01:00
commit a345157488
4 changed files with 40 additions and 14 deletions
assets/scss

View file

@ -30,10 +30,21 @@ h3:hover > a.heading-anchor {
}
hr {
text-align: left;
margin-left: 0;
margin-top: 1.4rem;
margin-bottom: 1.4rem;
width: 75%;
max-width: 45rem;
border-color: rgba(250,250,250,0.25);
border-style: solid none none none;
border-color: #111;
}
kbd {
border: 1px #111 solid;
border-radius: 5px;
padding-right: 2px;
padding-left: 2px;
}
/* ------------------------------------------------------------------------ */
@ -59,23 +70,21 @@ hr {
}
table:not(.lntable) {
margin-top: 1em;
margin-top: 1.4em;
font-size: 1.4rem;
width: auto; /* making booktabs style tables the unstyled default in case someone uses Markdown styling */
/* margin: 0 auto; */
/* border-spacing: 0px; */
border-top: 2px solid #111;
border-bottom: 2px solid #111;
}
table:not(.lntable) th,
table:not(.lntable) td {
font-size: 1.25rem;
line-height: 1.71428571;
table:not(.lntable) tr th {
border-bottom: 1px solid #111;
text-transform: uppercase;
}
table:not(.lntable) td {
padding-right: 0.75em;
table:not(.lntable) tr th,
table:not(.lntable) tr td {
padding-right: 0.5rem;
}
table.lntable {
@ -86,6 +95,18 @@ table.lntable {
padding: 0;
}
/* ------------------------------------------------------------------------ */
/* Styling for footnotes. */
/* ------------------------------------------------------------------------ */
.footnotes ol {
width: 55%;
}
.footnotes ol li p {
width: 100%;
margin: 0;
padding: 0;
}
/* ------------------------------------------------------------------------ */
/* Styling for maths. */
/* ------------------------------------------------------------------------ */

View file

@ -18,10 +18,7 @@ footer.page-footer a {
background: transparent;
}
footer.page-footer hr {
text-align: left;
margin-left: 0;
width: 100%;
border-color: rgba(250, 250, 250, 0.25);
}
footer.page-footer ul.page-footer-menu {

View file

@ -328,7 +328,8 @@ div.table-wrapper {
}
code,
.code {
.code,
kbd {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 1.125rem;
line-height: 1.6;