Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frama-C Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
Frama-C Website
Commits
88765d6c
Commit
88765d6c
authored
4 years ago
by
Augustin Lemesle
Committed by
Allan Blanchard
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
hover black when content is empty
parent
6b4327b6
No related branches found
Branches containing commit
No related tags found
1 merge request
!11
publis
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_includes/publication-entries.html
+4
-1
4 additions, 1 deletion
_includes/publication-entries.html
assets/css/publications.css
+4
-0
4 additions, 0 deletions
assets/css/publications.css
with
8 additions
and
1 deletion
_includes/publication-entries.html
+
4
−
1
View file @
88765d6c
...
...
@@ -11,13 +11,16 @@
{% if pub.plugin == include.plugin %}
<details>
<summary>
{% assign content = pub.content | strip_newlines %}
<summary
{%
if
content =
=
""
%}
class=
"empty"
{%
endif
%}
>
{% if pub.authors %}
<div>
{{ pub.authors }}
</div>
{% endif %}
<div><b>
{{ pub.title }}
</b>
{% if pub.link %} [
<a
href=
"{{ pub.link }}"
>
PDF
</a>
] {% endif %}
</div>
{% if pub.book %}
<div>
In {{ pub.book }}, {{ pub.year }}
</div>
{% endif %}
{% if pub.short %}
<div><em>
{{ pub.short }}
</em></div>
{% endif %}
</summary>
{% if content != "" %}
<em>
{{ pub }}
</em>
{% endif %}
</details>
{% endif %}
...
...
This diff is collapsed.
Click to expand it.
assets/css/publications.css
+
4
−
0
View file @
88765d6c
...
...
@@ -32,4 +32,8 @@ details[open] {
}
summary
{
margin
:
1em
2em
;
}
.empty
:hover
{
color
:
black
!important
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment