From aaad2e271d8f26bf1618e30cf5fe15755f7cb29f Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 22 Aug 2020 21:13:20 -0500 Subject: [PATCH] Style tables of contents --- matrix/index.php | 34 ++++++++++++++++++---------------- styles/styles.css | 9 +++++++++ 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/matrix/index.php b/matrix/index.php index b455686..fcd343c 100644 --- a/matrix/index.php +++ b/matrix/index.php @@ -10,24 +10,26 @@

What is Matrix?

+
+

Contents

+ +

Matrix is a communication platform. Think Discord, but hosted here and without its problems.

To get up and running, you only need to read the Getting Started section. Everything else here is just in case you want or need it.

-

On This Page:

-

Getting Started

diff --git a/styles/styles.css b/styles/styles.css index bc1b212..503a584 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -138,6 +138,15 @@ img.bigimg { margin: 1em 0; padding: 1em; } +.toc { + background: var(--background-bright); + border-radius: 4px; + box-shadow: 5px 5px var(--shadow); + display: inline-block; + margin: 0 1em 1em 1em; + padding: 0 1em; + width: auto; +} /* FOOTER */ .footer {