Please add the following CSS to the wiki

Can you please import the following CSS to MediaWiki:Common.css from Wikipedia? This will make references look prettier, and eliminate the ugly full URLs being displayed for cites.


/* Make the list of references smaller /
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;            / Default font-size /
    margin-bottom: 0.5em;
}
div.reflist ol.references {
    font-size: 100%;           / Reset font-size when nested in div.reflist /
    list-style-type: inherit;  / Enable custom list style types /
}

/ Highlight clicked reference in blue to help navigation /
ol.references li:target,
sup.reference:target,
span.citation:target { 
    background-color: #DEF;
}

/ Ensure refs in table headers and the like aren’t bold or italic /
sup.reference {
    font-weight: normal;
    font-style: normal;
}

/ Allow hidden ref errors to be shown by user CSS /
span.brokenref {
    display: none;
}

/ Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box /
.citation {
    word-wrap: break-word;
}

/ Default styling for titles of works, styling for the title of an article
   within a periodical, or a contribution within a compilation. /
cite,
.citation cite.article,
.citation cite.contribution {
    font-style: inherit;
}

/ Styling for the title of any work within a citation,
   or specifically the title of a periodical. /
.citation cite,
.citation cite.periodical {
    font-style: italic;
}
 
/ For linked citation numbers and document IDs, where
   the number need not be shown on a screen or a handheld,
   but should be included in the printed version */
@media screen, handheld {
    .citation *.printonly {
        display: none;
    }
}

Done! http://wiki.eyewire.org/wiki/MediaWiki:Common.css

You’re missing the first / in the page :confused: Can you insert that?


Thanks!

It’s kind of critical, because the insertion of invalid CSS is causing the wiki to be very slow.

Damned copy and paste :-P.  I fixed it, but the wiki still appears to be slow.  I’ll keep poking around and see if I can figure out what’s wrong with it…

Hmm… Common.css doesn’t even seem to be obeyed or loaded :frowning:

I’m not totally sure what changes it’s supposed to make.  I found this option and turned it on.  Hopefully that helped?

Hmm, that didn’t seem to work either. Maybe just remove everything from MediaWiki:Common.css to at least get back to the previous state.


There’s also this, if that doesn’t fix the slowness issue.

The wiki appears to be faster today. Did something change? I also see that we now have accounts!

Yup.  Finally resolved my idiocy.  Too ashamed to admit what my problem was :-).  Suffice it to say that everything should be working correctly now.

Then I won’t ask. A job well done, regardless of the cause!