mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	profileMode : init
usaage, in config add
params:
    profileMode:
      title: "PaperMod" // or default will be site.title
      imageUrl: "<image_link>"
			
			
This commit is contained in:
		
							
								
								
									
										29
									
								
								assets/css/profileMode.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								assets/css/profileMode.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| .main { | ||||
|     text-align: center; | ||||
|     display: table; | ||||
| } | ||||
|  | ||||
| .main>.profile { | ||||
|     display: table-cell; | ||||
|     vertical-align: middle; | ||||
|  | ||||
| } | ||||
|  | ||||
| .main>.profile>.profile_inner { | ||||
|     transform: translate(0, -20%); | ||||
| } | ||||
|  | ||||
| img { | ||||
|     display: inline-block; | ||||
|     width: 200px; | ||||
|     border-radius: 50%; | ||||
|     pointer-events: none; | ||||
|     margin: 5px; | ||||
| } | ||||
|  | ||||
| @media screen and (max-width: 600px) { | ||||
|     img { | ||||
|         width: 150px; | ||||
|     } | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange