git ssb

10+

Matt McKegg / patchwork



Commit 5b9d7ca9bb4a61d94b54a1fc968703c840a856d9

typography, padding and box-shadow tweaks, for much readability

Oli Evans committed on 4/23/2017, 9:56:54 AM
Parent: 3f6e125416ef2ddd9ea60d2239f3313132e89378

Files changed

styles/feed-event.mcsschanged
styles/message.mcsschanged
styles/feed-event.mcssView
@@ -1,11 +1,12 @@
11 FeedEvent {
22 display: flex
33 flex-direction: column
44 background: white
5 + box-shadow: 0 0 4px 1px rgba(0,0,0,0.1)
56 max-width: 700px
67 width: 100%
7- margin: 10px auto
8 + margin: 0 auto 25px
89
910 -new {
1011 box-shadow: 0px 0px 2px #ffc800;
1112 background: #fffdf7;
@@ -36,7 +37,11 @@
3637 }
3738
3839 div.meta {
3940 font-size: 100%
40- padding: 10px
41 + padding: 10px 20px
42 + opacity: 0.4
43 + :hover {
44 + opacity: 0.8
45 + }
4146 }
4247 }
styles/message.mcssView
@@ -1,12 +1,11 @@
11 Message {
22 display: flex
33 flex-direction: column
4- box-shadow: #dadada 1px 2px 8px
5- border: 1px solid #f5f5f5
64 background: white
75 position: relative
8- font-size: 130%
6 + font-size: 120%
7 + line-height: 1.4
98 flex-shrink: 0
109
1110 (highlight) {
1211 background-color: yellow
@@ -53,9 +52,10 @@
5352 header {
5453 div.main {
5554 a.avatar {
5655 img {
57- width: 35px
56 + width: 40px
57 + height: 40px
5858 }
5959 }
6060 }
6161 }
@@ -65,10 +65,9 @@
6565 border-color: #ffe794
6666 }
6767
6868 header {
69- margin: 15px 15px
70- margin-bottom: 5px;
69 + margin: 10px 20px 0
7170 display: flex
7271
7372 div.mini {
7473 flex: 1
@@ -80,8 +79,9 @@
8079
8180 a.avatar {
8281 img {
8382 width: 50px
83 + height: 50px
8484 }
8585 }
8686
8787 div.main {
@@ -132,15 +132,15 @@
132132 padding: 4px
133133 }
134134
135135 span.likes {
136- color: #ffffff;
137- background: linear-gradient(45deg, #859c88, #87d47d);
138- padding: 5px 8px;
139- border-radius: 10px;
140- display: inline-block;
141- vertical-align: top;
142- margin: -2px 0;
136 + margin-right: 10px;
137 + color: #286bc3;
138 + font-weight: 200;
139 + strong {
140 + color: #286bc3;
141 + font-weight: 200;
142 + }
143143 }
144144
145145 span.private {
146146 display: inline-block;
@@ -200,27 +200,26 @@
200200 }
201201 }
202202
203203 footer {
204- margin: 10px 10px;
205- border-top: 1px solid #eee;
206- padding-top: 10px;
207- margin-top: 5px;
208- padding-left: 5px;
204 + margin: 5px 10px 20px;
209205
210206 div.actions {
211207 a {
212- margin-right: 10px;
213208 color: #9a9a9a;
214- font-weight: bold;
215- padding: 5px
209 + font-weight: 200;
210 + padding: 5px 10px;
211 + border-radius:2px;
216212
217213 :hover {
218214 background: #cbeeff;
219215 color: #3b7ba2;
220216 text-decoration: none;
221217 border-color: #8eafc1;
222218 }
223219 }
220 + a + a {
221 + margin-left: 15px;
222 + }
224223 }
225224 }
226225 }

Built with git-ssb-web