Initial commit

main
Er2 2 years ago
commit d499be7fed

@ -0,0 +1,19 @@
Zlib License
Copyright (c) 2021 Er2 <er2@dismail.de>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgement in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

@ -0,0 +1,75 @@
/** DisKort
* (c) Er2 2021
*/
/* to hide */
[class^="username-"],
[class^="discrimBase-"],
[class*="banner-"],
[class^="usernameInnerRow-"],
[class^="membersGroup-"],
[class^="searchBar-"],
[class^="nowPlaying"],
div[class*="member"][class*="offline"],
div[class^="button"] button[class^="button-"],
svg[class^="slider"],
h2[class^="privateChannelsHeaderContainer"],
#gif-picker-tab, #private-channels-0,
#private-channels-1,
#private-channels-2
{
all: unset;
display: none;
width: 0;
height: 0;
}
div[aria-label="Servers"] ~ div
{
position: absolute;
bottom: 0;
display: none;
}
/* to show */
div[class^="scroller-"] div[class^="tutorialContainer-"]
{
display: unset;
}
/* rounder */
div[class^="markup-"] pre code
{
border-radius: 16px;
}
/* sharper */
[class^="avatar-"]
{
border-radius: 5px;
}
/* no banners */
/* user popup */
div[class^="userPopout-"] div[class^="headerTop-"] { padding-top: 120px; }
div[class^="userPopout-"] div[class^="avatarWrapper"] { top: 16px; }
/* profile */
header div[class^="nameTagWithCustomStatus-"] {
margin-bottom: 48px;
margin-left: 160px;
}
/* member list */
div[class^="membersWrap-"]
{
min-width: 48px;
width: 0;
}
div[class^="members-"],
div[class^="member-"]
{
padding: 0;
flex: 0 0 100%;
margin-left: 0;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

@ -0,0 +1,19 @@
{
"manifest_version": 2,
"name": "DisKort",
"version": "1.0",
"description": "Custom theme for Discord",
"icons": {
"48": "ext.png"
},
"content_scripts": [
{
"matches": ["https://discord.com/*"],
"css": ["btfl.css"]
}
]
}

@ -0,0 +1,13 @@
*DisKort* - extension for browser which decreases Discord elements.
Currently it's in alpha.
* Installation
Instruction for Firefox (may be working on Chrome).
1. Download *zip* archive ([[https://gitdab.com/er2/diskort/archive/main.zip][main branch]]).
2. Press *Ctrl+Shift+A*.
3. Drag and drop extension.
Loading…
Cancel
Save