MediaWiki:Gadget-ms-Namespace.css: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(.error coloring)
No edit summary
Line 253: Line 253:
.ns-special #WikiaArticle, .ns-special #WikiaMainContent {
.ns-special #WikiaArticle, .ns-special #WikiaMainContent {
     /* placeholder */
     /* placeholder */
}
/* Fixes link colours
on forum archives */
.theme-fandomdesktop-dark .forum-archive a,
.theme-fandomdesktop-dark .forum-archive a.link,
.theme-fandomdesktop-dark .forum-archive a.visited {
color: #3728ac;
}
.theme-fandomdesktop-dark .forum-archive a.new {
color: #bf0017;
}
}

Revision as of 15:38, 18 February 2022

/* =================
   This page is used by the skin switcher,
   if indirectly. It mostly positively asserts
   what the background and text colors are
   in various namespaces so that the skin switcher
   universally works on pages, without issue.
   
   But, in the era of the October 2018 redesign,
   it seems less necessary because the new
   design is itself on a dark skin, obviating
   some of the reason for the skin switcher.
   
   Last revised: October 2018
   ================= */

/* ==============
   BACKGROUNDS
   ============== */
.ns-0 div.WikiaPageContentWrapper,
.ns-1 div.WikiaPageContentWrapper,
.ns-2 div.WikiaPageContentWrapper,
.ns-3 div.WikiaPageContentWrapper,
.ns-4 div.WikiaPageContentWrapper,
.ns-5 div.WikiaPageContentWrapper,
.ns-6 div.WikiaPageContentWrapper,
.ns-7 div.WikiaPageContentWrapper,
.ns-8 div.WikiaPageContentWrapper,
.ns-9 div.WikiaPageContentWrapper,
.ns-10 div.WikiaPageContentWrapper,
.ns-11 div.WikiaPageContentWrapper,
.ns-12 div.WikiaPageContentWrapper,
.ns-13 div.WikiaPageContentWrapper,
.ns-14 div.WikiaPageContentWrapper,
.ns-15 div.WikiaPageContentWrapper,
.ns-110 div.WikiaPageContentWrapper,
.ns-111 div.WikiaPageContentWrapper,
.ns-302 div.WikiaPageContentWrapper,
.ns-303 div.WikiaPageContentWrapper,
.ns-304 div.WikiaPageContentWrapper,
.ns-305 div.WikiaPageContentWrapper,
.ns-306 div.WikiaPageContentWrapper,
.ns-307 div.WikiaPageContentWrapper,
.ns-308 div.WikiaPageContentWrapper,
.ns-309 div.WikiaPageContentWrapper,
.ns-370 div.WikiaPageContentWrapper,
.ns-371 div.WikiaPageContentWrapper,
.ns-420 div.WikiaPageContentWrapper,
.ns-421 div.WikiaPageContentWrapper, 
.ns-500 div.WikiaPageContentWrapper,
.ns-501 div.WikiaPageContentWrapper,
.ns-503 div.WikiaPageContentWrapper,
.ns-special div.WikiaPageContentWrapper,
.body.page-Special_AdminDashboard div.WikiaPageContentWrapper {
   font-family: "Rubik";
}

.ns-1100 div.WikiaPageContentWrapper,
.ns-2000 div.WikiaPageContentWrapper,
.ns-2002 div.WikiaPageContentWrapper,
.ns-1201 div.WikiaPageContentWrapper {
/*background: rgb(246,230,180);
background: -moz-linear-gradient(left,  rgba(246,230,180,1) 0%, rgba(246,230,180,1) 58%, rgba(234,196,150,1) 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(246,230,180,1)), color-stop(58%,rgba(246,230,180,1)), color-stop(100%,rgba(234,196,150,1)));
background: -webkit-linear-gradient(left,  rgba(246,230,180,1) 0%,rgba(246,230,180,1) 58%,rgba(234,196,150,1) 100%);
background: -o-linear-gradient(left,  rgba(246,230,180,1) 0%,rgba(246,230,180,1) 58%,rgba(234,196,150,1) 100%);
background: -ms-linear-gradient(left,  rgba(246,230,180,1) 0%,rgba(246,230,180,1) 58%,rgba(234,196,150,1) 100%);
background: linear-gradient(to right,  rgba(246,230,180,1) 0%,rgba(246,230,180,1) 58%,rgba(234,196,150,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6e6b4', endColorstr='#eac496',GradientType=1 );*/
}
.ns-1100 .WikiaPage .WikiaPageBackground,
.ns-2000 .WikiaPage .WikiaPageBackground,
.ns-2002 .WikiaPage .WikiaPageBackground,
.ns-1201 .WikiaPage .WikiaPageBackground {
/*background: rgb(246, 230, 180);
background: -moz-linear-gradient(left, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(246, 230, 180, 1)), color-stop(58%, rgba(246, 230, 180, 1)), color-stop(100%, rgba(234, 196, 150, 1)));
background: -webkit-linear-gradient(left, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
background: -o-linear-gradient(left, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
background: -ms-linear-gradient(left, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
background: linear-gradient(to right, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#f6e6b4', endColorstr='#eac496', GradientType=1 ) */
}
/* ==============
   ALL NAMESPACES
   ============== */


/* Talk namespace (only talk, not specialised forms of talk) */ 
.ns-1 #WikiaArticle, 
.ns-1 #WikiaMainContent {
   font-family: "Rubik";
}

/* Category namespace */
.ns-14 #WikiaArticle, .ns-14 #WikiaMainContent,
.ns-15 #WikiaArticle, .ns-15 #WikiaMainContent {
   font-family: "Rubik";
}

/* The little A-Z strip with CategorySorter.js */

.letters.alpha a:hover {
    color:#012c57!important
}
.letters.alpha a:visited,
.letters.alpha a:link,
.letters.alpha {
    color:white;
    border-color:white;
}
.letters.sortkey {
    background:white
} 
/* Forum and User namespaces */
.ns-2 #WikiaArticle, .ns-2 #WikiaMainContent,
.ns-3 #WikiaArticle, .ns-3 #WikiaMainContent, 
.ns-110 #WikiaArticle, .ns-110 #WikiaMainContent,
.ns-111 #WikiaArticle, .ns-111 #WikiaMainContent,
.ns-500 #WikiaArticle, .ns-500 #WikiaMainContent,
.ns-501 #WikiaArticle, .ns-501 #WikiaMainContent,
.ns-503 #WikiaArticle, .ns-503 #WikiaMainContent {
    font-family: "Rubik";
}

.ns-2 .error { 
   font-family: "Rubik";
   margin-top:200px;
   margin-left:auto;
   margin-right:auto;
   text-align:center;
   font-size:90%;
   line-height:90%; 
}
/* Howling and Theory */
.ns-112 #WikiaArticle, .ns-112 #WikiaMainContent,
.ns-113 #WikiaArticle, .ns-113 #WikiaMainContent,
.ns-114 #WikiaArticle, .ns-114 #WikiaMainContent,
.ns-115 #WikiaArticle, .ns-115 #WikiaMainContent {
   font-family: "Rubik";
}

.ns-112 h1, .ns-113 h1, .ns-114 h1, .ns-115 h1,
.ns-112 h2, .ns-113 h2, .ns-114 h2, .ns-115 h2,
.ns-112 h3, .ns-113 h3, .ns-114 h3, .ns-115 h3,
.ns-112 h4, .ns-113 h4, .ns-114 h4, .ns-115 h4,
.ns-112 h5, .ns-113 h5, .ns-114 h5, .ns-115 h5,
.ns-112 h6, .ns-113 h6, .ns-114 h6, .ns-115 h6,
.ns-112 a, .ns-113 a, .ns-114 a, .ns-115 a  {
}

.ns-112 div.WikiaPageContentWrapper,
.ns-113 div.WikiaPageContentWrapper,
.ns-114 div.WikiaPageContentWrapper,
.ns-115 div.WikiaPageContentWrapper {
/*background: rgb(246,230,180);
background: -moz-linear-gradient(left,  rgba(246,230,180,1) 0%, rgba(246,230,180,1) 58%, rgba(234,196,150,1) 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(246,230,180,1)), color-stop(58%,rgba(246,230,180,1)), color-stop(100%,rgba(234,196,150,1)));
background: -webkit-linear-gradient(left,  rgba(246,230,180,1) 0%,rgba(246,230,180,1) 58%,rgba(234,196,150,1) 100%);
background: -o-linear-gradient(left,  rgba(246,230,180,1) 0%,rgba(246,230,180,1) 58%,rgba(234,196,150,1) 100%);
background: -ms-linear-gradient(left,  rgba(246,230,180,1) 0%,rgba(246,230,180,1) 58%,rgba(234,196,150,1) 100%);
background: linear-gradient(to right,  rgba(246,230,180,1) 0%,rgba(246,230,180,1) 58%,rgba(234,196,150,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6e6b4', endColorstr='#eac496',GradientType=1 );
    color:#1f1e38; */
}
.ns-112 .WikiaPage .WikiaPageBackground,
.ns-113 .WikiaPage .WikiaPageBackground,
.ns-114 .WikiaPage .WikiaPageBackground,
.ns-115 .WikiaPage .WikiaPageBackground {
/*background: rgb(246, 230, 180);
background: -moz-linear-gradient(left, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(246, 230, 180, 1)), color-stop(58%, rgba(246, 230, 180, 1)), color-stop(100%, rgba(234, 196, 150, 1)));
background: -webkit-linear-gradient(left, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
background: -o-linear-gradient(left, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
background: -ms-linear-gradient(left, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
background: linear-gradient(to right, rgba(246, 230, 180, 1) 0%, rgba(246, 230, 180, 1) 58%, rgba(234, 196, 150, 1) 100%);
filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#f6e6b4', endColorstr='#eac496', GradientType=1 ) */
}

.ns-112 div.EditPageToolbar #tech {
    display:none;
}

/*  Suppressing the parent being listed when subpages are called.
    This is mainly for Forum:Discontinuity index */

body.ns-110 #contentSub .subpages,
body.ns-114 #contentSub .subpages {
    display:none;
}

/* Tardis file and Help namespaces */
.ns-4 #WikiaArticle, .ns-4 #WikiaMainContent,
.ns-5 #WikiaArticle, .ns-5 #WikiaMainContent,
.ns-6 #WikiaArticle, .ns-6 #WikiaMainContent,
.ns-7 #WikiaArticle, .ns-7 #WikiaMainContent,
.ns-12 #WikiaArticle, .ns-12 #WikiaMainContent,
.ns-13 #WikiaArticle, .ns-13 #WikiaMainContent {
   font-family: "Rubik";
}
/* MediaWiki and Template namespaces */
.ns-8 #WikiaArticle, .ns-8 #WikiaMainContent,
.ns-9 #WikiaArticle, .ns-9 #WikiaMainContent,
.ns-10 #WikiaArticle, .ns-10 #WikiaMainContent,
.ns-11 #WikiaArticle, .ns-11 #WikiaMainContent {
   font-family: Monaco,"Andale Mono","Lucida Sans Typewriter", "Lucida Console", "Nimbus Mono L", "Courier New", monospace;
}

.ns-8 pre, .ns-8 .WikiaArticle pre, .ns-9 pre, .ns-9 .WikiaArticle pre {           
    background: rgba(1, 44, 87, 0.10); /*url(https://images.wikia.nocookie.net/tardistest/images/c/ce/70opacitywhite.png)*/
          font-family: Monaco,"Andale Mono","Lucida Sans Typewriter", "Lucida Console", "Nimbus Mono L", "Courier New", monospace;
     -moz-box-shadow:none;
  -webkit-box-shadow:none;
       -o-box-shadow:none;
      -ms-box-shadow:none;
          box-shadow:none;
     border-color:transparent;
}

/* SMW namespaces  */
.ns-302 #WikiaArticle, 
.ns-303 #WikiaArticle,
.ns-304 #WikiaArticle,
.ns-305 #WikiaArticle,
.ns-306 #WikiaArticle,
.ns-307 #WikiaArticle,
.ns-308 #WikiaArticle,
.ns-309 #WikiaArticle,
.ns-370 #WikiaArticle,
.ns-371 #WikiaArticle,
.ns-420 #WikiaArticle,
.ns-421 #WikiaArticle,
.ns-302 #WikiaMainContent,
.ns-303 #WikiaMainContent,
.ns-304 #WikiaMainContent,
.ns-305 #WikiaMainContent,
.ns-306 #WikiaMainContent,
.ns-307 #WikiaMainContent,
.ns-308 #WikiaMainContent,
.ns-309 #WikiaMainContent,
.ns-370 #WikiaMainContent,
.ns-371 #WikiaMainContent,
.ns-420 #WikiaMainContent,
.ns-421 #WikiaMainContent {
    font-family: Monaco,"Andale Mono","Lucida Sans Typewriter", "Lucida Console", "Nimbus Mono L", "Courier New", monospace;
}

/* "Special" namespace
   and other oddities */
.ns-1100 #WikiaArticle, .ns-1100 #WikiaMainContent, /*relatedvideos*/
.ns-2002 #WikiaArticle, .ns-2002 #WikiaMainContent, /*topic*/
.ns-2000 #WikiaArticle, .ns-2000 #WikiaMainContent, /*thread*/
.ns-1201 #WikiaArticle, .ns-1201 #WikiaMainContent, /*board*/
.ns-special #WikiaArticle, .ns-special #WikiaMainContent {
    /* placeholder */
}

/* Fixes link colours
	on forum archives */
.theme-fandomdesktop-dark .forum-archive a,
.theme-fandomdesktop-dark .forum-archive a.link,
.theme-fandomdesktop-dark .forum-archive a.visited {
	color: #3728ac;
}
.theme-fandomdesktop-dark .forum-archive a.new {
	color: #bf0017;
}