Skip to content

Commit

Permalink
update post width
Browse files Browse the repository at this point in the history
  • Loading branch information
kaedea committed Jul 24, 2016
1 parent 1287a29 commit 0b89dcb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion layout/_partial/head.ejs
Expand Up @@ -145,7 +145,7 @@
<% }) %>
<% } %>
<!--STYLES-->
<%- css('assets/css/style-wfjpe1h0moieoyhqpxerqukp2adynp3u7kurvgpsmvndj5j2trctqfdlcwf2.min.css') %>
<%- css('assets/css/style-jfvxdfgblog0tm4o5mzhb8ujctjj7stpwc7gfil6b8pp2qipxbn0qhc7oop3.min.css') %>
<!--STYLES END-->
<%- partial('google-analytics') %>
<%- partial('baidu-analytics') %>
Expand Down
2 changes: 1 addition & 1 deletion layout/_partial/script.ejs
@@ -1,5 +1,5 @@
<!--SCRIPTS-->
<%- js('assets/js/scrip-3rlbfnquk1ypn6pwlccpiurbwyqqylf50jg0pxgaqiabhyh0lbpshfiayexo.min.js') %>
<%- js('assets/js/scrip-u8qbbzaum1tc8lofzfjzoazrd7iobknm3nlx0wlmqeffz5akfwtrwyhd9rre.min.js') %>
<!--SCRIPTS END-->
<!--PANGU AUTO SPACE-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pangu/3.2.1/pangu.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion source/_css/utils/_variables.scss
Expand Up @@ -223,7 +223,7 @@ $image-gallery-photos-margin: 2px;

// Main content
$main-content: (
'max-width': 80%,
'max-width': 850px,
'padding-right-left': 20px,
);

Expand Down
8 changes: 4 additions & 4 deletions source/assets/css/tranquilpeak.css
Expand Up @@ -1332,7 +1332,7 @@ figure.highlight,
width: 100%; }
figure.highlight .code pre,
.codeblock .code pre {
max-width: calc(80% - 50px);
max-width: calc(850px - 50px);
overflow-x: auto;
overflow-y: hidden; }
figure.highlight .line,
Expand Down Expand Up @@ -1539,7 +1539,7 @@ a.fancybox {

.main-content-wrap {
display: block;
max-width: 80%;
max-width: 850px;
margin: 0 auto;
padding-right: 20px;
padding-left: 20px; }
Expand Down Expand Up @@ -1774,15 +1774,15 @@ a.fancybox {
display: table-cell;
vertical-align: middle; }
.post-header-cover .post-header .post-title {
max-width: 80%;
max-width: 850px;
margin: 0 auto;
color: white;
text-shadow: 0 2px 0 rgba(0, 0, 0, 0.9);
margin-bottom: 20px; }
.post-header-cover .post-header .post-title:hover {
text-decoration: none; }
.post-header-cover .post-header .post-meta {
max-width: 80%;
max-width: 850px;
font-family: Lato, Noto Sans SC, Helvetica Neue, Microsoft Yahei, Arial, sans-serif;
font-size: 1.5rem;
color: white !important;
Expand Down

0 comments on commit 0b89dcb

Please sign in to comment.