From 9e86bbec3ef33421bb0c5ceb2a847761af6d81a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Thu, 5 Jan 2023 04:24:34 +0100 Subject: [PATCH] Start implementing basic index structure --- .gitignore | 26 ++++++++++++++++++++++ assets/css/screen.css | 44 +++++++++++++++++++++++++++++++++++++ default.hbs | 5 ++--- index.hbs | 50 ++++++++++++++++++++++++------------------- 4 files changed, 100 insertions(+), 25 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30b6069 --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +b-cov +*.zip +*.seed +*.log +*.csv +*.dat +*.out +*.pid +*.gz + +pids +logs +results + +npm-debug.log +node_modules +package-lock.json + +.idea/* +*.iml +projectFilesBackup + +.DS_Store + +dist/ +*.ignore diff --git a/assets/css/screen.css b/assets/css/screen.css index 5ca66e7..74cf5ba 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -29,7 +29,19 @@ html, body { /* make the html always expand to the window size */ height: 100%; width: 100%; + margin: 0; + padding: 0; } + +a { + color: white; + text-decoration: none; +} + +a:hover { + color: pink; +} + /* Generic class to make things unselectable */ .unselectable { -moz-user-select: none; @@ -39,6 +51,38 @@ html, body { -o-user-select: none; } +.ptheme-index-header_main { + background-color: #34233b; + height: 200px; + width: 100%; + display: flex; + justify-content: center; +} + +.ptheme-index-header_main h1 { + margin: auto; +} + +.ptheme-content_main { + max-width: 1260px; + width: 80%; + margin: auto; + overflow: hidden; +} + +.ptheme-index-post_article { + padding: 20px 0; +} + +a.ptheme-index-post_article_link { + display: flex; + flex-direction: row; +} + +.ptheme-index-post_feature-image { + max-width: 100%; +} + .kg-width-wide { margin: 0; } diff --git a/default.hbs b/default.hbs index 1996f2b..bb85f58 100644 --- a/default.hbs +++ b/default.hbs @@ -10,18 +10,17 @@ {{@site.title}} {{ghost_head}} - {{!-- Outputs important meta data and settings, should always be in --}} + {{!-- Adds important meta data and settings, should always be in --}} - {{{body}}} {{!-- All content gets inserted here, index.hbs, post.hbs, etc --}} {{!--