mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	Apply prettier to css
This commit is contained in:
		| @@ -41,7 +41,7 @@ | |||||||
|     height: 42px; |     height: 42px; | ||||||
|     padding: 12px; |     padding: 12px; | ||||||
|     border-radius: 64px; |     border-radius: 64px; | ||||||
|     transition: visibility .5s, opacity .8s linear; |     transition: visibility 0.5s, opacity 0.8s linear; | ||||||
| } | } | ||||||
|  |  | ||||||
| .top-link, | .top-link, | ||||||
|   | |||||||
| @@ -61,7 +61,7 @@ body:not(.dark) #sun { | |||||||
|     white-space: nowrap; |     white-space: nowrap; | ||||||
| } | } | ||||||
|  |  | ||||||
| #menu li+li { | #menu li + li { | ||||||
|     margin-inline-start: var(--gap); |     margin-inline-start: var(--gap); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -44,7 +44,8 @@ code { | |||||||
|     direction: ltr; |     direction: ltr; | ||||||
| } | } | ||||||
|  |  | ||||||
| div.highlight, pre { | div.highlight, | ||||||
|  | pre { | ||||||
|     position: relative; |     position: relative; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -39,12 +39,12 @@ | |||||||
|     padding: var(--gap); |     padding: var(--gap); | ||||||
|     background: var(--entry); |     background: var(--entry); | ||||||
|     border-radius: var(--radius); |     border-radius: var(--radius); | ||||||
|     transition: transform .1s; |     transition: transform 0.1s; | ||||||
|     border: 1px solid var(--border); |     border: 1px solid var(--border); | ||||||
| } | } | ||||||
|  |  | ||||||
| .post-entry:active { | .post-entry:active { | ||||||
|     transform: scale(.96); |     transform: scale(0.96); | ||||||
| } | } | ||||||
|  |  | ||||||
| .tag-entry .entry-cover { | .tag-entry .entry-cover { | ||||||
|   | |||||||
| @@ -71,7 +71,7 @@ | |||||||
|  |  | ||||||
| .post-content a, | .post-content a, | ||||||
| .toc a:hover { | .toc a:hover { | ||||||
|     box-shadow: 0 1px 0;; |     box-shadow: 0 1px 0; | ||||||
| } | } | ||||||
|  |  | ||||||
| .post-content a code { | .post-content a code { | ||||||
| @@ -123,8 +123,8 @@ | |||||||
|     padding-inline-start: 10px; |     padding-inline-start: 10px; | ||||||
| } | } | ||||||
|  |  | ||||||
| .post-content dd~dd, | .post-content dd ~ dd, | ||||||
| .post-content dt~dt { | .post-content dt ~ dt { | ||||||
|     margin-top: 10px; |     margin-top: 10px; | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -160,7 +160,7 @@ | |||||||
|     border-radius: var(--radius); |     border-radius: var(--radius); | ||||||
| } | } | ||||||
|  |  | ||||||
| .post-content li>.highlight { | .post-content li > .highlight { | ||||||
|     margin-inline-end: 0; |     margin-inline-end: 0; | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -200,7 +200,7 @@ | |||||||
| .post-content code { | .post-content code { | ||||||
|     margin: auto 4px; |     margin: auto 4px; | ||||||
|     padding: 4px 6px; |     padding: 4px 6px; | ||||||
|     font-size: .78em; |     font-size: 0.78em; | ||||||
|     line-height: 1.5; |     line-height: 1.5; | ||||||
|     background: var(--code-bg); |     background: var(--code-bg); | ||||||
|     border-radius: 2px; |     border-radius: 2px; | ||||||
| @@ -210,7 +210,7 @@ | |||||||
|     display: block; |     display: block; | ||||||
|     margin: auto 0; |     margin: auto 0; | ||||||
|     padding: 10px; |     padding: 10px; | ||||||
|     color: rgba(255, 255, 255, .8); |     color: rgba(255, 255, 255, 0.8); | ||||||
|     background: 0 0; |     background: 0 0; | ||||||
|     border-radius: 0; |     border-radius: 0; | ||||||
|     overflow-x: auto; |     overflow-x: auto; | ||||||
| @@ -239,7 +239,7 @@ | |||||||
|     border-radius: 4px; |     border-radius: 4px; | ||||||
| } | } | ||||||
|  |  | ||||||
| .post-content img[src*='#center'] { | .post-content img[src*="#center"] { | ||||||
|     margin: auto; |     margin: auto; | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -247,14 +247,14 @@ | |||||||
|     text-align: center; |     text-align: center; | ||||||
| } | } | ||||||
|  |  | ||||||
| .post-content figure>figcaption { | .post-content figure > figcaption { | ||||||
|     color: var(--primary); |     color: var(--primary); | ||||||
|     font-size: 16px; |     font-size: 16px; | ||||||
|     font-weight: bold; |     font-weight: bold; | ||||||
|     margin: 8px 0 16px; |     margin: 8px 0 16px; | ||||||
| } | } | ||||||
|  |  | ||||||
| .post-content figure>figcaption>p { | .post-content figure > figcaption > p { | ||||||
|     color: var(--secondary); |     color: var(--secondary); | ||||||
|     font-size: 14px; |     font-size: 14px; | ||||||
|     font-weight: normal; |     font-weight: normal; | ||||||
| @@ -265,7 +265,7 @@ | |||||||
|     border: 1px solid var(--border); |     border: 1px solid var(--border); | ||||||
|     background: var(--code-bg); |     background: var(--code-bg); | ||||||
|     border-radius: var(--radius); |     border-radius: var(--radius); | ||||||
|     padding: .4em; |     padding: 0.4em; | ||||||
| } | } | ||||||
|  |  | ||||||
| .dark .toc { | .dark .toc { | ||||||
| @@ -352,11 +352,11 @@ | |||||||
|     height: 30px; |     height: 30px; | ||||||
|     width: 30px; |     width: 30px; | ||||||
|     fill: currentColor; |     fill: currentColor; | ||||||
|     transition: transform .1s; |     transition: transform 0.1s; | ||||||
| } | } | ||||||
|  |  | ||||||
| .share-buttons svg:active { | .share-buttons svg:active { | ||||||
|     transform: scale(.96); |     transform: scale(0.96); | ||||||
| } | } | ||||||
|  |  | ||||||
| h1:hover .anchor, | h1:hover .anchor, | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ | |||||||
|     border-radius: var(--radius); |     border-radius: var(--radius); | ||||||
|     margin: 8px; |     margin: 8px; | ||||||
|     padding: 6px; |     padding: 6px; | ||||||
|     transition: transform .1s; |     transition: transform 0.1s; | ||||||
| } | } | ||||||
|  |  | ||||||
| .button-inner { | .button-inner { | ||||||
| @@ -42,5 +42,5 @@ | |||||||
| } | } | ||||||
|  |  | ||||||
| .button:active { | .button:active { | ||||||
|     transform: scale(.96); |     transform: scale(0.96); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -26,8 +26,8 @@ | |||||||
| } | } | ||||||
|  |  | ||||||
| #searchResults li:active { | #searchResults li:active { | ||||||
|     transition: transform .1s; |     transition: transform 0.1s; | ||||||
|     transform: scale(.98); |     transform: scale(0.98); | ||||||
| } | } | ||||||
|  |  | ||||||
| #searchResults a { | #searchResults a { | ||||||
| @@ -40,6 +40,6 @@ | |||||||
| } | } | ||||||
|  |  | ||||||
| #searchResults .focus { | #searchResults .focus { | ||||||
|     transform: scale(.98); |     transform: scale(0.98); | ||||||
|     border: 2px solid var(--tertiary); |     border: 2px solid var(--tertiary); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -9,10 +9,10 @@ | |||||||
|     padding: 3px 10px; |     padding: 3px 10px; | ||||||
|     background: var(--tertiary); |     background: var(--tertiary); | ||||||
|     border-radius: 6px; |     border-radius: 6px; | ||||||
|     transition: transform .1s; |     transition: transform 0.1s; | ||||||
| } | } | ||||||
|  |  | ||||||
| .terms-tags a:active { | .terms-tags a:active { | ||||||
|     background: var(--tertiary); |     background: var(--tertiary); | ||||||
|     transform: scale(.96); |     transform: scale(0.96); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange