Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sample
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周韬
node-sample
Commits
f0ec7c28
Commit
f0ec7c28
authored
Jun 07, 2017
by
Pooya Parsa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accessibility improvements
Now we have 100 PWA score for accessibility!
parent
d6bb1e5a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
Item.vue
components/Item.vue
+4
-4
ItemList.vue
components/ItemList.vue
+1
-1
default.vue
layouts/default.vue
+2
-2
nuxt.config.js
nuxt.config.js
+1
-1
_id.vue
pages/item/_id.vue
+1
-1
No files found.
components/Item.vue
View file @
f0ec7c28
...
@@ -47,7 +47,7 @@ export default {
...
@@ -47,7 +47,7 @@ export default {
position relative
position relative
line-height 20px
line-height 20px
.score
.score
color #
ff66
00
color #
C750
00
font-size 1.1em
font-size 1.1em
font-weight 700
font-weight 700
position absolute
position absolute
...
@@ -58,10 +58,10 @@ export default {
...
@@ -58,10 +58,10 @@ export default {
margin-top -10px
margin-top -10px
.meta, .host
.meta, .host
font-size .85em
font-size .85em
color #
828282
color #
595959
a
a
color #
828282
color #
595959
text-decoration underline
text-decoration underline
&:hover
&:hover
color #
ff66
00
color #
C750
00
</
style
>
</
style
>
components/ItemList.vue
View file @
f0ec7c28
...
@@ -116,7 +116,7 @@ export default {
...
@@ -116,7 +116,7 @@ export default {
a
a
margin 0 1em
margin 0 1em
.disabled
.disabled
color #
ccc
color #
595959
.news-list
.news-list
position absolute
position absolute
...
...
layouts/default.vue
View file @
f0ec7c28
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
z-index: 1000 !important
z-index: 1000 !important
.header
.header
background-color #
41B883
background-color #
2B8358
position fixed
position fixed
z-index 999
z-index 999
height 55px
height 55px
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
margin 0px auto
margin 0px auto
padding 15px 5px
padding 15px 5px
a
a
color
rgba(255, 255, 255, .8)
color
#fff
line-height 24px
line-height 24px
transition color .15s ease
transition color .15s ease
display inline-block
display inline-block
...
...
nuxt.config.js
View file @
f0ec7c28
...
@@ -22,7 +22,7 @@ module.exports = {
...
@@ -22,7 +22,7 @@ module.exports = {
manifest
:
{
manifest
:
{
name
:
'Nuxt Hacker News'
,
name
:
'Nuxt Hacker News'
,
description
:
'HackerNews clone built with Nuxt.js'
,
description
:
'HackerNews clone built with Nuxt.js'
,
theme_color
:
'#
41b883
'
theme_color
:
'#
2B8358
'
},
},
modules
:
[
modules
:
[
'@nuxtjs/pwa'
,
'@nuxtjs/pwa'
,
...
...
pages/item/_id.vue
View file @
f0ec7c28
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
margin 0
margin 0
margin-right .5em
margin-right .5em
.host, .meta, .meta a
.host, .meta, .meta a
color #
828282
color #
595959
.meta a
.meta a
text-decoration underline
text-decoration underline
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment