aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-theme-stack/assets/scss/partials/layout/list.scss
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-11-03 20:08:36 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-11-03 20:08:36 +0300
commit59c7d4567380d1a9c80e96eb958fdbdd512ce006 (patch)
tree65410cfc10dbc7d060ec23be110662d9b7f6b0e9 /themes/hugo-theme-stack/assets/scss/partials/layout/list.scss
новая жизнь блога
Diffstat (limited to 'themes/hugo-theme-stack/assets/scss/partials/layout/list.scss')
-rw-r--r--themes/hugo-theme-stack/assets/scss/partials/layout/list.scss71
1 files changed, 71 insertions, 0 deletions
diff --git a/themes/hugo-theme-stack/assets/scss/partials/layout/list.scss b/themes/hugo-theme-stack/assets/scss/partials/layout/list.scss
new file mode 100644
index 0000000..d7815ca
--- /dev/null
+++ b/themes/hugo-theme-stack/assets/scss/partials/layout/list.scss
@@ -0,0 +1,71 @@
+.section-card {
+ border-radius: var(--card-border-radius);
+ background-color: var(--card-background);
+ padding: var(--small-card-padding);
+ box-shadow: var(--shadow-l1);
+ display: flex;
+ align-items: center;
+ gap: 20px;
+
+ --separation: 15px;
+
+ .section-term {
+ font-size: 2.2rem;
+ margin: 0;
+ color: var(--card-text-color-main);
+ }
+
+ .section-description {
+ font-weight: normal;
+ color: var(--card-text-color-secondary);
+ font-size: 1.6rem;
+ margin: 0;
+ }
+
+ .section-details {
+ flex-grow: 1;
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ }
+
+ .section-image {
+ img {
+ width: 60px;
+ height: 60px;
+ }
+ }
+
+ .section-count {
+ color: var(--card-text-color-tertiary);
+ font-size: 1.4rem;
+ margin: 0;
+ font-weight: bold;
+ text-transform: uppercase;
+ }
+}
+
+.subsection-list {
+ overflow-x: auto;
+
+ .article-list--tile {
+ display: flex;
+ padding-bottom: 15px;
+
+ article {
+ width: 250px;
+ height: 150px;
+ margin-right: 20px;
+ flex-shrink: 0;
+
+ .article-title {
+ margin: 0;
+ font-size: 1.8rem;
+ }
+
+ .article-details {
+ padding: 20px;
+ }
+ }
+ }
+}