diff --git a/haitidata/static/css/haitidata.css b/haitidata/static/css/haitidata.css index 8a5e0b4..148f16e 100644 --- a/haitidata/static/css/haitidata.css +++ b/haitidata/static/css/haitidata.css @@ -7281,6 +7281,15 @@ footer select { .item-thumb img { width: 100%; } +.item-thumb .cnigs-logo { + border-radius: 50%; + position: absolute; + top: 5px; + right: 5px; + height: 42px; + width: 42px; + z-index: 99; +} .item-details { background: white; color: #37474f; @@ -7298,12 +7307,15 @@ footer select { font-size: 0.875em; } .item-details .item-meta { + font-size: 0.75em; margin-top: 1em; } .item-details .item-meta .item-category { - font-size: 0.75em; text-transform: uppercase; } +.item-details .item-meta a { + color: #37474f; +} .item-details .btn-xs { border-color: #eceff1; border-bottom-right-radius: 0; diff --git a/haitidata/static/less/haitidata.less b/haitidata/static/less/haitidata.less index 31c8db8..920f67a 100755 --- a/haitidata/static/less/haitidata.less +++ b/haitidata/static/less/haitidata.less @@ -651,10 +651,18 @@ footer { .item-thumb { padding-left: 0; padding-right: 0; - img { width: 100%; } + .cnigs-logo { + border-radius: 50%; + position: absolute; + top: 5px; + right: 5px; + height: 42px; + width: 42px; + z-index: 99; + } } .item-details { @@ -671,11 +679,14 @@ footer { font-size: 0.875em; } .item-meta { + font-size: 0.75em; margin-top: 1em; .item-category { - font-size: 0.75em; text-transform: uppercase; } + a { + color: @gray-darker; + } } .btn-xs { border-color: @gray-lighter; diff --git a/haitidata/templates/base/_resourcebase_snippet.html b/haitidata/templates/base/_resourcebase_snippet.html index 973387c..37d8f37 100644 --- a/haitidata/templates/base/_resourcebase_snippet.html +++ b/haitidata/templates/base/_resourcebase_snippet.html @@ -9,12 +9,18 @@
{{ item.abstract | limitTo: 300 }}{{ item.abstract.length > 300 ? '...' : ''}}