瀏覽代碼

change to how links are presented

practices
Simon Bowie 1 年之前
父節點
當前提交
0854c07ae5
共有 3 個檔案被更改,包括 6 行新增2 行删除
  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 查看文件

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

.resource a {
text-decoration: underline;
}

a:hover {
opacity: 0.9;
}

+ 1
- 1
web/app/templates/book.html 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存