Skip to content

Commit

Permalink
Manual update
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkWithPbody committed Jan 15, 2025
1 parent f599051 commit 035000b
Show file tree
Hide file tree
Showing 17 changed files with 713 additions and 670 deletions.
30 changes: 15 additions & 15 deletions quartz/components/styles/backlinks.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
.backlinks {
position: relative;
position: relative;

& > h3 {
font-size: 1rem;
margin: 0;
}
&>h3 {
font-size: 1rem;
margin: 0;
}

& > ul {
list-style: none;
padding: 0;
margin: 0.5rem 0;
&>ul {
list-style: none;
padding: 0;
margin: 0.5rem 0;

& > li {
& > a {
background-color: transparent;
}
&>li {
&>a {
background-color: transparent;
}
}
}
}
}
}
37 changes: 19 additions & 18 deletions quartz/components/styles/breadcrumbs.scss
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
.breadcrumb-container {
margin: 0;
margin-top: 0.75rem;
padding: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 0.5rem;
}

.breadcrumb-element {
p {
margin: 0;
margin-left: 0.5rem;
margin-top: 0.75rem;
padding: 0;
line-height: normal;
}
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 0.5rem;
}

.breadcrumb-element {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;

p {
margin: 0;
margin-left: 0.5rem;
padding: 0;
line-height: normal;
}
}
58 changes: 29 additions & 29 deletions quartz/components/styles/clipboard.scss
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
.clipboard-button {
position: absolute;
display: flex;
float: right;
right: 0;
padding: 0.4rem;
margin: 0.3rem;
color: var(--gray);
border-color: var(--dark);
background-color: var(--light);
border: 1px solid;
border-radius: 5px;
opacity: 0;
transition: 0.2s;
position: absolute;
display: flex;
float: right;
right: 0;
padding: 0.4rem;
margin: 0.3rem;
color: var(--gray);
border-color: var(--dark);
background-color: var(--light);
border: 1px solid;
border-radius: 5px;
opacity: 0;
transition: 0.2s;

& > svg {
fill: var(--light);
filter: contrast(0.3);
}
&>svg {
fill: var(--light);
filter: contrast(0.3);
}

&:hover {
cursor: pointer;
border-color: var(--secondary);
}
&:hover {
cursor: pointer;
border-color: var(--secondary);
}

&:focus {
outline: 0;
}
&:focus {
outline: 0;
}
}

pre {
&:hover > .clipboard-button {
opacity: 1;
transition: 0.2s;
}
}
&:hover>.clipboard-button {
opacity: 1;
transition: 0.2s;
}
}
20 changes: 10 additions & 10 deletions quartz/components/styles/contentMeta.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.content-meta {
margin-top: 0;
color: var(--gray);
margin-top: 0;
color: var(--gray);

&[show-comma="true"] {
> span:not(:last-child) {
margin-right: 8px;
&[show-comma="true"] {
>span:not(:last-child) {
margin-right: 8px;

&::after {
content: ",";
}
&::after {
content: ",";
}
}
}
}
}
}
66 changes: 32 additions & 34 deletions quartz/components/styles/darkmode.scss
Original file line number Diff line number Diff line change
@@ -1,50 +1,48 @@
.darkmode {
position: relative;
width: 20px;
height: 20px;
margin: 0 10px;

& > .toggle {
display: none;
box-sizing: border-box;
}

& svg {
cursor: pointer;
opacity: 0;
position: absolute;
padding: 0;
position: relative;
background: none;
border: none;
width: 20px;
height: 20px;
top: calc(50% - 10px);
fill: var(--darkgray);
transition: opacity 0.1s ease;
}
margin: 0 10px;
text-align: inherit;

& svg {
position: absolute;
width: 20px;
height: 20px;
top: calc(50% - 10px);
fill: var(--darkgray);
transition: opacity 0.1s ease;
}
}

:root[saved-theme="dark"] {
color-scheme: dark;
color-scheme: dark;
}

:root[saved-theme="light"] {
color-scheme: light;
color-scheme: light;
}

:root[saved-theme="dark"] .toggle ~ label {
& > #dayIcon {
opacity: 0;
}
:root[saved-theme="dark"] .darkmode {
&>#dayIcon {
display: none;
}

& > #nightIcon {
opacity: 1;
}
&>#nightIcon {
display: inline;
}
}

:root .toggle ~ label {
& > #dayIcon {
opacity: 1;
}
:root .darkmode {
&>#dayIcon {
display: inline;
}

& > #nightIcon {
opacity: 0;
}
}
&>#nightIcon {
display: none;
}
}
Loading

0 comments on commit 035000b

Please sign in to comment.