Fixed som links

bootstrap5
Øyvind Skaaden 2021-03-04 11:51:09 +01:00
parent 7ed0c6fc82
commit 6b4e8f7695
4 changed files with 30 additions and 3 deletions

View File

@ -0,0 +1,20 @@
---
layout: default
---
<div class="jumbotron">
<div class="container">
<h1 class="no-anchor" data-toc-skip>{{ page.title }}</h1>
<p>{{ page.description }}</p>
<small>Forelesningsdato {{ page.date | date: "%d.%m.%Y" }}</small>
</div>
</div>
<div class="container" id="main">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-12 col-md-9">
{{ content }}
</div>
<div class="col-md-3 d-none d-md-block" id="sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top" style="z-index:1"></nav>
</div>
</div>
</div>

View File

@ -102,6 +102,7 @@ blockquote {
a {
color: var(--link-color);
text-decoration: none;
}
a:hover {

View File

@ -27,7 +27,13 @@
min-height: calc(100vh - 47.75rem);
}
.home-link>a {
/*
.home-link a{
text-decoration: none;
}
*/
a.home-link:hover{
text-decoration: none;
}

View File

@ -7,12 +7,12 @@ description: Personlig nettside for Øyvind Skaaden. Inneholder det meste av per
<div class="row">
{% for home in site.data.home %}
<div class="col-md-4">
<a href="{{ home.href }}">
<a class="home-link" href="{{ home.href }}">
<div class="icon">
<i class="fas {{ home.icon }}"></i>
</div>
<h3 class="no-anchor home-link">{{ home.title }}</h3>
</a>
<h3 class="no-anchor home-link"><a class="" href="{{ home.href }}">{{ home.title }}</a></h3>
<p>{{ home.description }}</p>
</div>
{% endfor %}