Created
January 20, 2025 23:56
-
-
Save annappropriate/a8fd80d2e0ffdc7b9f5aaec10bbc8073 to your computer and use it in GitHub Desktop.
Custom CSS for renshuu.org. Use more of the screen space!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Resize the main screen */ | |
#wrapper, | |
#overlay, | |
#center { | |
max-width: 80vw; | |
width: 80vw; | |
padding: 0; | |
margin: 0; | |
} | |
#wrapper, | |
#overlay { | |
left: 10vw; | |
} | |
#content { | |
max-width: 75vw; | |
width: 75vw; | |
padding: 0; | |
margin: 0; | |
position: relative; | |
left: 2.5vw; | |
} | |
/* Allow schedule boxes to have more columns */ | |
.schedbox2 { | |
display: grid; | |
grid-template-columns: repeat(auto-fill, 375px); | |
} | |
.schedbox2.sched_split > div { | |
width: 100%; | |
} | |
.schedbox2 > div { | |
margin: 10px; | |
} | |
/* This thing is blocking the readjusted schedbox2 on the quiz finish page. | |
Couldn't figure its purpose either. */ | |
#content_body > div.pure-g.finish_boxes > div:nth-child(2) { | |
display: none; | |
} | |
/* Post-quiz screen */ | |
#retake_buttons { | |
width: 75vw; | |
} | |
/* Quizzes */ | |
#quiz_qabox { | |
padding: 0; | |
margin: 0; | |
} | |
#run_quiz { | |
width: 50vw; | |
} | |
#quiz_resbox_inner { | |
width: 50vw; | |
left: 12.5vw; | |
position: absolute; | |
} | |
/* Crossword box */ | |
.cross_kana { | |
min-width: 60vw; | |
width: 60vw; | |
} | |
/* Dictionary, comments and crossword word popup */ | |
#ttip { | |
min-width: 300px !important; | |
max-width: 50vw !important; | |
width: fit-content !important; | |
} | |
#ttip_inner > div.ib.rel.pure-form > div { | |
min-width: 200px !important; | |
font-size: 100% !important; | |
} | |
.popDef { | |
max-width: 450px; | |
width: 450px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment