Minor adjustments to TOC and author sidebar
This commit is contained in:
@@ -3,14 +3,6 @@
|
||||
// TEXTURE ====================================================
|
||||
// ELEMENTS ===================================================
|
||||
// LAYOUT =====================================================
|
||||
.article-author-top,
|
||||
.article-author-bottom {
|
||||
.transition(all .2s ease);
|
||||
.opacity(.7);
|
||||
&:hover {
|
||||
.opacity(1);
|
||||
}
|
||||
}
|
||||
.image-grid {
|
||||
li {
|
||||
width: 33.333333%;
|
||||
|
||||
@@ -45,6 +45,24 @@
|
||||
.grid(12,2);
|
||||
.prefix(12,0.5);
|
||||
.suffix(12,0.5);
|
||||
h3,
|
||||
.bio-photo,
|
||||
p,
|
||||
.author-social {
|
||||
display: block;
|
||||
max-width: 125px;
|
||||
margin: auto;
|
||||
}
|
||||
h3 {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.author-social {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
.article-author-bottom {
|
||||
display: none;
|
||||
@@ -54,8 +72,8 @@
|
||||
.grid(12,2);
|
||||
.prefix(12,0.5);
|
||||
.suffix(12,0.5);
|
||||
position: fixed;
|
||||
top: 120px;
|
||||
position: absolute;
|
||||
top: 5.5em;
|
||||
right: 0;
|
||||
.box-shadow(0 0 5px rgba(0,0,0,.50));
|
||||
}
|
||||
|
||||
@@ -5,6 +5,12 @@
|
||||
// LAYOUT =====================================================
|
||||
.article-author-top,
|
||||
.article-author-bottom {
|
||||
h3,
|
||||
.bio-photo,
|
||||
p,
|
||||
.author-social {
|
||||
max-width: 150px;
|
||||
}
|
||||
img.bio-photo {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
.font(12);
|
||||
color: #333332;
|
||||
margin-bottom: 1.5em;
|
||||
.rounded(4px);
|
||||
pre {
|
||||
margin: 0px;
|
||||
padding: 1em;
|
||||
|
||||
@@ -47,7 +47,7 @@ svg:not(:root) {
|
||||
background-color: @black;
|
||||
color: @white;
|
||||
border: 2px solid @black !important;
|
||||
.rounded(20px);
|
||||
.rounded(4px);
|
||||
&:visited {
|
||||
color: @white;
|
||||
}
|
||||
|
||||
@@ -69,8 +69,12 @@ body {
|
||||
}
|
||||
article {
|
||||
h2 {
|
||||
margin-bottom: 0;
|
||||
.font-rem(24);
|
||||
margin-bottom: 4px;
|
||||
.font-rem(20);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
p {
|
||||
.font-rem(14);
|
||||
}
|
||||
p+p {
|
||||
text-indent: 0;
|
||||
@@ -145,7 +149,6 @@ body {
|
||||
}
|
||||
.article-author-top {
|
||||
display: none;
|
||||
text-align: center;
|
||||
}
|
||||
.article-author-bottom {
|
||||
margin-bottom: 1em;
|
||||
@@ -204,15 +207,20 @@ body {
|
||||
font-family: @heading-font;
|
||||
border-bottom: 1px solid darken(@white, 50);
|
||||
&:last-child {
|
||||
border-bottom: 0 solid transparent;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
a, a:hover {
|
||||
color: @white;
|
||||
border-bottom: 0 solid transparent;
|
||||
}
|
||||
a {
|
||||
a {
|
||||
padding: 10px;
|
||||
display: block;
|
||||
color: @white;
|
||||
border-bottom-width: 0;
|
||||
&:hover {
|
||||
font-weight: 400;
|
||||
:before {
|
||||
content: "\00bb";
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
ul {
|
||||
margin: 0;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
.font(12);
|
||||
color: #333332;
|
||||
margin-bottom: 1.5em;
|
||||
.rounded(4px);
|
||||
pre {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user