mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	profileMode : improve buttons,
add theme transition
This commit is contained in:
		| @@ -37,17 +37,24 @@ img { | ||||
| } | ||||
|  | ||||
| .buttons { | ||||
|     display: flex; | ||||
|     flex-wrap: wrap; | ||||
|     max-width: 300px; | ||||
|     line-height: 2.8; | ||||
|     justify-content: center; | ||||
| } | ||||
|  | ||||
| .button { | ||||
|     background: var(--tertiary); | ||||
|     border-radius: var(--radius); | ||||
|     margin: 8px; | ||||
|     padding: 8px; | ||||
|     padding: 6px; | ||||
|     transition: transform 0.1s; | ||||
| } | ||||
|  | ||||
| .button-inner { | ||||
|     padding: 10px; | ||||
|     padding: 0 8px; | ||||
| } | ||||
|  | ||||
| .button:active, .social-icons>a>svg:active{ | ||||
|     transform: scale(0.96); | ||||
| } | ||||
| @@ -1,7 +1,7 @@ | ||||
| {{ range . -}} | ||||
| <span class="button"> | ||||
| <div class="button"> | ||||
|     <a href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}"> | ||||
|         <span class="button-inner">{{ .name }}</span> | ||||
|     </a> | ||||
| </span> | ||||
| </div> | ||||
| {{- end -}} | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange