aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/style.css
blob: f83011f9313bb7ccff0cc29cdc74034cac6fe4f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
: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;
}

#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;
}

.entry-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--link-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.entry-meta {
    font-size: 0.85rem;
    color: #666;
}

.entry-content {
    line-height: 1.6;
    max-width: 800px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}