Unit test styling
This commit is contained in:
parent
448908c18e
commit
e4e0349a32
3 changed files with 38 additions and 0 deletions
|
@ -19,4 +19,30 @@ pre > code {
|
|||
}
|
||||
pre {
|
||||
width: 90%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Styling for unit tests */
|
||||
.unit-test {
|
||||
width: 90%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 1rem;
|
||||
border-radius: 0.55rem / 0.5rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.unit-test > span {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
padding: 0.5rem;
|
||||
border-radius: 0.55rem / 0.5rem;
|
||||
}
|
||||
.unit-test > pre {
|
||||
width: auto;
|
||||
}
|
||||
.unit-test i {
|
||||
font-size: 1.5rem;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
|
|
@ -78,6 +78,16 @@ a:visited {
|
|||
blockquote {
|
||||
background-color: var(--bg-1);
|
||||
}
|
||||
.unit-test {
|
||||
background-color: var(--bg-1);
|
||||
}
|
||||
.unit-test > span {
|
||||
background-color: var(--bg-2);
|
||||
color: var(--fg-1);
|
||||
}
|
||||
.unit-test i {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
/* Colorization for idris code blocks */
|
||||
code {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue