User:Dorumin/discord.css

/* Scollbars definitely not stolen from Discord */
 * -webkit-scrollbar {

width: 8px; }
 * -webkit-scrollbar-thumb, ::-webkit-scrollbar-track-piece {

background-color: #202225; border-color: #36393f; background-clip: padding-box; border-radius: 7px; }
 * -webkit-scrollbar-track-piece {

background-color: #2f3136; }

.Chat::-webkit-scrollbar-track-piece { border-top-right-radius: 0; border-top-left-radius: 0; } /* General stuff */ body, #WikiaPage, #ChatHeader, #Write .message { background-color: #36393f; } .Chat, #ChatHeader, #WikiaPage, #Write .message { border: none } /* Text colors */ color: white; } .User.away { color: #ccc; } /* Round booty */ border-radius: 50%; border: 0 solid transparent; } /* Textarea styles */ background-color: #484c52; border-radius: 5px; }   border-top-left-radius: 23px; border-bottom-left-radius: 23px; }   border: none; border-radius: 50%; margin: 3px; height: 40px; width: 40px; left: 0; } /* Rail styles */ background-color: #2f3136; user-select: none; overflow-y: scroll; }   background-color: #484c52; border: none; text-align: center; }   background-color: rgba(0, 0, 0, .2); box-shadow: none; } .User .username { margin-right: 0; }   background-color: rgba(0, 0, 0, .0); }   position: relative; margin: auto; display: block; padding: 0 0 4px 0; cursor: pointer; }   position: absolute !important; top: 0; left: 0; right: 0; bottom: 0; height: 100%; width: 100%; border: none; }   z-index: 200; } /* Chat header */ background-color: #2f3136; color: #ccc; height: 45px; padding-top: 2px; padding-left: 2px; }   opacity: .6 }   display: none; }   right: 6px; top: 6px }   content: '@'; position: relative; font-size: 17px; top: -1px; padding-right: 3px; color: #666; } /* Hide mod badges; there is now a list of groups in the user popout */ /* TODO: Add them back but in a sexier form factor */ .User .badge { display: none; } /* Make the rail bigger */ width: 170px; } .Chat { right: 170px; }   right: 170px; }   right: 180px !important; } /* User stats menu */ box-shadow: none; border: none; border-radius: 10px; overflow: hidden; background-color: #2f3136; width: 200px; }   background-color: #202225; color: #ccc; padding-bottom: 10px; }   display: block; float: none; height: 100px; width: 100px; margin: 10px auto; border-radius: 50%; border: none; }   margin: 0 20px; text-align: center; }   overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   margin: 0; }   padding-top: 7px; padding-bottom: 7px; cursor: pointer; height: 35px; box-sizing: border-box; } /* Fix for more clickable message wall and userpage links */ padding: 0; }   padding: 5px 10px; height: 100%; box-sizing: border-box; display: flex; align-items: center; }   padding-left: 7px; }   padding-top: 9px; }   padding-bottom: 9px; }   border-color: #444; margin: 2px 0; transition: margin 200ms ease; }   margin: 2px 5px; /* Why not? */ }   background-color: rgba(0, 0, 0, .1); }   color: #09829d; } /* Modals */ .modalWrapper { background-color: #0f1013; border: none; box-shadow: 0 10px 60px 0 black; color: #ccc } .blackout { background-color: black; } /* Chat and message styles */ .Chat li { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }
 * 1) WikiaPage, #Write textarea {
 * 1) Rail .User img, .Chat .avatar {
 * 1) Write, #Write .message {
 * 1) Write {
 * 1) Write img {
 * 1) Rail {
 * 1) Rail > .private {
 * 1) Rail .User:hover, #Rail .selected {
 * 1) Rail .wordmark.selected {
 * 1) Rail .wordmark {
 * 1) WikiaPage #Rail .chevron {
 * 1) WikiaPage #Rail .selected .chevron {
 * 1) ChatHeader {
 * 1) ChatHeader .chat-toolbar__button:not(:hover) {
 * 1) ChatHeader .User {
 * 1) ChatHeader .chat-toolbar {
 * 1) ChatHeader .private::before {
 * 1) Rail {
 * 1) Write {
 * 1) UserStatsMenu:not(.private-menu) {
 * 1) UserStatsMenu {
 * 1) UserStatsMenu .info {
 * 1) UserStatsMenu .info img {
 * 1) UserStatsMenu .info > ul {
 * 1) UserStatsMenu .info > ul > li {
 * 1) UserStatsMenu .regular-actions, #UserStatsMenu .admin-actions {
 * 1) UserStatsMenu .actions li {
 * 1) UserStatsMenu .actions .regular-actions .message-wall,
 * 2) UserStatsMenu .actions .regular-actions .contribs {
 * 1) UserStatsMenu .actions .regular-actions .message-wall a,
 * 2) UserStatsMenu .actions .regular-actions .contribs a {
 * 1) UserStatsMenu .message-wall .label,
 * 2) UserStatsMenu .contribs .label {
 * 1) UserStatsMenu .actions .message-wall:first-of-type a {
 * 1) UserStatsMenu .actions .contribs:last-of-type a {
 * 1) UserStatsMenu .actions .separator {
 * 1) UserStatsMenu .separator:hover {
 * 1) UserStatsMenu .actions li:hover {
 * 1) UserStatsMenu .actions a, #UserStatsMenu .actions li {

.Chat li.you { background-color: transparent; }

.Chat .message { width: 100%; /* Spam scrollbar */ max-height: 240px; overflow-y: auto; } .Chat .username::after { content: ''; } .Chat .time, .Chat .custom-time { padding-left: 5px; margin-right: auto; white-space: pre; } .Chat .inline-alert { display: block; }

.Chat .continued { flex-wrap: nowrap; } .Chat .continued:hover .time { display: flex; font-style: italic; align-self: flex-end; } .Chat .continued:hover .message { width: auto; } /* User groups */ .groups { padding: 2px 5px 0 5px; } .groups:empty { display: none; } .groups .group { margin: 5px 4px 0 0; border: 1px solid; border-color: currentColor; border-radius: 14px; padding: 4px 6px; display: inline-flex; align-items: center; height: 12px; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .groups .group::before { content: ''; background-color: currentColor; border-radius: 6px; height: 12px; width: 12px; margin-right: 4px; } .groups .group::after { content: attr(data-group); color: #ccc; }

/* Most of these colors were stolen from Highlight and the Dev Wiki Discord but whatevs */ .group[data-group="bureaucrat"] { color: #90EE90; /* TODO: Better color that isn't confused with Vanguard */ } .group[data-group="bureaucrat"]::after { content: 'Bureaucrat'; } .group[data-group="sysop"] { color: #ee1a41; } .group[data-group="sysop"]::after { content: 'Admin'; } .group[data-group="staff"] { color: #5df2ae; } .group[data-group="staff"]::after { content: 'Staff'; } .group[data-group="voldev"] { color: #3498db; } .group[data-group="voldev"]::after { content: 'VolDev'; } .group[data-group="bot"] { color: #dfec24; } .group[data-group="bot"]::after { content: 'Bot'; } .group[data-group="vstf"] { color: #ff7777; } .group[data-group="vstf"]::after { content: 'VSTF'; } .group[data-group="chatmoderator"] { color: #a400a4; } .group[data-group="chatmoderator"]::after { content: 'Chat Mod'; } .group[data-group="content-moderator"] { color: #ff7000; } .group[data-group="content-moderator"]::after { content: 'Content Mod'; } .group[data-group="vanguard"] { color: #1eaf7a; } .group[data-group="vanguard"]::after { content: 'Vanguard'; } .group[data-group="council"] { color: #7289da; } .group[data-group="council"]::after { content: 'Council' } .group[data-group="helper"] { color: #bf6240; } .group[data-group="helper"]::after { content: 'Helper' } .group[data-group="global-discussions-moderator"] { color: #4286f4; } .group[data-group="global-discussions-moderator"]::after { content: 'Global Discussions Mod'; /* GD Mod? */ } .group[data-group="content-reviewer"] { /* TODO */ } .group[data-group="content-reviewer"]::after { content: 'Content Reviewer'; }

.group[data-group="fandom-editor"] { /* TODO */ }

.group[data-group="fandom-editor"]::after { content: 'FANDOM Editor'; } .group[data-group="content-volunteer"] { color: #ffa1a8; } .group[data-group="content-volunteer"]:after { content: 'Content Volunteer'; } .group[data-group="restricted-login"], .group[data-group="util"] { display: none; }

/* Only use this on CC lol */ body.wiki-wikia .wordmark img { filter: contrast(0) }