Skip to content

Commit

Permalink
150 — addressing issues that kept changes from deploying last time (#166
Browse files Browse the repository at this point in the history
)

* Added starter code, pointed out where CSS styles should go

* created pull quote with three options

* finished basic blockquote

* Tweaking spacing and sizing; fixed issue where first letter in quote was not larger than the rest

* Removed extra commas in ContentViewStyles

* Removed attempted import of 'logo' from .gif file and instead provided path to file in place of 'logo'

Co-authored-by: abieiden <[email protected]>
  • Loading branch information
hs4man21 and abilxpez authored Nov 10, 2020
1 parent 62527eb commit bec3edb
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 32 deletions.
Binary file modified .DS_Store
Binary file not shown.
57 changes: 26 additions & 31 deletions components/ContentViewStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,47 +71,42 @@ export default {
},
blockquote: {
display: "block !important",
width: "200px !important",
padding: "5px 0 0 5px !important",
//right align
float: "right !important",
width: "350px !important",
padding: "5px 0 0 0px !important",
borderLeft: "3px solid #820000 !important",

/*//left align
float: "left !important",
borderRight: "3px solid #820000 !important",*/

cite: {
width: "200px !important",
width: "350px !important",
padding: "5px 0 0 0 !important",
borderLeft: "3px solid #820000 !important",
fontSize: "1.3em !important",
textAlign: "center",
},
p: {
width: "200px !important",
width: "350px !important",
fontSize: "1.6em !important",
lineHeight: "normal",
textAlign: "left",
overflowWrap: "break-word",
padding: "20px 15px 0 25px !important",
backgroundImage: `url(${quote})`,
backgroundSize: "25%",
padding: "25px 25px 0 25px !important",
backgroundImage: `url(${"../static/pullquote.gif"})`,
backgroundSize: "20%",
backgroundRepeat: "no-repeat !important",

//first letter code not working
/*'&::firstLetter': { // firstLetter: { also doesn't work
"&::first-letter": {
fontSize: "2em !important",
fontWeight: "bold !important",
},*/
fontWeight: "bold !important",
},
},
table: {
width: "100%",
borderCollapse: "collapse",
textAlign: "center",
border: `1px solid ${STANFORD_COLORS.COOL_GREY}`,
fontSize: "1.3rem",
},
td: {
border: `1px solid ${STANFORD_COLORS.COOL_GREY}`,
padding: "10px",
},
},
};
table: {
width: "100%",
borderCollapse: "collapse",
textAlign: "center",
border: `1px solid ${STANFORD_COLORS.COOL_GREY}`,
fontSize: "1.3rem",
},
td: {
border: `1px solid ${STANFORD_COLORS.COOL_GREY}`,
padding: "10px",
}
}
};
1 change: 0 additions & 1 deletion components/pages/ArticleListPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,3 @@ export default class ArticleListPage extends React.Component<
);
}
}

Binary file added static/pullquote.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bec3edb

Please sign in to comment.