From 3761b735e4d30b5dfb70341a9ef6fe28de26bdbe Mon Sep 17 00:00:00 2001 From: natebass Date: Wed, 13 Dec 2023 17:30:19 -0800 Subject: [PATCH] Add layout styles for default project pages. --- _includes/layouts/default-project-page.html | 13 ++++ content/learningblocks/index.html | 70 +++++++++++++-------- content/opensac/index.html | 38 +++++------ package.json | 2 +- styles/pages/default-project-page.scss | 36 +++++++++++ 5 files changed, 115 insertions(+), 44 deletions(-) create mode 100644 _includes/layouts/default-project-page.html create mode 100644 styles/pages/default-project-page.scss diff --git a/_includes/layouts/default-project-page.html b/_includes/layouts/default-project-page.html new file mode 100644 index 0000000..fa4241b --- /dev/null +++ b/_includes/layouts/default-project-page.html @@ -0,0 +1,13 @@ +--- +layout: layouts/home +--- + + + +{% block styles %} + +{% endblock %} + +{{ content }} \ No newline at end of file diff --git a/content/learningblocks/index.html b/content/learningblocks/index.html index 0378ba1..0c10046 100644 --- a/content/learningblocks/index.html +++ b/content/learningblocks/index.html @@ -1,29 +1,41 @@ --- -layout: layouts/home +layout: layouts/default-project-page --- + -

Learning Blocks community project page

+ +

Learning Blocks community project page

+
+ Project Notes (Last updated 12/12/2023 TODO Implement Google Drive API) +
- + + diff --git a/content/opensac/index.html b/content/opensac/index.html index f2f35ac..a945025 100644 --- a/content/opensac/index.html +++ b/content/opensac/index.html @@ -1,33 +1,35 @@ --- -layout: layouts/home +layout: layouts/default-project-page --- + -

Open Sac website community project page

+ +

Open Sac website community project page

- + + diff --git a/package.json b/package.json index 3d0a62a..bfdc92e 100644 --- a/package.json +++ b/package.json @@ -34,4 +34,4 @@ "js-yaml": "^4.1.0", "sass": "^1.69.5" } -} \ No newline at end of file +} diff --git a/styles/pages/default-project-page.scss b/styles/pages/default-project-page.scss new file mode 100644 index 0000000..11076cc --- /dev/null +++ b/styles/pages/default-project-page.scss @@ -0,0 +1,36 @@ +@import "../abstracts/variables"; +@import "../abstracts/mixins"; + +/* +Opensac.org page layout + */ + +.page-title { + padding-top: 16px; +} +.project-notes { + padding-bottom: 16px; +} + +.documentation-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 1rem; + padding-top: 16px; +} + +.documentation-item { + background-color: #f5f5f5; + padding: 1rem; + border-radius: 4px; + max-width: 200px; +} + +.documentation-item h2 { + margin-bottom: 0.5rem; +} + +a { + color: #007bff; + text-decoration: none; +} \ No newline at end of file