This commit is contained in:
Mirco Wittrien 2019-03-16 07:58:52 +01:00
parent 1300f14b5d
commit 393811fe6c
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,7 @@
--vcolumns: var(--columns, 2);
--vguildsize: var(--guildsize, 50);
--vguildroundness: var(--guildroundness, 50%);
--valigndms: var(--aligndms, 0);
}
.wrapper-1Rf91z {
width: calc(1px * ((var(--vguildsize) + 10) * var(--vcolumns) + 35 - 25)) !important;
@ -29,12 +30,14 @@
.wrapper-1Rf91z .scroller-2TZvBN .container-11WMXy {
margin: 4px 13px 4px -2px !important;
}
.wrapper-1Rf91z .scroller-2TZvBN .container-1aNBdK,
.wrapper-1Rf91z .scroller-2TZvBN #server-search,
.wrapper-1Rf91z .scroller-2TZvBN .lurkingGuild-3ZJ1gi,
.wrapper-1Rf91z .scroller-2TZvBN .container-1ETFDs {
margin: 4px calc(1px * (((var(--vguildsize) + 10) * (var(--vcolumns) - 1))/2)) !important;
}
.wrapper-1Rf91z .scroller-2TZvBN .container-1aNBdK {
margin: 4px calc(1px * (((13 * var(--valigndms)) + ((((var(--vguildsize) + 10) * (var(--vcolumns) - 1))/2) * (1 - var(--valigndms)))))) 4px calc(1px * (((-2 * var(--valigndms)) + ((((var(--vguildsize) + 10) * (var(--vcolumns) - 1))/2) * (1 - var(--valigndms)))))) !important;
}
.wrapper-1Rf91z .scroller-2TZvBN .circleIconButton-jET_ig,
.wrapper-1Rf91z .scroller-2TZvBN .lurkingGuild-3ZJ1gi .container-2td-dC {
margin: 0 !important;

View File

@ -1,4 +1,4 @@
//META{"name":"ServerColumns","description":"Changes the Server List to a gridlike container to allow servers to be displayed in columns. Amount of columns can be set in the .theme.css file.","author":"DevilBro","version":"1.0.3","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Themes/ServerColumns","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Themes/ServerColumns/ServerColumns.theme.css"}*//{}
//META{"name":"ServerColumns","description":"Changes the Server List to a gridlike container to allow servers to be displayed in columns. Amount of columns can be set in the .theme.css file.","author":"DevilBro","version":"1.0.4","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Themes/ServerColumns","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Themes/ServerColumns/ServerColumns.theme.css"}*//{}
@import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/ServerColumns/ServerColumns.css);
@ -6,4 +6,5 @@
--columns: 2; /* amount-servercolumns default: 2 */
--guildsize: 50; /* pixel-serversize default: 50 */
--guildroundness: 50%; /* percent-serverroundness default: 50% (round = 50%, square = 0%) */
--aligndms: 0; /* should DMs be aigned in columns: 0 = no, 1 = yes */
}