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

Styling hgroup p #408

Merged
merged 2 commits into from
Nov 7, 2022
Merged

Styling hgroup p #408

merged 2 commits into from
Nov 7, 2022

Conversation

annevk
Copy link
Member

@annevk annevk commented Nov 3, 2022

Needed for #401.


@domenic this sorta does the thing, but I haven't tested it and it could certainly be organized better. Though some of this was already a mess with sometimes using .head and sometimes hgroup (as far as I can tell that comes down to the same thing).

Probably also want to look at the style inspector to make sure there's not a lot of rules getting dropped and such.

@domenic domenic marked this pull request as ready for review November 4, 2022 07:56
@domenic
Copy link
Member

domenic commented Nov 4, 2022

I think this is good now. Indeed it seems like our heading styles are kind of a mess and could be cleaned up a good bit, but, let's leave that for later...

.head h1 { margin: 0 100px 0 0; }
hgroup p { margin: 0 100px 1em 0; }
hgroup p, .head h2 { margin: 0 100px 1em 0; }
Copy link
Member Author

Choose a reason for hiding this comment

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

Does .head h2 still exist then?

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, seems unlikely, not sure why I did that...

@annevk
Copy link
Member Author

annevk commented Nov 7, 2022

This looks good to me, but @domenic you'll have to approve it due to GitHub not being able to figure out who did the majority of the work...

@domenic domenic merged commit a88a625 into main Nov 7, 2022
@domenic domenic deleted the annevk/hgroup branch November 7, 2022 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants