summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-06-25 18:29:11 +0200
committermayx <mayx@outlook.com>2025-06-25 18:29:11 +0200
commitdddeb23c4161a7118a7cf1163de9c110c98bebf9 (patch)
tree3ab47898faed03ec9ae48bc0a777f413c91e8697
parente4e0261e0a44140f2e1462ab08f8e87b3cd92853 (diff)
Update 2 files
- /_layouts/default.html - /assets/css/style.scss
-rw-r--r--_layouts/default.html2
-rw-r--r--assets/css/style.scss9
2 files changed, 10 insertions, 1 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index a16fe01..d06dcb1 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -56,7 +56,7 @@ layout: xslt_container
<h1><a class="u-url u-uid p-name" rel="me" href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
{% if site.logo %}
- <img src="{{ site.logo }}" class="u-photo" alt="Logo" style="width: 90%; max-width: 300px; max-height: 300px;" />
+ <img src="{{ site.logo }}" fetchpriority="high" class="u-photo" alt="Logo" style="width: 90%; max-width: 300px; max-height: 300px;" />
{% endif %}
<p class="p-note">{{ site.description | default: site.github.project_tagline }}</p>
diff --git a/assets/css/style.scss b/assets/css/style.scss
index 11b603d..e88c321 100644
--- a/assets/css/style.scss
+++ b/assets/css/style.scss
@@ -156,6 +156,15 @@ section{
}
}
+code.highlighter-rouge{
+ padding: .1em .2em;
+ margin: 0;
+ font-size: 90%;
+ white-space: break-spaces;
+ background-color: lightgray;
+ border-radius: 6px;
+}
+
.content-tooltip {
position: absolute;
background: #fff;