Permalink
Browse files

style: white-gray theme

Move code to CSS file
  • Loading branch information...
MOxFIVE committed Mar 2, 2016
1 parent c5c069f commit 7d4b9975c34e71ca76d7141f6ef86253849426b5
Showing with 45 additions and 25 deletions.
  1. +0 −25 layout/_partial/background.ejs
  2. +44 −0 source/css/_partial/customise/color-scheme.styl
  3. +1 −0 source/css/style.styl
@@ -14,29 +14,4 @@
}
})
</script>
<% } else { %>
<style>
body {
background: lightgray;
}
#container .left-col {
background: white;
}
.article-inner {
background: white;
margin-bottom: 1em;
}
.post-nav-button {
background: #ececec;
}
#header .header-nav .social #GitHub {
background-color: #bfd3ec;
}
#post-nav-button a {
background: rgba(215, 216, 215, .2);
}
.post-list {
background: white;
}
</style>
<% } %>
@@ -0,0 +1,44 @@
background-image = hexo-config("background_image")
if !background-image
body
background lightgray
#container .left-col
background white
.article
background white
.article-inner
margin-bottom 1em
.article-more-link a
opacity .9
.tagcloud a
opacity .9
#header .header-nav .social li
opacity .8
.archives-wrap
background white
.scroll a .fa
color white
.post-nav-button
background #ececec
#post-nav-button a
background rgba(215, 216, 215, .5)
.post-list
background white
#article-nav
background rgba(158,188,226,.9)
View
@@ -119,6 +119,7 @@ a {
@import "_partial/scroll"
@import "_partial/mobile-slider"
@import "_partial/post/youyan"
@import "_partial/customise/color-scheme"
if sidebar
@import "_partial/sidebar"

0 comments on commit 7d4b997

Please sign in to comment.