diff options
Diffstat (limited to 'wiki/lib/styles')
-rw-r--r-- | wiki/lib/styles/all.css | 68 | ||||
-rw-r--r-- | wiki/lib/styles/feed.css | 63 | ||||
-rw-r--r-- | wiki/lib/styles/geshi.less | 144 | ||||
-rw-r--r-- | wiki/lib/styles/index.html | 11 | ||||
-rw-r--r-- | wiki/lib/styles/print.css | 15 | ||||
-rw-r--r-- | wiki/lib/styles/screen.css | 96 |
6 files changed, 397 insertions, 0 deletions
diff --git a/wiki/lib/styles/all.css b/wiki/lib/styles/all.css new file mode 100644 index 0000000..1ae9a02 --- /dev/null +++ b/wiki/lib/styles/all.css @@ -0,0 +1,68 @@ +/** + * Basic screen and print styles. These styles are needed for basic DokuWiki functions + * regardless of the used template. Templates can override them of course + */ + +div.clearer { + clear: both; + font-size: 0; + line-height: 0; + height: 0; + overflow: hidden; +} + +/* one of the many clearfix versions */ +.group { + display: inline-block; +} +.group { + display: block; +} +.group:before, +.group:after { + content: ""; + display: table; +} +.group:after { + clear: both; +} + +div.no { + display: inline; + margin: 0; + padding: 0; +} + +.hidden { + display: none; +} + +/* image alignment */ +.medialeft { + float: left; +} +.mediaright { + float: right; +} +.mediacenter { + display: block; + margin-left: auto; + margin-right: auto; +} + +/* table cell alignment */ +.leftalign { text-align: left; } +.centeralign { text-align: center; } +.rightalign { text-align: right; } +[dir=rtl] .leftalign { text-align: left; } +[dir=rtl] .centeralign { text-align: center; } +[dir=rtl] .rightalign { text-align: right; } + +/* underline */ +em.u { + font-style: normal; + text-decoration: underline; +} +em em.u { + font-style: italic; +} diff --git a/wiki/lib/styles/feed.css b/wiki/lib/styles/feed.css new file mode 100644 index 0000000..44b72d7 --- /dev/null +++ b/wiki/lib/styles/feed.css @@ -0,0 +1,63 @@ +rss channel, feed, RDF { + font: 80% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + background-color: __background__; + color: __text__; + margin: 0; + padding: 0; +} + + +link, description, language, managingEditor, copyright, lastBuildDate, date, +pubDate, generator, webMaster, ttl, docs, tagline, author, copyright, +generator, content, created, issued, modified, subject, id, format, creator, +category, image { + display: none; +} + +item link, entry id { + display: block; + color: __extern__; + text-decoration: underline; +} + +channel title, feed title { + display: block; + font-size: 200%; + font-weight: bolder; + color: __extern__; + text-decoration: none; + border-bottom: 20px solid __background_alt__; +} + +:root:before { + content: "This data file is meant to be read in a XML feed reader. See document source." +} + +item, entry { + display: block; + margin: 1em 180px 1em 1em; + border-bottom: 1px solid __border__; + padding-bottom: 1em; +} + +item title, entry title { + display: block; + background: transparent none; + border: 0px solid __background_other__; + padding: 0; + color: __text_alt__; + font-size: 1.4em; + font-weight: bold; +} + +item pubDate, entry modified, item date { + display: inline; + color: __text_neu__; + font: 1em trebuchet ms, arial, helvetica, sans-serif; +} + +item description, entry summary { + display: block; + clear: both; + padding-top: 0.5em; +} diff --git a/wiki/lib/styles/geshi.less b/wiki/lib/styles/geshi.less new file mode 100644 index 0000000..69749e8 --- /dev/null +++ b/wiki/lib/styles/geshi.less @@ -0,0 +1,144 @@ +/** + * GeSHi syntax highlighting styles + * + * Generated with https://www.dokuwiki.org/tips:geshi_style_builder + * Cleaned up with http://cleancss.com/ + * Manulally LESSified + */ +.code { + .co0 { + color: #666666; + font-style: italic; + } + + .co4 { + color: #cc0000; + font-style: italic; + } + + .es5 { + color: #006699; + font-weight: bold; + } + + .es6 { + color: #009933; + font-weight: bold; + } + + .kw2 { + color: #000000; + font-weight: bold; + } + + .kw5 { + color: #008000; + } + + .kw6 { + color: #f08; + font-weight: bold; + } + + .me0 { + color: #004000; + } + + .nu0 { + color: #cc66cc; + } + + .re0 { + color: #0000ff; + } + + .re3 { + color: #ff3333; + font-weight: bold; + } + + .re4 { + color: #009999; + } + + .re5 { + color: #660033; + } + + .re7 { + color: #991111; + } + + .re8 { + color: #00b000; + } + + .sc-2 { + color: #404040; + } + + .sy3 { + color: #000040; + } + + .br0, .sy0 { + color: #66cc66; + } + + .co1, .coMULTI, .sc-1 { + color: #808080; + font-style: italic; + } + + .co2, .sy1 { + color: #339933; + } + + .co3, .sy4 { + color: #008080; + } + + .es0, .es1, .esHARD { + color: #000099; + font-weight: bold; + } + + .es2, .es3, .es4 { + color: #660099; + font-weight: bold; + } + + .kw1, .kw8 { + color: #b1b100; + } + + .kw10, .kw11, .kw12, .kw9 { + color: #003399; + font-weight: bold; + } + + .kw13, .kw14, .kw15, .kw16, .me1, .me2 { + color: #006600; + } + + .kw3, .kw7, .sy2 { + color: #000066; + } + + .kw4, .re2 { + color: #993333; + } + + .re1, .st0, .st_h { + color: #ff0000; + } + + li, .li1 { + font-weight: normal; + vertical-align:top; + } + + .ln-xtra { + background-color: #ffc; + } +} diff --git a/wiki/lib/styles/index.html b/wiki/lib/styles/index.html new file mode 100644 index 0000000..977f90e --- /dev/null +++ b/wiki/lib/styles/index.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="refresh" content="0; URL=../../" /> +<meta name="robots" content="noindex" /> +<title>nothing here...</title> +</head> +<body> +<!-- this is just here to prevent directory browsing --> +</body> +</html> diff --git a/wiki/lib/styles/print.css b/wiki/lib/styles/print.css new file mode 100644 index 0000000..a5c39e8 --- /dev/null +++ b/wiki/lib/styles/print.css @@ -0,0 +1,15 @@ +/** + * Basic print styles. These styles are needed for basic DokuWiki functions + * regardless of the used template. Templates can override them of course + */ + +div.error, /* messages with msg() */ +div.info, +div.success, +div.notify, +.secedit, /* section edit button */ +.a11y, /* accessibly hidden text */ +.JSpopup, /* modal windows */ +#link__wiz { + display: none; +} diff --git a/wiki/lib/styles/screen.css b/wiki/lib/styles/screen.css new file mode 100644 index 0000000..bbc1e86 --- /dev/null +++ b/wiki/lib/styles/screen.css @@ -0,0 +1,96 @@ +/** + * Basic screen styles. These styles are needed for basic DokuWiki functions + * regardless of the used template. Templates can override them of course + */ + +/* messages with msg() */ +div.error, +div.info, +div.success, +div.notify { + color: #000; + background-repeat: no-repeat; + background-position: 8px 50%; + border: 1px solid; + font-size: 90%; + margin: 0 0 0.5em; + padding: 0.4em; + padding-left: 32px; + overflow: hidden; + border-radius: 5px; +} + +[dir=rtl] div.error, +[dir=rtl] div.info, +[dir=rtl] div.success, +[dir=rtl] div.notify { + background-position: 99% 50%; + padding-left: .4em; + padding-right: 32px; +} + +div.error { + background-color: #fcc; + background-image: url(../images/error.png); + border-color: #ebb; +} + +div.info { + background-color: #ccf; + background-image: url(../images/info.png); + border-color: #bbe; +} + +div.success { + background-color: #cfc; + background-image: url(../images/success.png); + border-color: #beb; +} + +div.notify { + background-color: #ffc; + background-image: url(../images/notify.png); + border-color: #eeb; +} + +/* modal windows */ +.JSpopup, +#link__wiz { + position: absolute; + background-color: #fff; + color: #000; + z-index: 20; + overflow: hidden; +} + +#link__wiz .ui-dialog-content { + padding-left: 0; + padding-right: 0; +} + +/* media manager popup toggle buttons */ + +#media__popup_content button.button { + border: 1px outset; +} + +#media__popup_content button.selected { + border-style: inset; +} + +/* hide something accessibly + (e.g. for screen readers or to keep access keys working) */ +.a11y { + position: absolute !important; + left: -99999em !important; + top: auto !important; + width: 1px !important; + height: 1px !important; + overflow: hidden !important; +} +[dir=rtl] .a11y { + left: auto !important; + right: -99999em !important; +} + +@import "geshi.less"; |