mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
#197 增加数据字典文档
This commit is contained in:
parent
f08201a619
commit
01572aed4e
35
docs/README.md
Normal file
35
docs/README.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# pandoc uikit
|
||||||
|
|
||||||
|
A pandoc uikit html template.
|
||||||
|
|
||||||
|
Includes a sticky adaptive menu and some other nice things:
|
||||||
|
|
||||||
|
# Install:
|
||||||
|
|
||||||
|
git clone https://github.com/diversen/pandoc-uikit
|
||||||
|
|
||||||
|
cd pandoc-uikit
|
||||||
|
|
||||||
|
# Example (fetch latest pandoc README and transform to HTML)
|
||||||
|
|
||||||
|
pandoc https://raw.githubusercontent.com/jgm/pandoc/master/MANUAL.txt -o index.html -f markdown --template standalone.html --toc --toc-depth=2
|
||||||
|
|
||||||
|
Start a server in current directory, e.g.:
|
||||||
|
|
||||||
|
php -S localhost:8080
|
||||||
|
|
||||||
|
Point a browser to [http://localhost:8080](http://localhost:8080)
|
||||||
|
|
||||||
|
Or checout the gh-page for this repository, which is the pandoc documentation with this template:
|
||||||
|
|
||||||
|
[http://diversen.github.io/pandoc-uikit](http://diversen.github.io/pandoc-uikit/)
|
||||||
|
|
||||||
|
# Variables
|
||||||
|
|
||||||
|
google analytics:
|
||||||
|
|
||||||
|
--variable=analytics:XXX-ANALYTICS-CODE
|
||||||
|
|
||||||
|
uikit CSS
|
||||||
|
|
||||||
|
--variable=template_css:/path/to/uikit.css
|
28798
docs/index.html
Normal file
28798
docs/index.html
Normal file
File diff suppressed because it is too large
Load Diff
251
docs/jquery.sticky-kit.js
Normal file
251
docs/jquery.sticky-kit.js
Normal file
@ -0,0 +1,251 @@
|
|||||||
|
// Generated by CoffeeScript 1.9.2
|
||||||
|
|
||||||
|
/**
|
||||||
|
@license Sticky-kit v1.1.2 | WTFPL | Leaf Corcoran 2015 | http://leafo.net
|
||||||
|
*/
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var $, win;
|
||||||
|
|
||||||
|
$ = this.jQuery || window.jQuery;
|
||||||
|
|
||||||
|
win = $(window);
|
||||||
|
|
||||||
|
$.fn.stick_in_parent = function(opts) {
|
||||||
|
var doc, elm, enable_bottoming, fn, i, inner_scrolling, len, manual_spacer, offset_top, parent_selector, recalc_every, sticky_class;
|
||||||
|
if (opts == null) {
|
||||||
|
opts = {};
|
||||||
|
}
|
||||||
|
sticky_class = opts.sticky_class, inner_scrolling = opts.inner_scrolling, recalc_every = opts.recalc_every, parent_selector = opts.parent, offset_top = opts.offset_top, manual_spacer = opts.spacer, enable_bottoming = opts.bottoming;
|
||||||
|
if (offset_top == null) {
|
||||||
|
offset_top = 0;
|
||||||
|
}
|
||||||
|
if (parent_selector == null) {
|
||||||
|
parent_selector = void 0;
|
||||||
|
}
|
||||||
|
if (inner_scrolling == null) {
|
||||||
|
inner_scrolling = true;
|
||||||
|
}
|
||||||
|
if (sticky_class == null) {
|
||||||
|
sticky_class = "is_stuck";
|
||||||
|
}
|
||||||
|
doc = $(document);
|
||||||
|
if (enable_bottoming == null) {
|
||||||
|
enable_bottoming = true;
|
||||||
|
}
|
||||||
|
fn = function(elm, padding_bottom, parent_top, parent_height, top, height, el_float, detached) {
|
||||||
|
var bottomed, detach, fixed, last_pos, last_scroll_height, offset, parent, recalc, recalc_and_tick, recalc_counter, spacer, tick;
|
||||||
|
if (elm.data("sticky_kit")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
elm.data("sticky_kit", true);
|
||||||
|
last_scroll_height = doc.height();
|
||||||
|
parent = elm.parent();
|
||||||
|
if (parent_selector != null) {
|
||||||
|
parent = parent.closest(parent_selector);
|
||||||
|
}
|
||||||
|
if (!parent.length) {
|
||||||
|
throw "failed to find stick parent";
|
||||||
|
}
|
||||||
|
fixed = false;
|
||||||
|
bottomed = false;
|
||||||
|
spacer = manual_spacer != null ? manual_spacer && elm.closest(manual_spacer) : $("<div />");
|
||||||
|
if (spacer) {
|
||||||
|
spacer.css('position', elm.css('position'));
|
||||||
|
}
|
||||||
|
recalc = function() {
|
||||||
|
var border_top, padding_top, restore;
|
||||||
|
if (detached) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
last_scroll_height = doc.height();
|
||||||
|
border_top = parseInt(parent.css("border-top-width"), 10);
|
||||||
|
padding_top = parseInt(parent.css("padding-top"), 10);
|
||||||
|
padding_bottom = parseInt(parent.css("padding-bottom"), 10);
|
||||||
|
parent_top = parent.offset().top + border_top + padding_top;
|
||||||
|
parent_height = parent.height();
|
||||||
|
if (fixed) {
|
||||||
|
fixed = false;
|
||||||
|
bottomed = false;
|
||||||
|
if (manual_spacer == null) {
|
||||||
|
elm.insertAfter(spacer);
|
||||||
|
spacer.detach();
|
||||||
|
}
|
||||||
|
elm.css({
|
||||||
|
position: "",
|
||||||
|
top: "",
|
||||||
|
width: "",
|
||||||
|
bottom: ""
|
||||||
|
}).removeClass(sticky_class);
|
||||||
|
restore = true;
|
||||||
|
}
|
||||||
|
top = elm.offset().top - (parseInt(elm.css("margin-top"), 10) || 0) - offset_top;
|
||||||
|
height = elm.outerHeight(true);
|
||||||
|
el_float = elm.css("float");
|
||||||
|
if (spacer) {
|
||||||
|
spacer.css({
|
||||||
|
width: elm.outerWidth(true),
|
||||||
|
height: height,
|
||||||
|
display: elm.css("display"),
|
||||||
|
"vertical-align": elm.css("vertical-align"),
|
||||||
|
"float": el_float
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (restore) {
|
||||||
|
return tick();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
recalc();
|
||||||
|
if (height === parent_height) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
last_pos = void 0;
|
||||||
|
offset = offset_top;
|
||||||
|
recalc_counter = recalc_every;
|
||||||
|
tick = function() {
|
||||||
|
var css, delta, recalced, scroll, will_bottom, win_height;
|
||||||
|
if (detached) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
recalced = false;
|
||||||
|
if (recalc_counter != null) {
|
||||||
|
recalc_counter -= 1;
|
||||||
|
if (recalc_counter <= 0) {
|
||||||
|
recalc_counter = recalc_every;
|
||||||
|
recalc();
|
||||||
|
recalced = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!recalced && doc.height() !== last_scroll_height) {
|
||||||
|
recalc();
|
||||||
|
recalced = true;
|
||||||
|
}
|
||||||
|
scroll = win.scrollTop();
|
||||||
|
if (last_pos != null) {
|
||||||
|
delta = scroll - last_pos;
|
||||||
|
}
|
||||||
|
last_pos = scroll;
|
||||||
|
if (fixed) {
|
||||||
|
if (enable_bottoming) {
|
||||||
|
will_bottom = scroll + height + offset > parent_height + parent_top;
|
||||||
|
if (bottomed && !will_bottom) {
|
||||||
|
bottomed = false;
|
||||||
|
elm.css({
|
||||||
|
position: "fixed",
|
||||||
|
bottom: "",
|
||||||
|
top: offset
|
||||||
|
}).trigger("sticky_kit:unbottom");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (scroll < top) {
|
||||||
|
fixed = false;
|
||||||
|
offset = offset_top;
|
||||||
|
if (manual_spacer == null) {
|
||||||
|
if (el_float === "left" || el_float === "right") {
|
||||||
|
elm.insertAfter(spacer);
|
||||||
|
}
|
||||||
|
spacer.detach();
|
||||||
|
}
|
||||||
|
css = {
|
||||||
|
position: "",
|
||||||
|
width: "",
|
||||||
|
top: ""
|
||||||
|
};
|
||||||
|
elm.css(css).removeClass(sticky_class).trigger("sticky_kit:unstick");
|
||||||
|
}
|
||||||
|
if (inner_scrolling) {
|
||||||
|
win_height = win.height();
|
||||||
|
if (height + offset_top > win_height) {
|
||||||
|
if (!bottomed) {
|
||||||
|
offset -= delta;
|
||||||
|
offset = Math.max(win_height - height, offset);
|
||||||
|
offset = Math.min(offset_top, offset);
|
||||||
|
if (fixed) {
|
||||||
|
elm.css({
|
||||||
|
top: offset + "px"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (scroll > top) {
|
||||||
|
fixed = true;
|
||||||
|
css = {
|
||||||
|
position: "fixed",
|
||||||
|
top: offset
|
||||||
|
};
|
||||||
|
css.width = elm.css("box-sizing") === "border-box" ? elm.outerWidth() + "px" : elm.width() + "px";
|
||||||
|
elm.css(css).addClass(sticky_class);
|
||||||
|
if (manual_spacer == null) {
|
||||||
|
elm.after(spacer);
|
||||||
|
if (el_float === "left" || el_float === "right") {
|
||||||
|
spacer.append(elm);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elm.trigger("sticky_kit:stick");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (fixed && enable_bottoming) {
|
||||||
|
if (will_bottom == null) {
|
||||||
|
will_bottom = scroll + height + offset > parent_height + parent_top;
|
||||||
|
}
|
||||||
|
if (!bottomed && will_bottom) {
|
||||||
|
bottomed = true;
|
||||||
|
if (parent.css("position") === "static") {
|
||||||
|
parent.css({
|
||||||
|
position: "relative"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return elm.css({
|
||||||
|
position: "absolute",
|
||||||
|
bottom: padding_bottom,
|
||||||
|
top: "auto"
|
||||||
|
}).trigger("sticky_kit:bottom");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
recalc_and_tick = function() {
|
||||||
|
recalc();
|
||||||
|
return tick();
|
||||||
|
};
|
||||||
|
detach = function() {
|
||||||
|
detached = true;
|
||||||
|
win.off("touchmove", tick);
|
||||||
|
win.off("scroll", tick);
|
||||||
|
win.off("resize", recalc_and_tick);
|
||||||
|
$(document.body).off("sticky_kit:recalc", recalc_and_tick);
|
||||||
|
elm.off("sticky_kit:detach", detach);
|
||||||
|
elm.removeData("sticky_kit");
|
||||||
|
elm.css({
|
||||||
|
position: "",
|
||||||
|
bottom: "",
|
||||||
|
top: "",
|
||||||
|
width: ""
|
||||||
|
});
|
||||||
|
parent.position("position", "");
|
||||||
|
if (fixed) {
|
||||||
|
if (manual_spacer == null) {
|
||||||
|
if (el_float === "left" || el_float === "right") {
|
||||||
|
elm.insertAfter(spacer);
|
||||||
|
}
|
||||||
|
spacer.remove();
|
||||||
|
}
|
||||||
|
return elm.removeClass(sticky_class);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
win.on("touchmove", tick);
|
||||||
|
win.on("scroll", tick);
|
||||||
|
win.on("resize", recalc_and_tick);
|
||||||
|
$(document.body).on("sticky_kit:recalc", recalc_and_tick);
|
||||||
|
elm.on("sticky_kit:detach", detach);
|
||||||
|
return setTimeout(tick, 0);
|
||||||
|
};
|
||||||
|
for (i = 0, len = this.length; i < len; i++) {
|
||||||
|
elm = this[i];
|
||||||
|
fn($(elm));
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
};
|
||||||
|
|
||||||
|
}).call(this);
|
4
docs/lang/da/language.php
Normal file
4
docs/lang/da/language.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$LANG = array();
|
||||||
|
|
4
docs/lang/en/language.php
Normal file
4
docs/lang/en/language.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$LANG = array();
|
||||||
|
|
157
docs/scripts.js
Normal file
157
docs/scripts.js
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
/* uk-nav-parent-icon */
|
||||||
|
$(".menu-begin ul:first-child").addClass('uk-nav uk-nav-side');
|
||||||
|
$(".menu-begin ul:first-child").data('uk-nav', '{multiple:false}');
|
||||||
|
$(".menu-begin ul:first-child").attr('data-uk-nav', '{multiple:false}');
|
||||||
|
|
||||||
|
// Parent click
|
||||||
|
$(".uk-parent > a").on('click', function (event) {
|
||||||
|
|
||||||
|
event.preventDefault();
|
||||||
|
$(".uk-parent > a").parent().removeClass('uk-active');
|
||||||
|
$(this).parent().toggleClass('uk-active');
|
||||||
|
|
||||||
|
var hash = $(this).attr('href').split('#')[1];
|
||||||
|
|
||||||
|
// scroll.To(hash);
|
||||||
|
scrollTo(hash);
|
||||||
|
// $('body').scrollTo(hash);
|
||||||
|
// $('body').scrollTo(hash,{duration:'slow', offsetTop : '50'});
|
||||||
|
$('a[href="' + hash + '"]').addClass('uk-active');
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
function scrollTo(hash) {
|
||||||
|
|
||||||
|
location.hash = "#" + hash;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function setStickyMenu () {
|
||||||
|
|
||||||
|
var options = {
|
||||||
|
bottoming: false,
|
||||||
|
inner_scrolling: false
|
||||||
|
};
|
||||||
|
|
||||||
|
var sticky = ".uk-overflow-container";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var width = $(window).width();
|
||||||
|
|
||||||
|
if (width >= 768) {
|
||||||
|
|
||||||
|
$(".uk-nav > li").addClass('uk-parent');
|
||||||
|
$(".menu-begin ul > li > ul").addClass('uk-nav-sub');
|
||||||
|
|
||||||
|
$('.uk-parent').removeClass('uk-open');
|
||||||
|
$('.uk-parent div').addClass('uk-hidden');
|
||||||
|
|
||||||
|
$(sticky).stick_in_parent(options);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
|
||||||
|
$('.uk-parent').addClass('uk-open');
|
||||||
|
|
||||||
|
$('.uk-parent div').removeClass('uk-hidden');
|
||||||
|
$('.uk-parent div').removeAttr('style');
|
||||||
|
$('.uk-nav li').removeClass('uk-parent');
|
||||||
|
|
||||||
|
|
||||||
|
$(sticky).trigger("sticky_kit:detach");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
|
||||||
|
$(".pager").wrapInner( '<ul class="uk-pagination-left uk-pagination"></ul>' );
|
||||||
|
$(".pager a").wrap( '<li></li>' );
|
||||||
|
$(".pager b").wrap( '<li class="uk-active"></li>' );
|
||||||
|
$(".pager b").wrapInner( '<span></span>' );
|
||||||
|
$(".pager b span").unwrap( );
|
||||||
|
|
||||||
|
// Normalize tables without style
|
||||||
|
$( "table" ).addClass( "uk-table" );
|
||||||
|
|
||||||
|
// Normalize tables without style
|
||||||
|
$( "form" ).addClass( "uk-form" );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
setStickyMenu();
|
||||||
|
$(window).on('resize', function () {
|
||||||
|
setStickyMenu();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
$( 'table' ).addClass( "table" );
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
var scroll = (function() {
|
||||||
|
|
||||||
|
var elementPosition = function(a) {
|
||||||
|
return function() {
|
||||||
|
return a.getBoundingClientRect().top;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
var scrolling = function( elementID ) {
|
||||||
|
|
||||||
|
var el = document.getElementById( elementID ),
|
||||||
|
elPos = elementPosition( el ),
|
||||||
|
duration = 400,
|
||||||
|
increment = Math.round( Math.abs( elPos() )/40 ),
|
||||||
|
time = Math.round( duration/increment ),
|
||||||
|
prev = 0,
|
||||||
|
E;
|
||||||
|
|
||||||
|
function scroller() {
|
||||||
|
E = elPos();
|
||||||
|
|
||||||
|
if (E === prev) {
|
||||||
|
return;
|
||||||
|
} else {
|
||||||
|
prev = E;
|
||||||
|
}
|
||||||
|
|
||||||
|
increment = (E > -20 && E < 20) ? ((E > - 5 && E < 5) ? 1 : 5) : increment;
|
||||||
|
|
||||||
|
if (E > 1 || E < -1) {
|
||||||
|
|
||||||
|
if (E < 0) {
|
||||||
|
window.scrollBy( 0,-increment );
|
||||||
|
} else {
|
||||||
|
window.scrollBy( 0,increment );
|
||||||
|
}
|
||||||
|
|
||||||
|
setTimeout(scroller, time);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
el.scrollTo( 0,0 );
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
scroller();
|
||||||
|
};
|
||||||
|
|
||||||
|
return {
|
||||||
|
To: scrolling
|
||||||
|
}
|
||||||
|
|
||||||
|
})();
|
||||||
|
*/
|
89
docs/standalone.html
Normal file
89
docs/standalone.html
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html $if(lang)$ lang="$lang$" $endif$ dir="ltr">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>$if(title)$$title$$endif$</title>
|
||||||
|
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
|
||||||
|
<link rel="apple-touch-icon-precomposed" href="images/apple-touch-icon.png">
|
||||||
|
|
||||||
|
$if(template_css)$
|
||||||
|
<link rel="stylesheet" href="$template_css$">
|
||||||
|
$else$
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.4/css/uikit.gradient.css">
|
||||||
|
$endif$
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
<script src="https://cdn.bootcss.com/jquery/2.2.1/jquery.min.js"></script>
|
||||||
|
<script src="uikit.js"></script>
|
||||||
|
<script src="scripts.js"></script>
|
||||||
|
<script src="jquery.sticky-kit.js "></script>
|
||||||
|
|
||||||
|
<meta name="generator" content="pandoc-uikit" />
|
||||||
|
$for(author-meta)$
|
||||||
|
<meta name="author" content="$author-meta$" />
|
||||||
|
$endfor$
|
||||||
|
$if(date-meta)$
|
||||||
|
<meta name="date" content="$date-meta$" />
|
||||||
|
$endif$
|
||||||
|
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
|
||||||
|
<style type="text/css">code{white-space: pre;}</style>
|
||||||
|
$if(quotes)$
|
||||||
|
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
|
||||||
|
$endif$
|
||||||
|
$if(highlighting-css)$
|
||||||
|
<style type="text/css">
|
||||||
|
$highlighting-css$
|
||||||
|
</style>
|
||||||
|
$endif$
|
||||||
|
$for(css)$
|
||||||
|
<link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
|
||||||
|
$endfor$
|
||||||
|
$if(math)$
|
||||||
|
$math$
|
||||||
|
$endif$
|
||||||
|
$for(header-includes)$
|
||||||
|
$header-includes$
|
||||||
|
$endfor$
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="uk-container uk-container-center uk-margin-top uk-margin-large-bottom">
|
||||||
|
|
||||||
|
$if(title)$
|
||||||
|
<div class="uk-grid" data-uk-grid-margin>
|
||||||
|
<div class="uk-width-1-1">
|
||||||
|
<h1 class="uk-heading-large">$title$</h1>
|
||||||
|
$if(date)$
|
||||||
|
<h3 class="uk-heading-large">$date$</p></h3>
|
||||||
|
$endif$
|
||||||
|
$for(author)$
|
||||||
|
<p class="uk-text-large">$author$</p>
|
||||||
|
$endfor$
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
$endif$
|
||||||
|
|
||||||
|
<div class="uk-grid" data-uk-grid-margin >
|
||||||
|
<div class="uk-width-medium-1-4">
|
||||||
|
<div class="uk-overflow-container" data-uk-sticky="{top:25,media: 768}">
|
||||||
|
<div class="uk-panel uk-panel-box menu-begin" >
|
||||||
|
|
||||||
|
$if(toc)$
|
||||||
|
$toc$
|
||||||
|
$endif$
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="uk-width-medium-3-4">
|
||||||
|
$body$
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
48
docs/style.css
Normal file
48
docs/style.css
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
|
||||||
|
/*
|
||||||
|
.uk-overflow-container {
|
||||||
|
overflow-y: scroll;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
|
||||||
|
|
||||||
|
}*/
|
||||||
|
table {
|
||||||
|
min-width: 100%
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-js {
|
||||||
|
min-width:100%;
|
||||||
|
max-width:100%;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vjs-fullscreen {
|
||||||
|
padding-top: 0px
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 12px; /* for vertical scrollbars */
|
||||||
|
height: 12px; /* for horizontal scrollbars */
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.uk-overflow-container {
|
||||||
|
overflow-y: scroll;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
em {
|
||||||
|
color:#666;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
91
docs/template.html
Normal file
91
docs/template.html
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html $if(lang)$ lang="$lang$" $endif$ dir="ltr">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>$if(title)$$title$$endif$</title>
|
||||||
|
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
|
||||||
|
<link rel="apple-touch-icon-precomposed" href="images/apple-touch-icon.png">
|
||||||
|
<!--<link rel="stylesheet" href="/templates/pandoc-uikit/uikit.css">-->
|
||||||
|
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.4/css/uikit.gradient.css">-->
|
||||||
|
$if(template_css)$
|
||||||
|
<link rel="stylesheet" href="$template_css$">
|
||||||
|
$else$
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.4/css/uikit.gradient.min.css">
|
||||||
|
$endif$
|
||||||
|
<link rel="stylesheet" href="/templates/pandoc-uikit/style.css">
|
||||||
|
<script src="https://cdn.bootcss.com/jquery/2.2.1/jquery.min.js"></script>
|
||||||
|
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.4/js/uikit.min.js"></script>-->
|
||||||
|
<script src="/templates/pandoc-uikit/uikit.js"></script>
|
||||||
|
<script src="/templates/pandoc-uikit/scripts.js"></script>
|
||||||
|
<script src="/bower_components/sticky-kit/jquery.sticky-kit.js "></script>
|
||||||
|
|
||||||
|
<meta name="generator" content="pandoc" />
|
||||||
|
$for(author-meta)$
|
||||||
|
<meta name="author" content="$author-meta$" />
|
||||||
|
$endfor$
|
||||||
|
$if(date-meta)$
|
||||||
|
<meta name="date" content="$date-meta$" />
|
||||||
|
$endif$
|
||||||
|
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
|
||||||
|
<style type="text/css">code{white-space: pre;}</style>
|
||||||
|
$if(quotes)$
|
||||||
|
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
|
||||||
|
$endif$
|
||||||
|
$if(highlighting-css)$
|
||||||
|
<style type="text/css">
|
||||||
|
$highlighting-css$
|
||||||
|
</style>
|
||||||
|
<style>.kommentar {display: none;}</style>
|
||||||
|
$endif$
|
||||||
|
$for(css)$
|
||||||
|
<link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
|
||||||
|
$endfor$
|
||||||
|
$if(math)$
|
||||||
|
$math$
|
||||||
|
$endif$
|
||||||
|
$for(header-includes)$
|
||||||
|
$header-includes$
|
||||||
|
$endfor$
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="uk-container uk-container-center uk-margin-top uk-margin-large-bottom">
|
||||||
|
|
||||||
|
$if(title)$
|
||||||
|
<div class="uk-grid" data-uk-grid-margin>
|
||||||
|
<div class="uk-width-1-1">
|
||||||
|
<h1 class="uk-heading-large">$title$</h1>
|
||||||
|
$if(date)$
|
||||||
|
<h3 class="uk-heading-large">$date$</p></h3>
|
||||||
|
$endif$
|
||||||
|
$for(author)$
|
||||||
|
<p class="uk-text-large">$author$</p>
|
||||||
|
$endfor$
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
$endif$
|
||||||
|
|
||||||
|
<div class="uk-grid" data-uk-grid-margin >
|
||||||
|
<div class="uk-width-medium-1-4">
|
||||||
|
<div class="uk-overflow-container" data-uk-sticky="{top:25,media: 768}">
|
||||||
|
<div class="uk-panel uk-panel-box menu-begin" >
|
||||||
|
|
||||||
|
$if(toc)$
|
||||||
|
$toc$
|
||||||
|
$endif$
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="uk-width-medium-3-4">
|
||||||
|
$body$
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
1
docs/uikit.css
Normal file
1
docs/uikit.css
Normal file
File diff suppressed because one or more lines are too long
3750
docs/uikit.js
Normal file
3750
docs/uikit.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user