Skip to content

Commit

Permalink
fix: github icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jun 9, 2019
1 parent c59d48f commit 100e34c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
12 changes: 7 additions & 5 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@

<body class="hack">
<article class="main container">
<h1>unavatar <a target="_blank" href="https://github.com/Kikobeats/unavatar" class="icon-github"><svg xmlns="http://www.w3.org/2000/svg"
width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg></a></h1>
<h1>unavatar
<a target="_blank" href="https://github.com/Kikobeats/unavatar" class="icon-github">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24">
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/>
</svg>
</a>
</h1>
<p><img style="width:20px; vertical-align: middle;" src="/fallback.png"> Get unified user avatar.</p>
<p>The service will determinate the user avatar querying multiple social providers and serve it to you.</p>
<p>It can obtain the user avatar based on the input:</p>
Expand Down
18 changes: 7 additions & 11 deletions static/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,20 @@ b::selection {

/* code highlights */

:not(pre) > code[class*="language-"], pre[class*="language-"] {
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background-color: transparent;
font-weight: normal;
}

code[class*=language-], pre[class*=language-] {
code[class*=language-],
pre[class*=language-] {
color: #999;
}

.hack h1,
.hack h2,
.hack h3, {
.hack h3 {
margin-bottom: 2rem;
margin-top: 4rem;
}
Expand All @@ -48,13 +50,7 @@ code[class*=language-], pre[class*=language-] {
}

.icon-github {
border: 0;
position: relative;
top: 2px;
color: inherit;

&:hover {
background-color: inherit;
color: rgb(255, 46, 136);
}
text-decoration: none;
border: 0;
}

0 comments on commit 100e34c

Please sign in to comment.