new attention plugs

This commit is contained in:
nek0 2016-04-22 01:21:42 +02:00
parent dd98cffce9
commit dffd4d779b
2 changed files with 114 additions and 86 deletions

View file

@ -76,12 +76,12 @@ article li {
margin-left: 1.5ex;
}
nav {
.sidebar {
position: fixed;
width: 200px;
}
.navigation, .tagcloud {
.navigation, .tagcloud, .plugs {
background-color: rgba(0,0,0,0.1);
background: rgba(0,0,0,0.1);
border-radius: 5px;
@ -89,9 +89,11 @@ nav {
border-bottom-left-radius: 0px;
padding-top: 20px;
padding-bottom: 20px;
margin-top: 0;
margin-bottom: 16px;
}
.tagcloud {
.tagcloud, .plugs {
text-align: right;
padding-right: 20px;
padding-left: 20px;
@ -101,15 +103,7 @@ nav {
padding-right: 10px;
}
/*nav .tagcloud a:visited {
color:darkgreen;
}
nav .tagcloud a:link {
color:green;
}*/
nav ul{
nav ul, .plugs ul {
text-align:right;
list-style: none;
margin-left: 0px;
@ -128,6 +122,25 @@ nav li a:visited {
color: darkgreen;
}
.plugs ul {
padding: 0;
margin: 0;
}
.plugs li {
display: inline-block;
padding: 5px;
}
.plugs li a {
display: inline-block;
}
.plugs svg {
width: 40px;
height: 40px;
}
footer {
position: relative;
color: #555;

View file

@ -27,6 +27,7 @@
<a href="/">Nek0's Blog</a>
<hr>
</header>
<div class="sidebar">
<nav>
<ul class="navigation">
<li><a href="/">Home</a></li>
@ -39,6 +40,20 @@
$tagcloud$
</div>
</nav>
<div class="plugs">
Find me elsewhere:
<ul>
<li>
<a href="https://pod.geraspora.de/people/d9caf6505e370133bec34860008dbc6c" title="diaspora*">
<svg height="48" width="48" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M 24 0 A 24 24 0 0 0 0 24 A 24 24 0 0 0 24 48 A 24 24 0 0 0 48 24 A 24 24 0 0 0 24 0 z M 19.707031 8.0292969 L 28.292969 8.0292969 L 28.292969 18.382812 L 38.142578 15.189453 L 40.791016 23.345703 L 30.949219 26.548828 L 37.035156 34.931641 L 30.085938 39.970703 L 24 31.595703 L 17.914062 39.970703 L 10.964844 34.931641 L 17.050781 26.548828 L 7.2089844 23.345703 L 9.8574219 15.189453 L 19.707031 18.382812 L 19.707031 8.0292969 z "/></svg>
</a>
<li>
<a href="https://github.com/nek0" title="github">
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 0.4 0.07 0.55-0.17 0.55-0.38 0-0.19-0.01-0.82-0.01-1.49-2.01 0.37-2.53-0.49-2.69-0.94-0.09-0.23-0.48-0.94-0.82-1.13-0.28-0.15-0.68-0.52-0.01-0.53 0.63-0.01 1.08 0.58 1.23 0.82 0.72 1.21 1.87 0.87 2.33 0.66 0.07-0.52 0.28-0.87 0.51-1.07-1.78-0.2-3.64-0.89-3.64-3.95 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27 0.68 0 1.36 0.09 2 0.27 1.53-1.04 2.2-0.82 2.2-0.82 0.44 1.1 0.16 1.92 0.08 2.12 0.51 0.56 0.82 1.27 0.82 2.15 0 3.07-1.87 3.75-3.65 3.95 0.29 0.25 0.54 0.73 0.54 1.48 0 1.07-0.01 1.93-0.01 2.2 0 0.21 0.15 0.46 0.55 0.38C13.71 14.53 16 11.53 16 8 16 3.58 12.42 0 8 0z" /></svg>
</a>
</ul>
</div>
</div>
<article>
<h1>$title$</h1>