Improve download link style

This commit is contained in:
Liu Yang 2014-11-03 15:34:06 +08:00
parent 44e4167694
commit 8fa5b1dece
3 changed files with 21 additions and 2 deletions

View File

@ -215,3 +215,8 @@ Citation
Here I am making a citation [1]_ Here I am making a citation [1]_
.. [1] This is the citation I made, let's make this extremely long so that we can tell that it doesn't follow the normal responsive table stuff. .. [1] This is the citation I made, let's make this extremely long so that we can tell that it doesn't follow the normal responsive table stuff.
Download links
==============
:download:`This long long long long long long long long long long long long long long long download link should be blue with icon, and should wrap white-spaces <static/yi_jing_01_chien.jpg>`

View File

@ -274,6 +274,20 @@
p.rubric p.rubric
margin-bottom: 12px margin-bottom: 12px
font-weight: bold font-weight: bold
//Download link
code.download
background: inherit
padding: inherit
font-family: inherit
font-size: inherit
color: inherit
border: inherit
white-space: inherit
span:first-child
@extend .fa
@extend .fa-download
&:before
margin-right: 4px
// Mobile specific // Mobile specific
+media($mobile) +media($mobile)

File diff suppressed because one or more lines are too long