git ssb

2+

mixmix / ticktack



Commit 23c8bbd3f9f930a0a1fb464a50c47d9218e80173

STYLING - blogcard

mix irving committed on 10/16/2017, 11:02:17 PM
Parent: 55f65b5f081677702c9c21215926ac33bbda7272

Files changed

app/html/blog-card.mcsschanged
app/page/blogIndex.jschanged
app/page/blogIndex.mcsschanged
app/page/page.mcsschanged
styles/mixins.jschanged
app/html/blog-card.mcssView
@@ -1,14 +1,14 @@
11 BlogCard {
22 padding: 1rem
33 background-color: #fff
4- margin-bottom: .5rem
54
65 border: 1px solid #fff
76 transition: all .5s ease
87
98 :hover {
10- border: 1px solid #999
9+ border: 1px solid gainsboro
10+ box-shadow: gainsboro 2px 2px 10px
1111 }
1212
1313 display: flex
1414 flex-direction: column
app/page/blogIndex.jsView
@@ -54,9 +54,9 @@
5454 morePlease = true
5555 requestIdleCallback(threadsObs.more)
5656 }
5757
58- var updates = h('div.threads', [])
58+ var updates = h('div.blogs', [])
5959 contentHtmlObs = More(
6060 threadsObsDebounced,
6161 function render (threads) {
6262
@@ -93,9 +93,9 @@
9393 .sort((a, b) => latestUpdate(b) - latestUpdate(a))
9494
9595 morphdom(
9696 updates,
97- h('div.threads',
97+ h('div.blogs',
9898 groupedThreads.map(thread => {
9999 const { recps, channel } = thread.value.content
100100 var onClick
101101 if (channel && !recps)
app/page/blogIndex.mcssView
@@ -1,7 +1,17 @@
11 Page -blogIndex {
22
33 div.content {
44 $backgroundPrimary
5+
6+ div.Button {
7+ margin: 1rem 0
8+ }
9+
10+ div.blogs {
11+ div.BlogCard {
12+ margin-bottom: .5rem
13+ }
14+ }
515 }
616 }
717
app/page/page.mcssView
@@ -19,6 +19,7 @@
1919 flex-grow: 1
2020
2121 padding: 1rem
2222 margin: 0 auto
23+ }
2324 }
2425
styles/mixins.jsView
@@ -110,8 +110,11 @@
110110 font-size: 1.5rem
111111 font-weight: 300
112112 margin: 0
113113 }
114+ (img.emoji) {
115+ height: 1.5rem
116+ }
114117 }
115118
116119 $markdownBold {
117120 div.Markdown {

Built with git-ssb-web