Difference between revisions of "MediaWiki:Vector.css"

From Team Fortress Wiki
Jump to: navigation, search
(fixed transparency issue)
 
(Nothing to see here)
Line 1: Line 1:
 
/* Make vector orange */
 
/* Make vector orange */
 
div.vectorTabs, div.vectorTabs li a, div.vectorMenu h5 a {
 
div.vectorTabs, div.vectorTabs li a, div.vectorMenu h5 a {
     background-image: url("http://wiki.tf2.com/w/images/5/58/Tab-break.png");
+
     background-image: url(/w/images/5/58/Tab-break.png);
 
}
 
}
  
 
#mw-head-base, #footer {
 
#mw-head-base, #footer {
     background-image: url("http://wiki.tf2.com/w/images/4/46/Border.png");
+
     background-image: url(/w/images/4/46/Border.png);
 
}
 
}
  
 
div.vectorTabs ul {  
 
div.vectorTabs ul {  
     background-image: url("http://wiki.tf2.com/w/images/5/58/Tab-break.png");
+
     background-image: url(/w/images/5/58/Tab-break.png);
 
}
 
}
  
 
div.vectorTabs ul li {
 
div.vectorTabs ul li {
     background-image: url("http://wiki.tf2.com/w/images/7/77/Tab-normal-fade.png");
+
     background-image: url(/w/images/7/77/Tab-normal-fade.png);
 
     background-color: transparent;
 
     background-color: transparent;
 
}
 
}
  
 
div.vectorTabs li.selected {
 
div.vectorTabs li.selected {
     background-image: url("http://wiki.tf2.com/w/images/7/71/Tab-current-fade.png");
+
     background-image: url(/w/images/7/71/Tab-current-fade.png);
 
}
 
}
  
 
#mw-page-base {
 
#mw-page-base {
     background: transparent url("http://wiki.tf2.com/w/images/9/99/Page-fade.png") repeat-x;
+
     background: transparent url(/w/images/9/99/Page-fade.png) repeat-x;
 
}
 
}
  
 
#content {  
 
#content {  
 
     background-color: transparent;
 
     background-color: transparent;
     background-image: url("http://wiki.tf2.com/w/images/d/dd/Content-bg.png");
+
     background-image: url(/w/images/d/dd/Content-bg.png);
 
     border-left:1px solid #F2A858;
 
     border-left:1px solid #F2A858;
 
}
 
}
  
 
#mw-panel div.portal div.body {  
 
#mw-panel div.portal div.body {  
     background-image: url("http://wiki.tf2.com/w/images/0/0f/Portal-break.png");
+
     background-image: url(/w/images/0/0f/Portal-break.png);
 
}
 
}
  
Line 38: Line 38:
 
body {
 
body {
 
     background-color: #F5F5F5;
 
     background-color: #F5F5F5;
     background-image: url("http://wiki.tf2.com/w/images/9/9f/Background_Main_vector.png");
+
     background-image: url(/w/images/9/9f/Background_Main_vector.png);
 
     background-attachment: fixed;
 
     background-attachment: fixed;
 
}
 
}

Revision as of 22:07, 22 June 2011

/* Make vector orange */
div.vectorTabs, div.vectorTabs li a, div.vectorMenu h5 a {
    background-image: url(/w/images/5/58/Tab-break.png);
}

#mw-head-base, #footer {
    background-image: url(/w/images/4/46/Border.png);
}

div.vectorTabs ul { 
    background-image: url(/w/images/5/58/Tab-break.png);
}

div.vectorTabs ul li {
    background-image: url(/w/images/7/77/Tab-normal-fade.png);
    background-color: transparent;
}

div.vectorTabs li.selected {
    background-image: url(/w/images/7/71/Tab-current-fade.png);
}

#mw-page-base {
    background: transparent url(/w/images/9/99/Page-fade.png) repeat-x;
}

#content { 
    background-color: transparent;
    background-image: url(/w/images/d/dd/Content-bg.png);
    border-left:1px solid #F2A858;
}

#mw-panel div.portal div.body { 
    background-image: url(/w/images/0/0f/Portal-break.png);
}

/* Need to set up new backgrounds here */
body {
    background-color: #F5F5F5;
    background-image: url(/w/images/9/9f/Background_Main_vector.png);
    background-attachment: fixed;
}

/* More padding for the little man icon in the corner */
#pt-userpage, #pt-anonuserpage, #pt-login { 
    padding-left: 20px !important;
}

/* Cover up visited link colour in personal bar
#p-personal a:visited { 
    color: #3F56AD;
}

/* Adjust position of site notice */
#siteNotice div,
#siteNotice p { 
    margin: -0.5em 0em 1.5em 0em
}

.topicon { 
    position: absolute !important;
    top: -44px !important;
    right: 1px !important;
    display: block !important;
}

/* Account for additions to shared.css */
table.wikitable {
    border-collapse: separate;
}

.wikitable th, .wikitable td {
    border: none;
}

table.grid {
  border: 1px #79542B solid;
  border-collapse: collapse;
  padding:0.4em;
}

.grid th, .grid td {
  border: 1px #79542B solid;
  padding: 0.1em 0.8em;
  white-space: inherit;
}

/* Vector sidebar fixes */
/* Hide languages box per namespace & per page */

.ns--1 .portal#p-languages,               /* Special */
.ns-0.page-Main_Page .portal#p-languages, /* Main Page exception */
.ns-2 .portal#p-languages,                /* User */
.ns-3 .portal#p-languages,                /* User talk */
.ns-4 .portal#p-languages,                /* Team Fortress Wiki */
.ns-5 .portal#p-languages,                /* Team Fortress Wiki talk */
.ns-6 .portal#p-languages,                /* File */
.ns-7 .portal#p-languages,                /* File talk */
.ns-8 .portal#p-languages,                /* MediaWiki */
.ns-9 .portal#p-languages                 /* MediaWiki talk */
{ 
    display: none; 
}