sophie-lewis-hugo/layouts/partials/head.html

99 lines
2.5 KiB
HTML
Raw Normal View History

2022-12-27 07:19:29 +00:00
<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" }}
2022-12-27 07:32:59 +00:00
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
<style> @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap'); </style>
2022-12-27 07:19:29 +00:00
<style>
.accordion {
cursor: pointer;
2022-12-27 07:21:49 +00:00
margin-bottom: 0 !important;
padding: 8px 0 8px 0;
2022-12-27 07:19:29 +00:00
}
.acc-panel {
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
2022-12-27 07:21:49 +00:00
border-bottom: 1px solid;
font-weight: 600;
2022-12-27 07:19:29 +00:00
}
2022-12-27 07:21:49 +00:00
.acc-panel-content {
padding-bottom: 20px;
}
.acc-panel p{
padding-bottom: 8px;
}
.acc-panel a {
color: #0C84DC;
2022-12-27 07:32:59 +00:00
text-decoration: underline;
2022-12-27 07:21:49 +00:00
}
#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 {
2022-12-27 07:32:59 +00:00
font-family: 'IBM Plex Mono';
text-align: center;
}
.book-cover img {
max-width: 140px;
}
2022-12-27 07:32:59 +00:00
.book-blurb {
font-family: 'IBM Plex Mono';
font-size: 12px;
padding-top: 10px;
}
2022-12-27 07:32:59 +00:00
.book-detail {
font-family: 'IBM Plex Mono';
font-size: 18px;
padding-top: 10px;
2022-12-27 07:32:59 +00:00
text-decoration: underline;
}
.book-detail a {
color: #000;
2022-12-27 07:21:49 +00:00
}
2022-12-27 07:19:29 +00:00
</style>
2022-12-27 07:21:49 +00:00
<script src="https://kit.fontawesome.com/a42e899e51.js" crossorigin="anonymous"></script>
2022-12-27 07:19:29 +00:00
{{ end }}
</head>