Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "MediaWiki:Common.css"

From Prime-Wiki
Jump to: navigation, search
(testing color links)
Line 13: Line 13:
 
div#content a[href ^="https://primes.utm.edu"].external {
 
div#content a[href ^="https://primes.utm.edu"].external {
 
     background: url("https://upload.wikimedia.org/wikipedia/commons/3/38/Database.png") center right no-repeat; padding-right: 18px;
 
     background: url("https://upload.wikimedia.org/wikipedia/commons/3/38/Database.png") center right no-repeat; padding-right: 18px;
 +
}
 +
 +
.ns-subject a {  /* Almost all links on subject pages to be green. */
 +
    color: #0f0;
 +
}
 +
.ns-talk a {      /* Links on talk pages to be blue. */
 +
    color: #00f;
 +
}
 +
.ns-3 a {        /* and links on user talk pages to be red */
 +
    color: #f00;
 
}
 
}

Revision as of 09:12, 1 February 2019

body.page-Main_Page.action-view h1.firstHeading,
body.page-Main_Page_de.action-view h1.firstHeading,
body.page-Main_Page.action-submit h1.firstHeading,
body.page-Main_Page_de.action-submit h1.firstHeading
  { display: none; }

/* Remove all the default icons in external links */
/*div#content a.external {
    background:none !important;
    padding: 0px !important;
}*/

div#content a[href ^="https://primes.utm.edu"].external {
    background: url("https://upload.wikimedia.org/wikipedia/commons/3/38/Database.png") center right no-repeat; padding-right: 18px;
}

.ns-subject a {   /* Almost all links on subject pages to be green. */
    color: #0f0;
}
.ns-talk a {      /* Links on talk pages to be blue. */
    color: #00f;
}
.ns-3 a {         /* and links on user talk pages to be red */
    color: #f00;
}