aboutsummaryrefslogtreecommitdiff
path: root/views/styles.css
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2025-02-01 11:38:54 +0200
committerSyndamia <kamen@syndamia.com>2025-02-01 11:38:54 +0200
commit0d87935bfd38f0cabecfaff374bd5ead221a494c (patch)
tree2d256a4f8f5acbe907533882ecdfd704d4c643b0 /views/styles.css
parent49fa0bf2aa19ca3a0fc151c68308ae7fd819710f (diff)
downloadnowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.tar
nowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.tar.gz
nowayforward_human-0d87935bfd38f0cabecfaff374bd5ead221a494c.zip
feat(views/profile): Proper list elements UI
Diffstat (limited to 'views/styles.css')
-rw-r--r--views/styles.css38
1 files changed, 36 insertions, 2 deletions
diff --git a/views/styles.css b/views/styles.css
index 142b530..440da4e 100644
--- a/views/styles.css
+++ b/views/styles.css
@@ -6,6 +6,7 @@
--dark-green: #526962;
--dark-purple: #9084ae;
+ --dark-cherry: #ae6773;
--blue: #add8e6;
@@ -224,6 +225,7 @@ hr.new-section {
}
+/* Preview card */
.card {
display: flex;
flex-direction: column;
@@ -274,7 +276,8 @@ hr.new-section {
height: var(--card-expand-with);
}
-.item {
+/* Webpage item */
+.item, .list {
background-image: url(/paper.jpg);
background-repeat: repeat;
@@ -293,7 +296,8 @@ hr.new-section {
border-bottom: none;
}
-.item > :first-child {
+.item > :first-child,
+.list > :first-child {
flex: 1;
}
@@ -342,6 +346,36 @@ hr.new-section {
color: var(--cherry);
}
+/* List item */
+.list {
+ border-color: var(--dark-cherry);
+}
+
+.list:hover {
+ cursor: pointer;
+}
+
+.list > :first-child > * {
+ padding-left: 0.25em;
+ padding-right: 0.25em;
+}
+
+.list .heading {
+ border-bottom: 3px dotted #909090;
+ padding-bottom: 0.5em;
+}
+
+.list h2 {
+ margin: 0;
+ font-size: 1.7em;
+ display: inline-block;
+}
+
+.list h2 + .float-right {
+ line-height: 1.7em;
+ text-align: center;
+}
+
/* User */
.user-icon {
height: 7em;