Put login / register boxes vertical when narrow.
This commit is contained in:
		
							parent
							
								
									f14d5fa312
								
							
						
					
					
						commit
						463b627920
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		|  | @ -20,7 +20,7 @@ button | |||
| #content_body | ||||
| { | ||||
|     display: flex; | ||||
|     flex: 1; | ||||
|     flex: 1 1 auto; | ||||
|     flex-direction: column; | ||||
|     justify-content: center; | ||||
|     align-items: center; | ||||
|  | @ -34,6 +34,7 @@ button | |||
| { | ||||
|     display: flex; | ||||
|     flex-direction: row; | ||||
|     flex: 0 0 auto; | ||||
| } | ||||
| 
 | ||||
| #login_form, | ||||
|  | @ -54,6 +55,13 @@ button | |||
|     margin-top: 5px; | ||||
|     margin-bottom: 5px; | ||||
| } | ||||
| @media screen and (max-width: 800px) | ||||
| { | ||||
|     #login_register_box | ||||
|     { | ||||
|         flex-direction: column; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| </style> | ||||
| </head> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue