Checkpoint draft
This commit is contained in:
parent
63ca0df679
commit
1553ec320b
7 changed files with 228 additions and 2 deletions
|
@ -112,6 +112,37 @@ footer > div {
|
|||
background-color: var(--bg-2);
|
||||
}
|
||||
|
||||
/* Color table elements */
|
||||
|
||||
.md-table {
|
||||
background-color: var(--bg-1);
|
||||
}
|
||||
.md-table .md-table-title {
|
||||
background-color: var(--bg-0);
|
||||
/* color: var(--dim-0); */
|
||||
}
|
||||
|
||||
.md-table tbody tr:nth-child(odd) {
|
||||
background-color: var(--bg-2);
|
||||
}
|
||||
|
||||
.md-table th, .md-table td {
|
||||
border-left-color: var(--cyan);
|
||||
}
|
||||
|
||||
.md-table th {
|
||||
color: var(--fg-1);
|
||||
background-color: var(--bg-0);
|
||||
border-top-color: var(--green);
|
||||
border-bottom-color: var(--green);
|
||||
}
|
||||
.md-table thead tr th:first-child {
|
||||
border-left-color: var(--green);
|
||||
}
|
||||
.md-table thead tr th:last-child {
|
||||
border-right-color: var(--green);
|
||||
}
|
||||
|
||||
/* Formatting for special pages */
|
||||
.special-post h2 {
|
||||
color: var(--green);
|
||||
|
@ -120,6 +151,7 @@ footer > div {
|
|||
color: var(--red);
|
||||
}
|
||||
|
||||
|
||||
/* Colorization for idris code blocks */
|
||||
code {
|
||||
color: var(--code-fg-0);
|
||||
|
|
|
@ -167,6 +167,66 @@ blockquote {
|
|||
padding: var(--box-padding-vert) var(--box-padding-horz);
|
||||
}
|
||||
|
||||
.md-table {
|
||||
/* width: 90%; */
|
||||
min-width: 60%;
|
||||
max-width: 90%;
|
||||
display: block;
|
||||
padding: var(--box-margin-vert) var(--box-margin-horz);
|
||||
gap: var(--box-gap);
|
||||
border-radius: var(--box-radius);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.md-table-title {
|
||||
padding: var(--box-margin-vert) var(--box-padding-horz);
|
||||
border-radius: var(--box-radius);
|
||||
font-weight: 800;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
table {
|
||||
table-layout: auto;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th, td {
|
||||
border-left: 0.1rem dotted;
|
||||
}
|
||||
|
||||
table th, table td {
|
||||
padding: 0.5rem 0.5rem;
|
||||
}
|
||||
|
||||
th {
|
||||
border-top: 0.2rem solid;
|
||||
border-bottom: 0.2rem solid;
|
||||
|
||||
}
|
||||
|
||||
thead tr th:first-child {
|
||||
border-left: 0.2rem solid;
|
||||
}
|
||||
thead tr th:last-child {
|
||||
border-right: 0.2rem solid;
|
||||
}
|
||||
|
||||
tbody tr td:first-child {
|
||||
border-left: 0.1rem dotted;
|
||||
}
|
||||
|
||||
tbody tr td:last-child {
|
||||
border-right: 0.1rem dotted;
|
||||
}
|
||||
|
||||
tbody tr:last-child td {
|
||||
border-bottom: 0.1rem dotted;
|
||||
}
|
||||
|
||||
/* Style the tags blurbs and page */
|
||||
.tags {
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue