82 lines
1.8 KiB
HTML
82 lines
1.8 KiB
HTML
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
{{ $title := print .Site.Title " | " .Title }}
|
|
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
|
{{/* scss compiling */}}
|
|
{{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed") }}
|
|
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options }}
|
|
{{ template "_internal/twitter_cards.html" . }}
|
|
<link href='{{ $style.RelPermalink }}' rel="stylesheet">
|
|
<title>{{ $title }}</title>
|
|
{{- partial "octocss.html" . -}}
|
|
{{ if eq .Title "Writing" }}
|
|
<style>
|
|
.accordion {
|
|
cursor: pointer;
|
|
margin-bottom: 0 !important;
|
|
padding: 8px 0 8px 0;
|
|
}
|
|
|
|
.acc-panel {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.2s ease-out;
|
|
border-bottom: 1px solid;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.acc-panel-content {
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.acc-panel p{
|
|
padding-bottom: 8px;
|
|
}
|
|
.acc-panel a {
|
|
color: #0C84DC;
|
|
}
|
|
|
|
#writing-page .thead {
|
|
font-family: IBMPlexSans;
|
|
}
|
|
|
|
.accordion .level-item {
|
|
font-family: IBMPlexSans;
|
|
}
|
|
|
|
.accordion .icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.writing-section {
|
|
padding-bottom: 64px;
|
|
}
|
|
|
|
#books-section {
|
|
padding-bottom: 24px;
|
|
}
|
|
|
|
#books-section h3 {
|
|
font-size: 21px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
height: 7rem;
|
|
}
|
|
|
|
.book-cell {
|
|
text-align: center;
|
|
}
|
|
.book-cover img {
|
|
max-width: 140px;
|
|
}
|
|
|
|
.book-stats {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
</style>
|
|
<script src="https://kit.fontawesome.com/a42e899e51.js" crossorigin="anonymous"></script>
|
|
{{ end }}
|
|
</head>
|