Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Wikia.css: Difference between revisions

MediaWiki interface page
LightSwitch (talk | contribs)
No edit summary
LightSwitch (talk | contribs)
No edit summary
Line 138: Line 138:
.pollAnswerName {
.pollAnswerName {
     padding-left: 0;
     padding-left: 0;
    margin-top: 5px;
}
}
   
   
Line 144: Line 145:
     background: rgba(0, 0, 0, 0.5);
     background: rgba(0, 0, 0, 0.5);
     height: 5px;
     height: 5px;
     line-height: 30px;
     line-height: 26px;
     margin-bottom: 2px;
     margin-bottom: 2px;
}
}
Line 153: Line 154:
     height: 5px;
     height: 5px;
     box-shadow: none;
     box-shadow: none;
     line-height: 30px;
     line-height: 26px;
     margin-bottom: 2px;
     margin-bottom: 2px;
}
}

Revision as of 06:22, 4 July 2020

/* CSS here will be applied to the main Wiki theme */
@import url("/MediaWiki:Item.css?action=raw&ctype=text/css");
@import url("/MediaWiki:Recipe.css?action=raw&ctype=text/css");
@import url("/MediaWiki:Staff.css?action=raw&ctype=text/css");
@import url("/MediaWiki:Theme.css?action=raw&ctype=text/css");
@import url("/MediaWiki:ThemeSwitcher.css?action=raw&ctype=text/css");

/* ===== General CSS ===== */
.i18ndoc {
    background-color: #FFF77D;
    border-bottom: 1px solid lightgrey;
    font-family: monospace;
    font-size: 8pt;
    height: 140px;
    overflow: auto;
    padding: 3px;
}

/** Better WikiActivity**/
.activityfeed > li {
	border-left: 5px solid #fbfbfb;
	border-radius: 3px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
	margin: 0.5em;
	overflow: hidden;
	padding-left: 3em;
	transition: all 0.3s;
	background: rgba(255,255,255,0.5);
}
.activityfeed > li.activity-type-edit {
	border-left-color: #feaf09;
}
.activityfeed > li.activity-type-new {
	border-left-color: skyblue;
}
.activityfeed > li.activity-type-talk {
	border-left-color: silver;
}
.activityfeed > li.activity-type-categorization {
	border-left-color: #b76801;
}

/* Tabber Design */
.tabbernav {
    font: bold 18px Century Gothic, sans-serif !important;
    border-bottom: 3px solid #229CBC !important;
    padding: 10px 0px !important;
}
.tabbernav a {
    padding: 10px 10px !important;
    margin: 0px !important;
    color: #229CBC !important;
    border: none !important;
    background: transparent !important;
}
.tabberactive a {
    color: white !important;
    background: #229CBC !important;
    border-radius: 8px 8px 0 0;
}
.tabbernav :not(.tabberactive) a:hover {
    background: rgba(35,156,188, 0.2) !important;
    border-radius: 8px 8px 0 0;
}
.tabbertab {
    border: none !important;
    padding: 0px !important;
}

.tabs {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.tabs li {
    float: none;
    display: inline-block;
}

/* User Tags */
a.tag {
    color: inherit;
}

/* Colorable */
.colorable {
    color:rgb(252,230,186);
    font-family: Century Gothic, sans-serif;
    font-weight: bold;
}
.colorable span[style="0"] {color:rgb(255,255,255);}
.colorable span[style="1"] {color:rgb(173,244,255);}
.colorable span[style="2"] {color:rgb(73,252,0);}
.colorable span[style="3"] {color:rgb(191,218,255);}
.colorable span[style="4"] {color:rgb(255,39,29);}
.colorable span[style="5"] {color:rgb(235,183,255);}
.colorable span[style="6"] {color:rgb(255,202,111);}
.colorable span[style="7"] {color:rgb(230,230,230);}
.colorable span[style="8"] {color:rgb(255,148,69);}
.colorable span[style="9"] {color:rgb(255,238,125);}

.colorable span[style="!"] {color:rgb(209,255,249);}
.colorable span[style="@"] {color:rgb(255,205,201);}
.colorable span[style="#"] {color:rgb(255,143,243);}
.colorable span[style="$"] {color:rgb(255,252,197);}
.colorable span[style="^"] {color:rgb(181,255,151);}
.colorable span[style="&"] {color:rgb(254,235,255);}

.colorable span[style="w"] {color:rgb(255,255,255);}
.colorable span[style="o"] {color:rgb(252,230,186);}
.colorable span[style="b"] {color:rgb(0,0,0);}
.colorable span[style="p"] {color:rgb(255,223,241);}

.colorable span[style="q"] {color:rgb(12,96,164);}
.colorable span[style="e"] {color:rgb(25,185,255);}
.colorable span[style="r"] {color:rgb(111,211,87);}
.colorable span[style="t"] {color:rgb(47,131,13);}
.colorable span[style="a"] {color:rgb(81,81,81);}
.colorable span[style="s"] {color:rgb(158,158,158);}

.ogg_player > div:last-child {
    display: none;
}

#tooltip-wrapper .main-tooltip {
    background: rgba(0,0,0,0.5);
    color: #FFF;
    border: none;
}

/* Poll Customisation */
div.ajax-poll {
   background: none;
   padding: 0 25px 0 0;
   border: none;
}
 
.pollAnswerName {
    padding-left: 0;
    margin-top: 5px;
}
 
.pollAnswerVotes {
    border: none;
    background: rgba(0, 0, 0, 0.5);
    height: 5px;
    line-height: 26px;
    margin-bottom: 2px;
}
 
.pollAnswerVotes div {
    border: none;
    background-color: #FFF;
    height: 5px;
    box-shadow: none;
    line-height: 26px;
    margin-bottom: 2px;
}
 
.pollAnswerVotes span {
    padding: 2px;
    font-weight: bold;
    top: 100%;
    bottom: auto;
    left: auto;
    right: 0;
}
 
div.ajax-poll div.header {
    width: 100%;
    background: none;
    padding-left: 5px;
    font-size: 18px;
}
 
.ajax-poll form input[type="submit"] {
	width: 100%;
    height: auto;
    padding: 7px 12px;
    background-image: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Century Gothic;
    box-shadow: 0 2px 2px rgba(0,0,0,0.5);
    margin-top: 5px;
}
 
#ajax-poll-area > div:last-child {
    font-size: 12px;
    line-height: 12px;
}