Release v0.0.4

This commit is contained in:
agusmakmun
2017-01-29 13:54:21 +07:00
parent f431d9d2e6
commit b2aa19d643
22 changed files with 698 additions and 657 deletions

283
static/css/main.css Executable file → Normal file
View File

@@ -1,219 +1,172 @@
/**
* Master styling
*/
body {
font-family: "Roboto Condensed", Arial, sans-serif;
background-color: #fff;
font-size: 16px;
line-height: 1.5em;
color: #666;
font-weight: 300;
font-family: "Roboto Condensed", Arial, sans-serif;
background: url("/static/img/subtle_dots.png");
line-height: 1.5em;
font-weight: 300;
font-size: 16px;
color: #666;
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #F7F1F1;
border-bottom: 1px solid #fff;
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #F7F1F1;
border-bottom: 1px solid #fff;
}
/**
* Font and link declarations
*/
span.time, span.categories {
color: #ADADAD;
margin-bottom: 5px;
font-size: 11px;
color: #ADADAD;
margin-bottom: 5px;
font-size: 11px;
}
h1, h2, h3 {
color: #696969;
font-weight: normal;
}
h1 {
font-weight: normal;
color: #696969;
margin-bottom: 10px;
font-size: 25px;
margin-bottom: 10px;
font-size: 25px;
}
h2 {
font-weight: normal;
margin-bottom: 5px;
color: #666666;
h2, h3 {
margin-bottom: 5px;
}
h3 {
font-weight: normal;
margin-bottom: 5px;
color: #666666;
}
a, a:link, a:active {
text-decoration: none;
color: #8C8C8C;
text-decoration: none;
color: #3fa757;
}
a:hover {
color: #B3B3B3;
text-decoration: underline;
color: #B3B3B3;
text-decoration: underline;
}
/**
* /////////////////
* Container element
* /////////////////
*/
div#container {
width: 700px;
margin: auto;
}
/**
* //////////////////////////////////
* Right aka content column formatting
* //////////////////////////////////
*/
div.right {
width: 500px;
float: left;
}
div.content {
border-top: 1px solid #E6E6E6;
margin-top: 5px;
padding-top: 5px;
/* Layout */
.main-layout {
background: #fff;
}
.sidebar-nav {
margin: 0;
padding: 0;
}
.sidebar-nav li {
margin: 0;
list-style: none;
}
.sidebar-nav li::before {
content: "»";
margin-right: .5em;
}
/* Content */
div.content pre {
background: #333333;
padding: 10px;
color: #FFF;
overflow-x: auto;
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
font-size: 12px;
border: none;
background: #333333;
padding: 10px;
color: #FFF;
overflow-x: auto;
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
font-size: 12px;
border: none;
}
div.content .highlight {
background: #333333;
}
footer {
border-top: 1px solid #F7F1F1;
width: 100%;
height: 10px;
margin-top: 10px;
margin-bottom: 3em;
padding-top: 10px;
color: #C2C2C2;
font-size: 11px;
bottom: 0;
padding-bottom: 10px;
border-top: 1px solid #F7F1F1;
width: 100%;
height: 10px;
margin-top: 10px;
margin-bottom: 3em;
padding-top: 10px;
color: #C2C2C2;
font-size: 11px;
bottom: 0;
padding-bottom: 10px;
}
footer div#github {
text-align: right;
}
div.right h1 {
margin-bottom: -2px;
}
div.right ul {
list-style: none;
margin-left: 0;
padding: 0;
}
div.right ul li {
margin-top: 5px;
margin-left: 0;
padding: 0;
}
div.right .post ul {
list-style: square;
margin-left: 15px;
}
/**
* Left column aka nav bar formatting
*/
/* Left column */
div.col-sm-3 {
margin-top: 100px;
font-size: 11px;
color: #666;
margin-top: 100px;
font-size: 11px;
color: #666;
}
div.col-sm-3 strong {
font-size: 16px;
color: #4A4A4A;
font-weight: normal;
}
div.col-sm-3 div#about {
margin-top: 10px;
color: #8C8C8C;
}
div.col-sm-3 img#about {
-webkit-border-radius: 150px;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
font-size: 16px;
color: #4A4A4A;
font-weight: normal;
}
div.col-sm-3 div.profile-about {
margin-top: 10px;
color: #8C8C8C;
}
div.col-sm-3 img.profile-avatar {
border-radius: 150px;
-webkit-border-radius: 150px;
-moz-border-radius: 150px;
-ms-border-radius: 150px;
-o-border-radius: 150px;
margin-left: auto;
margin-right: auto;
}
/* Pagination */
.PageNavigation {
font-size: 14px;
display: block;
width: auto;
overflow: hidden;
font-size: 14px;
display: block;
width: auto;
overflow: hidden;
}
.PageNavigation a {
display: block;
width: 50%;
float: left;
margin: 1em 0;
display: block;
width: 50%;
float: left;
margin: 1em 0;
}
.PageNavigation .next {
text-align: right;
text-align: right;
}
.PageNavigation .prev {
text-align: left;
text-align: left;
}
/* Social Icons */
.social{
display: block;
margin: 10px 0;
display: block;
margin: 10px 0;
}
.social ul {
list-style-type: none;
margin: 0;
padding: 0;
list-style-type: none;
margin: 0;
padding: 0;
}
.social ul li {
display: inline-block;
margin: 0 5px;
display: inline-block;
margin: 0 5px;
}
.social li a {
font-size: 16px;
font-size: 16px;
color: #969394;
}
.social li a:hover {
color: #6D6D6D;
}
.share-page {
padding: 10px 10px 5px;
border-top: 1px solid #f0f0f0;
border-bottom: 1px solid #f0f0f0;
padding: 10px 10px 5px;
border-top: 1px solid #f0f0f0;
border-bottom: 1px solid #f0f0f0;
}
.post-content img,
.content img {
max-width: 100%
}
.post-content img, .content img {max-width: 100%}
/* Responsive Conditional */
@media (min-width: 1024px) {
.fixed-condition {
position: fixed;
max-width: 255px;
}
.fixed-condition {
position: fixed;
max-width: 255px;
}
}
@media (max-width: 768px) {
div.col-sm-3 {
margin-top: 30px;
}
}
div.col-sm-3 {
margin-top: 30px;
}
}

View File

@@ -1,72 +1,80 @@
/*
* Project Elements
*/
/* Project Elements */
.project-outer {
display: inline-block;
width: 30%;
vertical-align: top;
margin: 0 10px;
display: inline-block;
width: 30%;
vertical-align: top;
margin: 0 10px;
}
.project-img img {
width: 100%;
width: 100%;
}
h3.project-headlines {
margin: 5px 0;
font-size: 20px;
margin: 5px 0;
font-size: 20px;
}
span.tags {
font-size: 10px;
border-bottom: 1px #888 dotted;
margin: 0 5px;
}
span.tags:first-child{ margin-left: 0; }
span.tags:last-child{ margin-right: 0; }
span.tags {
font-size: 10px;
border-bottom: 1px #888 dotted;
margin: 0 5px;
}
span.tags:first-child {
margin-left: 0;
}
span.tags:last-child {
margin-right: 0;
}
.project-footer {
clear: both;
display: inline-block;
width: 100%;
clear: both;
display: inline-block;
width: 100%;
}
.project-footer .project-link {
display: inline-block;
position: relative;
float: left;
text-decoration: none;
display: inline-block;
position: relative;
float: left;
text-decoration: none;
}
.project-footer .project-timeline {
display: inline-block;
position: relative;
float: right;
font-size: 13px;
font-style: italic;
display: inline-block;
position: relative;
float: right;
font-size: 13px;
font-style: italic;
}
.project-inner > a {
display: block;
display: block;
}
.project-img {
width: 230px;
height: 200px;
display: block;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
width: 230px;
height: 200px;
display: block;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
/** Project Tag Filters **/
.tag-group{
margin: 0 0 25px 0;
.tag-group {
margin: 0 0 25px 0;
}
span.tag-cloud {
margin: 0 2px;
cursor: pointer;
font-size: 75%;
padding: .2em .6em .3em;
font-weight: 700;
display: inline;
margin: 0 2px;
cursor: pointer;
font-size: 75%;
padding: .2em .6em .3em;
font-weight: 700;
display: inline;
}
.tag-cloud.active{
background: #ccc;
.tag-cloud.active {
background: #ccc;
}
.project-item.not-show {
display: none;
}
a.project-detail:hover {
text-decoration: none;
}
a.project-detail:hover h3 {
color: #62A253;
}
.project-item.not-show{ display: none; }
a.project-detail:hover {text-decoration: none;}
a.project-detail:hover h3 {color: #62A253;}

View File

@@ -4,37 +4,37 @@
*/
input#js-search__input {
font-size: 12px;
font-family: "Roboto Condensed", Arial, sans-serif;
font-size: 12px;
font-family: "Roboto Condensed", Arial, sans-serif;
}
.is-active .search__input {
transform: translateY(0);
transform: translateY(0);
}
.search__results {
list-style: none;
padding: 0;
overflow-x: hidden;
height: calc(100% - 110px);
transition: 0.2s ease;
list-style: none;
padding: 0;
overflow-x: hidden;
height: calc(100% - 110px);
transition: 0.2s ease;
}
.search__results.is-hidden {
opacity: 0;
transform: translateY(-1vh);
display: none;
opacity: 0;
transform: translateY(-1vh);
display: none;
}
.search__results > li {
border-top: 1px solid #f0f0f0;
border-top: 1px solid #f0f0f0;
}
.search__results > li > a {
display: block;
padding: 10px;
display: block;
padding: 10px;
}
.search__result-date {
color: #BBB;
position: absolute;
right: 12px;
color: #BBB;
position: absolute;
right: 12px;
}
.search.is-active {
opacity: 1;
visibility: visible;
}
opacity: 1;
visibility: visible;
}