User:PJTraill/global.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Highlight the anchor targeted in the URL, if any */
:target {
  border: 2px solid Brown;
  background-color: LightCyan;
}

/* Always display the short description of a page, if available */
.shortdescription {
  display: block !important;
  white-space: pre-wrap;
  background-color: /* cornsilk */ Chartreuse;
}
.shortdescription::before { 
  content: "\A[Short description:\0020";
}
.shortdescription::after { 
  content: "]\A";
}

/* Suppress the line numbers in revision difference listings */
.diff-lineno {
  display: none;
}
/* —— that removes the blocks separators, try this to get something else (does not seem to work) */
.diff-lineno::before {
  content: "————";
  display: inline;
}
.diff-lineno::after {
  content: "————";
  display: inline;
}

/*
**   Originally copied from http://en.wikipedia.org/wiki/User:Tillwe/monobook.css as suggested at http://meta.wikimedia.org/wiki/Help:User_style#Monobook_menus_with_serif_fonts_in_the_content_area
**   and modified to use Gentium Book Basic.
*/

/* Display links ¿and anchors? without underline but with ¿background?, ¿no, border pulsing between off-white colours? no, as I think it uses way too much processing power */
a {
  text-decoration:none;
  /* animation: mypalepulse 3s infinite; */
  border: 2px solid SeaShell;
}
@keyframes mypalepulse {
    /* 50% {background-color: Cornsilk;} */
    /* 100% { background-color: Cornsilk; } */
/*
    from { background-color: #fffae6; / * Pale Cornsilk * / }
    to { background-color: SeaShell; }
*/
    from {  border: 2px solid #fffae6; /* Pale Cornsilk */ }
    to { border: 2px solid SeaShell; }
}
 
/* Display link under mouse with underline */
a:hover {
  text-decoration:underline;
}
 
#content {
    color:#000000;
    font: x-small "Gentium Book Plus","Gentium Book Basic",Gentium,serif; /* font: x-small Times,"Times New Roman",serif; */
    font-size:115%; /* font-size:123%; */
    margin: 2.3em 1.0em 0 10.5em;  /* top right bottom left */
    border-right: 1px solid #aaaaaa;
}