 56796b7ee8
			
		
	
	56796b7ee8
	
	
	
		
			
			* WebHost: minor css changes to make Supported Games page usable without js * Update JS to use querySelectorAll, remove most id attributes from elements, use relative element selectors * Hide content when clearing search bar * Remove `console.log`, remove TODO --------- Co-authored-by: Chris Wilson <chris@legendserver.info>
		
			
				
	
	
		
			60 lines
		
	
	
		
			857 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			857 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
| #games{
 | |
|     width: 60%;
 | |
|     margin: auto auto 30px;
 | |
| }
 | |
| 
 | |
| #games h2, #games h3, #games h4, #games h5, #games h6 {
 | |
|     text-transform: none;
 | |
|     cursor: unset;
 | |
| }
 | |
| 
 | |
| #games h1{
 | |
|     font-size: 60px;
 | |
|     cursor: unset;
 | |
| }
 | |
| 
 | |
| #games h2{
 | |
|     color: #93dcff;
 | |
|     margin-bottom: 2px;
 | |
| }
 | |
| 
 | |
| #games .collapse-toggle{
 | |
|     cursor: pointer;
 | |
| }
 | |
| 
 | |
| #games h2 .collapse-arrow{
 | |
|     font-size: 20px;
 | |
|     display: inline-block; /* make vertical-align work */
 | |
|     padding-bottom: 9px;
 | |
|     vertical-align: middle;
 | |
|     padding-right: 8px;
 | |
| }
 | |
| 
 | |
| #games p.collapsed{
 | |
|     display: none;
 | |
| }
 | |
| 
 | |
| #games a{
 | |
|     font-size: 16px;
 | |
| }
 | |
| 
 | |
| #games .link-spacer{
 | |
|     margin: 0 6px;
 | |
|     color: #fffc95;
 | |
| }
 | |
| 
 | |
| #games p{
 | |
|     line-height: 25px;
 | |
|     margin-bottom: 7px;
 | |
| }
 | |
| 
 | |
| #games .page-controls{
 | |
|     display: flex;
 | |
|     flex-direction: row;
 | |
|     margin-top: 0.25rem;
 | |
| }
 | |
| 
 | |
| #games .page-controls button{
 | |
|     margin-left: 0.5rem;
 | |
| }
 |