hacks-guide-minimal-mistake.../_assets/css/_sidebar.scss

68 lines
1.2 KiB
SCSS
Raw Normal View History

2016-03-11 04:29:30 +01:00
/* ==========================================================================
SIDEBAR
========================================================================== */
.sidebar {
2016-03-15 03:00:19 +01:00
display: none;
2016-03-11 04:29:30 +01:00
@include breakpoint($small) {
display: block;
2016-03-15 03:00:19 +01:00
margin-bottom: 1em;
2016-03-11 04:29:30 +01:00
@include grid(12,2);
@include prefix(12,0.5);
@include suffix(12,0.5);
}
@include breakpoint($x-large) {
@include grid(12,1.5);
@include prefix(12,2);
}
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 03:00:19 +01:00
// .author__name,
// .author__avatar,
// .author__bio,
// .author__social-url {
// max-width: 150px;
// }