mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	profile-mode: improvements
- update css logic - rm redundant code - reduce image size, it looks big imo
This commit is contained in:
		| @@ -1,39 +1,33 @@ | |||||||
| .main { | .main .profile { | ||||||
|  |     position: absolute; | ||||||
|  |     left: 0; | ||||||
|  |     right: 0; | ||||||
|  |     display: flex; | ||||||
|  |     align-items: center; | ||||||
|  |     justify-content: center; | ||||||
|  |     height: 80%; | ||||||
|     text-align: center; |     text-align: center; | ||||||
|     display: table; |  | ||||||
| } | } | ||||||
|  |  | ||||||
| .main>.profile { | .profile .profile_inner h1 { | ||||||
|     display: table-cell; |  | ||||||
|     vertical-align: middle; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .main>.profile>.profile_inner { |  | ||||||
|     transform: translate(0, -10%); |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .profile_inner h1 { |  | ||||||
|     padding: 12px 0; |     padding: 12px 0; | ||||||
| } | } | ||||||
|  |  | ||||||
| .profile_inner span { | .profile .profile_inner span { | ||||||
|     padding: 10px 0; |     padding: 10px 0; | ||||||
|     font-size: 18px; |     font-size: 18px; | ||||||
| } | } | ||||||
|  |  | ||||||
| img { | .profile img { | ||||||
|     display: inline-table; |     display: inline-table; | ||||||
|     width: 180px; |     width: 150px; | ||||||
|     border-radius: 50%; |     border-radius: 50%; | ||||||
|     pointer-events: none; |     pointer-events: none; | ||||||
| } | } | ||||||
|  |  | ||||||
| @media screen and (max-width: 600px) { | @media screen and (max-width: 600px) { | ||||||
|     img { |     .profile img { | ||||||
|         width: 150px; |         width: 120px; | ||||||
|     } |  | ||||||
|     .main>.profile>.profile_inner { |  | ||||||
|         transform: translate(0, 0); |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -59,4 +53,4 @@ img { | |||||||
|  |  | ||||||
| .button:active { | .button:active { | ||||||
|     transform: scale(0.96); |     transform: scale(0.96); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange