somewhat fix code display
This commit is contained in:
parent
2db8f2eb1d
commit
c6f47db8ba
2 changed files with 11 additions and 9 deletions
|
|
@ -65,7 +65,7 @@
|
||||||
site-container {
|
site-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-width: 1510px;
|
max-width: 60em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
|
|
||||||
|
|
@ -92,16 +92,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
code-block {
|
code-block {
|
||||||
display: flex;
|
display: block;
|
||||||
justify-content: center;
|
overflow: hidden;
|
||||||
align-items: center;
|
border-radius: 8px;
|
||||||
|
margin: 8px;
|
||||||
|
background-color: var(--color-code-bg);
|
||||||
|
box-shadow: inset 0px 0px 5px 0px #000;
|
||||||
pre {
|
pre {
|
||||||
width: min-content;
|
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-radius: 8px;
|
margin: 0;
|
||||||
background-color: var(--color-code-bg);
|
overflow: auto;
|
||||||
box-shadow: inset 0px 0px 5px 0px #000;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,8 @@ def plopliplop(n: int)
|
||||||
print(i)
|
print(i)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#raw(range(10).map(i => lorem(100)).join("\n"), block: true)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#figure({
|
#figure({
|
||||||
show table: set text(size: 0.80em)
|
show table: set text(size: 0.80em)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue