Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
doshitan
doshitan.com
Commits
c070cb8d
Commit
c070cb8d
authored
Apr 11, 2018
by
doshitan
Browse files
Move things to executable and content sub-directories
parent
fe6f758d
Changes
67
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c070cb8d
...
...
@@ -3,6 +3,6 @@ image: lnl7/nix:2.0
build_and_deploy
:
script
:
-
nix-build -A content
-
nix-shell --run "
SITE
_DIR=result make sync-ci"
-
nix-shell --run "
DEST
_DIR=result make sync-ci"
only
:
-
master
assets/less/include.less
deleted
100644 → 0
View file @
fe6f758d
@import "/assets/less/main.less";
assets/less/main.less
deleted
100644 → 0
View file @
fe6f758d
@import "bootstrap/bootstrap.less";
@import "variables.less";
@import "syntax.less";
#content-info {
text-align: center;
padding: 15px 0;
margin-top: 15px;
border-top: 3px solid @gray;
}
.title {
margin-top: 0;
}
.meta {
@meta-color: lighten(@zen-gray, 25%);
color: @meta-color;
a {
color: @meta-color;
&:hover,
&:focus {
color: @link-hover-color;
}
}
li {
.fa {
margin-right: 0.75em;
}
}
.popover {
color: @text-color;
a {
color: @link-color;
}
}
}
.post-list {
.title {
margin-top: 10px;
font-size: @font-size-h4;
}
p {
color: @text-color;
margin: 0;
}
> li > a {
&:hover,
&:focus {
background-color: @gray;
}
}
.meta {
padding: @nav-link-padding;
padding-top: 0;
}
}
.hentry {
header {
text-align: center;
border-bottom: 1px solid @gray;
margin-bottom: @line-height-computed;
}
}
.toc {
float: right;
font-size: 0.9em;
max-width: 15em;
margin-left: 15px;
h3 {
margin-top: 0;
}
ul {
list-style: none;
padding-left: 1em;
}
> ul {
padding-left: 0;
}
a {
display: block;
}
}
.entry-content {
img {
@img-margin: 10px;
&.pull-right {
margin-left: @img-margin;
}
&.pull-left {
margin-right: @img-margin;
}
}
}
// Default styling makes the footnotes too small to easily click
.footnoteRef {
color: @zen-red;
font-size: @font-size-base;
sup {
&:before {
content: "["
}
&:after {
content: "]"
}
}
}
pre {
border: none;
margin: 0;
margin-bottom: (@line-height-computed / 2);
code {
white-space: pre;
}
}
.sourceCode {
pre&,
table& {
margin-bottom: (@line-height-computed / 2);
}
table& {
border-radius: @border-radius-base;
}
.lineNumbers pre {
padding: 0;
margin-bottom: 0;
}
.sourceCode pre {
margin-bottom: 0;
}
td.lineNumbers, td.sourceCode {
vertical-align: middle;
}
// https://github.com/jgm/pandoc/issues/673#issuecomment-23091826
&:before {
content: attr(caption);
font-weight: bold;
}
}
// All images responsive
img { .img-responsive }
// Inspired by StackOverflow's style
kbd {
padding: 0.1em 0.6em;
border: 1px solid @gray-dark;
background-color: @gray-darker;
.box-shadow(0 1px 0 rgba(0, 0, 0, 0.3));
border-radius: 3px;
display: inline-block;
margin: 0 0.1em;
line-height: 1.4;
}
assets/less/syntax.less
deleted
100644 → 0
View file @
fe6f758d
div.sourceCode { overflow-x: auto; }
table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
margin: 0; padding: 0; vertical-align: baseline; border: none; }
table.sourceCode { width: 100%; line-height: 100%; background-color: #303030; color: #cccccc; }
td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; }
td.sourceCode { padding-left: 5px; }
pre, code { color: #cccccc; background-color: #303030; }
code > span.kw { color: #f0dfaf; } /* Keyword */
code > span.dt { color: #dfdfbf; } /* DataType */
code > span.dv { color: #dcdccc; } /* DecVal */
code > span.bn { color: #dca3a3; } /* BaseN */
code > span.fl { color: #c0bed1; } /* Float */
code > span.ch { color: #dca3a3; } /* Char */
code > span.st { color: #cc9393; } /* String */
code > span.co { color: #7f9f7f; } /* Comment */
code > span.ot { color: #efef8f; } /* Other */
code > span.al { color: #ffcfaf; } /* Alert */
code > span.fu { color: #efef8f; } /* Function */
code > span.er { color: #c3bf9f; } /* Error */
code > span.wa { color: #7f9f7f; font-weight: bold; } /* Warning */
code > span.cn { color: #dca3a3; font-weight: bold; } /* Constant */
code > span.sc { color: #dca3a3; } /* SpecialChar */
code > span.vs { color: #cc9393; } /* VerbatimString */
code > span.ss { color: #cc9393; } /* SpecialString */
code > span.im { } /* Import */
code > span.va { } /* Variable */
code > span.cf { color: #f0dfaf; } /* ControlFlow */
code > span.op { color: #f0efd0; } /* Operator */
code > span.bu { } /* BuiltIn */
code > span.ex { } /* Extension */
code > span.pp { color: #ffcfaf; font-weight: bold; } /* Preprocessor */
code > span.at { } /* Attribute */
code > span.do { color: #7f9f7f; } /* Documentation */
code > span.an { color: #7f9f7f; font-weight: bold; } /* Annotation */
code > span.cv { color: #7f9f7f; font-weight: bold; } /* CommentVar */
code > span.in { color: #7f9f7f; font-weight: bold; } /* Information */
assets/less/variables.less
deleted
100644 → 0
View file @
fe6f758d
// Zenburn
// --------------------------------------------------
@zen-gray-dark: rgb( 31, 31, 31); // #1f1f1f
@zen-gray: rgb( 63, 63, 63); // #3f3f3f
@zen-gray-light: rgb(204, 204, 204); // #cccccc
@zen-blue: rgb(140, 208, 211); // #8cd0dc3
@zen-green: rgb(108, 156, 108); // #6c9c6c
@zen-peach: rgb(220, 163, 163); // #dca3a3
@zen-sand: rgb(220, 220, 204); // #dcdccc
@zen-red: rgb(204, 147, 147); // #cc9393
@zen-raspberry: rgb(188, 76, 108); // #bc4c6c
// Global values
// --------------------------------------------------
// Grays
// -------------------------
@gray-darker: lighten(#000, 13.5%); // #222
@gray-dark: lighten(#000, 20%); // #333
@gray: lighten(#000, 33.5%); // #555
@gray-light: lighten(#000, 60%); // #999
@gray-lighter: lighten(#000, 93.5%); // #eee
// Brand colors
// -------------------------
@brand-primary: #428bca;
@brand-success: #5cb85c;
@brand-warning: #f0ad4e;
@brand-danger: #d9534f;
@brand-info: #5bc0de;
// Scaffolding
// -------------------------
@body-bg: @zen-gray;
@text-color: @zen-gray-light;
// Links
// -------------------------
@link-color: @zen-blue;
@link-hover-color: darken(@link-color, 15%);
// Typography
// -------------------------
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
@font-family-serif: "Merriweather", Georgia, "Times New Roman", Times, serif;
@font-family-monospace: "Inconsolata", Monaco, Menlo, Consolas, "Courier New", monospace;
@font-family-base: @font-family-serif;
@font-size-base: 18px;
@line-height-base: 1.6;
// Buttons
// -------------------------
@btn-default-color: @text-color;
@btn-default-bg: @gray-dark;
@btn-default-border: @btn-default-bg;
@btn-primary-color: @btn-default-color;
@btn-primary-bg: @brand-primary;
@btn-primary-border: @btn-primary-bg;
@btn-success-color: @btn-default-color;
@btn-success-bg: @brand-success;
@btn-success-border: @btn-success-bg;
@btn-warning-color: @btn-default-color;
@btn-warning-bg: @brand-warning;
@btn-warning-border: @btn-warning-bg;
@btn-danger-color: @btn-default-color;
@btn-danger-bg: @brand-danger;
@btn-danger-border: @btn-danger-bg;
@btn-info-color: @btn-default-color;
@btn-info-bg: @brand-info;
@btn-info-border: @btn-info-bg;
// COMPONENT VARIABLES
// --------------------------------------------------
// Jumbotron
// -------------------------
@jumbotron-bg: @gray-dark;
// Type
// ------------------------
@text-muted: @gray-light;
@abbr-border-color: @gray-light;
@headings-small-color: @gray-light;
@blockquote-small-color: @gray-light;
@blockquote-border-color: @zen-green;
@page-header-border-color: @gray-lighter;
@popover-bg: @gray;
@popover-max-width: 500px;
// Miscellaneous
// -------------------------
// Hr border color
@hr-border: @gray;
// Horizontal forms & lists
@component-offset-horizontal: 180px;
// Container sizes
// --------------------------------------------------
// Small screen / tablet
@container-tablet: 37em;
// Medium screen / desktop
@container-desktop: @container-tablet;
// Large screen / wide desktop
@container-large-desktop: @container-desktop;
assets/font/fontello.eot
→
content/
assets/font/fontello.eot
View file @
c070cb8d
File moved
assets/font/fontello.ttf
→
content/
assets/font/fontello.ttf
View file @
c070cb8d
File moved
assets/font/fontello.woff
→
content/
assets/font/fontello.woff
View file @
c070cb8d
File moved
assets/font/fontello.woff2
→
content/
assets/font/fontello.woff2
View file @
c070cb8d
File moved
assets/img/apple-touch-icon-114x114.png
→
content/
assets/img/apple-touch-icon-114x114.png
View file @
c070cb8d
File moved
assets/img/apple-touch-icon-120x120.png
→
content/
assets/img/apple-touch-icon-120x120.png
View file @
c070cb8d
File moved
assets/img/apple-touch-icon-144x144.png
→
content/
assets/img/apple-touch-icon-144x144.png
View file @
c070cb8d
File moved
assets/img/apple-touch-icon-152x152.png
→
content/
assets/img/apple-touch-icon-152x152.png
View file @
c070cb8d
File moved
assets/img/apple-touch-icon-57x57.png
→
content/
assets/img/apple-touch-icon-57x57.png
View file @
c070cb8d
File moved
assets/img/apple-touch-icon-60x60.png
→
content/
assets/img/apple-touch-icon-60x60.png
View file @
c070cb8d
File moved
assets/img/apple-touch-icon-72x72.png
→
content/
assets/img/apple-touch-icon-72x72.png
View file @
c070cb8d
File moved
assets/img/apple-touch-icon-76x76.png
→
content/
assets/img/apple-touch-icon-76x76.png
View file @
c070cb8d
File moved
assets/img/favicon-128.png
→
content/
assets/img/favicon-128.png
View file @
c070cb8d
File moved
assets/img/favicon-16x16.png
→
content/
assets/img/favicon-16x16.png
View file @
c070cb8d
File moved
assets/img/favicon-196x196.png
→
content/
assets/img/favicon-196x196.png
View file @
c070cb8d
File moved
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment