Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commit7ebd2d183765c63226f2bfc7b60a79b21cd45d0f (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-03-12 10:20:04 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-03-12 10:20:04 +0200
Filese84cf7cd78198fefeeb15263fc76231932524e65 /src/styles.css
syndamia.com-7ebd2d183765c63226f2bfc7b60a79b21cd45d0f.tar
syndamia.com-7ebd2d183765c63226f2bfc7b60a79b21cd45d0f.tar.gz
syndamia.com-7ebd2d183765c63226f2bfc7b60a79b21cd45d0f.zip
Parent9bb0064876a0d89b24554c710dcd5f705312da90 (diff)
Moved index page to markdown formatting (which contains just html) and moved it's styling to the global styles.css
1 files changed, 22 insertions, 0 deletions
-rw-r--r--src/styles.css22
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,