1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-28 10:10:29 -04:00
jarv.is/assets/sass/pages/_single.scss

91 lines
1.4 KiB
SCSS

@charset "UTF-8";
// Post Styles
main#single {
max-width: 910px;
padding: 1em 2em;
margin: 0 auto;
div#meta {
text-align: center;
h1 {
margin: 0.3em 0;
font-size: 2em;
line-height: 1.4;
a {
color: inherit;
}
}
div#byline {
color: $color-medium;
font-size: 0.85em;
line-height: 1.5;
letter-spacing: 0.07em;
a {
color: inherit;
}
span.dot {
margin: 0 0.1em;
font-weight: 700;
}
ul#tags {
margin-top: 0.5em;
padding: 0;
list-style: none;
li {
display: inline;
margin-left: 0.8em;
margin-right: 0.8em;
text-transform: uppercase;
letter-spacing: 0.15em;
white-space: nowrap;
}
}
}
}
div#comments {
margin-top: 1.5em;
padding-top: 0.5em;
border-top: 2px solid $color-light;
div.utterances {
max-width: unset;
}
}
}
// Responsive
@mixin responsive--single() {
main#single {
padding: 0.8em 1.1em;
div#meta {
h1 {
font-size: 1.8em;
}
div#byline {
// hide "Improve Post" link on mobile
span#edit {
display: none;
}
// less space between tags
ul#tags li {
margin: 0 0.5em;
line-height: 1.7;
}
}
}
}
}