new jekyll site up and running!
This commit is contained in:
parent
907f833a2b
commit
32ce7bd7c5
25 changed files with 856 additions and 97 deletions
38
_includes/nav.html
Normal file
38
_includes/nav.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
{% assign tags = page.tags %}
|
||||
{% assign primaryTag = site.data.tags[tags.first] %}
|
||||
|
||||
<h1 class="display-3" style="font-weight:700;position:sticky;top:0;backdrop-filter:blur(10px);z-index:1000;">
|
||||
{% if tags %}
|
||||
<span style="color:{{primaryTag.textColor}};background-color:{{primaryTag.backColor}};">ac</span>
|
||||
{% else %}
|
||||
<span style="color:black;background-color:white;">ac</span>
|
||||
{% endif %}
|
||||
</h1>
|
||||
<div class="row row-cols-1 row-cols-md-2">
|
||||
<div class="col col-md-3">
|
||||
<div class="row row-cols-1 g-0">
|
||||
{% for item in site.data.nav %}
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="{{ item.link }}" class="text-decoration-none"> {{ item.name }} </a>
|
||||
</h4>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="col gy-2">
|
||||
<h4>
|
||||
<div>
|
||||
<span>
|
||||
{% for item in site.data.icons %}
|
||||
{% if item.icon != "letterboxd" %}
|
||||
<a href="{{ item.link }}" target="_blank"><i class="{{ item.icon }}"></i></a>
|
||||
{% else %}
|
||||
<a href="{{ item.link }}" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<hr class="menu">
|
||||
</div>
|
||||
</div>
|
17
_includes/tagStyle.html
Normal file
17
_includes/tagStyle.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<style>
|
||||
{% assign tags = page.tags %}
|
||||
{% assign primaryTag = site.data.tags[tags.first] %}
|
||||
|
||||
code {
|
||||
color: {{ primaryTag.backColor }};
|
||||
}
|
||||
|
||||
pre {
|
||||
color: {{ primaryTag.backColor }}
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: {{ primaryTag.backColor }};
|
||||
color: {{ primaryTag.textColor }}
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue