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;
padding: 12px;
border-radius: 64px;
transition: visibility .5s, opacity .8s linear;
transition: visibility 0.5s, opacity 0.8s linear;
}
.top-link,

View File

@ -40,7 +40,7 @@
height: 18px;
}
button#theme-toggle {
button#theme-toggle {
font-size: 26px;
margin: auto 4px;
}
@ -61,7 +61,7 @@ body:not(.dark) #sun {
white-space: nowrap;
}
#menu li+li {
#menu li + li {
margin-inline-start: var(--gap);
}

View File

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

View File

@ -39,12 +39,12 @@
padding: var(--gap);
background: var(--entry);
border-radius: var(--radius);
transition: transform .1s;
transition: transform 0.1s;
border: 1px solid var(--border);
}
.post-entry:active {
transform: scale(.96);
transform: scale(0.96);
}
.tag-entry .entry-cover {

View File

@ -71,7 +71,7 @@
.post-content a,
.toc a:hover {
box-shadow: 0 1px 0;;
box-shadow: 0 1px 0;
}
.post-content a code {
@ -123,8 +123,8 @@
padding-inline-start: 10px;
}
.post-content dd~dd,
.post-content dt~dt {
.post-content dd ~ dd,
.post-content dt ~ dt {
margin-top: 10px;
}
@ -160,7 +160,7 @@
border-radius: var(--radius);
}
.post-content li>.highlight {
.post-content li > .highlight {
margin-inline-end: 0;
}
@ -200,7 +200,7 @@
.post-content code {
margin: auto 4px;
padding: 4px 6px;
font-size: .78em;
font-size: 0.78em;
line-height: 1.5;
background: var(--code-bg);
border-radius: 2px;
@ -210,7 +210,7 @@
display: block;
margin: auto 0;
padding: 10px;
color: rgba(255, 255, 255, .8);
color: rgba(255, 255, 255, 0.8);
background: 0 0;
border-radius: 0;
overflow-x: auto;
@ -239,7 +239,7 @@
border-radius: 4px;
}
.post-content img[src*='#center'] {
.post-content img[src*="#center"] {
margin: auto;
}
@ -247,14 +247,14 @@
text-align: center;
}
.post-content figure>figcaption {
.post-content figure > figcaption {
color: var(--primary);
font-size: 16px;
font-weight: bold;
margin: 8px 0 16px;
}
.post-content figure>figcaption>p {
.post-content figure > figcaption > p {
color: var(--secondary);
font-size: 14px;
font-weight: normal;
@ -265,7 +265,7 @@
border: 1px solid var(--border);
background: var(--code-bg);
border-radius: var(--radius);
padding: .4em;
padding: 0.4em;
}
.dark .toc {
@ -352,11 +352,11 @@
height: 30px;
width: 30px;
fill: currentColor;
transition: transform .1s;
transition: transform 0.1s;
}
.share-buttons svg:active {
transform: scale(.96);
transform: scale(0.96);
}
h1:hover .anchor,

View File

@ -34,7 +34,7 @@
border-radius: var(--radius);
margin: 8px;
padding: 6px;
transition: transform .1s;
transition: transform 0.1s;
}
.button-inner {
@ -42,5 +42,5 @@
}
.button:active {
transform: scale(.96);
transform: scale(0.96);
}

View File

@ -26,8 +26,8 @@
}
#searchResults li:active {
transition: transform .1s;
transform: scale(.98);
transition: transform 0.1s;
transform: scale(0.98);
}
#searchResults a {
@ -40,6 +40,6 @@
}
#searchResults .focus {
transform: scale(.98);
transform: scale(0.98);
border: 2px solid var(--tertiary);
}

View File

@ -9,10 +9,10 @@
padding: 3px 10px;
background: var(--tertiary);
border-radius: 6px;
transition: transform .1s;
transition: transform 0.1s;
}
.terms-tags a:active {
background: var(--tertiary);
transform: scale(.96);
transform: scale(0.96);
}