Permalink
Browse files

feat: Add bilibili icon to footer social links #110

  • Loading branch information...
xianmin committed Aug 26, 2018
1 parent 0f0cac3 commit e909b33a763ccd1f832da1aa6af6b95e53b9754d
Showing with 108 additions and 5 deletions.
  1. +1 −0 dev-config.toml
  2. +4 −2 exampleSite/config.toml
  3. +4 −0 src/css/_iconfont.scss
  4. +96 −0 src/fonts/svg/bilibili.svg
  5. +2 −2 static/dist/jane.min.css
  6. +1 −1 static/dist/jane.min.css.map
View
@@ -190,3 +190,4 @@ defaultContentLanguage = "en" # Default language to use (if you setup multiling
n-gitlab = "http://en.xianmin.org/hugo-theme-jane/"
o-goodreads = "http://en.xianmin.org/hugo-theme-jane/"
p-coding = "http://en.xianmin.org/hugo-theme-jane/"
q-bilibili = "http://en.xianmin.org/hugo-theme-jane/"
View
@@ -153,8 +153,10 @@ defaultContentLanguage = "en" # Default language to use
k-pocket = "http://localhost:1313"
l-tumblr = "http://localhost:1313"
m-instagram = "http://localhost:1313"
n-gitlab = "http://en.xianmin.org/hugo-theme-jane/"
o-goodreads = "http://en.xianmin.org/hugo-theme-jane/"
n-gitlab = "http://localhost:1313"
o-goodreads = "http://localhost:1313"
p-coding = "http://localhost:1313"
q-bilibili = "http://localhost:1313"
# jsonfeed support
# more information: https://github.com/xianmin/hugo-theme-jane/issues/23
View
@@ -111,6 +111,10 @@
font-size: 1.3em;
}
.icon-bilibili::before {
font-icon: url('../fonts/svg/bilibili.svg');
}
.icon-globe::before {
font-icon: url('../fonts/svg/globe.svg');
}
View
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
t="1521937972385"
class="icon"
style=""
viewBox="0 0 1024 1024"
version="1.1"
p-id="5583"
width="128"
height="128"
id="svg8"
sodipodi:docname="bilibili.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata
id="metadata12">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1305"
inkscape:window-height="880"
id="namedview10"
showgrid="false"
inkscape:zoom="2.8284271"
inkscape:cx="73.450388"
inkscape:cy="39.067583"
inkscape:window-x="23"
inkscape:window-y="87"
inkscape:window-maximized="0"
inkscape:current-layer="svg8"
inkscape:snap-nodes="true" />
<defs
id="defs4">
<style
type="text/css"
id="style2" />
</defs>
<g
id="g4720"
transform="translate(12.619473,1.4102104)">
<g
id="g4660">
<g
id="g4608" />
<g
id="g4625">
<g
id="g4596" />
<g
transform="rotate(3.937245,360.24574,2074.335)"
id="g4604" />
</g>
</g>
<g
transform="translate(357.79603,1.4142136)"
id="g4688">
<g
id="g4666" />
<g
id="g4686">
<g
id="g4674" />
<g
id="g4684"
transform="rotate(3.937245,360.24574,2074.335)" />
</g>
</g>
</g>
<path
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:51.22979355;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none"
d="m 734.71875,21.767948 a 40.004,40.004 0 0 0 -32.73437,17.875 L 546.95313,266.2367 H 535.75 a 40.004,40.004 0 0 0 -10.34375,-7.51562 l -278,-144 a 40.004,40.004 0 0 0 -19.21875,-4.75 40.004,40.004 0 0 0 -17.59375,75.78125 l 155.375,80.48437 H 144.48438 C 97.128368,266.2367 59,304.36509 59,351.72108 v 487.03125 c 0,47.356 38.128368,85.4844 85.48438,85.4844 h 18.65624 c 1.4118,40.18312 30.90232,77.99997 73.85938,77.99997 42.95706,0 72.44758,-37.81685 73.85938,-77.99997 h 400.28124 c 1.4118,40.18312 30.90232,77.99997 73.85938,77.99997 42.95704,0 72.4476,-37.81685 73.85936,-77.99997 h 20.65624 c 47.356,0 85.4844,-38.1284 85.4844,-85.4844 V 351.72108 C 965,304.36509 926.8716,266.2367 879.5156,266.2367 H 643.89062 L 768.01562,84.830452 A 40.004,40.004 0 0 0 734.71875,21.767948 Z M 638.85938,422.6742 c 6.03207,0.20623 11.9155,1.92559 17.10937,5 l 164.07813,93.9375 c 17.45912,9.78496 23.58632,31.92883 13.64064,49.29687 -9.94576,17.36806 -32.1464,23.29311 -49.4219,13.18751 L 620.1875,490.15857 c -14.56688,-8.06072 -21.70516,-25.06382 -17.26563,-41.10937 4.43956,-16.04553 19.29899,-26.94833 35.93751,-26.375 z m -281.78125,13.03125 c 16.18117,0.0304 30.34855,10.85154 34.64062,26.45312 4.29208,15.60159 -2.34569,32.15038 -16.23437,40.45313 L 240.75,585.83045 c -16.93355,10.70713 -39.34943,5.53136 -49.875,-11.51563 -10.52556,-17.04697 -5.11162,-39.40717 12.04687,-49.75 l 134.71875,-83.21874 c 5.80653,-3.70012 12.55228,-5.65774 19.43751,-5.64063 z m 144.96874,200.32812 c 3.59063,-0.14598 7.16823,0.51613 10.46875,1.93751 0.15168,0.061 0.30273,0.1234 0.45313,0.18749 0.56806,0.2594 1.12576,0.54087 1.67187,0.84376 0.15193,0.0817 0.30299,0.165 0.45313,0.25 0.53326,0.30796 1.05449,0.63632 1.5625,0.98437 0.15754,0.10752 0.31382,0.21687 0.46875,0.32812 0.48239,0.35218 0.95147,0.72222 1.40625,1.10938 0.17928,0.14847 0.35636,0.29952 0.53125,0.45313 0.41432,0.37136 0.8156,0.757 1.20312,1.15624 0.14792,0.15428 0.29376,0.31057 0.43751,0.46876 0.39064,0.42384 0.76588,0.86163 1.125,1.31249 0.17041,0.21587 0.33709,0.43466 0.5,0.65626 0.24829,0.33226 0.48798,0.67093 0.71874,1.01562 0.25575,0.37835 0.50063,0.76393 0.73438,1.15625 0.16188,0.27808 0.31818,0.55939 0.46875,0.84375 0.20909,0.39543 0.40708,0.79663 0.59375,1.20313 0.14205,0.30958 0.2775,0.62214 0.40625,0.9375 0.20413,0.4936 0.39175,0.99388 0.5625,1.5 0.0648,0.18671 0.1273,0.37424 0.1875,0.5625 0.17859,0.58238 0.33497,1.17135 0.46875,1.76562 0.0381,0.15586 0.0745,0.31215 0.10938,0.46875 0.13749,0.66175 0.24692,1.32902 0.32812,2 0.005,0.0365 0.0106,0.0729 0.0156,0.10937 0.0821,0.74739 0.12903,1.49821 0.14063,2.25 0.005,0.0521 0.0106,0.10416 0.0156,0.15626 0,0 -0.008,1.07366 0,1.39062 0,0 -0.14073,17.08896 5.64062,32.67188 2.89068,7.79146 7.02107,14.46404 12.07812,18.78124 5.05707,4.31724 10.94313,7.29688 22.64063,7.29688 11.69751,0 17.58356,-2.97964 22.64063,-7.29688 5.05705,-4.3172 9.18744,-10.98978 12.07812,-18.78124 5.78134,-15.58292 5.64062,-32.67188 5.64062,-32.67188 -0.42977,-13.28088 10.01463,-24.38069 23.29688,-24.76563 13.28224,-0.38493 24.34742,10.09152 24.6875,23.37501 0,0 1.07176,24.62923 -8.625,50.76562 -4.84837,13.06818 -12.63757,27.2506 -25.90625,38.57812 -13.26868,11.32752 -32.1195,18.79688 -53.8125,18.79688 -21.69299,0 -40.54383,-7.46936 -53.8125,-18.79688 -4.00242,-3.41688 -7.4563,-7.10877 -10.53125,-10.93749 -3.07581,3.83032 -6.52727,7.51929 -10.53125,10.93749 -13.26868,11.32752 -32.1195,18.79688 -53.8125,18.79688 -21.69299,0 -40.54383,-7.46936 -53.8125,-18.79688 -13.26868,-11.32752 -21.05788,-25.50994 -25.90625,-38.57812 -9.69676,-26.13639 -8.625,-50.76563 -8.625,-50.76562 0.19835,-13.24871 11.09491,-23.83055 24.34375,-23.64063 13.52584,0.1914 24.22182,11.51654 23.64062,25.03125 0,0 -0.14072,17.08896 5.64063,32.67188 2.89068,7.79146 7.00545,14.46404 12.0625,18.78124 5.05705,4.31724 10.95875,7.29688 22.65625,7.29688 11.69751,0 17.58358,-2.97964 22.64062,-7.29688 5.05705,-4.3172 9.17183,-10.98978 12.06251,-18.78124 5.51853,-14.87456 5.64071,-30.69428 5.64062,-32.14063 0.006,-0.35873 0.0106,-1.00857 0.0156,-1.15625 -0.0111,-0.71412 0.01,-1.42836 0.0625,-2.14063 0.009,-0.15113 0.0195,-0.30219 0.0313,-0.45312 0.13601,-1.50191 0.41329,-2.98763 0.82812,-4.4375 0.0205,-0.073 0.0414,-0.14595 0.0625,-0.21875 2.90456,-9.82148 11.72123,-16.71792 21.95312,-17.17188 z"
id="rect824"
inkscape:connector-curvature="0" />
</svg>
View

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit e909b33

Please sign in to comment.