This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
573 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
48 changes: 24 additions & 24 deletions
48
themes/hexo-theme-apollo/source/scss/_partial/archive-post-list.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
.archive { | ||
max-width: 500px; | ||
margin: 5em auto; | ||
.post-item { | ||
padding: 2px 0 0 50px; | ||
max-width: 500px; | ||
margin: 5em auto; | ||
.post-item { | ||
padding: 2px 0 0 50px; | ||
} | ||
.post-time, | ||
.post-title-link { | ||
font-size: 1rem; | ||
} | ||
.post-title-link { | ||
display: block; | ||
margin-left: 125px; | ||
color: #42b983; | ||
word-break: break-all; | ||
&:hover { | ||
border-bottom: 0; | ||
color: #267b54; | ||
} | ||
.post-time, | ||
.post-title-link { | ||
font-size: 1rem; | ||
} | ||
.post-title-link { | ||
display: block; | ||
margin-left: 125px; | ||
color: #42b983; | ||
word-break: break-all; | ||
&:hover { | ||
border-bottom: 0; | ||
color: #267B54; | ||
} | ||
} | ||
.post-info { | ||
float: left; | ||
width: 125px; | ||
color: #7f8c8d; | ||
} | ||
} | ||
} | ||
.post-info { | ||
float: left; | ||
width: 125px; | ||
color: #7f8c8d; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,82 @@ | ||
::selection { | ||
color: #FFFFFF; | ||
background-color: #42b983; | ||
color: #ffffff; | ||
background-color: #42b983; | ||
} | ||
|
||
html, body { | ||
width: 100%; | ||
height: 100%; | ||
html, | ||
body { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
color: #34495e; | ||
font-size: 15px; | ||
line-height: 1.6; | ||
background-color: #fff; | ||
font-family: 'sourcesanspro', 'Helvetica Neue', Arial, sans-serif; | ||
margin: 0; | ||
color: #34495e; | ||
font-size: 15px; | ||
line-height: 1.6; | ||
background-color: #fff; | ||
font-family: 'sourcesanspro', 'Helvetica Neue', Arial, sans-serif; | ||
} | ||
|
||
ul.nav, | ||
ul.post-list { | ||
margin: 0; | ||
padding: 0; | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
list-style-type: none; | ||
} | ||
|
||
ul { | ||
margin: 1rem 0; | ||
margin: 1rem 0; | ||
} | ||
|
||
a, a:active { | ||
color: #2c3e50; | ||
text-decoration: none; | ||
a, | ||
a:active { | ||
color: #2c3e50; | ||
text-decoration: none; | ||
} | ||
|
||
a.nav-list-link.active, | ||
a.nav-list-link:hover, | ||
a.post-title-link:hover { | ||
border-bottom: 2px solid #42b983; | ||
border-bottom: 2px solid #42b983; | ||
} | ||
|
||
hr { | ||
border: 0; | ||
border: 0; | ||
} | ||
|
||
code { | ||
margin: 0 2px; | ||
padding: 3px 5px; | ||
color: #e96900; | ||
border-radius: 2px; | ||
white-space: inherit; | ||
margin: 0 2px; | ||
padding: 3px 5px; | ||
color: #e96900; | ||
border-radius: 2px; | ||
white-space: inherit; | ||
} | ||
|
||
iframe, video { | ||
max-width: 100%; | ||
margin: 1rem auto; | ||
display: block; | ||
iframe, | ||
video { | ||
max-width: 100%; | ||
margin: 1rem auto; | ||
display: block; | ||
} | ||
|
||
table { | ||
width: 100%; | ||
margin: 1em auto; | ||
thead { | ||
background-color: #eee; | ||
th { | ||
padding: 5px; | ||
min-width: 20px; | ||
} | ||
width: 100%; | ||
margin: 1em auto; | ||
thead { | ||
background-color: #eee; | ||
th { | ||
padding: 5px; | ||
min-width: 20px; | ||
} | ||
} | ||
tbody { | ||
tr:nth-child(2n) { | ||
background-color: #f9f9f9; | ||
} | ||
tbody { | ||
tr:nth-child(2n) { | ||
background-color: #f9f9f9; | ||
} | ||
td { | ||
padding: 5px; | ||
vertical-align: text-top; | ||
} | ||
td { | ||
padding: 5px; | ||
vertical-align: text-top; | ||
} | ||
} | ||
} |
41 changes: 21 additions & 20 deletions
41
themes/hexo-theme-apollo/source/scss/_partial/copyright.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
footer { | ||
padding-bottom: 1px; | ||
.copyright { | ||
margin: 4em 0; | ||
border-top: 1px solid #ddd; | ||
text-align: center; | ||
padding-top: 10px; | ||
p, a { | ||
color: #aaa; | ||
font-size: 14px; | ||
font-weight: 100; | ||
margin: 0; | ||
span { | ||
font-size: .8em; | ||
padding-left: .2em; | ||
padding-right: .2em; | ||
} | ||
} | ||
a:hover { | ||
color: #888; | ||
} | ||
padding-bottom: 1px; | ||
.copyright { | ||
margin: 4em 0; | ||
border-top: 1px solid #ddd; | ||
text-align: center; | ||
padding-top: 10px; | ||
p, | ||
a { | ||
color: #aaa; | ||
font-size: 14px; | ||
font-weight: 100; | ||
margin: 0; | ||
span { | ||
font-size: 0.8em; | ||
padding-left: 0.2em; | ||
padding-right: 0.2em; | ||
} | ||
} | ||
a:hover { | ||
color: #888; | ||
} | ||
} | ||
} |
33 changes: 17 additions & 16 deletions
33
themes/hexo-theme-apollo/source/scss/_partial/footer.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
.paginator { | ||
margin: 4em 0; | ||
text-align: center; | ||
.prev, .next { | ||
display: inline-block; | ||
margin: 0 4px; | ||
padding: 4px 12px; | ||
border-radius: 4px; | ||
border-bottom: 4px solid #3aa373; | ||
font-size: 14px; | ||
color: #fff; | ||
background-color: #4fc08d; | ||
&:hover { | ||
background-color: #22bd77; | ||
} | ||
margin: 4em 0; | ||
text-align: center; | ||
.prev, | ||
.next { | ||
display: inline-block; | ||
margin: 0 4px; | ||
padding: 4px 12px; | ||
border-radius: 4px; | ||
border-bottom: 4px solid #3aa373; | ||
font-size: 14px; | ||
color: #fff; | ||
background-color: #4fc08d; | ||
&:hover { | ||
background-color: #22bd77; | ||
} | ||
} | ||
} | ||
|
||
.ds-thread, | ||
#disqus_thread { | ||
margin-bottom: 2em; | ||
} | ||
margin-bottom: 2em; | ||
} |
Oops, something went wrong.