_assets/stylesheets/_layout/_pages.scss
// -------------------------------
// PAGES
// -------------------------------
.archive-list,
.search-results-list,
.topic-list {
h3 {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 1rem;
margin-top: 0;
text-transform: none;
&:first-child {
margin-top: .3rem;
}
@media #{$medium-up} {
font-size: 1.2rem;
}
}
a {
text-decoration: none;
}
.pubdate {
@extend %sans;
color: lighten($dark-color, 20%);
display: block;
font-size: .85rem;
font-weight: normal;
line-height: 1.5;
@media #{$medium-up} {
font-size: .75rem;
}
}
}
.tag-box {
border-bottom: 1px solid $border-color;
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
list-style-type: none;
padding: 0 0 2.5rem;
width: 90%;
@media #{$medium-up} {
-webkit-column-count: 4;
-moz-column-count: 4;
column-count: 4;
}
@media #{$large-up} {
-webkit-column-count: 5;
-moz-column-count: 5;
column-count: 5;
width: 100%;
}
li {
font-size: .85rem;
margin: 0 .1rem 0 0;
padding: 0;
@media #{$medium-up} {
font-size: .75rem;
}
a {
text-decoration: none;
}
}
}
.tag__section {
border-bottom: 1px solid $border-color;
margin-left: auto;
margin-right: auto;
padding: 4rem 0;
position: relative;
width: 90%;
@media #{$large-up} {
width: 100%;
}
&:hover {
.tag__return-home {
opacity: 1;
}
}
p {
@media #{$medium-up} {
font-size: 1.2rem;
margin-bottom: 0;
}
}
}
.tag__name {
font-size: 2rem;
width: 100%;
}
.tag__count {
background: #EEE;
border-radius: 3px;
color: lighten($body-color, 20%);
font-size: 1rem;
margin-left: .5rem;
padding: .4rem .6rem;
vertical-align: middle;
}
.topic-list {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 2rem;
-moz-column-gap: 2rem;
column-gap: 2rem;
list-style-type: none;
margin-top: 2rem;
width: 100%;
li {
display: block;
font-size: .77rem;
line-height: 1.5;
margin-bottom: .3rem;
margin-left: 0;
}
}
.tag__return-home {
@extend %sans-con;
bottom: 10px;
color: $body-color;
font-size: .9rem;
opacity: 0;
position: absolute;
right: 10px;
text-decoration: none;
text-transform: uppercase;
transition: opacity .2s ease-in-out;
vertical-align: middle;
}