User:OwenBlacker/common.css

From Wikimedia UK
< User:OwenBlacker
Revision as of 16:59, 30 September 2013 by OwenBlacker (talk | contribs) (Copied from en.wp)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.
@import url(//fonts.googleapis.com/css?family=Gentium+Basic:400,700,400italic,700italic&subset=latin,latin-ext);
 
body, input, span#wikEdSummaryComboInput select#wikEdSummarySelect
{
   font-family: Calibri, Arial, sans-serif;
}
 
div#wikiPreview
{
   background-color: #fcc;
   background-image: -webkit-gradient(linear, 0 100%, 100% 0,
                         color-stop(0.25, rgba(255, 255, 255, 0.15)),
                         color-stop(0.25, transparent),
                         color-stop(0.5, transparent),
                         color-stop(0.5, rgba(255, 255, 255, 0.15)),
                         color-stop(0.75, rgba(255, 255, 255, 0.15)),
                         color-stop(0.75, transparent), to(transparent));
   background-image: -webkit-linear-gradient(315deg,
                         rgba(255, 255, 255, 0.15) 25%,
                         transparent 25%, transparent 50%,
                         rgba(255, 255, 255, 0.15) 50%,
                         rgba(255, 255, 255, 0.15) 75%,
                         transparent 75%, transparent);
   background-image: -moz-linear-gradient(315deg,
                         rgba(255, 255, 255, 0.15) 25%,
                         transparent 25%, transparent 50%,
                         rgba(255, 255, 255, 0.15) 50%,
                         rgba(255, 255, 255, 0.15) 75%,
                         transparent 75%, transparent);
   background-image: linear-gradient(315deg,
                         rgba(255, 255, 255, 0.15) 25%,
                         transparent 25%, transparent 50%,
                         rgba(255, 255, 255, 0.15) 50%,
                         rgba(255, 255, 255, 0.15) 75%,
                         transparent 75%, transparent);
 
   -webkit-background-size: 50px 50px;
      -moz-background-size: 50px 50px;
           background-size: 50px 50px;
}
 
div#wikiPreview pre.mw-code
{
   opacity: 0.7;
}
 
textarea, pre, code, input#wpSummary
{
   font-family: Consolas, Lucida Console, Courier New, Courier, monospace !important;
}
 
table.infobox, table.infobox td, table.infobox th,
sup.reference, sup small, small sup, span.languageicon, span.mw-editsection a,
div.editButtons input[type=submit], div.editButtons span.cancelLink a
{
   font-family: Segoe UI, Calibri, Tahoma, sans-serif !important;
}
 
span.IPA, span.Unicode
{
   font-family: Arial Unicode MS, sans-serif !important;
}
 
table.infobox.geography td.mergedtoprow, th.navbox-title, h1, h2, h3, h4, h5
{
   font-family: 'Gentium Basic', Cambria, Times, serif !important;
}
 
@media (max-width: 1024px)
{
   .ubxDiv, #mw-panel { display: none; }
   div#content, div#footer { margin-left: 0; }
   div#left-navigation { left: 0; }
}
 
@media print
{
    a:link, a:visited, a:active { text-decoration: underline !important; }
    table#toc { display: none; }
}
 
body
{
   zoom: 1.25;
   -moz-transform: scale(1.25);
}
 
#bodyContent { font-size: 0.75em; }
 
h1, h2, h3, h4, p, ul, ol, dl, li, table.infobox td.mergedtoprow { text-align: left; }
 
h1, h2, h3, h4 {
   margin-left: 0;
   padding-left: 0;
}
 
h4 span.mw-headline { font-style: italic; }
input#wpSummary { font-size: 14px; }
table.toc#toc { min-width: 25%; }
textarea { font-size: 1em; }
 
.metadata, #disambig, .infobox, .notice, .selfref { text-align: left; }
 
.messagebox.standard-talk {
    background-color: #fcfada; /* not #f8eaba; */
}
 
.mw-newarticletext, .editHelp, .editnotice-namespace, .editpage-head-copywarn, .mw-tos-summary p,
#minoredit_helplink a, #editpage-copywarn, #editpage-copywarn2, #editpage-copywarn3, sup.reference span
{
    display: none;
}
 
#minoredit_helplink:after
{
    content: 'minor edit';
}
 
.editOptions
{
   margin-top: 0.5em;
   border-top: 1px solid silver;
}
 
/* From Template_talk:Reflist */
div.reflist, div.references-small
{
    -webkit-column-count: 2 !important;
    -moz-column-count: 2 !important;
}
 
/* Force header rows from [[Template:Infobox]] to be coloured light grey */
table.infobox tr th[colspan=2]
{
   background: #eee !important;
   text-align: left !important;
}
 
/* German fonts */
/*
** body.ns-0 div#content li.interwiki-de, :lang(de) {
**   font-family: Breitkopf Fraktur, Calibri, Arial, serif !important;
**   font-size: 150%;
**   font-style: normal;
** }
*/
 
span[lang] { border-bottom: dashed 1px red; }
a.mw-redirect { border-bottom: dotted 1px green; } /* from [[:fr:Aide:Redirection]] */
span[lang] a.mw-redirect, a.mw-redirect[lang] { border-bottom: double 1px green; }
 
span[lang|=km], :lang(km) { font-size: x-large; }
 
table.gallery td
{
   text-align: center;
   vertical-align: top;
}
 
input#wpSummary { width: 100%; }
 
div#p-lang ul li a sub { vertical-align: baseline; }
 
.asof-tag { display: inline !important; } /* Show all links: [[WP:AO]] */
 
body #content a.external[href ~="books.google"]
{
   background: url(//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Book_Hexagonal_Icon.svg/20px-Book_Hexagonal_Icon.svg.png) center right no-repeat;
   padding: 0 18px 0 0;
}
 
span.smallcaps, .navbar.mini li span, span.nocaps, span.NOCAPS, span.smallcaps span.nocaps, span.SMALLCAPS span.NOCAPS
{
   font-variant: normal !important;
   text-decoration: underline;
}
div.navbar.mini li { text-transform: lowercase; }
 
/* Syntax highlighting of code comments */
pre.de1 span.co1 { color: #999 !important; }
 
div#simpleSearch, div#simpleSearch input#searchInput
{
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;
}
div#simpleSearch input#searchInput { padding-left: 0.6em; }
 
/* From Bootstrap */
textarea:focus,
input:not([type]):focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="checkbox"]:focus,
select:focus
/* , div#simpleSearch! > input:focus */
{
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */
  border-style: solid;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
 
sup.reference, span.languageicon, span.mw-editsection a, sup small, small sup
{
   padding: 2px 4px;
   font-weight: normal;
   color: white !important;
   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
   white-space: nowrap;
   background-color: #999;
   -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
           border-radius: 3px;
}
 
.template-documentation span.mw-editsection.plainlinks a
{
   background-color: #5af !important;
   padding: 2px 4px !important;
}
 
span.mw-editsection, span.cancelLink { visibility: hidden; }
span.mw-editsection a
{
   background-color: #5af;
   color: white;
   font-size: 75%;
   visibility: visible;
   margin-left: -1em;
}
 
span.languageicon a { color: white !important; }
span.languageicon
{
   font-size: 0.85em !important;
   font-weight: normal !important;
}
span.reference-text span.languageicon { padding: 2px 3px; }
 
sup.reference, sup small, small sup
{
   background-color: #ccc;
   font-size: 70%;
   padding: 2px 4px;
   -webkit-border-radius: 9px;
      -moz-border-radius: 9px;
           border-radius: 9px;
}
sup.reference a, sup small, small sup { color: white; font-weight: bold; }
 
div.editButtons input[type=submit], div.editButtons span.cancelLink a,
fieldset#templatesandbox-editform input#wpTemplateSandboxPreview
{
   padding: 4px 12px;
   font-size: 13px;
   line-height: 20px;
   height: 30px !important;
   color: #333;
   text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
   vertical-align: middle;
   background-image:    -moz-linear-gradient(top, #fff, #e6e6e6);
   background-image:        -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
   background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
   background-image:      -o-linear-gradient(top, #fff, #e6e6e6);
   background-image:         linear-gradient(to bottom, #fff, #e6e6e6);
   border: 1px solid #ccc;
   border-color: #e6e6e6 #e6e6e6 #bfbfbf;
   border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
   border-bottom-color: #b3b3b3;
   -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
           border-radius: 4px;
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
   filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
   -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
      -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
           box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
 
div.editButtons input[type=submit]:focus, div.editButtons span.cancelLink a:focus,
fieldset#templatesandbox-editform input#wpTemplateSandboxPreview:focus
{
   outline: thin dotted #333;
   outline: 5px auto -webkit-focus-ring-color;
   outline-offset: -2px;
}
 
div.editButtons input[type=submit]:active, div.editButtons span.cancelLink a:active,
fieldset#templatesandbox-editform input#wpTemplateSandboxPreview:active
{
   background-image: none;
   outline: 0;
   -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
      -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
           box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
 
div.editButtons input[type=submit]#wpSave
{
   font-weight: normal;
   color: white;
   background-color: #5bb75b;
   background-image:    -moz-linear-gradient(top, #62c462, #51a351);
   background-image:        -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
   background-image: -webkit-linear-gradient(top, #62c462, #51a351);
   background-image:      -o-linear-gradient(top, #62c462, #51a351);
   background-image:         linear-gradient(to bottom, #62c462, #51a351);
   border-color: #51a351 #51a351 #387038;
   border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
   filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
 
div.editButtons input[type=submit]#wpPreview,
div.editButtons input[type=submit]#wpDiff,
fieldset#templatesandbox-editform input#wpTemplateSandboxPreview
{ }
 
div.editButtons span.cancelLink a
{
   visibility: visible;
   cursor: pointer !important;
   color: white;
   background-color: #da4f49;
   background-image:    -moz-linear-gradient(top, #ee5f5b, #bd362f);
   background-image:        -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
   background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
   background-image:      -o-linear-gradient(top, #ee5f5b, #bd362f);
   background-image:         linear-gradient(to bottom, #ee5f5b, #bd362f);
   border-color: #bd362f #bd362f #802420;
   border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
   filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
div.editButtons span.cancelLink a:hover { text-decoration: none; }