From a44d4be56cefa32a65a36c181277cfeb5df8ee1c Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Mon, 13 Jan 2025 11:40:14 -0600 Subject: [PATCH 1/3] update styles and improve layout for better readability and presentation --- .gitignore | 4 ++ assets/css/style.scss | 130 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 131 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 68435410d..55ae1c233 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,7 @@ ENV/ # macOS .DS_Store .DS_Store HCK07_2020_Seattle/projects/NWB_DataJoint_Integration/dj_local_conf.json + +_site/ + +Gemfile.lock \ No newline at end of file diff --git a/assets/css/style.scss b/assets/css/style.scss index f1c2b6124..74c4b37c3 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -4,6 +4,130 @@ @import "{{ site.theme }}"; @import "https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.min.css"; -.github-fork-ribbon:before { - background-color: lightgray; - }; +.github-fork-ribbon { + &:before { + background-color: lightgray; + } +} + +// Enhanced header image +img[alt="Remote hackathon"] { + display: block; + margin: 2rem auto; + max-width: 600px; + width: 100%; +} + +// Improved headings +h2 { + border-bottom: 2px solid #0366d6; + padding-bottom: 0.5rem; + margin-top: 2.5rem; + color: #24292e; +} + +h3 { + color: #2f363d; + margin-top: 2rem; +} + +// Better list styling +ul { + padding-left: 1.5rem; +} + +li { + margin: 0.5rem 0; + line-height: 1.6; +} + +// Event listings +li a { + font-weight: 600; + color: #0366d6; + text-decoration: none; + + &:hover { + text-decoration: underline; + } +} + +// Improved paragraphs and text +p { + line-height: 1.8; + margin: 1rem 0; + color: #24292e; +} + +// Better section spacing +.main-content { + max-width: 1012px; + margin: 0 auto; + padding: 2rem; +} + +// Blockquote styling +blockquote { + border-left: 4px solid #0366d6; + margin: 1rem 0; + padding: 0.5rem 1rem; + color: #586069; + background-color: #f6f8fa; +} + +// Code block styling +code { + padding: 0.2em 0.4em; + background-color: #f6f8fa; + border-radius: 3px; + font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; +} + +// Table improvements +table { + border-collapse: collapse; + width: 100%; + margin: 1rem 0; + box-shadow: 0 1px 3px rgba(0,0,0,0.1); + + th, td { + padding: 0.75rem; + border: 1px solid #e1e4e8; + } + + th { + background-color: #f6f8fa; + font-weight: 600; + text-align: left; + } + + tr { + &:nth-child(even) { + background-color: #f8f9fa; + } + + &:hover { + background-color: #f1f8ff; + } + } +} + +// Enhanced link styling +a { + color: #0366d6; + text-decoration: none; + transition: color 0.2s ease; + + &:hover { + color: #035fc7; + text-decoration: underline; + } +} + +// Horizontal rule styling +hr { + height: 2px; + background-color: #e1e4e8; + border: none; + margin: 2rem 0; +} From 0a363d422021ff7598182a34e144991828ddc926 Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Mon, 13 Jan 2025 11:51:28 -0600 Subject: [PATCH 2/3] refactor README testimonials for improved formatting and readability; update styles for blockquotes and text --- HCK24_2025_Janelia_NDRH/README.md | 33 +++---- assets/css/style.scss | 150 ++++++------------------------ 2 files changed, 42 insertions(+), 141 deletions(-) diff --git a/HCK24_2025_Janelia_NDRH/README.md b/HCK24_2025_Janelia_NDRH/README.md index 328971247..25edc7515 100644 --- a/HCK24_2025_Janelia_NDRH/README.md +++ b/HCK24_2025_Janelia_NDRH/README.md @@ -125,28 +125,25 @@ on how to install MatNWB, see ## Testimonials from NeuroDataReHack 2024 -This workshop was enlightening, and I'm excited to bring these tools back to my research group and my university! -- Miles Martinez, Duke University +> "This workshop was enlightening, and I'm excited to bring these tools back to my research group and my university!" +> +> — Miles Martinez, Duke University ----------- +> "The Hackathon was an incredible experience. I had the opportunity to get familiar with not only NWB but also the expanding NWB ecosystem. Additionally, the week was fantastic for connecting with others working on similar topics. I established potential collaborations and learned from people working on different topics as well." +> +> — Carolina Filipe, Champalimaud Foundation -The Hackathon was an incredible experience. I had the opportunity to get familiar with not only NWB but also the expanding NWB ecosystem. Additionally, the week was fantastic for connecting with others working on similar topics. I established potential collaborations and learned from people working on different topics as well. -- Carolina Filipe, Champalimaud Foundation +> "NeuroDataReHack 2024 is a inspiring tour to the ecosystem that the NWB and DANDI has supported, including a set of useful tools, datasets, and example notebook to hand on. Great opportunities to meet the organizers that make those things happen, and to connect with other researchers interested in dataset reuse." +> +> — Xinyue Ma, McGill University ----------- +> "The sessions on the DANDI archive and NWB format and accessible analysis tools were extremely helpful and made the tools fairly easy to use considering how powerful they are. The organizers and presenters did a great job breaking down complex topics and were really approachable and helpful throughout. Plus, getting to meet people from all over with similar interests was great. Big thanks to everyone who put this together – it was educational and fun." +> +> — Keith Van Antwerp, Georgia Tech -NeuroDataReHack 2024 is a inspiring tour to the ecosystem that the NWB and DANDI has supported, including a set of useful tools, datasets, and example notebook to hand on. Great opportunities to meet the organizers that make those things happen, and to connect with other researchers interested in dataset reuse. -- Xinyue Ma, McGill University - ----------- - - The sessions on the DANDI archive and NWB format and accessible analysis tools were extremely helpful and made the tools fairly easy to use considering how powerful they are. The organizers and presenters did a great job breaking down complex topics and were really approachable and helpful throughout. Plus, getting to meet people from all over with similar interests was great. Big thanks to everyone who put this together – it was educational and fun. - - Keith Van Antwerp, Georgia Tech - ----------- - -NeuroDataReHack was a transformative experience. I left the hackathon inspired, equipped with new skills, and excited about the future of neuroscience. I highly recommend checking out the DANDI Archive, Neurodata Without Borders, and training opportunities like NeuroDataReHack for anyone looking to enhance the quality of their own research, promote the open exchange of neurodata, and contribute to the global success of neuroscience research. -- Megan Parsons, Neuroengineer +> "NeuroDataReHack was a transformative experience. I left the hackathon inspired, equipped with new skills, and excited about the future of neuroscience. I highly recommend checking out the DANDI Archive, Neurodata Without Borders, and training opportunities like NeuroDataReHack for anyone looking to enhance the quality of their own research, promote the open exchange of neurodata, and contribute to the global success of neuroscience research." +> +> — Megan Parsons, Neuroengineer [//]: # (## Schedule) diff --git a/assets/css/style.scss b/assets/css/style.scss index 74c4b37c3..aced241db 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -2,132 +2,36 @@ --- @import "{{ site.theme }}"; -@import "https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.min.css"; -.github-fork-ribbon { - &:before { - background-color: lightgray; - } -} - -// Enhanced header image -img[alt="Remote hackathon"] { - display: block; - margin: 2rem auto; - max-width: 600px; - width: 100%; -} - -// Improved headings -h2 { - border-bottom: 2px solid #0366d6; - padding-bottom: 0.5rem; - margin-top: 2.5rem; - color: #24292e; -} - -h3 { - color: #2f363d; - margin-top: 2rem; -} - -// Better list styling -ul { - padding-left: 1.5rem; -} - -li { - margin: 0.5rem 0; - line-height: 1.6; -} - -// Event listings -li a { - font-weight: 600; - color: #0366d6; - text-decoration: none; - - &:hover { - text-decoration: underline; - } -} - -// Improved paragraphs and text -p { - line-height: 1.8; - margin: 1rem 0; - color: #24292e; -} - -// Better section spacing .main-content { - max-width: 1012px; - margin: 0 auto; - padding: 2rem; -} - -// Blockquote styling -blockquote { - border-left: 4px solid #0366d6; - margin: 1rem 0; - padding: 0.5rem 1rem; - color: #586069; - background-color: #f6f8fa; -} - -// Code block styling -code { - padding: 0.2em 0.4em; - background-color: #f6f8fa; - border-radius: 3px; - font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; -} - -// Table improvements -table { - border-collapse: collapse; - width: 100%; - margin: 1rem 0; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); - - th, td { - padding: 0.75rem; - border: 1px solid #e1e4e8; - } - - th { - background-color: #f6f8fa; - font-weight: 600; - text-align: left; - } - - tr { - &:nth-child(even) { - background-color: #f8f9fa; - } + blockquote { + margin: 2.5rem 0; + padding: 1.75rem; + background: #ffffff; + border-left: 4px solid #0366d6; + border-radius: 4px; + box-shadow: 0 1px 3px rgba(0,0,0,0.1); + color: #24292e; - &:hover { - background-color: #f1f8ff; + p { + margin: 0; + font-style: italic; + line-height: 1.6; + color: #444d56; + font-size: 1.05em; + + &:last-of-type { + margin-top: 1rem; + color: #586069; + font-style: normal; + font-size: 0.9em; + text-align: right; + + &::before { + content: "— "; + color: #0366d6; + } + } } } } - -// Enhanced link styling -a { - color: #0366d6; - text-decoration: none; - transition: color 0.2s ease; - - &:hover { - color: #035fc7; - text-decoration: underline; - } -} - -// Horizontal rule styling -hr { - height: 2px; - background-color: #e1e4e8; - border: none; - margin: 2rem 0; -} From b302225c5ccf33f326f264994668dcc28d9ae406 Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Mon, 13 Jan 2025 12:53:39 -0500 Subject: [PATCH 3/3] Update assets/css/style.scss --- assets/css/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/css/style.scss b/assets/css/style.scss index aced241db..d7f6ba7d6 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -2,6 +2,11 @@ --- @import "{{ site.theme }}"; +@import "https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.min.css"; + +.github-fork-ribbon:before { + background-color: lightgray; + }; .main-content { blockquote {