Skip to content

Use dark background for table header #6

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

Merged
merged 1 commit into from
Sep 4, 2015
Merged

Use dark background for table header #6

merged 1 commit into from
Sep 4, 2015

Conversation

Poorchop
Copy link
Member

@Poorchop Poorchop commented Sep 4, 2015

Mottie added a commit that referenced this pull request Sep 4, 2015
Use dark background for table header
@Mottie Mottie merged commit 00f424a into StylishThemes:master Sep 4, 2015
@Mottie
Copy link
Member

Mottie commented Sep 4, 2015

Thanks! Now how about fixing this one? 😉

Just kidding LOL

@Poorchop
Copy link
Member Author

Poorchop commented Sep 5, 2015

I'm guessing there's no general fix for that without using JavaScript but why not just use the background colors as selectors as you have already done for a few other rules? Hopefully that color palette is reused in other episode list wikis so you wouldn't have to make a million custom rules.

@Poorchop Poorchop deleted the table-header branch September 5, 2015 00:15
@Mottie
Copy link
Member

Mottie commented Sep 5, 2015

It's not reused, that's the problem.

When people add color to wiki tables, they add it to the style directly like this:

{| class="wikitable plainrowheaders" style="margin: auto; width: 100%"
|-
!! style="background:#FBF201; color:#000; text-align:center;"|Title
!! style="background:#FBF201; color:#000; text-align:center;"|Directed by
!! style="background:#FBF201; color:#000; text-align:center;"|Screenplay by
!! style="background:#FBF201; color:#000; text-align:center;"|Release date<br>(U.S.)
!! style="background:#FBF201; color:#000; text-align:center;"|Release date<br>(International)
{{Episode list
|RTitle          = ''[[The Simpsons Movie]]''
|DirectedBy      = [[David Silverman (animator)|David Silverman]]
|WrittenBy       = [[James L. Brooks]], [[Matt Groening]], [[Al Jean]], [[Ian Maxtone-Graham]],<br />[[George Meyer]], [[David Mirkin]], [[Mike Reiss]], [[Mike Scully]], [[Matt Selman]], [[John Swartzwelder]] and [[Jon Vitti]]
|OriginalAirDate = {{Start date|2007|7|27}}
|AltDate         = {{Start date|2007|7|26}}
}}
|}

@Mottie
Copy link
Member

Mottie commented Sep 5, 2015

Find any other TV show and look at the episodes list...

Here is The Arrow. All the table headers are different shades of green.

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.

2 participants