Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard <blockquote> style for content views #150

Open
hs4man21 opened this issue Oct 21, 2020 · 0 comments
Open

Standard <blockquote> style for content views #150

hs4man21 opened this issue Oct 21, 2020 · 0 comments
Assignees

Comments

@hs4man21
Copy link
Contributor

hs4man21 commented Oct 21, 2020

We're going to use CSS (nothing else needed!) to create a standard pull quote format for Daily content! This means your work will be used and seen A LOT. Awesome!

To get started, pull the branch "150-standard-pullquote-style" from our stanforddaily repo. I've already commented the line where you will want to start your work. (It's line 72 in the file "ContentViewStyles.tsx.") This file imposes CSS styles on specific HTML elements that appear in our content. In the file you'll see that there are already styles for HTML elements like li, h2 and a, for instance.

We will be applying styles to the blockquote HTML element.

Feel free to experiment! You can write multiple different sets of styles and just "comment out" (remember in VS Code you can press "cmd + /" to turn a highlighted line or lines of code into a comment) the styles you aren't using at any particular time.

There are lots of great CSS resources online, and you can search things like "CSS styles for pullquote" if you're looking for inspiration. Of course, you can also just looking for pictures and use your CSS skills to incorporate patterns you're seeing.

Please don't hesitate to reach out with any questions or concerns. And have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants