Skip to content

Commit bd27a48

Browse files
committed
Minor mobile view tweak + home page ids
1 parent ba44359 commit bd27a48

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

site/_css/graphql.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ footer {
201201
&:hover, &:focus {
202202
background-image: url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E"%3C/span%3E/img/logo.svg%3Cspan%20class=%22pl-pds%22%3E"%3C/span%3E%3C/span%3E);
203203
}
204+
205+
@media screen and (max-width: 740px) {
206+
display: none;
207+
}
204208
}
205209

206210
a {

site/index.html.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var index = React.createClass({
8585
developer&nbsp;tools.</p>
8686
</section>
8787

88-
<section className="point1">
88+
<section className="point1" id="predictable-results">
8989
<div className="prose">
9090
<h2>Ask for what you need,<br />get exactly that</h2>
9191
{/*[Illustration: just a simple query and response?]*/}
@@ -181,7 +181,7 @@ var index = React.createClass({
181181
</section>
182182

183183
<div className="grayWash">
184-
<section className="point2">
184+
<section className="point2" id="single-request">
185185
<div className="prose">
186186
<h2>Get many resources<br />in a single request</h2>
187187
{/*Illustration: a query 2 or 3 levels deep]*/}
@@ -227,7 +227,7 @@ var index = React.createClass({
227227
</section>
228228
</div>
229229

230-
<section className="point3">
230+
<section className="point3" id="type-system">
231231
<div className="prose">
232232
<h2>Describe what&rsquo;s possible<br />with a type system</h2>
233233
{/*Illustration of a type IDL following a query by line]*/}
@@ -308,7 +308,7 @@ type Species {
308308
</section>
309309

310310
<div className="darkWash">
311-
<section className="point4">
311+
<section className="point4" id="powerful-tools">
312312
<div className="prose">
313313
<h2>Move faster with<br />powerful developer tools</h2>
314314
{/*Illustration of GraphiQL validation error and typeahead, animated?]*/}
@@ -328,7 +328,7 @@ type Species {
328328
</div>
329329

330330
<div className="grayWash">
331-
<section className="point5">
331+
<section className="point5" id="without-versions">
332332
<div className="prose">
333333
<h2>Evolve your API<br />without versions</h2>
334334
{/*Illustration showing more legs added to a graph? Or a type evolving over time?]*/}
@@ -437,7 +437,7 @@ type Person {
437437
</section>
438438
</div>
439439

440-
<section className="point6">
440+
<section className="point6" id="bring-your-own-code">
441441
<div className="prose">
442442
<h2>Bring your own<br />data and code</h2>
443443
{/*Illustration of each field becoming a function?]*/}
@@ -525,7 +525,7 @@ public class Character {
525525
</div>
526526
</section>
527527

528-
<section className="powered-by">
528+
<section className="powered-by" id="whos-using">
529529
<div className="prose">
530530
<h2>Who&rsquo;s using GraphQL?</h2>
531531
<p>

0 commit comments

Comments
 (0)