Community Central
Community Central
mNo edit summary
mNo edit summary
Tag: sourceedit
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is a custom .css that changes your chat window. This skin now has support for transparency and background images, as well as color changes for the user menu's icons. [http://i.imgur.com/IA09wWr.png -preview-]
+
This is a custom .css that visually changes your chat window. As of the recent updates, this skin now has support for transparency and background images, as well as color changes for the user menu's icons.
  +
[http://i.imgur.com/IA09wWr.png -preview-].
   
As for background images, you may use [http://imgur.com imgur] or Wikia. Make sure to place it on <nowiki>".ChatWindow {
+
As for background images, you may use [http://imgur.com imgur] or Wikia. Make sure to place the link on <nowiki>".ChatWindow {
background:url('') no-repeat fixed center;"</nowiki>, between the apostrophe enclosed with the parentheses.
+
background:url('') no-repeat fixed center;"</nowiki>.
   
 
To apply the modular chat skin, visit [[Special:MyPage/wikia.css|this page]] on a wiki, or [[Special:MyPage/global.css|here]]; should you wish for the modular chat skin to be applied on all wiki chats.
 
To apply the modular chat skin, visit [[Special:MyPage/wikia.css|this page]] on a wiki, or [[Special:MyPage/global.css|here]]; should you wish for the modular chat skin to be applied on all wiki chats.
Line 8: Line 9:
 
To suggest features, make sure you message me on my [[Message Wall:Ahri-chan|wall]].
 
To suggest features, make sure you message me on my [[Message Wall:Ahri-chan|wall]].
   
==.css==
+
==Codes==
 
<tabber>
 
<tabber>
 
Universal MCS =
 
Local MCS =
 
   
 
<pre>
 
<pre>
   
/* Modular Chat Skin */
+
/* MCS (universal) */
 
 
 
#WikiaPage {
 
#WikiaPage {
 
border:1px solid #3d454d;
background-color:rgba(0, 0, 0, 0.15);
+
background-color:rgba(0, 0, 0, 0.75);
 
}
 
}
 
 
.ChatWindow {
+
.ChatWindow {
background:url('http://i.imgur.com/v5IvGto.jpg') no-repeat fixed center;
+
background: url('') no-repeat fixed center;
 
}
 
}
 
 
.ChatHeader {
+
.ChatHeader .User {
  +
border-left:1px solid #3d454d;
background-color:rgba(0, 0, 0, 0.75);
 
 
}
 
}
 
 
.Chat li.you {
+
.Chat {
  +
color: #d5d4d4;
  +
border-right:1px solid #3d454d;
  +
border-bottom:1px solid #3d454d;
  +
}
 
 
.ChatWindow .WikiaPage {
  +
background-color: rgba(0, 0, 0, 0.75);
  +
border:1px solid #3d454d;
  +
color: #d5d4d4;
  +
}
  +
  +
.ChatWindow .ChatHeader {
 
background-color:rgba(0, 0, 0, 0.75);
  +
border:1px solid #3d454d;
  +
color: #d5d4d4;
  +
}
  +
  +
.ChatWindow .Chat li.you {
 
background:transparent;
 
background:transparent;
  +
}
  +
  +
.Chat .avatar {
  +
border:1px solid #3d454d;
 
}
 
}
 
 
Line 41: Line 64:
 
 
 
.ChatWindow .UserStatsMenu .info {
 
.ChatWindow .UserStatsMenu .info {
background:transparent;
+
background:transparent;
  +
color:#d5d4d4;
 
}
 
}
 
 
Line 48: Line 72:
 
}
 
}
 
 
  +
.User img {
/* WARNING: Do not remove the link below. It's for the menu icons. */
 
  +
border:1px solid #3d454d;
  +
}
  +
  +
.UserStatsMenu .info img {
  +
border: 1px solid #3d454d;
  +
}
 
 
 
.UserStatsMenu .actions ul li .icon {
 
.UserStatsMenu .actions ul li .icon {
background-position:0; background-image:url('http://i.imgur.com/T1scNH0.png');
+
background-position:0; background-image:url('http://img4.wikia.nocookie.net/__cb20140409013944/central/images/4/49/Mcs-sprites.png');
 
opacity:100;
 
opacity:100;
 
}
 
}
Line 59: Line 89:
 
}
 
}
 
 
  +
.UserStatsMenu .actions .separator {
.ChatWindow .Write .message {
 
  +
border-top: #3d454d 1px solid;
  +
}
  +
  +
.Write [name="message"] {
  +
color: #d5d4d4;
  +
}
  +
  +
.Write img {
  +
border:1px solid #3d454d;
  +
}
  +
  +
.Write .message {
  +
border:1px solid #3d454d;
 
background:transparent;
 
background:transparent;
  +
}
  +
  +
.Rail {
  +
color: #d5d4d4;
 
}
 
}
 
 
Line 75: Line 122:
 
}
 
}
 
 
.Rail .private {
+
.Rail .private {
  +
border-top: 1px solid #3d454d;
  +
border-bottom: 1px solid #3d454d;
 
background-color:transparent;
 
background-color:transparent;
 
background-image:-webkit-gradient(linear,0% 0%,0% 0%,color-stop(0,transparent),color-stop(0,transparent));
 
background-image:-webkit-gradient(linear,0% 0%,0% 0%,color-stop(0,transparent),color-stop(0,transparent));
Line 91: Line 140:
 
|-|
 
|-|
   
  +
MCS for chat hacks =
Universal MCS =
 
   
 
<pre>
 
<pre>
   
/* Modular Chat Skin (Universal) */
+
/* MCS (universal; chat hacks support) */
  +
 
 
#WikiaPage {
 
#WikiaPage {
  +
border:1px solid #3d454d;
background-color:rgba(0, 0, 0, 0.15);
+
background-color:rgba(0, 0, 0, 0.75);
 
}
 
}
 
 
 
.ChatWindow {
 
.ChatWindow {
background: url('http://i.imgur.com/6a9G8ip.jpg') no-repeat fixed center;
+
background: url('') no-repeat fixed center;
 
}
 
}
  +
 
 
.ChatHeader .User {
 
.ChatHeader .User {
border-right:1px solid #3d454d;
 
 
border-left:1px solid #3d454d;
 
border-left:1px solid #3d454d;
 
}
 
}
 
 
 
.Chat {
 
.Chat {
  +
color: #d5d4d4;
 
border-right:1px solid #3d454d;
 
border-right:1px solid #3d454d;
 
border-bottom:1px solid #3d454d;
 
border-bottom:1px solid #3d454d;
Line 118: Line 168:
 
background-color: rgba(0, 0, 0, 0.75);
 
background-color: rgba(0, 0, 0, 0.75);
 
border:1px solid #3d454d;
 
border:1px solid #3d454d;
color:white;
+
color: #d5d4d4;
 
}
 
}
 
 
Line 124: Line 174:
 
background-color:rgba(0, 0, 0, 0.75);
 
background-color:rgba(0, 0, 0, 0.75);
 
border:1px solid #3d454d;
 
border:1px solid #3d454d;
color:white;
+
color: #d5d4d4;
 
}
 
}
 
 
Line 144: Line 194:
 
.ChatWindow .UserStatsMenu .info {
 
.ChatWindow .UserStatsMenu .info {
 
background:transparent;
 
background:transparent;
color:white;
+
color:#d5d4d4;
 
}
 
}
 
 
Line 154: Line 204:
 
border:1px solid #3d454d;
 
border:1px solid #3d454d;
 
}
 
}
 
/* WARNING: Do not remove the link below. It's for the menu icons. */
 
 
 
 
.UserStatsMenu .actions ul li .icon {
 
.UserStatsMenu .actions ul li .icon {
background-position:0; background-image:url('http://i.imgur.com/T1scNH0.png');
+
background-position:0; background-image:url('http://img4.wikia.nocookie.net/__cb20140409013944/central/images/4/49/Mcs-sprites.png');
 
opacity:100;
 
opacity:100;
 
}
 
}
Line 167: Line 215:
 
 
 
.Write [name="message"] {
 
.Write [name="message"] {
color:white;
+
color: #d5d4d4;
 
}
 
}
 
 
 
.Write img {
 
.Write img {
border:1px solid #3d454d;
+
border: 1px solid #3d454d;
 
}
 
}
 
 
 
.Write .message {
 
.Write .message {
border:1px solid #3d454d;
+
border: 1px solid #3d454d;
background:transparent;
+
background: transparent;
  +
width: 91.8%;
  +
}
  +
  +
.Rail {
  +
color: #d5d4d4;
  +
}
  +
  +
.Rail .wordmark .chevron {
  +
top:48px;
  +
}
  +
  +
.Rail .wordmark .chevron.closed {
  +
top:45px;
 
}
 
}
 
 
Line 206: Line 267:
   
 
</tabber>
 
</tabber>
 
==Upcoming updates==
 
* Compatibility with chat hacks
 
* Universalisation of the .css.
 

Latest revision as of 02:19, 15 April 2015

This is a custom .css that visually changes your chat window. As of the recent updates, this skin now has support for transparency and background images, as well as color changes for the user menu's icons. -preview-.

As for background images, you may use imgur or Wikia. Make sure to place the link on ".ChatWindow { background:url('') no-repeat fixed center;".

To apply the modular chat skin, visit this page on a wiki, or here; should you wish for the modular chat skin to be applied on all wiki chats.

To suggest features, make sure you message me on my wall.

Codes[]


/* MCS (universal) */
 
#WikiaPage {
border:1px solid #3d454d;
background-color:rgba(0, 0, 0, 0.75);
}
 
.ChatWindow {
background: url('') no-repeat fixed center;
}
 
.ChatHeader .User {
border-left:1px solid #3d454d;
}
 
.Chat {
color: #d5d4d4;
border-right:1px solid #3d454d;
border-bottom:1px solid #3d454d;
}
 
.ChatWindow .WikiaPage {
background-color: rgba(0, 0, 0, 0.75);
border:1px solid #3d454d;
color: #d5d4d4;
}
 
.ChatWindow .ChatHeader {
background-color:rgba(0, 0, 0, 0.75);
border:1px solid #3d454d;
color: #d5d4d4; 
}
 
.ChatWindow .Chat li.you {
background:transparent; 
}
 
.Chat .avatar {
border:1px solid #3d454d;
}
 
.ChatWindow .UserStatsMenu { 
background-color:rgba(0, 0, 0, 0.45); 
box-shadow: inset 0 0 0px 0px #000000; -webkit-box-shadow: inset 0 0 0px 0px #000000;
border:1px solid #3d454d; 
border-radius:3px; 
}
 
.ChatWindow .UserStatsMenu .info { 
background:transparent;
color:#d5d4d4;
}
 
.ChatWindow .UserStatsMenu .actions ul li:hover { 
background:transparent; 
}
 
.User img {
border:1px solid #3d454d;
}
 
.UserStatsMenu .info img {
border: 1px solid #3d454d;
}
 
.UserStatsMenu .actions ul li .icon { 
background-position:0; background-image:url('http://img4.wikia.nocookie.net/__cb20140409013944/central/images/4/49/Mcs-sprites.png');
opacity:100; 
}
 
.UserStatsMenu .actions ul li:hover .icon { 
opacity:100; 
}
 
.UserStatsMenu .actions .separator {
border-top: #3d454d 1px solid;
}
 
.Write [name="message"] {
color: #d5d4d4;
}
 
.Write img {
border:1px solid #3d454d;
}
 
.Write .message { 
border:1px solid #3d454d;
background:transparent; 
}
 
.Rail {
color: #d5d4d4;
}
 
.Rail .User:hover { 
background:transparent; 
}
 
.Rail .public .chevron { 
border-color:white transparent transparent transparent; 
}
 
.Rail .public .chevron.closed { 
border-color:transparent transparent transparent white; 
}
 
.Rail .private {
border-top: 1px solid #3d454d;
border-bottom: 1px solid #3d454d;
background-color:transparent; 
background-image:-webkit-gradient(linear,0% 0%,0% 0%,color-stop(0,transparent),color-stop(0,transparent));
}
 
.Rail .selected { 
background:transparent; 
box-shadow: inset 0 0 0px 0px #000000; -webkit-box-shadow: inset 0 0 0px 0px #000000; 
}
 
/* END OF CODES */


/* MCS (universal; chat hacks support) */
 
#WikiaPage {
border:1px solid #3d454d;
background-color:rgba(0, 0, 0, 0.75);
}
 
.ChatWindow {
background: url('') no-repeat fixed center;
}
 
.ChatHeader .User {
border-left:1px solid #3d454d;
}
 
.Chat {
color: #d5d4d4;
border-right:1px solid #3d454d;
border-bottom:1px solid #3d454d;
}
 
.ChatWindow .WikiaPage {
background-color: rgba(0, 0, 0, 0.75);
border:1px solid #3d454d;
color: #d5d4d4;
}
 
.ChatWindow .ChatHeader {
background-color:rgba(0, 0, 0, 0.75);
border:1px solid #3d454d;
color: #d5d4d4; 
}
 
.ChatWindow .Chat li.you {
background:transparent; 
}
 
.Chat .avatar {
border:1px solid #3d454d;
}
 
.ChatWindow .UserStatsMenu { 
background-color:rgba(0, 0, 0, 0.45); 
box-shadow: inset 0 0 0px 0px #000000; -webkit-box-shadow: inset 0 0 0px 0px #000000;
border:1px solid #3d454d; 
border-radius:3px; 
}
 
.ChatWindow .UserStatsMenu .info { 
background:transparent;
color:#d5d4d4;
}
 
.ChatWindow .UserStatsMenu .actions ul li:hover { 
background:transparent; 
}
 
.User img {
border:1px solid #3d454d;
}
 
.UserStatsMenu .actions ul li .icon { 
background-position:0; background-image:url('http://img4.wikia.nocookie.net/__cb20140409013944/central/images/4/49/Mcs-sprites.png');
opacity:100; 
}
 
.UserStatsMenu .actions ul li:hover .icon { 
opacity:100; 
}
 
.Write [name="message"] {
color: #d5d4d4;
}
 
.Write img {
border: 1px solid #3d454d;
}
 
.Write .message { 
border: 1px solid #3d454d;
background: transparent;
width: 91.8%;
}
 
.Rail {
color: #d5d4d4;
}

.Rail .wordmark .chevron { 
top:48px; 
}
 
.Rail .wordmark .chevron.closed { 
top:45px; 
}
 
.Rail .User:hover { 
background:transparent; 
}
 
.Rail .public .chevron { 
border-color:white transparent transparent transparent; 
}
 
.Rail .public .chevron.closed { 
border-color:transparent transparent transparent white; 
}
 
.Rail .private { 
background-color:transparent; 
background-image:-webkit-gradient(linear,0% 0%,0% 0%,color-stop(0,transparent),color-stop(0,transparent));
}
 
.Rail .selected { 
background:transparent; 
box-shadow: inset 0 0 0px 0px #000000; -webkit-box-shadow: inset 0 0 0px 0px #000000; 
}
 
/* END OF CODES */