Skip to content

Commit

Permalink
homepage png - ratio 2
Browse files Browse the repository at this point in the history
  • Loading branch information
smalloranges committed Nov 13, 2018
1 parent 989fc95 commit a22b870
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ span#overview {
display: none;
}

#welcome-to-the-open-source-nebulas-wiki {
#welcome-to-the-open-source-nebulas-wiki.section {
background: #000 url(https://raw.githubusercontent.com/nebulasio/nebdocs/master/docs/resources/overview/bg.png) no-repeat 50% 0;
color: #9b9b9b;
max-width: 1920px;
Expand Down Expand Up @@ -252,7 +252,7 @@ span#overview {

#use-wiki.section #get-involved.section {
clear: left;
background: #f7f7f7 url(https://github.com/nebulasio/nebdocs/blob/master/docs/resources/overview/icon-contribute.png) no-repeat 100% 0;
background: #f7f7f7 url(https://github.com/nebulasio/nebdocs/blob/master/docs/resources/overview/icon-contribute.png?raw=ture) no-repeat 100% 0;
padding: 2em 1.618em;
margin: 2em -1.618em 0 -1.618em;
}
Expand All @@ -261,7 +261,7 @@ span#overview {
box-shadow: none;
}

#use-wiki.section #get-involved.section a {
#use-wiki.section #get-involved.section a.reference {
display: inline-block;
padding: 0 3rem;
}
Expand Down Expand Up @@ -296,3 +296,22 @@ span#overview {
float: none;
}
}



/* ratio 2 */

@media (-webkit-min-device-pixel-ratio: 2) {
#use-wiki.section #mainnet.section {
background-image: url(https://raw.githubusercontent.com/nebulasio/nebdocs/master/docs/resources/overview/icon-mainnet@2x.png);
}
#use-wiki.section #dapps.section {
background-image: url(https://raw.githubusercontent.com/nebulasio/nebdocs/master/docs/resources/overview/icon-dapps@2x.png);
}
#use-wiki.section #ecosystem.section {
background-image: url(https://raw.githubusercontent.com/nebulasio/nebdocs/master/docs/resources/overview/icon-eco@2x.png);
}
#use-wiki.section #get-involved.section {
background-image: url(https://raw.githubusercontent.com/nebulasio/nebdocs/master/docs/resources/overview/icon-contribute@2x.png?raw=ture);
}
}
Binary file removed docs/resources/bg.png
Binary file not shown.
Binary file removed docs/resources/icon-contribute.png
Binary file not shown.
Binary file removed docs/resources/icon-dapps.png
Binary file not shown.
Binary file removed docs/resources/icon-eco.png
Binary file not shown.
Binary file removed docs/resources/icon-mainnet.png
Binary file not shown.
Binary file modified docs/resources/overview/bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/overview/icon-contribute.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/resources/overview/icon-contribute@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/overview/icon-dapps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/resources/overview/icon-dapps@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/overview/icon-eco.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/resources/overview/icon-eco@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/resources/overview/icon-mainnet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/resources/overview/icon-mainnet@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a22b870

Please sign in to comment.