Replace test site with skeleton of real site

This commit is contained in:
Thomas Busby
2018-06-19 20:28:18 +02:00
parent d0a98c54b3
commit 3a915fe040
71 changed files with 1922 additions and 152 deletions

7
static/css/bootstrap.min.css vendored Executable file

File diff suppressed because one or more lines are too long

200
static/css/main.css Normal file
View File

@@ -0,0 +1,200 @@
body {
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: #333;
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #F7F1F1;
border-bottom: 1px solid #fff;
}
span.time, span.categories {
color: #777;
margin-bottom: 5px;
font-size: 14px;
}
h1, h2, h3 {
color: #696969;
font-weight: normal;
}
h1 {
margin-bottom: 10px;
font-size: 25px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 16px;
}
a, a:link, a:active {
text-decoration: none;
color: #680ea4;
}
a:hover {
color: #a0a0a0;
text-decoration: underline;
}
/* 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 */
.index-header h1, .index-header p {
font-family: monospace;
}
div.content {
padding-top: 10px;
}
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;
}
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;
}
.dark-wallet-logo {
background-color: black;
height: 100px;
width: 100px;
}
/* Left column */
div.col-sm-3 {
margin-top: 100px;
font-size: 14px;
color: #666;
}
div.col-sm-3 strong {
font-size: 18px;
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;
}
.author-name a,
.author-name a:active,
.author-name a:hover {
color: #696969;
text-decoration: none;
}
/* Pagination */
.PageNavigation {
font-size: 14px;
display: block;
width: auto;
overflow: hidden;
}
.PageNavigation a {
display: block;
width: 50%;
float: left;
margin: 1em 0;
}
.PageNavigation .next {
text-align: right;
}
.PageNavigation .prev {
text-align: left;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
background-color: #9943d2;
border-color: #9943d2;
}
.pagination > li > a,
.pagination > li > span {
color: #680ea4;
}
/* Social Icons */
.social{
display: block;
margin: 10px 0;
}
.social ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.social ul li {
display: inline-block;
margin: 0 5px;
}
.social li a {
font-size: 16px;
color: #969394;
}
.social li a:hover {
color: #6D6D6D;
}
.post-content img,
.content img {
max-width: 100%
}
/* Responsive Conditional */
@media (min-width: 1024px) {
.fixed-condition {
position: fixed;
max-width: 255px;
}
}
@media (max-width: 768px) {
div.col-sm-3 {
margin-top: 30px;
}
}

80
static/css/projects.css Normal file
View File

@@ -0,0 +1,80 @@
/* Project Elements */
.project-outer {
display: inline-block;
width: 30%;
vertical-align: top;
margin: 0 10px;
}
.project-img img {
width: 100%;
}
h3.project-headlines {
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;
}
.project-footer {
clear: both;
display: inline-block;
width: 100%;
}
.project-footer .project-link {
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;
}
.project-inner > a {
display: block;
}
.project-img {
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;
}
span.tag-cloud {
margin: 0 2px;
cursor: pointer;
font-size: 75%;
padding: .2em .6em .3em;
font-weight: 700;
display: inline;
}
.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;
}

View File

@@ -0,0 +1,40 @@
/* Super Search
Author: Kushagra Gour (http://kushagragour.in)
MIT Licensed
*/
input#js-search__input {
font-size: 12px;
font-family: "Roboto Condensed", Arial, sans-serif;
}
.is-active .search__input {
transform: translateY(0);
}
.search__results {
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;
}
.search__results > li {
border-top: 1px solid #f0f0f0;
}
.search__results > li > a {
display: block;
padding: 10px;
}
.search__result-date {
color: #BBB;
position: absolute;
right: 12px;
}
.search.is-active {
opacity: 1;
visibility: visible;
}

59
static/css/syntax.css Normal file
View File

@@ -0,0 +1,59 @@
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */

159
static/css/thickbox.css Normal file
View File

@@ -0,0 +1,159 @@
/* ---- global settings needed for thickbox ---- */
/*
*{padding: 0; margin: 0;}
*/
/* ---- thickbox specific link and font settings ---- */
#TB_window {
font: 12px Arial, Helvetica, sans-serif;
color: #333333;
}
#TB_secondLine {
font: 10px Arial, Helvetica, sans-serif;
color:#666666;
}
#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}
/* ---- thickbox settings ---- */
#TB_overlay {
position: fixed;
z-index:100;
top: 0px;
left: 0px;
height:100%;
width:100%;
}
.TB_overlayMacFFBGHack {background: url(/static/img/macFFBgHack.png) repeat;}
.TB_overlayBG {
background-color:#000;
filter:alpha(opacity=75);
-moz-opacity: 0.75;
opacity: 0.75;
}
* html #TB_overlay { /* ie6 hack */
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_window {
position: fixed;
background: #ffffff;
z-index: 102;
color:#000000;
display:none;
border: 4px solid #525252;
text-align:left;
top:50%;
left:50%;
}
* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_window img#TB_Image {
display:block;
margin: 15px 0 0 15px;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
border-top: 1px solid #666;
border-left: 1px solid #666;
}
#TB_caption{
height:25px;
padding:7px 30px 10px 25px;
float:left;
}
#TB_closeWindow{
height: 35px;
padding: 10px 15px 10px 0;
float: right;
}
#TB_closeAjaxWindow{
padding:7px 10px 5px 0;
margin-bottom:1px;
text-align:right;
float:right;
}
#TB_ajaxWindowTitle{
float:left;
padding:7px 0 5px 10px;
margin-bottom:1px;
}
#TB_title{
background-color:#e8e8e8;
height:27px;
}
#TB_ajaxContent{
clear:both;
padding:2px 15px 15px 15px;
overflow:auto;
text-align:left;
line-height:1.4em;
}
#TB_ajaxContent.TB_modal{
padding:15px;
}
#TB_ajaxContent p{
padding:5px 0px 5px 0px;
}
#TB_load{
position: fixed;
display:none;
height:13px;
width:208px;
z-index:103;
top: 50%;
left: 50%;
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}
* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_HideSelect{
z-index:99;
position:fixed;
top: 0;
left: 0;
background-color:#fff;
border:none;
filter:alpha(opacity=0);
-moz-opacity: 0;
opacity: 0;
height:100%;
width:100%;
}
* html #TB_HideSelect { /* ie6 hack */
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_iframeContent{
clear:both;
border:none;
margin-bottom:-1px;
margin-top:1px;
_margin-bottom:1px;
}