a.no-underline class
This commit is contained in:
parent
64e060d51a
commit
4719c8a4d5
@ -7,6 +7,9 @@ title: index
|
||||
<p class="red-text">Abolish the Family: A Manifesto for Care and Liberation <a href="https://www.versobooks.com/books/4075-abolish-the-family">Available For Pre-Order Now</a>.<p>
|
||||
<div class="has-text-centered">
|
||||
<image src="img/separator.jpg">
|
||||
<image class="is-rounded" src="img/portrait.jpg">
|
||||
{{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}}
|
||||
<img src='{{ $img }}'>
|
||||
</div>
|
||||
|
||||
<h1>I’m <b>Sophie Lewis</b>, writer, speaker, teacher, and recovering academic.</h1>
|
||||
|
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"Target":"css/style.css","MediaType":"text/css","Data":{}}
|
@ -254,7 +254,6 @@ hr {
|
||||
}
|
||||
|
||||
.title {
|
||||
font-family: $serif_font;
|
||||
font-style: italic;
|
||||
font-weight: 200;
|
||||
}
|
||||
@ -275,6 +274,10 @@ a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a.no-underline {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: $mono_font;
|
||||
font-size: 21px;
|
||||
|
@ -3,8 +3,8 @@
|
||||
{{ if eq (.Title | lower) "about" }}
|
||||
<div class="column is-one-third">
|
||||
<div class="headshot">
|
||||
{{ $img := relURL "img/headshot_example.png" }}
|
||||
{{ if isset $.Site.Params.about "headshot" }}
|
||||
{{ $img := relURL "img/headshot_example.png" }}
|
||||
{{ if isset $.Site.Params.about "headshot" }}
|
||||
{{ if fileExists ( printf "static/img/%s" $.Site.Params.about.headshot ) }}
|
||||
{{ $img := relURL ( printf "img/%s" $.Site.Params.about.headshot )}}
|
||||
<img src='{{ $img }}'>
|
||||
|
@ -2,11 +2,11 @@
|
||||
<div class="hero-body">
|
||||
{{ $content_class := $.Page.Params.title | lower }}
|
||||
{{ if eq (.Title | lower) "abolish-the-family" }}
|
||||
<a class="button is-outlined button-book" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
<a class="button is-outlined button-book no-underline" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
{{else}}
|
||||
<a class="button button-book" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
<a class="button button-book no-underline" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
{{end}}
|
||||
<a href="/">
|
||||
<a class="no-underline" href="/">
|
||||
<p class="title is-size-0-1">
|
||||
{{ site.Params.header.name }}
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user