Menu, styling
This commit is contained in:
@ -27,12 +27,6 @@ layout: default
|
|||||||
{{page.content | markdownify}}
|
{{page.content | markdownify}}
|
||||||
<hr class="fin" />
|
<hr class="fin" />
|
||||||
<div class="page-footer">
|
<div class="page-footer">
|
||||||
<div class="page-tag">
|
|
||||||
<span>Tags:</span>
|
|
||||||
{% for tag in page.tags %}
|
|
||||||
<a href="{{site.baseurl}}/tags#{{tag}}" class="tag">| {{ tag }}</a>
|
|
||||||
{% endfor %}
|
|
||||||
</div><!-- End Tags -->
|
|
||||||
<div class="page-share">
|
<div class="page-share">
|
||||||
<span>Share:</span>
|
<span>Share:</span>
|
||||||
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}" title="Share on Twitter" rel="nofollow" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}" title="Share on Twitter" rel="nofollow" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
||||||
@ -40,12 +34,6 @@ layout: default
|
|||||||
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" title="Share on Google+" rel="nofollow" target="_blank"><i class="fa fa-google" aria-hidden="true"></i></a>
|
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" title="Share on Google+" rel="nofollow" target="_blank"><i class="fa fa-google" aria-hidden="true"></i></a>
|
||||||
</div><!-- End Share -->
|
</div><!-- End Share -->
|
||||||
</div>
|
</div>
|
||||||
{% comment %}
|
|
||||||
{% include author-box.html %}
|
|
||||||
{% include recent-post.html %}
|
|
||||||
{% include newsletter.html %}
|
|
||||||
{% endcomment %}
|
|
||||||
{% include disqus.html %}
|
|
||||||
</div>
|
</div>
|
||||||
</div> <!-- End Wrapper -->
|
</div> <!-- End Wrapper -->
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@ -30,7 +30,7 @@ body {
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
&.invert {
|
&.invert {
|
||||||
background-color: $light-gray;
|
background-color: $dark-gray;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -69,6 +69,10 @@ img {
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
color: $dark-pink;
|
color: $dark-pink;
|
||||||
|
|
||||||
|
.invert & {
|
||||||
|
color: $light-pink;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
@ -130,11 +134,19 @@ pre {
|
|||||||
::-moz-selection {
|
::-moz-selection {
|
||||||
background: rgba(49, 30, 62, 0.7);
|
background: rgba(49, 30, 62, 0.7);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|
||||||
|
.invert & {
|
||||||
|
background: rgba(149, 130, 162, 0.7);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
background: rgba(49, 30, 62, 0.7);
|
background: rgba(49, 30, 62, 0.7);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|
||||||
|
.invert & {
|
||||||
|
background: rgba(149, 130, 162, 0.7);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.clearfix::before, .clearfix::after {
|
.clearfix::before, .clearfix::after {
|
||||||
|
|||||||
@ -4,6 +4,7 @@ $blue: #2d89ec;
|
|||||||
$dark-purple: #311e3e;
|
$dark-purple: #311e3e;
|
||||||
$light-purple: lighten($dark-purple, 60%);
|
$light-purple: lighten($dark-purple, 60%);
|
||||||
$dark-pink: #87314e;
|
$dark-pink: #87314e;
|
||||||
|
$light-pink: lighten($dark-pink, 40%);
|
||||||
$gray: #efefef;
|
$gray: #efefef;
|
||||||
$light-gray: #999999;
|
$light-gray: #999999;
|
||||||
$lighten-gray: #d9d9d9;
|
$lighten-gray: #d9d9d9;
|
||||||
|
|||||||
@ -33,14 +33,17 @@
|
|||||||
padding: 25px 30px;
|
padding: 25px 30px;
|
||||||
transform: translate3d(-300px, 0, 0);
|
transform: translate3d(-300px, 0, 0);
|
||||||
ul {
|
ul {
|
||||||
|
background-color: $white;
|
||||||
padding: 15px 0 0;
|
padding: 15px 0 0;
|
||||||
margin: 0;
|
margin: 0 -30px 0 -30px;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
border-bottom: 1px solid $lighten-gray;
|
border-bottom: 1px solid $lighten-gray;
|
||||||
|
background-color: $white;
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
|
margin: 0 30px;
|
||||||
padding: 15px 0;
|
padding: 15px 0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|||||||
@ -88,6 +88,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page-share {
|
.page-share {
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: $light-gray;
|
color: $light-gray;
|
||||||
|
|||||||
Reference in New Issue
Block a user