User:Kuzupyon2/kuzutester.css

.story-navbar { display: flex; flex-wrap: nowrap; flex-direction: row; justify-content: space-between; margin: 0 auto 15px !important; background-color: #4d0000; border: 4px double #bf9e5d; border-radius: 10px; text-shadow: 0 0 1px #bf9e5d; } .story-navbar li { display: inline-flex; justify-content: flex-end; font-variant: small-caps; font-weight: bold; letter-spacing: 1px; color: #bf9e5d; padding: 10px 20px; }

.story-container { text-align: center; } .story-imgtitle { margin: 0 auto 30px; padding: 10px; text-align: center; background: #073250; border-radius: 10px; } .story-title { font-size: 2em; font-weight: bold; font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic Medium","Yu Gothic","Verdana","Meiryo","sans-serif"; margin: 0 auto 10px; color: #fff; /*#bf9e5d*/ text-shadow: 0 0 1px #fff, 0 0 2px #4d0000; }

.story-image img { max-width: 100%; height: auto; } .story-transcript { margin-bottom: 30px; } .line-container { display: grid; grid-template-columns: 24% 76%; /*Try: 24% 76%, 180px 1fr*/ width: 100%; margin-bottom: 10px; word-break: break-word; /*keep-all*/ } .story-transcript .line-container + p, .inline-img-container + p, .story-transcript .section-break + p, .story-transcript .line-container + p + p { margin: 0; display: none; } .line-container .chara-name, .line-container .chara-dialogue, .line-container .sfx-name, .line-container .sfx-sound { padding: 17px; } .line-container .chara-name, .line-container .sfx-name { text-align: right; font-weight: bold; } .line-container .chara-dialogue, .line-container .sfx-sound { text-align: left; border-left-width: 5px; border-left-style: solid; } .inline-img-container { margin: 15px auto; border-radius: 5px; background: #073250; text-align: center; padding: 10px; } .story-credits { display: inline-flex; gap: 10px; align-content: stretch; align-items: baseline; justify-items: stretch; text-align: center; padding: 10px; background-color: #4d0000; margin: 0 auto; border-radius: 10px; border: 4px double #bf9e5d; color: #bf9e5d; text-shadow: 0 0 1px #bf9e5d; } .story-credits ul { align-self: stretch; margin: auto 10px; } .story-credits li { display: inline-block; }

.story-credits li:not(:last-of-type):after { content: "✩"; font-size: 17px; vertical-align: baseline; margin: 0 6px 0 10px; }

@media screen and (max-width: 505px) { .line-container { grid-template-columns: 1fr; /*grid-template-columns: 38% 62%;*/ padding: 10px 10px 10px 15px; }	.line-container .chara-name, .line-container .chara-dialogue, .line-container .sfx-name, .line-container .sfx-sound { padding: 17px; }	.line-container .chara-name, .line-container .sfx-name, .line-container .chara-dialogue, .line-container .sfx-sound{ text-align: left; }	.line-container .chara-dialogue, .line-container .sfx-sound { border-left: none; }	div[data-chara-name] { border-bottom-width: 3px; border-bottom-style: solid; border-bottom-color: #000; }	div[data-chara-name=""] {border-bottom-color: transparent;} div[data-chara-name="IDOLiSH7"] {border-bottom-color: #72d9ff;} div[data-chara-name="Iori"] {border-bottom-color: #0044ab;} div[data-chara-name="Yamato"] {border-bottom-color: #00b050;} div[data-chara-name="Mitsuki"] {border-bottom-color: #f0930e;} div[data-chara-name="Tamaki"] {border-bottom-color: #00b0f0;} div[data-chara-name="Sogo"] {border-bottom-color: #825aae;} div[data-chara-name="Nagi"] {border-bottom-color: #ddbe00;} div[data-chara-name="Riku"] {border-bottom-color: #d01703;} div[data-chara-name="TRIGGER"] {border-bottom-color: #000000;} div[data-chara-name="Gaku"] {border-bottom-color: #a0a0a0;} div[data-chara-name="Tenn"] {border-bottom-color: #ff69b4;} div[data-chara-name="Ryunosuke"] {border-bottom-color: #325e88;} div[data-chara-name="Re:vale"] {border-bottom-color: #8cd9d9;} div[data-chara-name="Momo"] {border-bottom-color: #fe00b6;} div[data-chara-name="Yuki"] {border-bottom-color: #78b240;} div[data-chara-name="ZOOL"] {border-bottom-color: #125e53;} div[data-chara-name="ŹOOĻ"] {border-bottom-color: #125e53;} div[data-chara-name="Haruka"] {border-bottom-color: #6aa484;} div[data-chara-name="Toma"] {border-bottom-color: #8a2236;} div[data-chara-name="Minami"] {border-bottom-color: #bfb492;} div[data-chara-name="Torao"] {border-bottom-color: #8a5b5b;} div[data-chara-name="Tsumugi"] {border-bottom-color: #ffa0a7;} div[data-chara-name="Banri"] {border-bottom-color: #5dd7d7;} }