Major development update.
* Updated LICENSE, READMES/METADATA.md and TODO.md * Added example blog to examples/ * Added preliminary Pygments support for embedding code in pages. * Add preliminary Wordpress dump importer * Expansions to template_tools and metadata to support Blog use case.
This commit is contained in:
1 parent
81532f3462
commit
a0c4381c99
142 files changed
+1564
-180
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
.icono-areaChart,.icono-barChart,.icono-book,.icono-book:after,.icono-book:before,.icono-bookmarkEmpty,.icono-bookmarkEmpty:before,.icono-camera,.icono-chain:after,.icono-chain:before,.icono-clock,.icono-commentEmpty,.icono-creditCard,.icono-crop,.icono-crop:before,.icono-display,.icono-document,.icono-eye,.icono-file,.icono-flag:after,.icono-flag:before,.icono-folder,.icono-forbidden,.icono-frown,.icono-frown:after,.icono-headphone,.icono-heart,.icono-heart:after,.icono-heart:before,.icono-home,.icono-home:after,.icono-home:before,.icono-imac,.icono-imacBold,.icono-image,.icono-infinity:after,.icono-infinity:before,.icono-iphone,.icono-iphoneBold,.icono-keyboard,.icono-macbook:before,.icono-macbookBold:before,.icono-mail,.icono-mail:before,.icono-market,.icono-market:after,.icono-meh,.icono-meh:after,.icono-microphone,.icono-microphone:before,.icono-mouse,.icono-mouse:before,.icono-nexus,.icono-paperClip,.icono-paperClip:after,.icono-paperClip:before,.icono-piano,.icono-pin,.icono-pin:before,.icono-power,.icono-rename,.icono-ruler,.icono-search,.icono-signIn,.icono-signIn:before,.icono-signOut,.icono-signOut:before,.icono-smile,.icono-smile:after,.icono-stroke,.icono-sync,.icono-tag,.icono-tag:after,.icono-terminal,.icono-trash,.icono-user,.icono-user:before,.icono-video,.icono-volumeHigh:after,.icono-volumeHigh:before,.icono-volumeLow:before,.icono-volumeMedium:before,.icono-youtube,.icono-youtube:before,[class*=icono-check][class*=Circle],[class*=icono-][class*=Circle],[class*=icono-][class*=Square]{border:2px solid}.icono-chain:after,.icono-chain:before,.icono-downArrow:before,.icono-dropper:before,.icono-flickr:after,.icono-flickr:before,.icono-indent:before,.icono-leftArrow:before,.icono-list:before,.icono-outdent:before,.icono-paperClip:before,.icono-rename:before,.icono-rightArrow:before,.icono-upArrow:before,.icono-video:before,.icono-volumeDecrease:after,.icono-volumeDecrease:before,.icono-volumeHigh:after,.icono-volumeHigh:before,.icono-volumeIncrease:after,.icono-volumeIncrease:before,.icono-volumeLow:before,.icono-volumeMedium:before,.icono-volumeMute:after,.icono-volumeMute:before,.stickCenterV{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.icono-cup:after,.icono-display:after,.icono-display:before,.icono-imac:after,.icono-imacBold:after,.icono-imacBold:before,.icono-iphone:after,.icono-iphone:before,.icono-macbook:before,.icono-macbookBold:before,.icono-market:after,.icono-microphone:after,.icono-microphone:before,.icono-mouse:after,.icono-mouse:before,.icono-search:before,.icono-sitemap:after,.icono-sitemap:before,.icono-tag:after,.icono-textAlignCenter[class*=icono-textAlign]:after,.icono-textAlignCenter[class*=icono-textAlign]:before,.icono-trash:before,.icono-user:before,.stickCenterH,[class*=icono-exclamation]:after{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.icono-camera:before,.icono-clock:after,.icono-clock:before,.icono-document:after,.icono-eye:before,.icono-forbidden:before,.icono-gear:before,.icono-gplus:after,.icono-instagram:before,.icono-keyboard:before,.icono-pin:before,.icono-video:after,.icono-youtube:after,.stickCenter,[class*=icono-check]:before,[class*=icono-plus]:after,[class*=icono-plus]:before,[class*=icono-cross]:after,[class*=icono-cross]:before{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.spin[class*=spin]{-webkit-animation:loading-spinner 2s infinite linear;animation:loading-spinner 2s infinite linear}@-webkit-keyframes loading-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.icono-icono{width:13px;height:4px;box-shadow:inset 0 0 0 32px,0 16px,17px -18px;-webkit-transform:skew(0,30deg);transform:skew(0,30deg);margin:11px 19px 19px 2px}.icono-icono:before{position:absolute;width:13px;height:4px;box-shadow:inset 0 0 0 32px,0 16px,-17px -17px;right:-17px;top:-10px;-webkit-transform:skew(0,-48deg);transform:skew(0,-48deg)}.icono-icono:after{position:absolute;width:22px;height:15px;left:0;top:-5px;border:4px solid;border-top-color:transparent;border-bottom:none;-webkit-transform:skew(0,-30deg) scaleY(.6);transform:skew(0,-30deg) scaleY(.6)}.icono-home{width:22px;height:16px;border-top:none;margin:15px 6px 3px}.icono-home:before{width:18px;height:18px;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;left:-2px;top:-7px;border-right-color:transparent;border-bottom-color:transparent}.icono-home:after{width:6px;height:10px;bottom:0;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-width:1px;border-bottom:none}.icono-mail{width:28px;height:18px;overflow:hidden;margin:8px 3px}.icono-mail:before{position:absolute;width:25px;height:25px;-webkit-tranLine truncated
|
||||
@@ -1,3 +1,344 @@
|
||||
@font-face {
|
||||
font-family: 'Expletus Sans';
|
||||
src: url('fonts/ExpletusSans-Bold.woff2') format('woff2'),
|
||||
url('fonts/ExpletusSans-Bold.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
body { margin: 10% 10% 0 10% }
|
||||
@font-face {
|
||||
font-family: 'Expletus Sans';
|
||||
src: url('fonts/ExpletusSans-BoldItalic.woff2') format('woff2'),
|
||||
url('fonts/ExpletusSans-BoldItalic.woff') format('woff');
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Expletus Sans';
|
||||
src: url('fonts/ExpletusSans-Italic.woff2') format('woff2'),
|
||||
url('fonts/ExpletusSans-Italic.woff') format('woff');
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Expletus Sans';
|
||||
src: url('fonts/ExpletusSans-Medium.woff2') format('woff2'),
|
||||
url('fonts/ExpletusSans-Medium.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Expletus Sans';
|
||||
src: url('fonts/ExpletusSans-MediumItalic.woff2') format('woff2'),
|
||||
url('fonts/ExpletusSans-MediumItalic.woff') format('woff');
|
||||
font-style: italic;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Expletus Sans';
|
||||
src: url('fonts/ExpletusSans-Regular.woff2') format('woff2'),
|
||||
url('fonts/ExpletusSans-Regular.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Expletus Sans';
|
||||
src: url('fonts/ExpletusSans-SemiBold.woff2') format('woff2'),
|
||||
url('fonts/ExpletusSans-SemiBold.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Expletus Sans';
|
||||
src: url('fonts/ExpletusSans-SemiBoldItalic.woff2') format('woff2'),
|
||||
url('fonts/ExpletusSans-SemiBoldItalic.woff') format('woff');
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Teko';
|
||||
src: url('fonts/Teko-Bold.woff2') format('woff2'),
|
||||
url('fonts/Teko-Bold.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Teko Light';
|
||||
src: url('fonts/Teko-Light.woff2') format('woff2'),
|
||||
url('fonts/Teko-Light.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Teko Medium';
|
||||
src: url('fonts/Teko-Medium.woff2') format('woff2'),
|
||||
url('fonts/Teko-Medium.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Teko';
|
||||
src: url('fonts/Teko-Regular.woff2') format('woff2'),
|
||||
url('fonts/Teko-Regular.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Teko SemiBold';
|
||||
src: url('fonts/Teko-SemiBold.woff2') format('woff2'),
|
||||
url('fonts/Teko-SemiBold.woff') format('woff');
|
||||
font-style: regular;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
body { margin: 0; font-family: Teko; font-size: 24pt; }
|
||||
h1, h2, h3, h4 { font-family: 'Expletus Sans'; font-weight: 700 }
|
||||
h1 { font-size: 150%; border-bottom: solid 1px black; }
|
||||
h2 { font-size: 125%; }
|
||||
h3 { font-size: 115%; }
|
||||
h4 { font-size: 100%; }
|
||||
|
||||
.container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 220px auto auto;
|
||||
grid-template-rows: auto auto auto auto;
|
||||
}
|
||||
|
||||
header {
|
||||
border: 0;
|
||||
padding-left: 20px;
|
||||
height: 60px;
|
||||
grid-column: 1 / 4;
|
||||
background: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
header h1 { font-size: 18pt; border: none}
|
||||
|
||||
nav {
|
||||
grid-row: 2 / 5;
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
list-style-type: none;
|
||||
padding: 1px 20px 1px 20px;
|
||||
}
|
||||
|
||||
nav ul li:hover {
|
||||
background: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav ul li:hover img {
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav ul li:hover a:hover {
|
||||
color: white;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
nav ul li a:visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
article {
|
||||
grid-row: 2 / 5;
|
||||
grid-column: 2 / 4;
|
||||
margin: 0 20px 0 20px;
|
||||
}
|
||||
|
||||
footer {
|
||||
font-size: 12pt;
|
||||
grid-column: 1 / 4;
|
||||
grid-row: 5;
|
||||
background: black;
|
||||
color: white;
|
||||
padding-top: 10px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.post div.featured {
|
||||
max-height: 250px;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.post div.featured img.featured {
|
||||
max-width: initial;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.post div.featured h1 {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0;
|
||||
color: white;
|
||||
border: 0;
|
||||
padding: 10px 30px 10px 30px;
|
||||
background: rgba(0,0,0,0.5);
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
.post div.byline {
|
||||
margin-left: 30px;
|
||||
font-size: 0.75em;
|
||||
line-height: 0.75em;
|
||||
}
|
||||
|
||||
.post div.article {
|
||||
margin-left: 30Px;
|
||||
}
|
||||
|
||||
.post div.article p {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.postgrid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 33%) minmax(300px, 33%) minmax(300px, 33%);
|
||||
margin-bottom: 30px;
|
||||
column-gap: 10px;
|
||||
row-gap: 10px;
|
||||
}
|
||||
|
||||
.postgrid-item {
|
||||
height: 200px;
|
||||
max-height: 200px;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.postgrid-item a img.featured {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.postgrid-item a div {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
color: white;
|
||||
border: 0;
|
||||
padding: 10px 30px 10px 30px;
|
||||
background: rgba(0,0,0,0.5);
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
.hll { background-color: #ffffcc }
|
||||
.c { color: #008800; font-style: italic } /* Comment */
|
||||
.err { border: 1px solid #FF0000 } /* Error */
|
||||
.k { color: #AA22FF; font-weight: bold } /* Keyword */
|
||||
.o { color: #666666 } /* Operator */
|
||||
.ch { color: #008800; font-style: italic } /* Comment.Hashbang */
|
||||
.cm { color: #008800; font-style: italic } /* Comment.Multiline */
|
||||
.cp { color: #008800 } /* Comment.Preproc */
|
||||
.cpf { color: #008800; font-style: italic } /* Comment.PreprocFile */
|
||||
.c1 { color: #008800; font-style: italic } /* Comment.Single */
|
||||
.cs { color: #008800; font-weight: bold } /* Comment.Special */
|
||||
.gd { color: #A00000 } /* Generic.Deleted */
|
||||
.ge { font-style: italic } /* Generic.Emph */
|
||||
.gr { color: #FF0000 } /* Generic.Error */
|
||||
.gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
||||
.gi { color: #00A000 } /* Generic.Inserted */
|
||||
.go { color: #888888 } /* Generic.Output */
|
||||
.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
||||
.gs { font-weight: bold } /* Generic.Strong */
|
||||
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
||||
.gt { color: #0044DD } /* Generic.Traceback */
|
||||
.kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
|
||||
.kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
|
||||
.kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */
|
||||
.kp { color: #AA22FF } /* Keyword.Pseudo */
|
||||
.kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */
|
||||
.kt { color: #00BB00; font-weight: bold } /* Keyword.Type */
|
||||
.m { color: #666666 } /* Literal.Number */
|
||||
.s { color: #BB4444 } /* Literal.String */
|
||||
.na { color: #BB4444 } /* Name.Attribute */
|
||||
.nb { color: #AA22FF } /* Name.Builtin */
|
||||
.nc { color: #0000FF } /* Name.Class */
|
||||
.no { color: #880000 } /* Name.Constant */
|
||||
.nd { color: #AA22FF } /* Name.Decorator */
|
||||
.ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
.ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
||||
.nf { color: #00A000 } /* Name.Function */
|
||||
.nl { color: #A0A000 } /* Name.Label */
|
||||
.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
||||
.nt { color: #008000; font-weight: bold } /* Name.Tag */
|
||||
.nv { color: #B8860B } /* Name.Variable */
|
||||
.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.mb { color: #666666 } /* Literal.Number.Bin */
|
||||
.mf { color: #666666 } /* Literal.Number.Float */
|
||||
.mh { color: #666666 } /* Literal.Number.Hex */
|
||||
.mi { color: #666666 } /* Literal.Number.Integer */
|
||||
.mo { color: #666666 } /* Literal.Number.Oct */
|
||||
.sa { color: #BB4444 } /* Literal.String.Affix */
|
||||
.sb { color: #BB4444 } /* Literal.String.Backtick */
|
||||
.sc { color: #BB4444 } /* Literal.String.Char */
|
||||
.dl { color: #BB4444 } /* Literal.String.Delimiter */
|
||||
.sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */
|
||||
.s2 { color: #BB4444 } /* Literal.String.Double */
|
||||
.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.sh { color: #BB4444 } /* Literal.String.Heredoc */
|
||||
.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.sx { color: #008000 } /* Literal.String.Other */
|
||||
.sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.s1 { color: #BB4444 } /* Literal.String.Single */
|
||||
.ss { color: #B8860B } /* Literal.String.Symbol */
|
||||
.bp { color: #AA22FF } /* Name.Builtin.Pseudo */
|
||||
.fm { color: #00A000 } /* Name.Function.Magic */
|
||||
.vc { color: #B8860B } /* Name.Variable.Class */
|
||||
.vg { color: #B8860B } /* Name.Variable.Global */
|
||||
.vi { color: #B8860B } /* Name.Variable.Instance */
|
||||
.vm { color: #B8860B } /* Name.Variable.Magic */
|
||||
.il { color: #666666 } /* Literal.Number.Integer.Long */
|
||||
|
||||
div.code {
|
||||
font-size: 0.5em;
|
||||
border: 1px black solid;
|
||||
padding: 1em;
|
||||
margin: 0 1em 0 1em;
|
||||
}
|
||||
Reference in new issue
Block a user