aboutsummaryrefslogtreecommitdiffstats
path: root/dist/vanilla/style.css
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-13 22:14:30 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-13 22:14:30 -0800
commit47c43577ead8721008b858232511b2f65e0ed574 (patch)
treea15d1a4a4bb64b4b7d3de650b306835d8d7f63a5 /dist/vanilla/style.css
parent76cb9c2a39d477a64824a985ade40507e3bbade1 (diff)
downloadneko-47c43577ead8721008b858232511b2f65e0ed574.tar.gz
neko-47c43577ead8721008b858232511b2f65e0ed574.tar.bz2
neko-47c43577ead8721008b858232511b2f65e0ed574.zip
Optimize asset packaging: move UI assets to root dist/ and decouple rice embedding
Diffstat (limited to 'dist/vanilla/style.css')
-rw-r--r--dist/vanilla/style.css173
1 files changed, 173 insertions, 0 deletions
diff --git a/dist/vanilla/style.css b/dist/vanilla/style.css
new file mode 100644
index 0000000..573248d
--- /dev/null
+++ b/dist/vanilla/style.css
@@ -0,0 +1,173 @@
+:root {
+ --bg-color: #f6f6f6;
+ --sidebar-bg: #eaeaea;
+ --item-bg: #fff;
+ --text-color: #222;
+ --link-color: #0000EE;
+ /* Standard blue link */
+ --border-color: #ddd;
+ --selected-bg: #e8f0fe;
+}
+
+body {
+ background-color: var(--bg-color);
+ color: var(--text-color);
+ overflow: hidden;
+ /* App container handles scrolling */
+}
+
+#app {
+ display: flex;
+ height: 100vh;
+}
+
+#sidebar {
+ width: 250px;
+ background-color: var(--sidebar-bg);
+ border-right: 1px solid var(--border-color);
+ display: flex;
+ flex-direction: column;
+}
+
+#sidebar header {
+ padding: 1rem;
+ border-bottom: 1px solid var(--border-color);
+}
+
+#sidebar h1 {
+ margin: 0;
+ font-size: 1.2rem;
+}
+
+.search-container {
+ padding: 0.5rem;
+ border-bottom: 1px solid var(--border-color);
+}
+
+#search-input {
+ width: 100%;
+ padding: 0.5rem;
+ border: 1px solid var(--border-color);
+ border-radius: 4px;
+ box-sizing: border-box;
+}
+
+#feeds-nav {
+ flex: 1;
+ overflow-y: auto;
+ padding: 0.5rem;
+}
+
+.feed-item {
+ padding: 0.5rem;
+ cursor: pointer;
+ border-radius: 4px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.feed-item:hover {
+ background-color: rgba(0, 0, 0, 0.05);
+}
+
+.feed-item.active {
+ font-weight: bold;
+ background-color: rgba(0, 0, 0, 0.1);
+}
+
+#main {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ overflow: hidden;
+ background-color: #fff;
+}
+
+#main-header {
+ padding: 1rem;
+ border-bottom: 1px solid var(--border-color);
+ background-color: #fcfcfc;
+}
+
+#main-header h2 {
+ margin: 0;
+ font-size: 1.5rem;
+}
+
+#entries-list {
+ flex: 1;
+ overflow-y: auto;
+ padding: 1rem;
+}
+
+.entry {
+ background-color: var(--item-bg);
+ border-bottom: 1px solid var(--border-color);
+ padding: 1rem 0;
+}
+
+.entry-header {
+ margin-bottom: 0.5rem;
+ position: relative;
+ padding-left: 0;
+}
+
+.entry-controls {
+ display: inline-block;
+ vertical-align: middle;
+ margin-right: 0.5rem;
+}
+
+.btn-star,
+.btn-read {
+ background: none;
+ border: none;
+ cursor: pointer;
+ font-size: 1rem;
+ padding: 2px 4px;
+ margin-right: 4px;
+ color: #ccc;
+}
+
+.btn-star.active {
+ color: orange;
+}
+
+.btn-star:hover,
+.btn-read:hover {
+ color: #888;
+}
+
+.entry-title {
+ font-size: 1.2rem;
+ font-weight: bold;
+ color: var(--link-color);
+ text-decoration: none;
+ display: inline-block;
+ /* Changed to inline-block for alignment */
+ vertical-align: middle;
+ margin-bottom: 0.25rem;
+}
+
+.entry-title.read {
+ font-weight: normal;
+ color: #555;
+ text-decoration: none;
+}
+
+.entry-meta {
+ font-size: 0.85rem;
+ color: #666;
+ margin-top: 4px;
+}
+
+.entry-content {
+ line-height: 1.6;
+ max-width: 800px;
+}
+
+.entry-content img {
+ max-width: 100%;
+ height: auto;
+} \ No newline at end of file