Commit 02eb138217bf2dd28c3be988febc79c8d62e190b
Another styling attempt.
Gordon Martin committed on 12/28/2017, 12:59:22 AMParent: 418790bd9a556af98c65311c02f6f8228593ad90
Files changed
locales/en.json | changed |
modules/page/html/render/public.js | changed |
styles/dark/public-feed.mcss | changed |
styles/light/public-feed.mcss | changed |
locales/en.json | ||
---|---|---|
@@ -93,6 +93,42 @@ | ||
93 | 93 | "liked this message": "liked this message", |
94 | 94 | "like": "like", |
95 | 95 | "replied to this message": "replied to this message", |
96 | 96 | "unfollowed ": "unfollowed ", |
97 | - " others": " others" | |
97 | + " others": " others", | |
98 | + "Write a public message": "Write a public message", | |
99 | + "New Message": "New Message", | |
100 | + "%s people from your network replied to this message on ": { | |
101 | + "one": "%s people from your network replied to this message on ", | |
102 | + "other": "%s people from your network replied to this message on " | |
103 | + }, | |
104 | + "mentioned in your network": "mentioned in your network", | |
105 | + "Channels": "Channels", | |
106 | + "Browse All": "Browse All", | |
107 | + "$name": "$name", | |
108 | + "Theme": "Theme", | |
109 | + "Language": "Language", | |
110 | + "Default": "Default", | |
111 | + "de": "de", | |
112 | + "en": "en", | |
113 | + "es": "es", | |
114 | + "ki": "ki", | |
115 | + "pt": "pt", | |
116 | + "pt-BR": "pt-BR", | |
117 | + "Font Size": "Font Size", | |
118 | + "Public Feed Options": "Public Feed Options", | |
119 | + "Hide following messages": "Hide following messages", | |
120 | + "Only include posts from subscribed channels": "Only include posts from subscribed channels", | |
121 | + "Information": "Information", | |
122 | + "This is you.": "This is you.", | |
123 | + "Click to unblock": "Click to unblock", | |
124 | + "Blocked": "Blocked", | |
125 | + "Click to unfollow": "Click to unfollow", | |
126 | + "Follow Back": "Follow Back", | |
127 | + "Follow": "Follow", | |
128 | + "Click to block syncing with this person and hide their posts": "Click to block syncing with this person and hide their posts", | |
129 | + "Block": "Block", | |
130 | + "Write a private reply": "Write a private reply", | |
131 | + "Write a public reply": "Write a public reply", | |
132 | + "External Link": "External Link", | |
133 | + "subscribed to ": "subscribed to " | |
98 | 134 | } |
modules/page/html/render/public.js | ||
---|---|---|
@@ -264,12 +264,13 @@ | ||
264 | 264 | |
265 | 265 | function noVisibleNewPostsWarning() { |
266 | 266 | var content = |
267 | 267 | h('div', {classList: 'PublicFeed main'}, h('section -notFollowingAnyoneWarning', [ |
268 | - h('h3', i18n('Welcome to Patchwork')), | |
268 | + h('h1', i18n('Welcome to Patchwork')), | |
269 | 269 | h('p', i18n('You may not be able to see new content until you follow some users or pubs.')), |
270 | - h('span', i18n("For help, see the 'Getting Started' guide at ")), | |
271 | - h('a', {href: 'https://www.scuttlebutt.nz/'}, 'https://www.scuttlebutt.nz/') | |
270 | + h('p', [i18n("For help, see the 'Getting Started' guide at "), | |
271 | + h('a', {href: 'https://www.scuttlebutt.nz/'}, 'https://www.scuttlebutt.nz/')] | |
272 | + ), | |
272 | 273 | ])) |
273 | 274 | |
274 | 275 | return when( |
275 | 276 | computed([loading, contact.isNotFollowingAnybody], |
styles/dark/public-feed.mcss | ||
---|---|---|
@@ -1,18 +1,28 @@ | ||
1 | 1 | PublicFeed { |
2 | 2 | margin: auto |
3 | 3 | |
4 | 4 | section { |
5 | - background: #4c4a4a | |
6 | - color: white | |
7 | - padding: 5px 20px 20px 20px | |
5 | + padding: 20px 20px 20px 20px | |
8 | 6 | width: 700px |
9 | 7 | |
10 | 8 | -notFollowingAnyoneWarning { |
11 | - border: 1px solid #D8000C; | |
12 | - background: #FFBABA; | |
13 | - margin: 5px 0; | |
14 | - color: #D8000C; | |
15 | - font-size: 110%; | |
9 | + border: 1px solid #ffba4e | |
10 | + background: #5f410b | |
11 | + margin: 5px 0 | |
12 | + color: #ffdda7 | |
13 | + font-size: 110% | |
16 | 14 | } |
15 | + | |
16 | + h1 { | |
17 | + font-size: 120% | |
18 | + font-weight: bold | |
19 | + margin: 0 | |
20 | + color: white | |
21 | + } | |
22 | + | |
23 | + p { | |
24 | + margin: 0 | |
25 | + margin-top: 8px | |
26 | + } | |
17 | 27 | } |
18 | 28 | } |
styles/light/public-feed.mcss | ||
---|---|---|
@@ -2,17 +2,28 @@ | ||
2 | 2 | margin: auto |
3 | 3 | |
4 | 4 | section { |
5 | 5 | background: #4c4a4a |
6 | - color: white | |
7 | - padding: 5px 20px 20px 20px | |
6 | + padding: 20px 20px 20px 20px | |
8 | 7 | width: 700px |
9 | 8 | |
10 | 9 | -notFollowingAnyoneWarning { |
11 | - border: 1px solid #D8000C; | |
12 | - background: #FFBABA; | |
10 | + border: 1px solid #ffc965; | |
11 | + background: #ffebcc; | |
13 | 12 | margin: 5px 0; |
14 | - color: #D8000C; | |
13 | + color: #8a6800; | |
15 | 14 | font-size: 110%; |
16 | 15 | } |
16 | + | |
17 | + h1 { | |
18 | + font-size: 120% | |
19 | + font-weight: bold | |
20 | + margin: 0 | |
21 | + color: #583805 | |
22 | + } | |
23 | + | |
24 | + p { | |
25 | + margin: 0 | |
26 | + margin-top: 8px | |
27 | + } | |
17 | 28 | } |
18 | 29 | } |
Built with git-ssb-web