Browse Source

change to how links are presented

practices
Simon Bowie 1 year ago
parent
commit
0854c07ae5
3 changed files with 6 additions and 2 deletions
  1. +4
    -0
      web/app/static/styles/main.css
  2. +1
    -1
      web/app/templates/book.html
  3. +1
    -1
      web/app/templates/resource.html

+ 4
- 0
web/app/static/styles/main.css View File

@@ -1161,6 +1161,10 @@ select {
}
}

.resource a {
text-decoration: underline;
}

a:hover {
opacity: 0.9;
}

+ 1
- 1
web/app/templates/book.html View File

@@ -6,7 +6,7 @@

<div class="left">
<div class="mb-2">Book</div>
<div class="lg:border-r-2 border-black pr-8">
<div class="lg:border-r-2 border-black pr-8 resource">
{% if resource.references %}
<div class="float-right">
<img class="w-14 h-14 lg:w-40 lg:h-40 object-contain lg:m-16 rotate-[15deg]" src={{ resource.references

+ 1
- 1
web/app/templates/resource.html View File

@@ -7,7 +7,7 @@
<div class="cell-margin grid mt-16 lg:grid-cols-2">
<div class="left ">
<div class="mb-4 capitalize">{{ resource['type'] }}</div>
<div class="lg:border-r-2 lg:border-black lg:pr-8">
<div class="lg:border-r-2 lg:border-black lg:pr-8 resource">
<h2 class="block-margin huge-title {{ resource['type'] }}">
{% block title %}
{% autoescape false %}

Loading…
Cancel
Save