olelo 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +10 -0
- data/.gitmodules +3 -0
- data/Gemfile +3 -0
- data/README.markdown +104 -0
- data/Rakefile +92 -0
- data/bin/olelo +5 -0
- data/config.ru +86 -0
- data/config/aspects.rb +256 -0
- data/config/config.yml.default +154 -0
- data/config/initializers/00-mime_types.rb +29 -0
- data/config/initializers/01-slim.rb +2 -0
- data/config/interwiki.yml +11 -0
- data/doc/AUTHORS +7 -0
- data/doc/LICENSE +22 -0
- data/lib/olelo.rb +39 -0
- data/lib/olelo/application.rb +294 -0
- data/lib/olelo/attributes.rb +285 -0
- data/lib/olelo/config.rb +88 -0
- data/lib/olelo/extensions.rb +252 -0
- data/lib/olelo/helper.rb +290 -0
- data/lib/olelo/hooks.rb +142 -0
- data/lib/olelo/html_safe.rb +29 -0
- data/lib/olelo/initializer.rb +76 -0
- data/lib/olelo/locale.rb +63 -0
- data/lib/olelo/locale.yml +284 -0
- data/lib/olelo/menu.rb +101 -0
- data/lib/olelo/middleware/blacklist.rb +25 -0
- data/lib/olelo/middleware/degrade_mime_type.rb +19 -0
- data/lib/olelo/middleware/flash.rb +97 -0
- data/lib/olelo/middleware/force_encoding.rb +41 -0
- data/lib/olelo/page.rb +266 -0
- data/lib/olelo/patch.rb +311 -0
- data/lib/olelo/plugin.rb +188 -0
- data/lib/olelo/repository.rb +225 -0
- data/lib/olelo/routing.rb +223 -0
- data/lib/olelo/templates.rb +30 -0
- data/lib/olelo/user.rb +132 -0
- data/lib/olelo/util.rb +233 -0
- data/lib/olelo/version.rb +3 -0
- data/lib/olelo/virtualfs.rb +161 -0
- data/lib/rack/olelo_patches.rb +33 -0
- data/lib/rack/relative_redirect.rb +44 -0
- data/lib/rack/static_cache.rb +93 -0
- data/lib/yard/addons.rb +1 -0
- data/lib/yard/addons/hook_handler.rb +25 -0
- data/lib/yard/addons/override_tag.rb +14 -0
- data/lib/yard/addons/route_handler.rb +33 -0
- data/lib/yard/addons/sanitize_anchor.rb +16 -0
- data/olelo.gemspec +31 -0
- data/plugins/aspects/changelog.rb +45 -0
- data/plugins/aspects/documentbrowser.rb +57 -0
- data/plugins/aspects/download.rb +11 -0
- data/plugins/aspects/highlight.rb +8 -0
- data/plugins/aspects/image.rb +41 -0
- data/plugins/aspects/imageinfo.rb +64 -0
- data/plugins/aspects/locale.yml +60 -0
- data/plugins/aspects/main.rb +199 -0
- data/plugins/aspects/pageinfo.rb +37 -0
- data/plugins/aspects/source.rb +6 -0
- data/plugins/aspects/subpages.rb +44 -0
- data/plugins/aspects/text.rb +9 -0
- data/plugins/blog/blog.css +1 -0
- data/plugins/blog/blog.scss +37 -0
- data/plugins/blog/locale.yml +12 -0
- data/plugins/blog/main.rb +85 -0
- data/plugins/editor/locale.yml +18 -0
- data/plugins/editor/markup/main.rb +3 -0
- data/plugins/editor/markup/script.js +10 -0
- data/plugins/editor/markup/script/00-jquery.textselection.js +267 -0
- data/plugins/editor/markup/script/01-olelo.markupeditor.js +116 -0
- data/plugins/editor/markup/script/init.js +10 -0
- data/plugins/editor/preview.rb +52 -0
- data/plugins/editor/recaptcha.rb +56 -0
- data/plugins/filters/creole.rb +37 -0
- data/plugins/filters/disposition.rb +9 -0
- data/plugins/filters/editsection.rb +67 -0
- data/plugins/filters/fix_img_tag.rb +16 -0
- data/plugins/filters/html_wrapper.rb +12 -0
- data/plugins/filters/interwiki.rb +19 -0
- data/plugins/filters/link_classifier.rb +26 -0
- data/plugins/filters/locale.yml +15 -0
- data/plugins/filters/main.rb +202 -0
- data/plugins/filters/markdown_nowiki.rb +15 -0
- data/plugins/filters/numbering.xsl +93 -0
- data/plugins/filters/orgmode.rb +6 -0
- data/plugins/filters/rubypants.rb +6 -0
- data/plugins/filters/s5/main.rb +32 -0
- data/plugins/filters/s5/s5.xsl +118 -0
- data/plugins/filters/tilt.rb +17 -0
- data/plugins/filters/toc.rb +50 -0
- data/plugins/filters/xhtml2latex.xsl +232 -0
- data/plugins/filters/xslt.rb +22 -0
- data/plugins/gallery/gallery.css +1 -0
- data/plugins/gallery/gallery.scss +28 -0
- data/plugins/gallery/main.rb +34 -0
- data/plugins/misc/fancybox/images/blank.gif +0 -0
- data/plugins/misc/fancybox/images/fancy_close.png +0 -0
- data/plugins/misc/fancybox/images/fancy_loading.png +0 -0
- data/plugins/misc/fancybox/images/fancy_nav_left.png +0 -0
- data/plugins/misc/fancybox/images/fancy_nav_right.png +0 -0
- data/plugins/misc/fancybox/images/fancy_shadow_e.png +0 -0
- data/plugins/misc/fancybox/images/fancy_shadow_n.png +0 -0
- data/plugins/misc/fancybox/images/fancy_shadow_ne.png +0 -0
- data/plugins/misc/fancybox/images/fancy_shadow_nw.png +0 -0
- data/plugins/misc/fancybox/images/fancy_shadow_s.png +0 -0
- data/plugins/misc/fancybox/images/fancy_shadow_se.png +0 -0
- data/plugins/misc/fancybox/images/fancy_shadow_sw.png +0 -0
- data/plugins/misc/fancybox/images/fancy_shadow_w.png +0 -0
- data/plugins/misc/fancybox/images/fancy_title_left.png +0 -0
- data/plugins/misc/fancybox/images/fancy_title_main.png +0 -0
- data/plugins/misc/fancybox/images/fancy_title_over.png +0 -0
- data/plugins/misc/fancybox/images/fancy_title_right.png +0 -0
- data/plugins/misc/fancybox/images/fancybox-x.png +0 -0
- data/plugins/misc/fancybox/images/fancybox-y.png +0 -0
- data/plugins/misc/fancybox/images/fancybox.png +0 -0
- data/plugins/misc/fancybox/jquery.fancybox.css +1 -0
- data/plugins/misc/fancybox/jquery.fancybox.scss +323 -0
- data/plugins/misc/fancybox/main.rb +4 -0
- data/plugins/misc/fancybox/script.js +37 -0
- data/plugins/misc/fancybox/script/00-jquery.mousewheel.js +84 -0
- data/plugins/misc/fancybox/script/01-jquery.easing.js +205 -0
- data/plugins/misc/fancybox/script/02-jquery.fancybox.js +1156 -0
- data/plugins/misc/fancybox/script/init.js +18 -0
- data/plugins/misc/system.rb +192 -0
- data/plugins/misc/variables.rb +29 -0
- data/plugins/misc/webdav.rb +45 -0
- data/plugins/repositories/git_grep.rb +69 -0
- data/plugins/repositories/gitrb_repository.rb +204 -0
- data/plugins/repositories/locale.yml +12 -0
- data/plugins/repositories/rugged_repository.rb +454 -0
- data/plugins/security/acl.rb +57 -0
- data/plugins/security/basic_auth.rb +21 -0
- data/plugins/security/locale.yml +21 -0
- data/plugins/security/persistent_login.rb +32 -0
- data/plugins/security/portal.rb +28 -0
- data/plugins/security/private_wiki.rb +24 -0
- data/plugins/security/readonly_wiki.rb +25 -0
- data/plugins/security/stack.rb +20 -0
- data/plugins/security/yamlfile.rb +66 -0
- data/plugins/tags/code.rb +6 -0
- data/plugins/tags/footnotes.rb +35 -0
- data/plugins/tags/gist-embed.css +123 -0
- data/plugins/tags/gist.rb +13 -0
- data/plugins/tags/html.rb +57 -0
- data/plugins/tags/include.rb +20 -0
- data/plugins/tags/main.rb +353 -0
- data/plugins/tags/math.rb +117 -0
- data/plugins/tags/scripting.rb +64 -0
- data/plugins/tags/sort.rb +7 -0
- data/plugins/tags/tabs.rb +20 -0
- data/plugins/treeview/images/collapsed.png +0 -0
- data/plugins/treeview/images/expanded.png +0 -0
- data/plugins/treeview/images/menu.png +0 -0
- data/plugins/treeview/images/tree.png +0 -0
- data/plugins/treeview/images/wait.gif +0 -0
- data/plugins/treeview/main.rb +16 -0
- data/plugins/treeview/script.js +5 -0
- data/plugins/treeview/script/00-jquery.treeview.js +164 -0
- data/plugins/treeview/script/init.js +25 -0
- data/plugins/treeview/treeview.css +1 -0
- data/plugins/treeview/treeview.scss +113 -0
- data/plugins/utils/assets.rb +74 -0
- data/plugins/utils/cache.rb +53 -0
- data/plugins/utils/image_magick.rb +34 -0
- data/plugins/utils/pygments.css +1 -0
- data/plugins/utils/pygments.rb +50 -0
- data/plugins/utils/pygments.scss +83 -0
- data/plugins/utils/semaphore.rb +50 -0
- data/plugins/utils/shell.rb +45 -0
- data/plugins/utils/store.rb +315 -0
- data/plugins/utils/worker.rb +36 -0
- data/plugins/utils/xml.rb +29 -0
- data/static/images/favicon.png +0 -0
- data/static/script.js +267 -0
- data/static/script/00-json2.js +486 -0
- data/static/script/01-jstorage.js +217 -0
- data/static/script/02-jquery.js +9440 -0
- data/static/script/03-jquery.ui.core.js +337 -0
- data/static/script/04-jquery.ui.widget.js +502 -0
- data/static/script/05-jquery.ui.position.js +517 -0
- data/static/script/06-jquery.ui.menu.js +609 -0
- data/static/script/07-jquery.ui.autocomplete.js +601 -0
- data/static/script/08-olelo.i18n.js +37 -0
- data/static/script/09-olelo.unsaved.js +68 -0
- data/static/script/10-olelo.historytable.js +40 -0
- data/static/script/11-olelo.pagination.js +18 -0
- data/static/script/13-olelo.tabwidget.js +57 -0
- data/static/script/14-olelo.timeago.js +70 -0
- data/static/script/15-olelo.underliner.js +31 -0
- data/static/script/16-olelo.ui.combobox.js +32 -0
- data/static/script/init.js +48 -0
- data/static/themes/atlantis/constants.scss +15 -0
- data/static/themes/atlantis/iehacks.scss +38 -0
- data/static/themes/atlantis/images/actions/delete.png +0 -0
- data/static/themes/atlantis/images/actions/edit.png +0 -0
- data/static/themes/atlantis/images/actions/history.png +0 -0
- data/static/themes/atlantis/images/actions/home.png +0 -0
- data/static/themes/atlantis/images/actions/move.png +0 -0
- data/static/themes/atlantis/images/actions/new.png +0 -0
- data/static/themes/atlantis/images/actions/page.png +0 -0
- data/static/themes/atlantis/images/bg/button.png +0 -0
- data/static/themes/atlantis/images/bg/container.png +0 -0
- data/static/themes/atlantis/images/bg/content.png +0 -0
- data/static/themes/atlantis/images/bg/footer.png +0 -0
- data/static/themes/atlantis/images/bg/header.jpg +0 -0
- data/static/themes/atlantis/images/bg/header.orig.jpg +0 -0
- data/static/themes/atlantis/images/bg/header_gray.jpg +0 -0
- data/static/themes/atlantis/images/bug.png +0 -0
- data/static/themes/atlantis/images/filetypes/7z.png +0 -0
- data/static/themes/atlantis/images/filetypes/_archive.png +0 -0
- data/static/themes/atlantis/images/filetypes/_audio.png +0 -0
- data/static/themes/atlantis/images/filetypes/_code.png +0 -0
- data/static/themes/atlantis/images/filetypes/_linux.png +0 -0
- data/static/themes/atlantis/images/filetypes/_picture.png +0 -0
- data/static/themes/atlantis/images/filetypes/_video.png +0 -0
- data/static/themes/atlantis/images/filetypes/bz2.png +0 -0
- data/static/themes/atlantis/images/filetypes/doc.png +0 -0
- data/static/themes/atlantis/images/filetypes/flac.png +0 -0
- data/static/themes/atlantis/images/filetypes/gz.png +0 -0
- data/static/themes/atlantis/images/filetypes/html.png +0 -0
- data/static/themes/atlantis/images/filetypes/java.png +0 -0
- data/static/themes/atlantis/images/filetypes/jpg.png +0 -0
- data/static/themes/atlantis/images/filetypes/midi.png +0 -0
- data/static/themes/atlantis/images/filetypes/mp3.png +0 -0
- data/static/themes/atlantis/images/filetypes/ogg.png +0 -0
- data/static/themes/atlantis/images/filetypes/pdf.png +0 -0
- data/static/themes/atlantis/images/filetypes/php.png +0 -0
- data/static/themes/atlantis/images/filetypes/png.png +0 -0
- data/static/themes/atlantis/images/filetypes/ppt.png +0 -0
- data/static/themes/atlantis/images/filetypes/psd.png +0 -0
- data/static/themes/atlantis/images/filetypes/rar.png +0 -0
- data/static/themes/atlantis/images/filetypes/rb.png +0 -0
- data/static/themes/atlantis/images/filetypes/sh.png +0 -0
- data/static/themes/atlantis/images/filetypes/tar.png +0 -0
- data/static/themes/atlantis/images/filetypes/txt.png +0 -0
- data/static/themes/atlantis/images/filetypes/wma.png +0 -0
- data/static/themes/atlantis/images/filetypes/xls.png +0 -0
- data/static/themes/atlantis/images/filetypes/zip.png +0 -0
- data/static/themes/atlantis/images/folder.png +0 -0
- data/static/themes/atlantis/images/folder_open.png +0 -0
- data/static/themes/atlantis/images/loading.gif +0 -0
- data/static/themes/atlantis/images/loading.xcf +0 -0
- data/static/themes/atlantis/images/not_found.png +0 -0
- data/static/themes/atlantis/images/page.png +0 -0
- data/static/themes/atlantis/images/search.png +0 -0
- data/static/themes/atlantis/layout.scss +115 -0
- data/static/themes/atlantis/menu.scss +99 -0
- data/static/themes/atlantis/print.scss +129 -0
- data/static/themes/atlantis/screen.scss +495 -0
- data/static/themes/atlantis/style.css +3 -0
- data/static/themes/lib/autocomplete.scss +39 -0
- data/static/themes/lib/headlines.scss +10 -0
- data/static/themes/lib/horizontal-list.scss +31 -0
- data/static/themes/lib/patch.scss +88 -0
- data/static/themes/lib/reset.scss +114 -0
- data/static/themes/lib/rounded.scss +46 -0
- data/static/themes/lib/shadow.scss +14 -0
- data/test/config_test.rb +28 -0
- data/test/factory_test.rb +29 -0
- data/test/hash_extensions_test.rb +16 -0
- data/test/helper.rb +38 -0
- data/test/hooks_test.rb +85 -0
- data/test/object_extensions_test.rb +20 -0
- data/test/page_test.rb +168 -0
- data/test/request_test.rb +166 -0
- data/test/string_extensions_test.rb +32 -0
- data/test/templates_test.rb +39 -0
- data/test/util_test.rb +71 -0
- data/views/changes.slim +22 -0
- data/views/compare.slim +8 -0
- data/views/delete.slim +9 -0
- data/views/deleted.slim +2 -0
- data/views/edit.slim +65 -0
- data/views/error.slim +6 -0
- data/views/history.slim +20 -0
- data/views/layout.slim +38 -0
- data/views/login.slim +37 -0
- data/views/move.slim +10 -0
- data/views/not_found.slim +6 -0
- data/views/profile.slim +26 -0
- data/views/show.slim +9 -0
- metadata +488 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,115 @@
|
|
1
|
+
@import "constants.scss";
|
2
|
+
|
3
|
+
#header {
|
4
|
+
background: $header_bg;
|
5
|
+
padding-left: 0.5em;
|
6
|
+
clear: both;
|
7
|
+
height: 3em;
|
8
|
+
h1 {
|
9
|
+
@include reset-box-model;
|
10
|
+
font-size: 200%;
|
11
|
+
font-weight: bold;
|
12
|
+
float: left;
|
13
|
+
a, a:visited, a:active, a:hover {
|
14
|
+
color: #eeeeee;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
#info {
|
20
|
+
float: right;
|
21
|
+
background: $main_bg;
|
22
|
+
padding: 0.3em;
|
23
|
+
margin: 0.65em 0.5em 0 0;
|
24
|
+
opacity: 0.8;
|
25
|
+
}
|
26
|
+
|
27
|
+
#search {
|
28
|
+
opacity: 0.8;
|
29
|
+
float: right;
|
30
|
+
border: none;
|
31
|
+
input {
|
32
|
+
margin: 0.65em 0.5em 0 0;
|
33
|
+
width: 10em;
|
34
|
+
padding: 0.2em;
|
35
|
+
padding-left: 20px;
|
36
|
+
background: $main_bg url(images/search.png) no-repeat 0.2em 0.2em;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
html, body {
|
41
|
+
height: 100%;
|
42
|
+
}
|
43
|
+
|
44
|
+
#container {
|
45
|
+
min-height: 520px;
|
46
|
+
position: relative;
|
47
|
+
display: block;
|
48
|
+
overflow: hidden;
|
49
|
+
padding-right: 7em;
|
50
|
+
padding-left: $sidebar_width;
|
51
|
+
background: url(images/bg/container.png) top left repeat-y;
|
52
|
+
z-index: 10;
|
53
|
+
}
|
54
|
+
|
55
|
+
#content {
|
56
|
+
position: relative;
|
57
|
+
float: left;
|
58
|
+
width: 100%;
|
59
|
+
padding: 2.5em 3.5em;
|
60
|
+
background: url(images/bg/content.png) top left repeat-x;
|
61
|
+
}
|
62
|
+
|
63
|
+
#sidebar {
|
64
|
+
background: $light_bg;
|
65
|
+
position: relative;
|
66
|
+
width: $sidebar_width;
|
67
|
+
float: left;
|
68
|
+
padding-bottom: 3.5em;
|
69
|
+
margin-left: -$sidebar_width;
|
70
|
+
h1, h2, h3, h4, h5, h6 {
|
71
|
+
font-size: 140%;
|
72
|
+
background: white;
|
73
|
+
font-weight: normal;
|
74
|
+
line-height: 1.2em;
|
75
|
+
margin: 1em 0 0 0;
|
76
|
+
padding: 0 0.2em;
|
77
|
+
border-top: 1px solid #95bbff;
|
78
|
+
border-bottom: 1px solid #95bbff;
|
79
|
+
display: block;
|
80
|
+
}
|
81
|
+
ul {
|
82
|
+
@include reset-box-model;
|
83
|
+
list-style: none;
|
84
|
+
li {
|
85
|
+
margin: 0;
|
86
|
+
a {
|
87
|
+
padding: 0 5px;
|
88
|
+
display: block;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
ul a {
|
92
|
+
padding: 0 20px;
|
93
|
+
}
|
94
|
+
ul ul a {
|
95
|
+
padding: 0 35px;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
#footer {
|
101
|
+
clear: both;
|
102
|
+
position: relative;
|
103
|
+
color: $light_color;
|
104
|
+
font-size: 90%;
|
105
|
+
background: url(images/bg/footer.png) top left repeat-x;
|
106
|
+
margin-top: -10px;
|
107
|
+
padding: 2em;
|
108
|
+
text-align: right;
|
109
|
+
z-index: 1 !important;
|
110
|
+
.powered_by {
|
111
|
+
margin-top: 1em;
|
112
|
+
color: #aaaaaa;
|
113
|
+
font-size: 90%;
|
114
|
+
}
|
115
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
@import "lib/horizontal-list.scss";
|
2
|
+
@import "constants.scss";
|
3
|
+
|
4
|
+
@mixin menu-action($prefix, $name) {
|
5
|
+
#item-#{$prefix}-#{$name} > a:before {
|
6
|
+
content: url(images/actions/#{$name}.png) "\00a0";
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
@include menu-action("actions", "edit");
|
11
|
+
@include menu-action("actions", "history");
|
12
|
+
@include menu-action("actions-edit", "new");
|
13
|
+
@include menu-action("actions-edit", "delete");
|
14
|
+
@include menu-action("actions-edit", "move");
|
15
|
+
|
16
|
+
#menu {
|
17
|
+
background: $main_bg;
|
18
|
+
height: 1.6em;
|
19
|
+
border-top: $border;
|
20
|
+
border-bottom: $border;
|
21
|
+
ul {
|
22
|
+
@include list-bar;
|
23
|
+
height: 1.6em;
|
24
|
+
&#menu-actions {
|
25
|
+
float: right;
|
26
|
+
li {
|
27
|
+
border-left: $border;
|
28
|
+
border-right: none;
|
29
|
+
}
|
30
|
+
.selected a:before {
|
31
|
+
content: "\2022\00a0";
|
32
|
+
}
|
33
|
+
.download {
|
34
|
+
background: $light_bg;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
li {
|
38
|
+
@include reset-box-model;
|
39
|
+
display: block;
|
40
|
+
float: left;
|
41
|
+
height: 1.6em;
|
42
|
+
line-height: 1.6em;
|
43
|
+
border-right: $border;
|
44
|
+
color: $dark_color;
|
45
|
+
&.noborder {
|
46
|
+
padding: 0 1em;
|
47
|
+
border: none;
|
48
|
+
}
|
49
|
+
&.breadcrumb {
|
50
|
+
border: none;
|
51
|
+
a {
|
52
|
+
padding: 0 0.3em;
|
53
|
+
}
|
54
|
+
&.first a {
|
55
|
+
padding-left: 1em;
|
56
|
+
text-indent: -999px;
|
57
|
+
display: block;
|
58
|
+
width: 16px;
|
59
|
+
background: url(images/actions/home.png) no-repeat 1em 0.1em;
|
60
|
+
}
|
61
|
+
&.last {
|
62
|
+
border-right: $border;
|
63
|
+
a {
|
64
|
+
padding-right: 1em;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
a {
|
69
|
+
display: block;
|
70
|
+
text-decoration: none;
|
71
|
+
white-space: nowrap;
|
72
|
+
padding: 0 1em;
|
73
|
+
height: 1.6em;
|
74
|
+
color: $dark_color;
|
75
|
+
cursor: pointer;
|
76
|
+
&:hover, &:focus, &:active {
|
77
|
+
text-shadow: #333333 1px 1px 2px;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
ul {
|
81
|
+
display: none;
|
82
|
+
z-index: 99;
|
83
|
+
position: absolute;
|
84
|
+
border-top: $border;
|
85
|
+
margin-left: -1px;
|
86
|
+
li {
|
87
|
+
background: $main_bg;
|
88
|
+
clear: both;
|
89
|
+
border: $border !important;
|
90
|
+
border-top: none !important;
|
91
|
+
width: 100%;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
&:hover>ul {
|
95
|
+
display: block;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
@import "constants.scss";
|
2
|
+
@import "lib/reset.scss";
|
3
|
+
@import "lib/headlines.scss";
|
4
|
+
@import "lib/patch.scss";
|
5
|
+
|
6
|
+
body {
|
7
|
+
color: black;
|
8
|
+
background: $main_bg;
|
9
|
+
font-family: $normal_font;
|
10
|
+
font-size: 10pt;
|
11
|
+
line-height: 1.2em;
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin headline {
|
15
|
+
font-family: $headline_font;
|
16
|
+
color: $color1;
|
17
|
+
margin: 2em 0 0.5em 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
@include headlines;
|
21
|
+
|
22
|
+
ul,ol,p {
|
23
|
+
margin: 0.8em 0 0.8em 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
ul,ol ul,ol {
|
27
|
+
margin: 0;
|
28
|
+
}
|
29
|
+
|
30
|
+
ul {
|
31
|
+
list-style-type: disc;
|
32
|
+
}
|
33
|
+
|
34
|
+
ol {
|
35
|
+
list-style-type: decimal;
|
36
|
+
}
|
37
|
+
|
38
|
+
ul, ol {
|
39
|
+
list-style-position: outside;
|
40
|
+
padding-left: 1.5em;
|
41
|
+
}
|
42
|
+
|
43
|
+
table {
|
44
|
+
border-collapse: collapse;
|
45
|
+
border-spacing: 0;
|
46
|
+
border: $border;
|
47
|
+
tr {
|
48
|
+
td, th {
|
49
|
+
border: $border;
|
50
|
+
padding: 0.2em 0.5em;
|
51
|
+
&.link {
|
52
|
+
padding: 0;
|
53
|
+
a {
|
54
|
+
margin: 0;
|
55
|
+
padding: 0.2em 0.5em;
|
56
|
+
display: block;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
a {
|
64
|
+
&, &:visited {
|
65
|
+
color: $color1;
|
66
|
+
text-decoration: none;
|
67
|
+
}
|
68
|
+
&.img {
|
69
|
+
background: transparent;
|
70
|
+
}
|
71
|
+
div.img & {
|
72
|
+
border: $border;
|
73
|
+
float: right;
|
74
|
+
text-align: center;
|
75
|
+
color: black;
|
76
|
+
background: $main_bg;
|
77
|
+
padding: 0.2em;
|
78
|
+
img {
|
79
|
+
display: block;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
img {
|
85
|
+
vertical-align: middle;
|
86
|
+
}
|
87
|
+
|
88
|
+
hr {
|
89
|
+
background: $border_color;
|
90
|
+
border: none;
|
91
|
+
height: 1px;
|
92
|
+
}
|
93
|
+
|
94
|
+
#header, #sidebar, #menu, .editsection, .backref, .hidden, .noprint {
|
95
|
+
display: none !important;
|
96
|
+
}
|
97
|
+
|
98
|
+
#footer {
|
99
|
+
display: block;
|
100
|
+
margin-top: 1em;
|
101
|
+
}
|
102
|
+
|
103
|
+
.ref, .ref:visited, .ref:active, .ref:hover {
|
104
|
+
vertical-align: super;
|
105
|
+
font-size: 80%;
|
106
|
+
color: black;
|
107
|
+
}
|
108
|
+
|
109
|
+
.date {
|
110
|
+
.ago {
|
111
|
+
display: none !important;
|
112
|
+
}
|
113
|
+
.full {
|
114
|
+
display: inline !important;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
.toc {
|
119
|
+
padding: 0.5em 2em;
|
120
|
+
ul {
|
121
|
+
margin: 0;
|
122
|
+
}
|
123
|
+
.toc1 {
|
124
|
+
font-weight: bold;
|
125
|
+
.toc2 {
|
126
|
+
font-weight: normal;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|