Skip to content

Commit

Permalink
spacing fix + h font-w + graph WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauryHamon committed Sep 12, 2023
1 parent 4306176 commit 8ead277
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 11 deletions.
4 changes: 2 additions & 2 deletions quartz/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ export default ((opts?: Options) => {
Amaury Hamon, {year}
{/* Created with <a href="https://quartz.jzhao.xyz/">Quartz v{version}</a>, © {year} */}
</p>
<ul>
<ul >
{Object.entries(links).map(([text, link]) => (
<li>
<a href={link} target="_blank">{text}</a>
<a class="footer-link" href={link} target="_blank">{text}</a>
</li>
))}
</ul>
Expand Down
90 changes: 81 additions & 9 deletions quartz/styles/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,38 @@
margin: 0 !important;
z-index: 1;
}
h1 {
font-weight: 500!important;
}
.page-title a{
font-weight: 700 !important;
font-weight: 500 !important;
color: var(--dark);
}
.content-meta{
padding: 1rem 0 0 0 !important;
color: var(--lightgray) !important;
}
.tags{
gap: 0rem!important;
}
a.tag-link {
border-radius: 15px !important;
background-color: transparent!important;
padding: .2rem .8rem !important;
border: 1px solid var(--lightgray) !important;
}
.footer-link {
font-weight: 400;
color: var(--darkgray);
border-radius: 15px !important;
background-color: transparent!important;
padding: .2rem .8rem !important;
border: 1px solid var(--lightgray) !important;
}
.popover-hint > p > a.internal {
border-radius: 15px !important;
padding: .2rem .8rem !important;
}

header{
padding: 0 3rem;
margin: 3rem 0 !important;
Expand All @@ -28,17 +56,17 @@ header{
.center {
padding: 2rem;
background-color: var(--shiki-color-background);
opacity: .8;
// opacity: .8;
// z-index: 10;
}

#quartz-body .sidebar.left {
left: 0!important;
padding: 3rem !important;
padding: 2rem 3rem 0 !important;
}
.page>#quartz-body .sidebar.right {
right: 0 !important;
padding: 3rem !important;
padding: 2rem 3rem 0 !important;
}
footer {
position: absolute;
Expand All @@ -47,7 +75,11 @@ footer {
padding: 2rem;
width: 100vw !important;
margin-bottom: 0rem!important;
height: 6rem;
height: 6.5vh;
opacity: 1!important;
}
footer hr {
margin: 1rem auto;
}
.footer-container {
display: flex;
Expand All @@ -56,14 +88,22 @@ footer {
}
.footer-container ul {
margin: 1rem 0;

}
footer ul{
gap: 0!important;

}
footer ul li{
margin: 0 0.1rem!important;
}
.article-title {
margin-top:1rem !important ;
}
#quartz-body {
position: relative;
padding-bottom: 8rem;
min-height: 89vh !important;
padding-bottom: 6.5vh;
min-height: 93.5vh !important;
background-color: var(--shiki-color-background);
}

Expand Down Expand Up @@ -91,10 +131,41 @@ header {
top: 0 !important;
left: 0 !important;
transform: none !important;
cursor: zoom-out;
}
#global-graph-container svg {
opacity: 1;
}
#global-graph-outer h3 {
position: absolute;
z-index: 100;
margin: 3rem;
width: auto;
}
.link .active {
// stroke: var(--foreground-text);
// fill: transparent;
stroke-dasharray: 5;
animation: dash 40s linear;
}

@keyframes dash {
to {
stroke-dashoffset: 1000;
}
}

.node circle {
// cursor: pointer;
// fill: var(--background);
transition: all 0.15s ease-out;

&.active {
// stroke: var(--foreground-text);
stroke-dasharray: 3;
animation: dash 80s linear;
}
}
// .graph > #global-graph-outer {
// z-index: 10 !important;
// left: 0;
Expand Down Expand Up @@ -195,12 +266,13 @@ header {
}
.page footer {
padding: 1rem!important;
height: 6rem;
height: 5rem;
}
footer hr {
margin: 1rem auto;
}
.backlinks .overflow {
max-height: 150px;
}

}

0 comments on commit 8ead277

Please sign in to comment.