Skip to content

Commit

Permalink
new content and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
abolishme committed Jul 7, 2015
1 parent 2226490 commit 4e45b95
Show file tree
Hide file tree
Showing 15 changed files with 380 additions and 277 deletions.
6 changes: 3 additions & 3 deletions source-old/stylesheets/toc.css.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@media #{$D7} {

#toc {
padding-left:120px;
h3 {
Expand All @@ -10,14 +10,14 @@
.toc-item {
position: relative;
border-bottom: 1px dotted whitesmoke;
margin-bottom:26px;

}

.toc-item-title {
padding:0;
margin:0;
font: italic 21px/26px Garamond, Baskerville, Baskerville Old Face, Hoefler Text, Times New Roman, serif;

a {
color:$black;
}
Expand Down
227 changes: 112 additions & 115 deletions source/about.html.haml

Large diffs are not rendered by default.

87 changes: 43 additions & 44 deletions source/interviews/bill-wasik.html.haml

Large diffs are not rendered by default.

44 changes: 23 additions & 21 deletions source/interviews/callie-beusman.html.haml

Large diffs are not rendered by default.

73 changes: 37 additions & 36 deletions source/interviews/john-herrman.html.haml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/javascripts/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$(window).load(function(){
if ( $('body').is('.d7')){
// do
$( '.menu ul').addClass('collapsed').toggle();
$( '.menu ul').addClass('collapsed').toggle();
}
});

4 changes: 2 additions & 2 deletions source/javascripts/footnotehandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ function footnoteHandler() {

if ($(footnote_id).hasClass('active')) {
$(footnote_id).fadeOut();
$(footnote_id).removeClass('active');
$(footnote_id).removeClass('active');
}
else {
if (!$(footnote_id).hasClass('active')) {
$(footnote_id).fadeToggle();
$(footnote_id).fadeToggle();
$(footnote_id).addClass('active');
}
}
Expand Down
5 changes: 5 additions & 0 deletions source/javascripts/tochandler.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function tocHandler() {
$('#close-modal').click(function(){
$('#toc').toggle();
});
}
1 change: 1 addition & 0 deletions source/layouts/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
mapHandler();
footnoteHandler();
teamHandler();
tocHandler()

$("#editor-note-trigger").click(function(){
$("#editorial_note").slideToggle();
Expand Down
42 changes: 25 additions & 17 deletions source/partials/interviews/_index.haml
Original file line number Diff line number Diff line change
@@ -1,47 +1,49 @@
#toc.modal.body
#close-modal
×


#toc.modal.body
%h1
Media Landscape Two Thousand Fifteen
%h1 Media Landscape
%h2 Two Thousand Fifteen

A critical overview of contemporary media from The New School
%p.toc-dek A critical overview of contemporary media from The New School

%hr

%h3 Process

.toc-item
.toc-item-art
%h4.toc-item-title
%a{:href => "http://cpcj.tumblr.com/"}
Behind the Scenes
%p.toc-byline
The making of Media Landscape by the CPCJ’s first Multimedia Publishing, Production and Writing Lab
The making of Media Landscape by the CPCJ’s first Multimedia Publishing, Production and Writing Lab


%h2 Table of Contents


%h3 Editorial Note

.toc-item
.toc-item-art
-# = image_tag '#'
%h4.toc-item-title
%a{:href => "#"}
What Are the Stakes?
%a{:href => "/about.html"}
What Are the Stakes?
%p.toc-byline


%h3 The IRL Feature

.toc-item
%h4.toc-item-title
%a{:href => "https://vimeo.com/130199067"}
The (New) New Republic
%p.toc-byline
All CPCJ Media interview subjects


%h3 Interviews

Expand All @@ -62,7 +64,7 @@
The New Collective Intelligence: Genius
%p.toc-byline
Emily Segal and Cecilia Mezulic

.toc-item
.toc-item-art
= image_tag 'logos/repeater-books.png'
Expand Down Expand Up @@ -134,7 +136,7 @@
The Age of Engagement: Medium/Matter
%p.toc-byline
Mark Lotto and Silje Kristine Andersen

.toc-item
.toc-item-art
= image_tag 'logos/snapchat.png'
Expand All @@ -143,7 +145,7 @@
When Viral Goes Viral: Snapchat Discover
%p.toc-byline
Nathan Jurgenson and Troy O’Neill

.toc-item
.toc-item-art
= image_tag 'logos/ref-29.png'
Expand Down Expand Up @@ -197,5 +199,11 @@
.toc-item-art
%h4.toc-item-title
%a{:href => "http://cpcjpanorama.tumblr.com/"}
Experimental Works
Experimental Works

%hr

%p.final-toc-note
To learn more about The New School and the MA Creative Publishing & Critical Journalism program, visit <a href="http://creative-publishing.org">creative-publishing.org</a>.
%p
%em The New School for Social Research. 2015. New York City, NY.
18 changes: 11 additions & 7 deletions source/stylesheets/body.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@


@media #{$D7} {

.body {
color:$black;
font: 18px/24px Garamond, Baskerville, Baskerville Old Face, Hoefler Text, Times New Roman, serif;

p {
margin:0;
width:100%;
Expand Down Expand Up @@ -37,9 +37,7 @@

h5 {
font:bold 16px/21px Helvetica;
margin-bottom: 20px;
color:$orange;
border-top:1px dotted lightgray;
color:$black;
padding-top:25px;

}
Expand Down Expand Up @@ -153,7 +151,7 @@
padding-bottom:0;
}
}
}
}
}


Expand All @@ -180,7 +178,7 @@
@media #{$D5} {
.body {
p {
padding-right:400px;
padding-right:400px;
}
}

Expand Down Expand Up @@ -228,5 +226,11 @@
p {
padding-right:400px;
}
h6 {
padding-right:140px;
}
.pullquote {
padding-right:100px;
}
}
}
19 changes: 14 additions & 5 deletions source/stylesheets/footnote.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

.footnote {
display:none;
}
}

}

@media #{$D6} {

}

@media #{$D5} {
Expand Down Expand Up @@ -46,7 +46,7 @@
-webkit-user-select: none; /* Chrome all / Safari all */
-moz-user-select: none; /* Firefox all */
-ms-user-select: none; /* IE 10+ */
user-select: none; /* Likely future */
user-select: none; /* Likely future */

div.fn-block {
padding-top:150px;
Expand All @@ -62,7 +62,7 @@

.fn-caption {
padding-right:0;
}
}

.fn-close-button {
display:inline-block;
Expand All @@ -85,5 +85,14 @@
}

@media #{$D4} {

.marginal-fn.footnote {
width:160px;
}
.fullscreen-fn {
div.fn-block {
width:600px;
margin: 0 auto;
}
}

}
8 changes: 4 additions & 4 deletions source/stylesheets/menu.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
bottom:0;
left:0;
padding:0;

box-sizing: border-box;

background-color:$white;
Expand All @@ -45,9 +45,9 @@
font-size:20px;
letter-spacing: 0.11em;
text-align:right;

a {
text-decoration: none;
text-decoration: none;
color:$white;
}
h2 {
Expand Down Expand Up @@ -83,7 +83,7 @@
padding-top:2px;
padding-bottom:2px;
letter-spacing:0;
}
}
li:hover a {
color:$orange;
}
Expand Down
68 changes: 62 additions & 6 deletions source/stylesheets/shame.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,55 @@


@media #{$D7} {


.thank-you {
float:left;
margin-top:20px;
padding-top:20px;
padding-bottom:200px;
h3 {
font-family: $sans;
text-transform: none;
letter-spacing: 0;
font-size:18px;
margin:0;
padding:0;
}
ul {
padding:0;
margin:0;
}
li {
list-style: none;
display:inline-block;
font-style: italic;
color:gray;
&:after {
content: ", ";
font-size: 15px;
position: relative;
top:1px;
color:lightgray;
}
&:last-of-type:after {
content:"";
}
&:last-of-type:before {
content:" and ";
color:gray;
font-style: normal;
}
a {
color:gray;
text-decoration: underline;
}
}
}

#close-modal {
display:none;
}

// SETTINGS
body {
max-width:100vw;
Expand Down Expand Up @@ -52,24 +100,32 @@
font:14px/20px 'Times New Roman';
}
h4 {
font:14px/20px 'Times New Roman';
font:14px/20px 'Times New Roman';
}
}



}

@media #{$D6} {

}

@media #{$D5} {

}

@media #{$D4} {

#close-modal {
display:block;
position: absolute;
top:20px;
right:40px;
font-weight: 700;
color:$orange;
cursor:pointer;
}
}


Expand Down
Loading

0 comments on commit 4e45b95

Please sign in to comment.