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

Making a wide Welcome Visitors page #125

Open
opn opened this issue Jun 24, 2015 · 2 comments
Open

Making a wide Welcome Visitors page #125

opn opened this issue Jun 24, 2015 · 2 comments

Comments

@opn
Copy link

opn commented Jun 24, 2015

So the CSS is here: https://github.com/fedwiki/wiki-client/blob/master/client/style.css

It would seem that to enable a wide Welcome Visitors page - but only when it is the first page in the lineup - we want to use the nth-child() CSS selector (set to 1) for the Welcome visitors div? Any thoughts?

What would be nice is to have a place in /status where custom css could be added on a per site basis?

@opn opn changed the title making a wide Welcome Visitors page Making a wide Welcome Visitors page Jun 24, 2015
@paul90
Copy link
Member

paul90 commented Jun 24, 2015

Try adding something like

.main > #welcome-visitors:first-child:not(.remote) {
  width: 600px;
}

This will select Welcome Visitors if it is the first item on the page, and it is not from a remote site.

@WardCunningham
Copy link
Member

Let's factor css into three files:

  1. The must have styles that work well with core client and common plugins.
  2. The host's local styles used for every site in a farm, including login specific stuff.
  3. A site specific style template copied from a reference version into /status upon site creation.

Let's also work out a user customization workflow where one chooses styles from a catalog or makes their own from scratch cascading from 1 and 2 above. This would supplement Flagmatic for customizing a new site.

A new server install would replace 1 and have some upgrade process for 2 and 3.

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

3 participants