Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
initial commit to generalize the modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
dinchamion committed Mar 24, 2017
1 parent 4c07c0c commit d411b5d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 46 deletions.
34 changes: 12 additions & 22 deletions assets/css/main.css
@@ -1,7 +1,7 @@
/* --- General --- */

body {
font-family: 'Courier Prime', 'Times New Roman', serif;
font-family: 'Lora', 'Times New Roman', serif;
font-size: 18px;
color: #404040;
position: relative;
Expand All @@ -16,7 +16,7 @@ p a {
color: #008AFF;
}
h1,h2,h3,h4,h5,h6 {
font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 800;
}
a {
Expand Down Expand Up @@ -48,7 +48,7 @@ hr.small {
}

.main-explain-area {
font-family: 'Courier Prime', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
padding: 15px inherit;
}

Expand Down Expand Up @@ -83,28 +83,18 @@ img {
margin-top: 30px;
}

.discourse-comments {
margin-top: 30px;
}

@media only screen and (min-width: 768px) {
.disqus-comments {
margin-top: 40px;
}
}

@media only screen and (min-width: 768px) {
.discourse-comments {
margin-top: 40px;
}
}

/* --- Navbar --- */

.navbar-custom {
background: #F5F5F5;
border-bottom: 1px solid #EAEAEA;
font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.navbar-custom .nav li a {
Expand Down Expand Up @@ -180,9 +170,9 @@ img {

.navbar-custom .avatar-container .avatar-img-border {
width: 100%;
box-shadow: 0px 0px 0px rgba(0, 0, 0, .8);
-webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, .8);
-moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, .8);
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
}

.navbar-custom .avatar-container .avatar-img {
Expand Down Expand Up @@ -256,7 +246,7 @@ footer .list-inline {
padding: 0;
}
footer .copyright {
font-family: Ubuntu;
font-family: Open Sans;
text-align: center;
margin-bottom: 0;
}
Expand Down Expand Up @@ -322,7 +312,7 @@ footer .theme-by {
margin: 0 0 10px;
}
.post-preview .post-entry {
font-family: 'Courier Prime', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.post-preview .post-read-more {
font-weight: 800;
Expand Down Expand Up @@ -385,7 +375,7 @@ footer .theme-by {
font-size: 27px;
line-height: 1.1;
display: block;
font-family: 'Courier Prime', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 300;
margin: 10px 0 0;
}
Expand All @@ -410,7 +400,7 @@ footer .theme-by {
padding: 5px 10px;
font-size: 11px;
color: #EEE;
font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
right: 0;
bottom: 0;
display: none;
Expand Down Expand Up @@ -484,7 +474,7 @@ footer .theme-by {
/* --- Pager --- */

.pager li a {
font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-size: 14px;
font-weight: 800;
Expand Down
29 changes: 12 additions & 17 deletions partials/footer.hbs
Expand Up @@ -23,31 +23,31 @@
</a>
</li>
{{/if}}
<li>
<a href="https://www.snapchat.com/add/dinchamion" title="Snapchat">
{{!-- <li>
<a href="https://github.com/<username>" title="GitHub">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-snapchat fa-stack-1x fa-inverse"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="https://github.com/dinchamion" title="GitHub">
<a href="https://linkedin.com/in/<username>" title="LinkedIn">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
<i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
{{!-- <li>
<li>
<a href="https://stackoverflow.com/users/<your_profile_page>" title="StackOverflow">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-stack-overflow fa-stack-1x fa-inverse"></i>
</span>
</a>
</li> --}}
<li>
</li>
<li> --}}
<a href="{{@blog.url}}/rss/" title="RSS">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
Expand All @@ -59,19 +59,14 @@
</ul>
<p class="copyright text-muted">
&copy; {{date format="YYYY"}}

&nbsp;&bull;&nbsp;
<a href="{{@blog.url}}">{{@blog.title}}</a>
</p>
<p class="copyright text-muted">
"<i>If I find out I have to write today and nothing else, that’s a perfect day.</i>" (Joss Whedon)
</p>
<!-- Please don't remove this, keep my open source work credited :) -->
<p class="theme-by text-muted">
Theme: modified
<a href="https://github.com/boh717/beautiful-ghost">beautiful-ghost</a>
based on
<a href="http://deanattali.com/beautiful-jekyll/">beautiful-jekyll</a>.
Theme ported by
<a href="http://deanattali.com/beautiful-jekyll/">beautiful-jekyll</a>
</p>
</div>
</div>
Expand All @@ -83,4 +78,4 @@
<script src="{{asset "js/main.js"}}"></script>
<script src="{{asset "js/prism.js"}}"></script>

{{> google-analytics}}
{{!> google-analytics}}
6 changes: 2 additions & 4 deletions partials/head.hbs
Expand Up @@ -15,22 +15,20 @@
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="{{asset "css/bootstrap.min.css"}}">
<link rel="stylesheet" href="{{asset "css/main.css"}}">
<script src="https://use.typekit.net/huf0oad.js"></script>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ubuntu:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
<link rel="stylesheet" href="{{asset "css/prism.css"}}">

<!-- Facebook OpenGraph tags -->
<meta property="og:title" content="{{meta_title}}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{@blog.url}}{{url}}" />
<meta property="og:image" content="{{image}}" />
<meta property="fb:profile_id" content="dinchamion" />
<meta property="og:rich_attachment" content="true" />

<!-- Twitter Card tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="{{@blog.url}}{{url}}" />
<meta name="twitter:creator" content="@dinchamion" />
<meta name="twitter:description" content="{{meta_description}}" />
<meta name="twitter:title" content="{{meta_title}}" />
<meta name="twitter:image" content="{{image}}" />
4 changes: 2 additions & 2 deletions partials/header_post_page.hbs
Expand Up @@ -2,7 +2,7 @@

{{#post}}

{{!> header_image}}
{{> no_header_image}}
{{> header_image}}
{{!> no_header_image}}

{{/post}}
2 changes: 1 addition & 1 deletion post.hbs
Expand Up @@ -22,7 +22,7 @@
</ul>
{{/post}}

{{> disqus}}
{{!> disqus}}

</div>
</div>
Expand Down

0 comments on commit d411b5d

Please sign in to comment.