Apply prettier to css

This commit is contained in:
Aditya Telange 2021-06-11 13:34:55 +05:30
parent 87fbe01124
commit df544469c9
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
8 changed files with 26 additions and 25 deletions

View File

@ -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,

View File

@ -44,7 +44,8 @@ code {
direction: ltr; direction: ltr;
} }
div.highlight, pre { div.highlight,
pre {
position: relative; position: relative;
} }

View File

@ -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 {

View File

@ -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 {
@ -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;
} }
@ -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,

View File

@ -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);
} }

View File

@ -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);
} }

View File

@ -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);
} }