Skip to content

Instantly share code, notes, and snippets.

@No3371
Last active April 3, 2024 18:49
Show Gist options
  • Save No3371/ad72e4de76fbc3348216597004be034f to your computer and use it in GitHub Desktop.
Save No3371/ad72e4de76fbc3348216597004be034f to your computer and use it in GitHub Desktop.
A minor modification to make the Nier Discord theme readable for non Latin languages.
/**
* @name NieR: Automata UI Light
* @version 1.4
* @description Glory to Mankind. ||
* Thanks to JulioDRai for letting me use their cursors!
* ~https://www.deviantart.com/juliodrai ||
* Thanks to GOmonkeymanGO for letting me use some of their code
* ~https://github.com/ChaseIngebritson/YoRHa-Discord-Theme ||
* @website https://github.com/AccraZed/YoRHA-UI-BetterDiscord
* @author Accrazed#2710
* @invite X4nBPCa
* @patreon https://www.patreon.com/accrazed
* @authorId 153562159161278473
*/
/*
* :::. .,-::::: .,-::::: :::::::.. :::. :::::::::.,:::::::::::::-.
* ;;`;; ,;;;'````' ,;;;'````' ;;;;``;;;; ;;`;; '`````;;;;;;;'''' ;;, `';,
* ,[[ '[[, [[[ [[[ [[[,/[[[' ,[[ '[[, .n[[' [[cccc `[[ [[
* c$$$cc$$$c $$$ $$$ $$$$$$c c$$$cc$$$c ,$$P" $$"""" $$, $$
* 888 888,`88bo,__,o,`88bo,__,o, 888b "88bo,888 888,,888bo,_ 888oo,__ 888_,o8P'
* YMM ""` "YUMMMMMP" "YUMMMMMP"MMMM "W" YMM ""` `""*UMM """"YUMMMMMMMP"`
*/
@import url('https://fonts.googleapis.com/earlyaccess/notosanstc.css');
@import url('https://accrazed.github.io/YoRHA-UI-BetterDiscord/font/stylesheet.css'); /* Font */
@import url('https://accrazed.github.io/YoRHA-UI-BetterDiscord/NieR-Cursor.css'); /* Cursor */
@import url('https://accrazed.github.io/YoRHA-UI-BetterDiscord/NieR-Import.theme.css'); /* Main File */
@import url('https://accrazed.github.io/YoRHA-UI-BetterDiscord/LightImport.theme.css'); /* Light Part of Theme */
/* GLOBAL VARIABLES */
:root {
--color-high: rgb(218, 212, 187);
--color-low: rgb(87, 84, 74);
--color-mid: rgb(151, 147, 129);
--color-alert: rgb(205, 102, 77);
--color-high-trans: rgba(218, 212, 187, 0.8);
--color-low-trans: rgba(87, 84, 74, 0.6);
--color-alert-trans: rgba(205, 102, 77, 0.7);
--nier-font: sce-ps3_rodin_latinregular;
}
::placeholder,
body,
button,
input,
select,
textarea,
div[role="textbox"] {
font-family: var(--nier-font), 'Noto Sans TC', "vietnam-pro", Arial, Helvetica, sans-serif;
}
#app-mount:after {
/* content: ""; */
content: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* background: url("https://i.ibb.co/Fq9Jt09/Nie-R-Lattice.png"); */
background: none;
z-index: 10000;
opacity: 0.03;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
#app-mount:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("https://i.ibb.co/Fq9Jt09/Nie-R-Lattice.png");
z-index: 0;
opacity: 0.03;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
.wrapper__612a5 .link_ddbb36 {
height: auto;
}
.containerDefault_ae2ea4 .typeVoice__86122 .linkBottom__942a1 {
top: auto;
right: auto;
position: relative;
}
.wrapper__612a5 {
height: auto;
padding: 0;
}
.wrapper__612a5 .linkTop_c8969d {
top: 0;
bottom: 0;
padding: 4px 8px;
margin-top: 1px;
margin-bottom: 1px;
}
.markup_a7e664 {
font-size: 12pt;
}
[data-list-item-id*="chat-messages_"]:not(
:has(> [class*="contents"] > [class*="isSending"])
) [class*="messageContent"] {
font-size: 90%;
font-weight: 600;
}
[data-list-item-id*="chat-messages_"]:not(
:has(> [class*="contents"] > [class*="isSending"])
) [class*="header"]~[class*="messageContent"] {
margin-top: 0.5rem;
}
div[class*="channelTextArea"] div[class*="placeholder"] {
font-size: 80%;
font-weight: 600;
opacity: 0.5;
}
/* [data-list-item-id*="chat-messages_"]:has(
> [class*="contents"] > [class*="isSending"]
) {
}
[class*="channelTextArea"] div[class*="slateTextArea"] span {
font-size: 105%;
font-weight: 600;
} */
/* [data-list-item-id*="channels___"] [class*="name__"] {
font-size: 100%;
font-weight: 600;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment