Skip to content

Commit b704507

Browse files
authored
Merge pull request #8 from stemcoding/chris-branch
Implement style changes and landing page redesign
2 parents edb80d4 + e40646d commit b704507

6 files changed

Lines changed: 1836 additions & 173 deletions

File tree

‎docs/activities.html‎

Lines changed: 51 additions & 51 deletions
Large diffs are not rendered by default.

‎docs/index.html‎

Lines changed: 37 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -135,78 +135,69 @@
135135
</nav>
136136
</header>
137137
<!-- content -->
138-
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
138+
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-full page-navbar">
139139
<!-- sidebar -->
140140
<!-- margin-sidebar -->
141-
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
142-
<nav id="TOC" role="doc-toc" class="toc-active">
143-
<h2 id="toc-title">On this page</h2>
144-
145-
<ul>
146-
<li><a href="#welcome-to-the-stemcoding-landing-page" id="toc-welcome-to-the-stemcoding-landing-page" class="nav-link active" data-scroll-target="#welcome-to-the-stemcoding-landing-page">Welcome to the STEMcoding Landing Page!</a></li>
147-
</ul>
148-
</nav>
149-
</div>
141+
150142
<!-- main -->
151-
<main class="content" id="quarto-document-content"><header id="title-block-header" class="quarto-title-block"></header>
143+
<main class="content column-page" id="quarto-document-content"><header id="title-block-header" class="quarto-title-block"></header>
152144

153145

154146

155147

156-
<section id="welcome-to-the-stemcoding-landing-page" class="level2">
157-
<h2 class="anchored" data-anchor-id="welcome-to-the-stemcoding-landing-page">Welcome to the STEMcoding Landing Page!</h2>
158-
<p>The STEMcoding project is a partnership between <a href="./people.html">faculty members and students</a> at <a href="http://osu.edu">Ohio State University</a> and the <a href="http://mountunion.edu">University of Mount Union</a></p>
148+
<div class="sc-hero">
149+
<video controls="" autoplay="" loop="" muted="" playsinline="" class="sc-hero-video">
150+
<source src="vid/welcome_to_stemcoding2.mp4" type="video/mp4">
151+
</video>
152+
<div class="sc-hero-inner">
153+
<p class="sc-hero-lead">
154+
Activities, curriculum, and a thriving community — built by <a href="http://osu.edu">Ohio State</a> and <a href="http://mountunion.edu">Mount Union</a> faculty &amp; students to bring <strong>computer science</strong> and <strong>data science</strong> into intro math and science courses.
155+
</p>
156+
<p><a href="./activities.html" class="sc-hero-cta">Browse activities →</a></p>
157+
</div>
158+
</div>
159+
<div class="sc-home">
160+
<section id="the-stemcoding-project" class="level2">
161+
<h2 class="anchored" data-anchor-id="the-stemcoding-project">The STEMcoding Project</h2>
162+
<p>The STEMcoding project is a partnership between <a href="./people.html">faculty members and students</a> at <a href="http://osu.edu">Ohio State University</a> and the <a href="http://mountunion.edu">University of Mount Union</a>.</p>
159163
<p>The STEMcoding project exists to re-imagine introductory STEM courses like math and science with computer science and data science in mind. Our <a href="./activities.html">activities</a> are used in intro level college courses and high school courses.</p>
160164
<p>We love to create activities that <b><em>each</em></b> align with relevant math, <a href="http://go.osu.edu/ngss">science</a> <b><em>and</em></b> computer science standards. Some of our physical science activities appear on the <a href="https://web.archive.org/web/20221020133711/https://education.ohio.gov/getattachment/Topics/Learning-in-Ohio/Science/Ohios-Learning-Standards-and-MC/Final-Physical-Science-Instructional-Supports.pdf.aspx?lang=en-US">“model curriculum” examples</a> distributed by the Ohio Department of Education and Workforce. We are also working to create a year-long <a href="datascience.html">data science curriculum</a>.</p>
161-
<video width="100%" controls="" autoplay="" muted="" loop="">
165+
<!--
166+
<video width="100%" controls autoplay muted loop>
162167
<source src="vid/welcome_to_stemcoding2.mp4" type="video/mp4">
163168
</video>
169+
-->
164170
<p>We are very proud of the <a href="http://youtube.com/STEMcoding">STEMcoding youtube channel!</a> We have released over 100 videos featuring faculty and students at Ohio State University and the University of Mount Union.</p>
165171
<!--
166172
<iframe style="display: block; margin-left: auto; margin-right: auto;" width="560" height="315" src="https://www.youtube.com/embed/pqXiZLnXe2U?si=0nSckcTS2osfQXVF" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
167173
-->
168174
<p>We hope you enjoy this site! Check out our <a href="./feed.html">Social Media Feed</a> to see what we’ve been up to lately, or our <a href="./calendar.html">Calendar</a> to see upcoming events and trainings. Please join our <a href="https://discord.gg/bsWgqcqwCE">Discord</a> to reach out or ask questions!!!</p>
169-
<div class="margin-sidebar-content">
170-
<p><br> <br> <br> <br> <br> <br> <br></p>
175+
</section>
176+
<section id="latest-from-our-social-feed" class="level2">
177+
<h2 class="anchored" data-anchor-id="latest-from-our-social-feed">Latest from our Social Feed</h2>
171178
<p><link rel="stylesheet" type="text/css" href="./assets/toots-v2.css"></p>
172179
<style>
173-
/* Customize the overall width and text size of the feed */
174180
.toots {
175-
max-width: 100%; /* Adjust this value (e.g., 600px, 80%) as needed */
176-
margin: 0 auto !important; /* Centers the feed on the page */
177-
font-size: 1.1rem; /* Increases the text size of the feed */
181+
max-width: 100%;
182+
margin: 0 auto !important;
183+
font-size: 1.05rem;
178184
}
179-
180-
/* Customize the vertical size of each individual toot */
181185
.toot {
182-
padding-top: 2rem !important; /* Increases the top padding */
183-
padding-bottom: 2rem !important; /* Increases the bottom padding */
184-
/* min-height: 1000px; Uncomment this if you want to force a specific minimum height */
185-
}
186-
187-
/* Hide the @username handle, leaving only the display name */
188-
.toot .username {
189-
display: none !important;
186+
padding-top: 1.5rem !important;
187+
padding-bottom: 1.5rem !important;
190188
}
191-
192-
/* Container to make the feed scrollable */
189+
.toot .username { display: none !important; }
193190
.feed-container {
194-
height: calc(100vh - 300px); /* Responsive height to avoid page scroll */
195-
overflow-y: auto !important; /* Show scrollbar if feed is long */
191+
max-height: 600px;
192+
overflow-y: auto !important;
196193
overscroll-behavior: contain;
197-
border: 1px solid #ccc;
198-
border-radius: 8px;
199-
padding: 10px;
200-
pointer-events: auto; /* Ensure the container can receive scroll events */
201-
position: relative;
202-
z-index: 100;
194+
padding: 10px 16px;
203195
}
204196
</style>
205197
<div class="feed-container">
206198
<p><a class="mastodon-feed" href="https://mastodon.social/@stemcoding" data-toot-limit="20" data-exclude-replies="true">STEM Coding Mastodon feed</a></p>
207199
<script type="module" src="./assets/js/emfed-bundle-v2.js"></script>
208200
</div>
209-
</div>
210201
<script>
211202
document.addEventListener('DOMContentLoaded', function() {
212203
// Find the margin sidebar
@@ -243,8 +234,10 @@ <h2 class="anchored" data-anchor-id="welcome-to-the-stemcoding-landing-page">Wel
243234

244235

245236
</section>
237+
</div>
238+
</main></div>
246239

247-
</main> <!-- /main -->
240+
<!-- /main -->
248241
<script id="quarto-html-after-body" type="application/javascript">
249242
window.document.addEventListener("DOMContentLoaded", function (event) {
250243
const icon = "";
@@ -645,7 +638,7 @@ <h2 class="anchored" data-anchor-id="welcome-to-the-stemcoding-landing-page">Wel
645638
}
646639
});
647640
</script>
648-
</div> <!-- /content -->
641+
<!-- /content -->
649642

650643

651644

‎docs/search.json‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@
914914
"href": "index.html",
915915
"title": "STEMcoding",
916916
"section": "",
917-
"text": "The STEMcoding project is a partnership between faculty members and students at Ohio State University and the University of Mount Union\nThe STEMcoding project exists to re-imagine introductory STEM courses like math and science with computer science and data science in mind. Our activities are used in intro level college courses and high school courses.\nWe love to create activities that each align with relevant math, science and computer science standards. Some of our physical science activities appear on the “model curriculum” examples distributed by the Ohio Department of Education and Workforce. We are also working to create a year-long data science curriculum.\n\n\n\nWe are very proud of the STEMcoding youtube channel! We have released over 100 videos featuring faculty and students at Ohio State University and the University of Mount Union.\n\nWe hope you enjoy this site! Check out our Social Media Feed to see what we’ve been up to lately, or our Calendar to see upcoming events and trainings. Please join our Discord to reach out or ask questions!!!\n\n \n\n\n\nSTEM Coding Mastodon feed"
917+
"text": "Activities, curriculum, and a thriving community — built by Ohio State and Mount Union faculty & students to bring computer science and data science into intro math and science courses.\n\nBrowse activities →"
918918
},
919919
{
920920
"objectID": "index.html#welcome-to-the-stemcoding-landing-page",
@@ -1972,5 +1972,19 @@
19721972
"title": "Are my error bars big or small?",
19731973
"section": "Advanced",
19741974
"text": "Advanced\nWhat we have done is obtained the error bar from the measurements rather than obtaining the error bar from our knowledge of the measurement methods we are using. This is not the only way to obtain error bars from the measured data. Another more complicated approach is called “bootstrapping”.\nAnother related situation is when you are shopping on a site like Amazon and you see a seller that has 5/5 stars but only 10 reviews, and another seller that is 4.8/5 stars with 50 reviews and another with 4.65/5 stars with 200 reviews. This is addressed in an excellent video by 3Blue1Brown. In that video he provides some math to back up what most of us already know which is that a 100% rating with only 10 reviews is not very impressive (because with so few reviews the error on the mean is very large)."
1975+
},
1976+
{
1977+
"objectID": "index.html#the-stemcoding-project",
1978+
"href": "index.html#the-stemcoding-project",
1979+
"title": "STEMcoding",
1980+
"section": "The STEMcoding Project",
1981+
"text": "The STEMcoding Project\nThe STEMcoding project is a partnership between faculty members and students at Ohio State University and the University of Mount Union.\nThe STEMcoding project exists to re-imagine introductory STEM courses like math and science with computer science and data science in mind. Our activities are used in intro level college courses and high school courses.\nWe love to create activities that each align with relevant math, science and computer science standards. Some of our physical science activities appear on the “model curriculum” examples distributed by the Ohio Department of Education and Workforce. We are also working to create a year-long data science curriculum.\n\nWe are very proud of the STEMcoding youtube channel! We have released over 100 videos featuring faculty and students at Ohio State University and the University of Mount Union.\n\nWe hope you enjoy this site! Check out our Social Media Feed to see what we’ve been up to lately, or our Calendar to see upcoming events and trainings. Please join our Discord to reach out or ask questions!!!"
1982+
},
1983+
{
1984+
"objectID": "index.html#latest-from-our-social-feed",
1985+
"href": "index.html#latest-from-our-social-feed",
1986+
"title": "STEMcoding",
1987+
"section": "Latest from our Social Feed",
1988+
"text": "Latest from our Social Feed\n\n\n\nSTEM Coding Mastodon feed"
19751989
}
19761990
]

0 commit comments

Comments
 (0)