Skip to content

Commit d651eb2

Browse files
committed
style tweaks for casey-louise
1 parent 4adab01 commit d651eb2

File tree

3 files changed

+94
-99
lines changed

3 files changed

+94
-99
lines changed

src/assets/css/main.css

Lines changed: 41 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,31 +1071,34 @@ img.gallery-img {
10711071
SHOWCASE
10721072
//////////////////////////////////////////////////
10731073
*/
1074-
1075-
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,900i&display=swap');
1074+
#featuring {
1075+
margin-bottom: 1em;
1076+
}
10761077

10771078
#showcase-page .showcase-intro h1 {
1078-
font: italic 900 8vw "Montserrat", sans-serif;
1079+
font: italic 900 6.35vw "Montserrat", sans-serif;
10791080
color: #ED225D;
1080-
text-align: center;
1081+
text-align: left;
10811082
text-transform: uppercase;
1082-
letter-spacing: 0.25rem;
10831083
}
10841084

10851085
#showcase-page .showcase-intro p {
10861086
font: 400 1.5rem "Montserrat", sans-serif;
10871087
line-height: 2;
10881088
}
10891089

1090-
#showcase-page .showcase-featured h2, #showcase-page .project-page h2{
1090+
#showcase-page .showcase-featured h2,
1091+
#showcase-page .project-page h2{
10911092
font: italic 900 2rem "Montserrat", sans-serif;
10921093
color: #ED225D;
10931094
text-align: center;
10941095
letter-spacing: 0.05rem;
10951096
}
10961097

1097-
#showcase-page ul.left-column, #showcase-page ul.right-column,
1098-
#showcase-page ul.project-tags, #showcase-page ul.links {
1098+
#showcase-page ul.left-column,
1099+
#showcase-page ul.right-column,
1100+
#showcase-page ul.project-tags,
1101+
#showcase-page ul.links {
10991102
list-style: none;
11001103
}
11011104

@@ -1112,22 +1115,22 @@ img.gallery-img {
11121115
}
11131116

11141117
#showcase-page .showcase-featured p.credit {
1115-
margin-top: 3%;
11161118
font: 500 1rem "Montserrat", sans-serif;
11171119
}
11181120

11191121
#showcase-page .showcase-featured p.description {
1120-
margin-top: 9%;
1121-
font-size: 1rem;
1122+
font-size: 1em;
11221123
}
11231124

1124-
#showcase-page .link-decoration {
1125-
margin: 24px 0;
1126-
text-align: center;
1125+
#showcase-page .nominate {
1126+
margin-top: 1.5em;
1127+
text-align: center;
1128+
display: inline-block;
11271129
}
11281130

1129-
#showcase-page .link-decoration a, #showcase-page .link-decoration a:visited {
1130-
padding: 10px 10px;
1131+
#showcase-page .nominate a,
1132+
#showcase-page .nominate a:visited {
1133+
padding: 0.4em 0.5em;
11311134
border: solid #ED225D 2px;
11321135
box-shadow: 4px 4px 0 #ED225D;
11331136

@@ -1147,13 +1150,18 @@ img.gallery-img {
11471150
content: " →";
11481151
}
11491152

1153+
.glitch-embed-wrap {
1154+
margin-top: 1em;
1155+
}
1156+
11501157
#showcase-page ul.project-tags {
11511158
display: -webkit-box;
11521159
display: -webkit-flex;
11531160
display: flex;
11541161
-webkit-flex-wrap: wrap;
11551162
flex-wrap: wrap;
1156-
margin-top: -3%;
1163+
margin-top: -0.2em;
1164+
margin-bottom: 2em;
11571165
}
11581166

11591167
#showcase-page ul.project-tags li {
@@ -1163,7 +1171,7 @@ img.gallery-img {
11631171
#showcase-page .tag {
11641172
display: inline-block;
11651173
padding: 6px 14px;
1166-
border: dashed #7FDBCA;
1174+
border: dashed #69ffe3;
11671175
border-radius: 27px;
11681176

11691177
font: 0.7rem "Montserrat", sans-serif;
@@ -1195,16 +1203,9 @@ img.gallery-img {
11951203
line-height: 1.4;
11961204
}
11971205

1198-
/* Visually hidden headings to delineate project page sections */
1199-
#showcase-page .project-resources h3#resources, #showcase-page .project-qa h3#qa {
1200-
position: absolute;
1201-
left: -10000px;
1202-
width: 1px;
1203-
height: 1px;
1204-
overflow: hidden;
1205-
}
1206-
1207-
#showcase-page .project-info, #showcase-page .project-resources, #showcase-page .project-credit {
1206+
#showcase-page .project-info,
1207+
#showcase-page .project-resources,
1208+
#showcase-page .project-credit {
12081209
text-align: center;
12091210
}
12101211

@@ -1236,37 +1237,30 @@ img.gallery-img {
12361237
grid-row: 1 / 2;
12371238
}
12381239

1239-
#showcase-page .project-credit h3, #showcase-page .project-qa h3 {
1240-
font: 500 1rem "Montserrat", sans-serif;
1241-
letter-spacing: 0.01rem;
1242-
line-height: 1.5;
1243-
}
1244-
1245-
#showcase-page .project-credit h3#creator {
1246-
font: italic 900 1.7rem "Montserrat", sans-serif;
1247-
letter-spacing: .05rem;
1240+
#showcase-page .project-credit {
1241+
font: italic bold 1.7rem "Montserrat", sans-serif;
12481242
}
12491243

1250-
#showcase-page sup.note {
1244+
#showcase-page .note {
12511245
font-size: 0.7rem;
1252-
letter-spacing: 0.04rem;
12531246
}
12541247

1255-
#showcase-page .project-qa {
1248+
#showcase-page .project-a {
12561249
width: 90%;
12571250
float: right;
1251+
display: inline-block;
1252+
clear: both;
12581253
}
12591254

1260-
#showcase-page .project-qa h3 {
1255+
#showcase-page .project-q {
12611256
margin-left: 0%;
1257+
display: inline-block;
1258+
clear: both;
1259+
font: 500 1rem "Montserrat", sans-serif;
1260+
line-height: 1.5;
12621261
}
12631262

1264-
#showcase-page .project-qa p {
1265-
float: left;
1266-
margin-left: 20%;
1267-
}
1268-
1269-
#showcase-page .project-qa code {
1263+
#showcase-page code {
12701264
font-size: 1.1rem;
12711265
}
12721266

src/templates/pages/showcase/featuring/casey-louise.hbs

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ slug: showcase/featuring/
1111
<h1>{{#i18n "project-casey-louise"}}{{/i18n}}</h1>
1212

1313
<section class="project-info">
14-
<h2 id="info">Project Info</h2>
14+
<h2 class='sr-only'>Project Info</h2>
1515
<div class="glitch-embed-wrap" style="height: 420px; width: 100%;">
1616
<iframe
1717
src="https://glitch.com/embed/#!/embed/shader-on-vertex?path=&previewSize=100"
@@ -22,50 +22,51 @@ slug: showcase/featuring/
2222
</section>
2323

2424
<section class="project-resources">
25-
<h2 id="resources">Project Resources</h2>
26-
<ul class="links">
25+
<h2 id="resources" class='sr-only'>Project Resources</h2>
26+
<ul class='links' aria-labelledby="resources">
2727
<li><a href="https://bit.ly/p5shaders" target="_blank">p5.js Shaders guide</a></li>
2828
<li><a href="https://bit.ly/p5shadersexamples" target="_blank">Glitch collection of examples</a></li>
2929
</ul>
3030
</section>
3131

3232
<section class="project-credit">
33+
<p>
3334
Casey Conchinha <span class="note">(he/him)</span>
3435
<br>Louise Lessél <span class="note">(she/her)</span>
35-
36-
<h3>From</h3>
37-
<p>New York, New York</p>
36+
<br><span class="note">From New York, New York</span>
37+
</p>
3838
</section>
3939

40-
<section class="project-qa">
41-
<h2 id="qa">Q&mp;A</h2>
40+
<section>
41+
<h2 id="qa">Q&amp;A</h2>
4242

43-
<p>What are you up to?</p>
44-
<p>Casey: I'm a student at NYU ITP who's interested in computer graphics and interactive spaces, physical and digital.</p>
45-
<p>Louise: I'm a student at NYU ITP who's interested in computer graphics and interactive spaces based on sensor technologies.</p>
43+
<p class='project-q'>What are you up to?</p>
44+
<p class='project-a'>Casey: I'm a student at NYU ITP who's interested in computer graphics and interactive spaces, physical and digital.</p>
45+
<p class='project-a'>Louise: I'm a student at NYU ITP who's interested in computer graphics and interactive spaces based on sensor technologies.</p class='project-a'>
4646

47-
<p>How did you get started with p5.js?</p>
48-
<p>Casey: I started learning p5.js in 2018 in my first semester at ITP, though I had been dabbling in <a href="https://processing.org/" target="_blank">Processing</a> since 2012. I was introduced to Processing by my friend Pedro while I was studying graphic design, and it blew my mind. The idea of making my own tools for creating graphics and interactive art piqued my interest, but once I actually tried it, I was hooked. The first project I can remember was an eye that followed you around the screen, and it was sad when you left it alone.</p>
49-
<p>Louise: I initially learned p5.js to make a website I was creating more playful. I’m a C# programmer, so this was a good segway into JavaScript for me.</p>
47+
<p class='project-q'>How did you get started with p5.js?</p>
48+
<p class='project-a'>Casey: I started learning p5.js in 2018 in my first semester at ITP, though I had been dabbling in <a href="https://processing.org/" target="_blank">Processing</a> since 2012. I was introduced to Processing by my friend Pedro while I was studying graphic design, and it blew my mind. The idea of making my own tools for creating graphics and interactive art piqued my interest, but once I actually tried it, I was hooked. The first project I can remember was an eye that followed you around the screen, and it was sad when you left it alone.</p class="project-a">
49+
<p class='project-a'>Louise: I initially learned p5.js to make a website I was creating more playful. I’m a C# programmer, so this was a good segway into JavaScript for me.</p class='project-a'>
5050

51-
<p>How did you use p5.js in this project?</p>
52-
<p>Casey: I was putting off learning shaders for a long time, and I was also curious if I could use them in p5.js. Then I heard about a grant for open source, storytelling, and learning resource projects at ITP called <a href="https://www.itpxstory.com/" target="_blank">xStory</a>. Since I wasn't finding much in the way of p5.js + shader documentation, I decided to figure out how they're implemented in p5.js and create a resource for others to learn. When I told Louise about the project, she was immediately excited about learning and teaching shaders in p5.js. She's been great about making sure the project is a learning resource and not just a collection of examples.</p>
51+
<p class='project-q'>How did you use p5.js in this project?</p>
52+
<p class='project-a'>Casey: I was putting off learning shaders for a long time, and I was also curious if I could use them in p5.js. Then I heard about a grant for open source, storytelling, and learning resource projects at ITP called <a href="https://www.itpxstory.com/" target="_blank">xStory</a>. Since I wasn't finding much in the way of p5.js + shader documentation, I decided to figure out how they're implemented in p5.js and create a resource for others to learn. When I told Louise about the project, she was immediately excited about learning and teaching shaders in p5.js. She's been great about making sure the project is a learning resource and not just a collection of examples.</p>
5353

54-
<p>What's your favorite p5.js feature?</p>
55-
<p>Casey: Does <a href="https://thecodingtrain.com/" target="_blank">Shiffman</a> count as a feature? I also love having the ability to share my programs on the web so that people don't have to install special software or come to NYC to see my work.</p>
56-
<p>Louise: My favorite feature is <code><a href="https://p5js.org/reference/#/p5/push" target="_blank">push()</a></code> and <code><a href="https://p5js.org/reference/#/p5/pop" target="_blank">pop()</a></code> for transformation of the coordinate system to make generative visuals.</p>
54+
<p class='project-q'>What's your favorite p5.js feature?</p>
55+
<p class='project-a'>Casey: Does <a href="https://thecodingtrain.com/" target="_blank">Shiffman</a> count as a feature? I also love having the ability to share my programs on the web so that people don't have to install special software or come to NYC to see my work.</p class='project-a'>
56+
<p class='project-a'>Louise: My favorite feature is <code><a href="https://p5js.org/reference/#/p5/push" target="_blank">push()</a></code> and <code><a href="https://p5js.org/reference/#/p5/pop" target="_blank">pop()</a></code> for transformation of the coordinate system to make generative visuals.</p class='project-a'>
5757

58-
<p>Did you face any challenges working on this project? If so, how did you overcome them?</p>
59-
<p>Casey: The beginning of the project (figuring out how things work) was us reaching out to amazing people, asking questions, and asking for permission to use their examples in our project. <a href="https://github.com/aferriss/p5jsShaderExamples" target="_blank">Adam Ferriss' GitHub repo</a> really laid the groundwork for us in understanding how shaders work in p5.js and provided a framework of approachable examples for us to build on. For some specific p5.js-related issues we were having, we reached out to <a href="http://www.katehollenbach.com/" target="_blank">Kate Hollenbach</a> and <a href="https://stalgiagrigg.name/" target="_blank">Stalgia Grigg</a> (who worked on the <a href="https://github.com/processing/p5.js/issues?q=is%3Aissue+is%3Aopen+webgl+label%3Aarea%3Awebgl" target="_blank">WebGL implementation in p5.js</a>), and they were super helpful.</p>
60-
<p>Louise: The learning curve was pretty steep for getting shaders into p5. Luckily, there were some very well-documented examples on GitHub by Adam Ferriss. Our aim was to do so in a way that a complete beginner can understand how to implement it, so it was as much a technical challenge as it was a challenge in teaching code to strangers and beginners. Here we drew inspiration from the way the <a href="https://openframeworks.cc/ofBook/chapters/foreword.html" target="_blank">openFrameworks book</a> is written. A fun “hey, it’s not hard and you can do it too” approach is what we believe in.</p>
58+
<p class='project-q'>Did you face any challenges working on this project? If so, how did you overcome them?</p>
59+
<p class='project-a'>Casey: The beginning of the project (figuring out how things work) was us reaching out to amazing people, asking questions, and asking for permission to use their examples in our project. <a href="https://github.com/aferriss/p5jsShaderExamples" target="_blank">Adam Ferriss' GitHub repo</a> really laid the groundwork for us in understanding how shaders work in p5.js and provided a framework of approachable examples for us to build on. For some specific p5.js-related issues we were having, we reached out to <a href="http://www.katehollenbach.com/" target="_blank">Kate Hollenbach</a> and <a href="https://stalgiagrigg.name/" target="_blank">Stalgia Grigg</a> (who worked on the <a href="https://github.com/processing/p5.js/issues?q=is%3Aissue+is%3Aopen+webgl+label%3Aarea%3Awebgl" target="_blank">WebGL implementation in p5.js</a>), and they were super helpful.</p class='project-a'>
60+
<p class='project-a'>Louise: The learning curve was pretty steep for getting shaders into p5. Luckily, there were some very well-documented examples on GitHub by Adam Ferriss. Our aim was to do so in a way that a complete beginner can understand how to implement it, so it was as much a technical challenge as it was a challenge in teaching code to strangers and beginners. Here we drew inspiration from the way the <a href="https://openframeworks.cc/ofBook/chapters/foreword.html" target="_blank">openFrameworks book</a> is written. A fun “hey, it’s not hard and you can do it too” approach is what we believe in.</p>
6161

62-
<p>What's a cool thing we should check out?</p>
63-
<p>Check out the <a href="https://github.com/ITP-xStory" target="_blank">xStory GitHub</a> to see our peers' amazing grant projects!</p>
62+
<p class='project-q'>What's a cool thing we should check out?</p>
63+
<p class='project-a'>Check out the <a href="https://github.com/ITP-xStory" target="_blank">xStory GitHub</a> to see our peers' amazing grant projects!</p class='project-a'>
6464

65-
<h3>Where can people learn more about you?</h3>
66-
<p>Casey: <a href="https://cargocollective.com/kcconch" target="_blank">cargocollective.com/kcconch</a>, <a href="https://github.com/kcconch" target="_blank">@kcconch</a> (GitHub)</p>
67-
<p>Louise: <a href="http://www.louiselessel.com/" target="_blank">louiselessel.com</a>, <a href="https://github.com/louiselessel" target="_blank">@louiselessel</a> (GitHub)</p>
65+
<p class='project-q'>Where can people learn more about you?</p>
66+
<p class='project-a'>Casey: <a href="https://cargocollective.com/kcconch" target="_blank">cargocollective.com/kcconch</a>, <a href="https://github.com/kcconch" target="_blank">@kcconch</a> (GitHub)</p class='project-a'>
67+
<p class='project-a'>Louise: <a href="http://www.louiselessel.com/" target="_blank">louiselessel.com</a>, <a href="https://github.com/louiselessel" target="_blank">@louiselessel</a> (GitHub)</p class='project-a'>
6868
</section>
69+
<div style='clear:both'></div>
6970

7071
{{> footer}}
7172

0 commit comments

Comments
 (0)