hacks-guide-minimal-mistake.../assets/scss/_sidebar.scss

55 lines
1,020 B
SCSS
Raw Normal View History

2016-03-11 04:29:30 +01:00
/* ==========================================================================
SIDEBAR
========================================================================== */
.sidebar {
@include breakpoint($medium) {
2016-03-11 04:29:30 +01:00
display: block;
2016-03-15 03:00:19 +01:00
margin-bottom: 1em;
@include span(2 of 12);
2016-03-17 20:50:22 +01:00
@include suffix(0.25 of 12);
2016-03-11 04:29:30 +01:00
}
h2, h3, h4, h5, h6 {
font-family: $sans-serif-narrow;
}
p, li {
font-size: 14px;
}
img {
width: 100%;
}
2016-03-11 04:29:30 +01:00
}
/*
Author profile and links
========================================================================== */
.author__name {
2016-03-15 03:00:19 +01:00
margin-top: 10px;
margin-bottom: 10px;
2016-03-11 04:29:30 +01:00
font-family: $sans-serif-narrow;
2016-03-15 03:00:19 +01:00
font-size: 24px;
2016-03-11 04:29:30 +01:00
}
.author__bio {
2016-03-15 03:00:19 +01:00
margin-bottom: 20px;
font-size: 80%;
font-style: italic;
2016-03-11 04:29:30 +01:00
}
.author__avatar {
2016-03-15 03:00:19 +01:00
max-width: 110px;
border-radius: 50%;
2016-03-11 04:29:30 +01:00
}
2016-03-15 03:00:19 +01:00
2016-03-11 04:29:30 +01:00
.author__social-url {
2016-03-15 03:00:19 +01:00
display: block;
2016-03-11 04:29:30 +01:00
margin-bottom: 5px;
padding-right: 5px;
2016-03-11 04:29:30 +01:00
font-size: 14px;
color: #000;
text-decoration: none;
&:hover {
text-decoration: underline;
}
2016-03-15 17:54:50 +01:00
}