Taxonomies list as a tag cloud (#557)

* Taxonomies list as a tag cloud

* Generate resources for demo preview
This commit is contained in:
Codruț Constantin Gușoi
2021-05-06 14:37:55 +01:00
committed by GitHub
parent 67f278f1b4
commit af7360e89a
13 changed files with 112 additions and 6 deletions

View File

@@ -65,6 +65,23 @@
margin-right: 1.5rem;
}
}
.tags {
.tag {
display: inline-block;
padding: 0.3rem 0.6rem;
background-color: $alt-bg-color;
border-radius: 0.6rem;
line-height: 1.4em;
a {
color: $fg-color;
}
a:active {
color: $fg-color;
}
}
}
}
}

View File

@@ -1,5 +1,19 @@
@mixin content_dark {
.content {
.post {
.tags {
.tag {
background-color: $alt-bg-color-dark;
a {
color: $fg-color-dark;
}
a:active {
color: $fg-color-dark;
}
}
}
}
.list {
ul {
li {

View File

@@ -0,0 +1,20 @@
.taxonomy {
li {
display: inline-block;
margin: 0.9rem;
}
.taxonomy-element {
display: block;
padding: 0.3rem 0.9rem;
background-color: $alt-bg-color;
border-radius: 0.6rem;
a {
color: $fg-color;
}
a:active {
color: $fg-color;
}
}
}

View File

@@ -0,0 +1,12 @@
.taxonomy {
.taxonomy-element {
background-color: $alt-bg-color-dark;
a {
color: $fg-color-dark;
}
a:active {
color: $fg-color-dark;
}
}
}

View File

@@ -3,5 +3,6 @@
@import "content_dark";
@import "notices_dark";
@import "navigation_dark";
@import "taxonomies_dark";
@import "footer_dark";
@import "float_dark";

View File

@@ -5,5 +5,6 @@
@import "notices";
@import "navigation";
@import "pagination";
@import "taxonomies";
@import "footer";
@import "float";