259 lines
3.8 KiB
SCSS
259 lines
3.8 KiB
SCSS
@mixin after-border($margin:2rem auto) {
|
|
&:after {
|
|
display: block;
|
|
content: "";
|
|
width: 150px;
|
|
height: 1px;
|
|
margin: $margin;
|
|
background-color: $divider-color;
|
|
}
|
|
}
|
|
|
|
@mixin container() {
|
|
max-width: $min-width-breakpoint;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.image-row {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
align-items: center;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.image-column {
|
|
flex: 50%;
|
|
max-width: 50%;
|
|
padding: 0 4px;
|
|
border-radius: 8px;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
@media screen and (max-width: $min-width-breakpoint) {
|
|
.image-column {
|
|
flex: 100%;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.text-justify {
|
|
@media (min-width: $min-width-breakpoint) {
|
|
text-align: justify;
|
|
}
|
|
}
|
|
|
|
.text-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.fa-social-icons {
|
|
font-size: 2rem;
|
|
margin-top: -1rem;
|
|
|
|
a {
|
|
border: 0;
|
|
margin-right: 0.1rem;
|
|
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.masthead, .content, .footer {
|
|
@include container();
|
|
}
|
|
|
|
.masthead, .post, .related, .recent, .page, .comments, .index {
|
|
@include after-border();
|
|
}
|
|
|
|
.related, .recent {
|
|
.related-title, .recent-title {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.masthead {
|
|
margin-bottom: 2rem;
|
|
|
|
a {
|
|
color: $link-color-masthead;
|
|
}
|
|
|
|
@media screen and (max-width: $min-width-breakpoint) {
|
|
text-align: center !important;
|
|
float: none !important;
|
|
}
|
|
|
|
.masthead-title {
|
|
margin: 0;
|
|
padding: 0;
|
|
float: left;
|
|
text-align: left;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
border: 0;
|
|
}
|
|
|
|
small {
|
|
display: inline-block;
|
|
font-family: $font-family;
|
|
font-weight: lighter;
|
|
font-style: italic;
|
|
font-size: 75%;
|
|
}
|
|
|
|
@media screen and (max-width: $min-width-breakpoint) {
|
|
float: inherit;
|
|
text-align: inherit;
|
|
}
|
|
|
|
}
|
|
|
|
.masthead-nav {
|
|
display: inline-block;
|
|
padding-left: 0;
|
|
margin-bottom: 0;
|
|
font-family: $header-font-family;
|
|
font-weight: 600;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
border: 0;
|
|
|
|
& + a {
|
|
margin-left: 0.6rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: $min-width-breakpoint) {
|
|
padding-top: 1rem;
|
|
}
|
|
}
|
|
|
|
padding-top: 1rem;
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
.footer {
|
|
margin-bottom: 1rem;
|
|
text-align: center;
|
|
|
|
a[rel="license"]:first-child {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.icon-square {
|
|
color: transparent;
|
|
}
|
|
|
|
.icon-square:hover {
|
|
color: #252525;
|
|
}
|
|
|
|
.fa-stack-1x {
|
|
color:black;
|
|
}
|
|
|
|
p {
|
|
|
|
>span {
|
|
font-size: 110%;
|
|
|
|
a {
|
|
padding: 2px;
|
|
border: 0;
|
|
}
|
|
|
|
i:hover {
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.posts {
|
|
.posts-item {
|
|
margin-bottom: 0.2rem;
|
|
|
|
@media (min-width: $min-width-breakpoint) {
|
|
margin-bottom: 1rem;
|
|
text-align: justify;
|
|
}
|
|
|
|
.posts-item-header {
|
|
|
|
@media (min-width: $min-width-breakpoint) {
|
|
display: flex;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.post-title {
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media screen and (max-width: $min-width-breakpoint) {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.post-date {
|
|
color: $post-date-color;
|
|
font-style: italic;
|
|
|
|
@media (min-width: $min-width-breakpoint) {
|
|
margin-top: 1rem;
|
|
margin-left: 1rem;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
a {
|
|
border: 0;
|
|
}
|
|
}
|
|
|
|
.next, .previous {
|
|
font-weight: 600;
|
|
font-size: 20px;
|
|
transition: transform 0.3s ease-out;
|
|
|
|
}
|
|
|
|
.next {
|
|
float: right;
|
|
&:hover {
|
|
transform: translateX(4px);
|
|
}
|
|
}
|
|
|
|
.previous {
|
|
float: left;
|
|
&:hover {
|
|
transform: translateX(-4px);
|
|
}
|
|
}
|