New assets and style edits for the new post

This commit is contained in:
Mahdi Dibaiee 2015-05-03 10:49:18 +04:30
parent 48c76a7e3b
commit 1f61ffa556
5 changed files with 32 additions and 2 deletions

View File

@ -17,3 +17,13 @@
<script src="//static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">try{ clicky.init(100720175); }catch(e){}</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/100720175ns.gif" /></p></noscript>
<script>
var channel = new BroadcastChannel('egg');
channel.addEventListener('message', message => {
alert('Got a message from the other tab:\n' + message.data);
document.querySelector('header').classList.add('channel');
});
</script>

View File

@ -74,6 +74,10 @@ article p img {
display: block;
}
.post article h1 {
font-weight: bold;
}
.post-list h2 {
font-size: 1.5rem;
}
@ -99,3 +103,19 @@ hr {
border-top: 1px solid lighten($grey-color, 20%);
margin: 1.5rem 0;
}
.channel {
#mahdi * {
fill: #000000 !important;
}
& > a::before {
content: 'BroadcastChannels rock';
color: white;
position: absolute;
top: 250px;
left: calc(50% - 83px);
font-size: 15px;
text-shadow: 0 0 1px white;
}
}

BIN
img/broadcast-channels.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB