git ssb

2+

mixmix / ticktack



Commit 59dd32b5a83df3b3e243a5bc34f33072e25a9701

minor style fixes (closes issues)

mix irving committed on 6/27/2018, 3:57:19 AM
Parent: cf8af24cc3bd046044a71f2ddf22530d636cf8b0

Files changed

app/page/splash.jschanged
app/page/splash.mcsschanged
app/page/statsShow.mcsschanged
app/page/splash.jsView
@@ -15,10 +15,8 @@
1515 // location is an object { feed, page: 'splash', callback }
1616
1717 const strings = api.translations.sync.strings()
1818
19- const svg = assetPath('splash.svg')
20-
2119 const style = {
2220 'background': require('../../assets/splash-svg.js'),
2321 'background-repeat': 'no-repeat',
2422 'background-size': 'contain'
@@ -28,9 +26,9 @@
2826 h('div.top', [
2927 h('img.logoName', { src: assetPath('logo_and_name.png') })
3028 ]),
3129 h('div.bottom', { style }, [
32- h('pre.slogan', strings.splash.slogan),
30+ h('div.slogan', strings.splash.slogan),
3331 h('div.about', random(strings.splash.about))
3432 ])
3533 ])
3634 }
@@ -43,5 +41,4 @@
4341 function random (arr) {
4442 const i = Math.floor(Math.random() * arr.length)
4543 return arr[i]
4644 }
47-
app/page/splash.mcssView
@@ -28,25 +28,23 @@
2828 display: flex
2929 flex-direction: column
3030 align-items: center
3131
32+ div.slogan {
33+ color: #2f5ea1
34+ font-size: 2.5rem
35+ font-family: cursive, serif
36+ font-style: italic
37+ line-height: 1.2
38+ margin-bottom: 2vw
39+ }
3240
3341 div.about {
3442 color: #666
3543 font-size: 1.5rem
3644 line-height: 1.5
3745
38- max-width: 40vw
39- margin-bottom: 2vw
46+ max-width: 60vw
4047 }
41-
42- pre.slogan {
43- color: #2f5ea1
44- font-size: 2.5rem
45- font-family: cursive, serif
46- font-style: italic
47- line-height: 1.2
48- }
49-
5048 }
5149 }
5250
app/page/statsShow.mcssView
@@ -7,9 +7,9 @@
77 div.content {
88 flex-grow: 0
99 $backgroundPrimaryText
1010 padding: 1rem
11- width: 1000px
11+ max-width: 1000px
1212
1313 h1 {
1414 font-size: .8rem
1515 letter-spacing: 4px

Built with git-ssb-web