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

First edit: header background image #52

Merged
merged 4 commits into from
Jun 20, 2019
Merged

First edit: header background image #52

merged 4 commits into from
Jun 20, 2019

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Jun 15, 2019

Here is the first of several PRs (that we can move through one by one) to customize the header. Specifically, we add a subtly textured background image to give the site a little more oopmh, and (start to) make it look less identifyable as a Beautiful Jekyll theme.

A quick snapshot:

image

The logo would look much improved with transparency and possibly removing the text, but I do not have a version with full stripes across the top (I am not able to create a professional version with my software) so instead I left as is.

Note that the only changes here are adding a background image, and adjusting the header colors so it's readable.

Signed-off-by: Vanessa Sochat vsochat@stanford.edu

Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
@@ -61,7 +61,7 @@ footer-link-col: "#404040"
# Alternatively, the navbar, footer, and page background can be set to use background images
# instead of colour

# navbar-img: "/img/bgimage.png"
navbar-img: "../img/rse-transport-light.png"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use the same background image in the footer, for consistency?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or at least, the same color changes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn’t give it much thought! Let me try it out quickly and see. Do you think a bold footer that sandwiches the page is better than a subtle one that doesn’t distract from the header and content?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My thought was that headers and footers tend to be symmetric, to sandwich the page as you say.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They can be, you can see everything from an off gray to black, to the exact same image. Here it is, as it is now (keeping a gray):

image

and here it is if we set the same image:

image

of course we'd need to fix the text color!

I actually like the dark, but having the double purple is a bit much for color (it's generally good to be selective about colors). We could also mirror something that the UK rse site did? Here is their footer:

image

So here is an example with ours:

image

I personally am of the mindset of having simplicity, and being careful about the choice of bright and dark colors. In that the footer was thin, I think I'd go for a dark (non purple) one like above. But it's fairly large, so instead it would draw attention away from what's above it. I'd definitely like to hear others' opinions too - I'm partial to the light colors, but could see the black with purple line being a reasonable option. I don't like the double purple - it's just too much purple.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another suggestion is to thin it down just a bit, removing the one massive GitHub link (and we can put it somewhere else) so the footer is a bit cleaner:

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That might work a little better with a dark grey, if you still want to go dark.

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if you want to see anything else!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually like either of the two border options! I think the border gives a nice continuity without being so starkly contrasting with the white. But I'm good with majority rules on all these design options too...

@cosden could you describe the accessibility issues you are worried about?

I was worried about the white on maroon in the header. I put in #FFFFFF and #500e3d in https://webaim.org/resources/contrastchecker/ and it passed all the tests they have there. So as far as I can tell, it's fine!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are almost there! @cferenba it looks like @cosden likes the border options. If you have preference for one of those, that would be majority and I can make the changes.

Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
@vsoch
Copy link
Member Author

vsoch commented Jun 20, 2019

okay! Since we had another on the slack agree to the gray with purple border, I've updated it here to that:

image

If we have majority for this (@cosden plus the slack, maybe @cferenba ? ) and I'm good with it. We can merge this first PR!

@cferenba
Copy link
Member

Did we want the small border (5px, shown here) or the large (20px, shown further back)? I lean toward the larger one, since it establishes a bit more symmetry between the header and the footer; but I could go either way.

@vsoch
Copy link
Member Author

vsoch commented Jun 20, 2019

Here is 15px, for a third option

image

@cferenba
Copy link
Member

Either 15px or 20px looks good to me.

@vsoch
Copy link
Member Author

vsoch commented Jun 20, 2019

The 15px (weirdly) looks better here, but in the actual browser I prefer the smaller one. I would have gone with no border at all, so now I'm compromising to be a smaller purple. Thoughts?

Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
@vsoch
Copy link
Member Author

vsoch commented Jun 20, 2019

@cferenba done! 15px.

@vsoch
Copy link
Member Author

vsoch commented Jun 20, 2019

1nhe2n

@cferenba
Copy link
Member

This looks great! Seems to me like a good compromise - it gives some symmetry between the header and footer without an overwhelming amount of color in the footer.

Unless @cosden or anyone else has major objections, I think we're good to go.

@vsoch
Copy link
Member Author

vsoch commented Jun 20, 2019

I know @cosden already said he liked it, plus one other in Slack, and I'll add in my vote! Merging.

@vsoch vsoch merged commit e40193f into USRSE:master Jun 20, 2019
@vsoch vsoch deleted the theme/header-color branch June 20, 2019 23:10
@vsoch
Copy link
Member Author

vsoch commented Jun 20, 2019

Beautiful! https://us-rse.org/

Let me know what you'd like to work on / test next.

@cosden
Copy link
Member

cosden commented Jun 21, 2019

Awesome! The website looks fantastic, @vsoch and @cferenba!

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

Successfully merging this pull request may close these issues.

3 participants