Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosarium committed Mar 9, 2023
1 parent 2ed208b commit bca83cc
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
36 changes: 34 additions & 2 deletions assets/styles/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ body.resume article {
.TOC {
display: none;
}
h2 {
.text-chunk > a > h2 {
font-size: 1.35em;
margin-top: 1em;
font-weight: 720;
font-family: "Inter";
border-bottom: solid 2px var(--outlinegray);
}
h3 {
.text-chunk > a > h3 {
font-size: 1.2em;
margin-top: 1em;
font-weight: 500;
Expand Down Expand Up @@ -230,4 +230,36 @@ blockquote[class*=minimal-callout] {
border-bottom: 0px !important;
border-bottom-left-radius: 5px;
}
}

div.portfolio-nav {
padding: 0.75em 1em;
margin: 1em 0;
border: var(--outlinegray)1px solid;
border-radius: 5px;
// background-color: var(--background-modifier-cover);

line-height: 1.5;

font-family: "Inter";
margin: 16px 0;
color: var(--tertiary);
a {
// font-family: "Inter";
font-weight: unset;
text-decoration: none;
background-color: var(--link-background-color);
color: var(--tertiary);
padding: 0 0.1em;
margin: auto -0.1em;
border-radius: 3px;
}
a:hover {
color: var(--primary);
}
b > a {
font-weight: 800;
background-color: #c7c7c750;
color: var(--dark);
}
}
2 changes: 1 addition & 1 deletion layouts/_default/canvas.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="{{ .Lang }}">
{{ partial "head.html" . }}

<body>
<body {{ with .Params.layoutClass }} class="{{ . }}" {{ end }}>
<div class="widePage">

{{partial "header.html" .}}
Expand Down

0 comments on commit bca83cc

Please sign in to comment.