Skip to content

Commit

Permalink
v1.0.1 fix pre code indent and h3 style
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick95 committed Aug 2, 2017
1 parent 1ed6c92 commit f276bd7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package apollo
* @author pinggod & Patrick95
* @version 1.0.0
* @version 1.0.1
* @link https://muguang.me/
* MIT © pinggod
*/
Expand Down
18 changes: 16 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ code {
}

pre code {
margin: 0;
padding: 0px;
color: #34495e;
}
Expand Down Expand Up @@ -404,13 +405,26 @@ header .nav-list-item a {
.post-content h2:before, .post-content h3:before, .post-content h4:before, .post-content h5:before, .post-content h6:before {
content: "#";
color: #42b983;
position: absolute;
/* position: absolute; */
left: -0.7em;
top: -4px;
font-size: 1.2em;
font-weight: bold
}

.post .post-content h3:before {
content:"[";
margin-right:5px;
color:#42b983;
font-size:20px
}
.post .post-content h3:after {
content:"]";
margin-left:5px;
color:#42b983;
font-size:20px
}

.post-content h4:before, .post-content h5:before, .post-content h6:before {
content: ""
}
Expand Down Expand Up @@ -531,7 +545,7 @@ section.container {
}

header {
padding: 20px 0px
padding: 20px 50px
}
}

Expand Down

0 comments on commit f276bd7

Please sign in to comment.