From 7ebd2d183765c63226f2bfc7b60a79b21cd45d0f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 12 Mar 2021 10:20:04 +0200 Subject: Moved index page to markdown formatting (which contains just html) and moved it's styling to the global styles.css --- src/styles.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index 7a7e6ec..6fd2e3c 100644 --- a/src/styles.css +++ b/src/styles.css @@ -225,6 +225,28 @@ article { font-style: italic; } +/* Index page styling */ + +@media screen and (min-width: 610px) { + #index-page { + margin-bottom: 10px; + } + + #index-contents { + display: flex; + align-items: center; + justify-content: center; + } + + #index-contents-text { + margin-left: 15px; + } + + #index-contents-img, #index-contents-text { + max-width: 49%; + } +} + /* The following CSS is a modified version of sindresorhus's github-markdown-css repo: https://github.com/sindresorhus/github-markdown-css */ code, -- cgit v1.3.1-23-gd82d