Make tiny tweaks
This commit is contained in:
parent
de9a1799d1
commit
942c0fc9d4
|
@ -2,9 +2,6 @@
|
|||
|
||||
This article contains a highly subjective tier list of most of the games I've played. You can click on the different tiers or games to be taken to the section of the article exploring my thoughts on said game. Everything in this article is spoiler-free, unless otherwise stated in a certain game's section. Enjoy!
|
||||
|
||||
::: toc
|
||||
:::
|
||||
|
||||
{ role="tier-list" }
|
||||
``` =yaml
|
||||
id: games-tier-list
|
||||
|
@ -143,6 +140,9 @@ tiers:
|
|||
</div>
|
||||
```
|
||||
|
||||
::: toc
|
||||
:::
|
||||
|
||||
{ #beyond }
|
||||
## Beyond
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ body {
|
|||
max-width: 43em;
|
||||
margin: auto;
|
||||
padding: 1em;
|
||||
background: white;
|
||||
}
|
||||
|
||||
/* {{{ General element tweaks */
|
||||
|
@ -43,6 +44,11 @@ h6 {
|
|||
math[display="block"] {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
display: block;
|
||||
padding: 1rem;
|
||||
}
|
||||
/* }}} */
|
||||
/* {{{ General article styling */
|
||||
.article-content {
|
||||
|
@ -74,6 +80,9 @@ math[display="block"] {
|
|||
}
|
||||
|
||||
.aside {
|
||||
/* box-shadow: */
|
||||
/* inset 3px 3px 6px #cccbc9, */
|
||||
/* inset -3px -3px 6px white; */
|
||||
background: #faebff;
|
||||
border-radius: 3px;
|
||||
|
||||
|
@ -83,7 +92,7 @@ math[display="block"] {
|
|||
margin: 1.5rem 0;
|
||||
|
||||
/* Prevents margin-collapsing of the children. */
|
||||
border: 1px solid transparent;
|
||||
border: 1px solid black;
|
||||
|
||||
/* Slightly move things to the left to more nicely align with the marker */
|
||||
&.aside-long > :not(summary) {
|
||||
|
@ -218,7 +227,10 @@ math[display="block"] {
|
|||
/* {{{ Tables of contents */
|
||||
.toc {
|
||||
border-radius: 3px;
|
||||
border: 1px solid black;
|
||||
border: 1px solid;
|
||||
background: #eff1f5;
|
||||
|
||||
/* background: #faebff; */
|
||||
|
||||
/* Neuromoprhism */
|
||||
/* box-shadow: */
|
||||
|
@ -267,11 +279,6 @@ math[display="block"] {
|
|||
background: #eff1f5;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
display: block;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
/* {{{ Syntax highlighting */
|
||||
span.attribute,
|
||||
span.constant {
|
||||
|
|
|
@ -62,6 +62,7 @@ pub struct TemplateRenderer<'a> {
|
|||
}
|
||||
|
||||
impl<'a> TemplateRenderer<'a> {
|
||||
// {{{ Lifecycle (start / current / finish)
|
||||
#[inline]
|
||||
pub fn start(template: &'a Template, w: &mut impl std::fmt::Write) -> anyhow::Result<Self> {
|
||||
let stop_index = if !template.stops.is_empty() {
|
||||
|
@ -94,7 +95,7 @@ impl<'a> TemplateRenderer<'a> {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// }}}
|
||||
// {{{ Advance to the next placeholder
|
||||
/// Move onto the next placeholder
|
||||
pub fn next(&mut self, w: &mut impl std::fmt::Write) -> anyhow::Result<Option<&'a str>> {
|
||||
|
@ -128,7 +129,7 @@ impl<'a> TemplateRenderer<'a> {
|
|||
}
|
||||
}
|
||||
// }}}
|
||||
|
||||
// {{{ Stop feeding helpers
|
||||
/// Automatically fill in placeholders until the provided lambda returns false.
|
||||
pub fn feed<W: std::fmt::Write>(
|
||||
&mut self,
|
||||
|
@ -157,6 +158,7 @@ impl<'a> TemplateRenderer<'a> {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
// }}}
|
||||
}
|
||||
// }}}
|
||||
// {{{ Macro
|
||||
|
|
Loading…
Reference in a new issue