mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	toc(css): refactor
* move from main -> post-single
This commit is contained in:
		| @@ -38,33 +38,3 @@ | |||||||
| .pagination .next { | .pagination .next { | ||||||
|     margin-left: auto; |     margin-left: auto; | ||||||
| } | } | ||||||
|  |  | ||||||
| .toc { |  | ||||||
|     margin-bottom: 40px; |  | ||||||
|     border: 1px solid var(--border); |  | ||||||
|     border-radius: var(--radius); |  | ||||||
|     padding: .5em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .toc details summary { |  | ||||||
|     cursor: zoom-in; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .toc details[open] summary { |  | ||||||
|     cursor: zoom-out; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .toc .details { |  | ||||||
|     display: inline; |  | ||||||
|     font-weight: 500; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .toc blockquote { |  | ||||||
|     border-left: 2px solid; |  | ||||||
|     margin: 20px; |  | ||||||
|     padding: 10px 40px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .toc li ul { |  | ||||||
|     margin-left: var(--gap); |  | ||||||
| } |  | ||||||
| @@ -227,6 +227,36 @@ | |||||||
|     border-radius: 4px; |     border-radius: 4px; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .toc { | ||||||
|  |     margin-bottom: 40px; | ||||||
|  |     border: 1px solid var(--border); | ||||||
|  |     border-radius: var(--radius); | ||||||
|  |     padding: .5em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .toc details summary { | ||||||
|  |     cursor: zoom-in; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .toc details[open] summary { | ||||||
|  |     cursor: zoom-out; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .toc .details { | ||||||
|  |     display: inline; | ||||||
|  |     font-weight: 500; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .toc blockquote { | ||||||
|  |     border-left: 2px solid; | ||||||
|  |     margin: 20px; | ||||||
|  |     padding: 10px 40px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .toc li ul { | ||||||
|  |     margin-left: var(--gap); | ||||||
|  | } | ||||||
|  |  | ||||||
| .post-footer { | .post-footer { | ||||||
|     margin-top: 56px; |     margin-top: 56px; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange