Skip to content

Commit

Permalink
publications: no_icon for script link #23 , customstyles.css: ul inli…
Browse files Browse the repository at this point in the history
…ne-flex / fa-circle separator #23 #4
  • Loading branch information
FabianBartl committed Sep 21, 2022
1 parent 46786f4 commit 217a5c1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions css/customstyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,8 @@ h4.panel-title {
background: #149983;
}

/* icon after link, actually after last letter of link to prevent breaking */
/* icon after link */
ul.inline > li:not(:first-of-type):before,
abbr[title]:after,
:hover > .anchorjs-link:after,
a:after {
Expand Down Expand Up @@ -1215,17 +1216,18 @@ a[href$=".zip"]:after { content: "\f019"; } /* download_alt */
abbr[title]:after { content: "\f129"; } /* info */

/* anchor-js icon */
*:hover > .anchorjs-link:after {
:hover > .anchorjs-link:after {
transition: color .25s linear;
content: "\f0c6"; /* paperclip */
}

/* inline list */
/* requires .no_bullet class for usage */
/* inline list with font awesome separator */
/* requires .no_bullet class for complete style */
ul.inline > li:not(:first-of-type):before {
content: "|";
margin-left: 0.1em;
margin-right: 0.1em;
content: "\f111"; /* circle */
font-size: smaller;
padding-left: 0.1em;
padding-right: 0.1em;
}

/* -------------------------- */
Expand All @@ -1240,10 +1242,8 @@ ul.no_bullet {
}

/* inline list */
/* requires .no_bullet class for usage */
ul.inline {
display: inline-block;
}
/* requires .no_bullet class for complete style */
ul.inline { display: inline-flex; }

/* hidden elements of password access restriction */
.course_material:not(.not_hidden),
Expand Down
8 changes: 4 additions & 4 deletions pages/publications/publications.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ If you are using MTEX for your research, please cite one of the following paper
<ul class="inline no_bullet">
<li>{% include reference.html link="https://doi.org/10.1016/j.ultramic.2019.112836" content="Ultramicroscopy" %}</li>
<li>{% include reference.html link="https://www-user.tu-chemnitz.de/~rahi/paper/gazingAtCrystalBalls.pdf" content="open PDF" %}</li>
<li>{% include reference.html link="https://github.com/mtex-toolbox/mtex-paper/tree/master/GazingAtCrystalBalls" content='scripts <i class="fa fa-file-code-o"></i>' %}</li>
<li>{% include reference.html link="https://github.com/mtex-toolbox/mtex-paper/tree/master/GazingAtCrystalBalls" content='scripts <i class="fa fa-file-code-o"></i>' no_icon=true %}</li>
</ul>
</dd>

Expand All @@ -79,7 +79,7 @@ If you are using MTEX for your research, please cite one of the following paper
<ul class="inline no_bullet">
<li>{% include reference.html link="https://doi.org/10.1107/S1600576719009075" content="Journal of Applied Crystallography, 52" %}</li>
<li>{% include reference.html link="https://www-user.tu-chemnitz.de/~rahi/paper/denoising.pdf" content="open PDF" %}</li>
<li>{% include reference.html link="https://github.com/mtex-toolbox/mtex-paper/tree/master/DenoisingCrystalOrientationMaps" content='scripts <i class="fa fa-file-code-o"></i>' %}</li>
<li>{% include reference.html link="https://github.com/mtex-toolbox/mtex-paper/tree/master/DenoisingCrystalOrientationMaps" content='scripts <i class="fa fa-file-code-o"></i>' no_icon=true %}</li>
</ul>
</dd>
</dl>
Expand All @@ -96,7 +96,7 @@ If you are using MTEX for your research, please cite one of the following paper
<ul class="inline no_bullet">
<li>{% include reference.html link="https://doi.org/10.1098/rspa.2017.0274" content="Proceedings of the Royal Society A, 473, 2017" %}</li>
<li>{% include reference.html link="https://www-user.tu-chemnitz.de/~rahi/paper/misori.pdf" content="open PDF" %}</li>
<li>{% include reference.html link="https://github.com/mtex-toolbox/mtex-paper/tree/master/3dMisorientationSpace" content='scripts <i class="fa fa-file-code-o"></i>' %}</li>
<li>{% include reference.html link="https://github.com/mtex-toolbox/mtex-paper/tree/master/3dMisorientationSpace" content='scripts <i class="fa fa-file-code-o"></i>' no_icon=true %}</li>
</ul>
</dd>
</dl>
Expand All @@ -113,7 +113,7 @@ If you are using MTEX for your research, please cite one of the following paper
<ul class="inline no_bullet">
<li>{% include reference.html link="http://dx.doi.org/10.1107/S1600576716012942" content="Journal of Applied Crystallography, 49, 1786-1802, 2016" %}</li>
<li>{% include reference.html link="https://www-user.tu-chemnitz.de/~rahi/paper/so3Colors.pdf" content="open PDF" %}</li>
<li>{% include reference.html link="https://github.com/mtex-toolbox/mtex-paper/tree/master/orientationsPerfectlyColored" content='scripts <i class="fa fa-file-code-o"></i>' %}</li>
<li>{% include reference.html link="https://github.com/mtex-toolbox/mtex-paper/tree/master/orientationsPerfectlyColored" content='scripts <i class="fa fa-file-code-o"></i>' no_icon=true %}</li>
</ul>
</dd>
</dl>
Expand Down

0 comments on commit 217a5c1

Please sign in to comment.