From 25b5912c20be400cf1218e362b0d19c6dfc3b6f3 Mon Sep 17 00:00:00 2001 From: gdetrez Date: Sun, 16 Apr 2006 21:35:35 +0200 Subject: [PATCH] import initial des fichiers cvs (theme crans www) darcs-hash:20060416193535-f46e9-8a0d9755c5bfe39ab133ba8bb8513091e3207da6.gz --- wiki/static/crans-www/css/common.css | 305 +++++++++++++++++++++++ wiki/static/crans-www/css/layout.css | 164 ++++++++++++ wiki/static/crans-www/css/print.css | 48 ++++ wiki/static/crans-www/css/projection.css | 90 +++++++ wiki/static/crans-www/css/rtl.css | 202 +++++++++++++++ wiki/static/crans-www/css/screen.css | 99 ++++++++ 6 files changed, 908 insertions(+) create mode 100644 wiki/static/crans-www/css/common.css create mode 100644 wiki/static/crans-www/css/layout.css create mode 100644 wiki/static/crans-www/css/print.css create mode 100644 wiki/static/crans-www/css/projection.css create mode 100644 wiki/static/crans-www/css/rtl.css create mode 100644 wiki/static/crans-www/css/screen.css diff --git a/wiki/static/crans-www/css/common.css b/wiki/static/crans-www/css/common.css new file mode 100644 index 00000000..33e1378b --- /dev/null +++ b/wiki/static/crans-www/css/common.css @@ -0,0 +1,305 @@ +/* common.css - MoinMoin Cr@ns style + + Le fichier gere l'affichage de tout ce qui concerne + le contenue wiki des pages. (= ce qui est modifiable + dans le wiki.) + + +*/ + +/* content styles */ + +html { + font-family: Arial, Lucida Grande, sans-serif; + font-size: 0.9em; + line-height: 1.25em; +} + +body { + color:#232323; +} +/* Links */ + +a {color: #361a31;} +a:visited {color: #361a31;} +a.nonexistent, a.badinterwiki {color: #484848;} + +/* Headings */ +h1 { + margin: -1.5em 300px 0 0; + padding: 0; + font-size: 2.2em; + font-weight: bold; + line-height: 1.2em; + /* on souligne les titres + (un underline ne souligne que les lettres + alors qu'on veut un grand trait + */ + border:2px solid #232323; + border-style:none none solid none; + /* les titre trop grands : */ + overflow:auto; + +} + +h1 a, h1 a:visited { + text-decoration:none; + color: #232323; +} + +h2, h3, h4, h5, h6 +{ + margin: 1em 0 0 0; + padding: 0; + line-height: 1.2em; +} + +h2 a, h3 a, h4 a, h5 a, h6 a +{ + text-decoration:none; +} +h2 { + font-size: 1.6em; +} + +h3 {font-size: 1.3em;} +h4 {font-size: 1.1em;} +h5, h6 {font-size: 1em;} + +li p { + margin: .25em 0; +} + +li.gap { + margin-top: 0.5em; +} + +dt { + margin-top: 0.5em; + font-weight: bold; +} + +dd { + margin-top: 0; + margin-bottom: 0; +} + +dd p { + margin: 0.25em 0; +} + +a, img, img.drawing { + border: 0; +} + +pre +{ + border: 1pt solid #AEBDCC; + background-color: #F3F5F7; + padding: 5pt; + font-family: courier, monospace; + white-space: pre; + /* begin css 3 or browser specific rules - do not remove! + see: http://forums.techguy.org/archive/index.php/t-249849.html */ +/* white-space: pre-wrap; + word-wrap: break-word; + white-space: -moz-pre-wrap; + white-space: -pre-wrap; + white-space: -o-pre-wrap; + /* end css 3 or browser specific rules */ +} + +table +{ + margin: 0.5em 0; + border-collapse: collapse; +} + +td +{ + padding: 0.25em; + border: 1pt solid #ADB9CC; +} + +td p { + margin: 0; + padding: 0; +} + +.footnotes div { + width: 5em; + border-top: 1pt solid gray; +} + +.footnotes ul { + padding: 0 2em; + margin: 0 0 1em; + list-style: none; +} + +.footnotes li { +} + +.info { + font-size: 0.85em; + color: gray; +} + +#pageinfo { + margin-top: 2em; +} + +.seperator { + color: gray; +} + +/* standard rule ---- */ +hr { + clear: both; + height: 1pt; + background-color: #232323; + border: 0; +} + +/* custom rules ----- to ---------- */ +.hr1 {height: 2pt;} +.hr2 {height: 3pt;} +.hr3 {height: 4pt;} +.hr4 {height: 5pt;} +.hr5 {height: 6pt;} +.hr6 {height: 7pt;} + +/* Replacement for html 3 u tag */ +.u {text-decoration: underline;} + +/* eye catchers */ +.warning +{ + color: red; +} + +.error +{ + color: red; +} + +strong.highlight +{ + background-color: #CCE0FF; + padding: 1pt; +} + + +/* Recent changes */ + +.rcrss { + float: right; + margin: 0; +} + +.recentchanges[dir="rtl"] .rcrss { + float: left; +} + +.recentchanges table { + clear: both; +} + +.recentchanges td { + vertical-align: top; + border: none; + border-bottom: 1pt solid #E6EAF0; + background: #F2F4F7; +} + +.rcdaybreak td { + background: #B8C5D9; + border: none; +} + +.rcdaybreak td a { + font-size: 0.88em; +} + +.rcicon1, .rcicon2 { + text-align: center; +} + +.rcpagelink { + width: 33%; +} + +.rctime { + font-size: 0.88em; + white-space: nowrap; +} + +.rceditor { + white-space: nowrap; + font-size: 0.88em; +} + +.rccomment { + width: 66%; + color: gray; + font-size: 0.88em; +} + + +/* User Preferences */ + +.userpref table, .userpref td { + border: none; +} + +/* CSS for new code_area markup used by Colorizer and ParserBase */ + +div.codearea { /* the div makes the border */ + margin: 0.5em 0; + padding: 0; + border: 1pt solid #AEBDCC; + background-color: #F3F5F7; + color: black; +} + +div.codearea pre { /* the pre has no border and is inside the div */ + margin: 0; + padding: 10pt; + border: none; +} + +a.codenumbers { /* format of the line numbering link */ + margin: 0 10pt; + font-size: 0.85em; + color: gray; +} + +/* format of certain syntax spans */ +div.codearea pre span.LineNumber {color: gray;} +div.codearea pre span.ID {color: #000000;} +div.codearea pre span.Operator {color: #0000C0;} +div.codearea pre span.Char {color: #004080;} +div.codearea pre span.Comment {color: #008000;} +div.codearea pre span.Number {color: #0080C0;} +div.codearea pre span.String {color: #004080;} +div.codearea pre span.SPChar {color: #0000C0;} +div.codearea pre span.ResWord {color: #A00000;} +div.codearea pre span.ConsWord {color: #008080; font-weight: bold;} +div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;} +div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;} +div.codearea pre span.Special {color: #0000ff;} +div.codearea pre span.Preprc {color: #803999;} + + +/* Search results */ + +.searchresults dt { + margin-top: 1em; + font-weight: normal; +} + +.searchresults dd { + font-size: 0.85em; +} + + diff --git a/wiki/static/crans-www/css/layout.css b/wiki/static/crans-www/css/layout.css new file mode 100644 index 00000000..65f78340 --- /dev/null +++ b/wiki/static/crans-www/css/layout.css @@ -0,0 +1,164 @@ +/* layout.css - MoinMoin Cr@ns style + + Le fichier gere la mise en page du site (fond, dispositions...) + +*/ + + +/**/ +body +{ + background:black url(../img/mainBg.png) no-repeat top left; + position:relative; + padding:20px 60px; + margin:0; +} + +#logo { + position:relative; + top:-40px; + left:-70px; +} + +#globalWrapper { + width:100%; + min-width:660px; + max-width:1000px; + background:#ffb849 url(../img/divBg.png) no-repeat left top; + margin:5px auto; + padding:0; + position:relative; /* pour que les elements inclus se referent + a lui et pas a body */ +} + +#page { + background:transparent url(../img/divCoin.png) no-repeat bottom right; + padding:20px 20px 20px 20px; +} + +/**/ +div#MenuNavigation +{ + color:Black; + font:15px "Trebuchet MS", helvetica, sans-serif ; + z-index:5; + position: absolute; /* positionnement */ + right: 0; + top: 1px; + padding:0; + margin:0; + width:300px; + border-bottom: 1px solid #232323; + border-left: 1px solid #232323; + background: url(../img/translucide.png) repeat; + text-align:left; +} + +div#MenuNavigation ul { + display:block; + margin:0 auto; + padding:7px 0; + list-style-type:none; +} + +div#MenuNavigation ul li { + list-style-type:none; + z-index:5; + margin:5px; +} + +div#MenuNavigation ul li a, div#MenuNavigation form#searchform h5 { + display:inline; + z-index:5; + margin:0; + padding:1px; + border-left:1px solid transparent; + color:black; + font: 15px "Trebuchet MS", helvetica, sans-serif ; + text-decoration:none; + font-weight:bold; +} +div#MenuNavigation ul li a:hover { + border-color:black; +} + +div#MenuNavigation form#searchform { + float:right; + position:absolute; + top:0; + right:7px; + margin:10px; + padding:0; + color:#232323; + width:165px; + display:block; +} + +div#MenuNavigation form#searchform div { + margin-left:15px; +} + +div#MenuNavigation form#searchform input { + max-width:150px; +} + +/* */ +/* style pour les liens de connexion/preferences.... en haut a droite */ +#p-personal { + float:right; + position:absolute; + top:0; + right:0; +} + +#p-personal, #p-personal ul { + padding:0; + margin:0; + height:0.8em; +} + +#p-personal li { + list-style-type:none; + float:right; + margin:0 3px; +} + +#p-personal li a { + display:block; + font-weight:normal; + font-size:0.8em; + color:#aaa; +} + + +/* */ +/* style pour les badges en bas de la page */ + +ul.supportBadges { + list-style-type:none; + padding:0; + max-width:1000px; + margin:10px auto; +} + +ul.supportBadges li { + float:left; +} + + +ul.supportBadges li a { + margin-right:5px; + opacity:0.5; +} + +ul.supportBadges li a:hover { + opacity:1;; +} + +ul.supportBadges li a img { + border:none; +} + +ul#timings { + clear:left; +} diff --git a/wiki/static/crans-www/css/print.css b/wiki/static/crans-www/css/print.css new file mode 100644 index 00000000..f64c8ba5 --- /dev/null +++ b/wiki/static/crans-www/css/print.css @@ -0,0 +1,48 @@ +/* print.css - MoinMoin Default Styles + +Copyright (c) 2001, 2002, 2003 by Juergen Hermann +*/ + +/* content styles */ + +html { + font-family: Times, serif; + font-size: 12pt; +} + +body { + /* Give about 3.4cm in Mozilla/Firefox and about 2.2cm in Safari */ + margin: 1.5cm; +} + +a, a:visited, a.nonexistent, a.badinterwiki { + color: black; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +pre { + font-size: 10pt; +} + +a.interwiki:before, a.badinterwiki:before { + content: attr(title) ":"; +} + +a.interwiki img, a.badinterwiki img { + display: none; +} + +.footnotes div { + width: 5em; + border-top: 1pt solid gray; +} + +/* user interface styles */ + +#header, #sidebar, #footer, #timings, #credits { + display: none; +} diff --git a/wiki/static/crans-www/css/projection.css b/wiki/static/crans-www/css/projection.css new file mode 100644 index 00000000..fa27a3e0 --- /dev/null +++ b/wiki/static/crans-www/css/projection.css @@ -0,0 +1,90 @@ +/* projection.css - MoinMoin Slide Styles + +Copyright (c) 2003 by Juergen Hermann +*/ +@import url("monobook.css"); +@import url("screen.css"); + +html { line-height: 1.8em; } + +#page { + margin: 0; + padding: 0; + border: none; + z-index: 1; + padding-bottom: 1em; +} + +#content { + padding: 1em; +} + +body, b, em, a, span, div, p, td { font-size: 22pt; } + +h1 { + font-size: 16pt; + margin: 0; + background: #81BBF2; +} + +h2 { + font-size: 32pt; + margin-top: 0.5em; + padding-left: 1em; + padding-right: 1em; + border-bottom: 4px solid blue; +} + +h3 { font-size: 22pt; } +h4 { font-size: 20pt; } +h5 { font-size: 18pt; } +h6 { font-size: 16pt; } +tt,pre { font-size: 18pt; } +sup, sub { font-size: 14pt; } + + +#pageinfo { + display: none; +} + +#timings{ + display: none; +} + +#navigation { + position: fixed; + bottom: 0; + left: 0; + right: 0; + padding: 0; + border-top: 1px dotted #808080; + color: #808080; + font-size: 10pt; + z-index: 2; + background: White; +} + +#navigation ul { + margin: 8pt; + text-align: center; +} + +#navigation a { + text-decoration: none; +} + +#navigation li { + display: inline; + text-align: center; + margin: 0 2pt; + padding: 0; +} + +#navigation li.current { + border: 1pt solid #808080; + padding: 2pt 4pt; +} + +.codenumbers{ + display: None; +} diff --git a/wiki/static/crans-www/css/rtl.css b/wiki/static/crans-www/css/rtl.css new file mode 100644 index 00000000..314534ca --- /dev/null +++ b/wiki/static/crans-www/css/rtl.css @@ -0,0 +1,202 @@ +/* +Right-to-left fixes for MonoBook. +Places sidebar on right, tweaks various alignment issues. + +Works mostly ok nicely on Safari 1.2.1; fine in Mozilla. + +Safari bugs (1.2.1): +* Tabs are still appearing in left-to-right order. (Try after localizing) + +Opera bugs (7.23 linux): +* Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other + +IE/mac bugs: +* The thing barfs on Hebrew and Arabic anyway, so no point testing. + +Missing features due to lack of support: +* external link icons, icon next to user name + +To test: +* Opera6 +* IE 5.0 +* etc + +*/ +body, +body * { + direction: rtl; +/* unicode-bidi: bidi-override;*/ + unicode-bidi: embed; +} +#column-content { + margin: 0 -12.2em 0 0; + float: left; +} +#column-content #page{ + margin-left: 0; + margin-right: 12.2em; + border-right: 1px solid #aaaaaa; + border-left: none; +} +html>body .portlet { + float: right; + clear: right; +} +/* recover IEMac (might be fine with the float, but usually it's close to IE */ +*>body .portlet { + float: none; + clear: none; +} +.pBody { + padding-right: 0.8em; + padding-left: 0.5em; +} + +/* Fix alignment */ +.documentByLine, +.portletDetails, +.portletMore, +#p-personal { + text-align: left; +} + +div div.thumbcaption { + text-align: right; +} + +div.magnify, +#div.townBox, +#p-logo { + left: auto; + right: 0; +} +#p-personal { + left: auto; + right: 0; +} + +#p-cactions { + left: auto; + right: 11.5em; + padding-left: 0; + padding-right: 1em; +} +#p-cactions li { + margin-left: 0.3em; + margin-right: 0; + float: right; +} +* html #p-cactions li a { + display: block; + padding-bottom: 0; +} +* html #p-cactions li a:hover { + padding-bottom: 0.2em; +} +/* offsets to distinguish the tab groups */ +li#ca-talk { + margin-right: auto; + margin-left: 1.6em; +} +li#ca-watch,li#ca-unwatch { + margin-right: 1.6em !important; +} + +/* Fix margins */ +/* top right bottom left */ + +ul { + margin-left: 0; + margin-right: 1.5em; +} +ol { + margin-left: 0; + margin-right: 2.4em; +} +dd { + margin-left: 0; + margin-right: 1.6em; +} +#contentSub { + margin-right: 1em; + margin-left: 0; +} +.tocindent { + margin-left: 0; + margin-right: 2em; +} +div.tright { + clear: none; +} +div.tleft { + clear: left; +} +div.floatright, table.floatright { + clear: none; +} +div.floatleft, table.floatleft { + clear: left; +} +div.townBox { + margin-left: 0; + margin-right: 1em; +} +div.townBox dl dd { + margin-left: 0; + margin-right: 1.1em; +} +#p-personal li { + margin-left: 0; + margin-right: 1em; +} + +li#ca-talk, +li#ca-watch { + margin-right: auto; + margin-left: 1.6em; +} + +#p-personal li { + float: left; +} +/* Fix link icons */ +li#pt-userpage, +li#pt-anonuserpage, +li#pt-login { + background: none; + padding-left: 0; +} +.external { + padding: 0 !important; + background: none !important; +} +#footer { + clear: both; +} +* html #footer { + margin-left: 0; + margin-right: 13.6em; + border-left: 0; + border-right: 1px solid #fabd23; +} +* html #column-content { + float: none; + margin-left: 0; + margin-right: 0; +} +* html #column-content #content { + margin-left: 0; + margin-top: 3em; +} +* html #column-one { right: 0; } + +/* js pref toc */ +#preftoc { float: right; } +/* workaround for moz bug, displayed bullets on left side */ +#preftoc li { list-style: none; } +#prefcontrol { float: right; } +fieldset.prefsection, +fieldset.operaprefsection { + margin-left: 0 !important; + margin-right: 15em; +} diff --git a/wiki/static/crans-www/css/screen.css b/wiki/static/crans-www/css/screen.css new file mode 100644 index 00000000..ea48af6b --- /dev/null +++ b/wiki/static/crans-www/css/screen.css @@ -0,0 +1,99 @@ +/* moin overrides to monobook styles */ + +/* moin uses #page rather than #content for the main page content. +setup #page as #content from the monobook.css and remove margins +and paddings from #content */ + +/* IMPORTS + /!\ les imports doivent imperativement se faire avant + toute autre regle css !!! +*/ + +@import url('/wiki/common/toc/toc.css'); +@import url('/wiki/common/boxes/boxes.css'); + +/**/ +/* on ne change que ce qu'on veut + changer +*/ + +#tableOfContents { + background:transparent url(../img/translucide2.png) repeat; + border:1px solid #232323; +} + +pre { + background:transparent url(../img/translucide2.png) repeat; +} + +/* */ +/* message set as usermessage from base css */ +#message { + background:transparent url(../img/translucide2.png) repeat; + border:1px solid #232323; + margin:0 auto; + padding:5px; +} + +.buttons { + text-align:right; +} + +/* diff styling copied from modern theme */ +/* +.diff { + width:99%; +} + +.diff-header { + font-weight: bold; +} + +.diff-title { + background-color: #C0C0C0; +} + +.diff-added { + background-color: #E0FFE0; + vertical-align: sub; +} + +.diff-removed { + background-color: #FFFFE0; + vertical-align: sub; +} + +.diff-added span { + background-color: #80FF80; +} + +.diff-removed span { + background-color: #FFFF80; +} + +/* copied from the modern theme */ + +#credits, #version, #timings{ + margin: 5px 10px; + padding: 0; + text-align: center; + font-size: 0.88em; + background-color:transparent; + color: #6C7680; + font-size: 12px; +} + +#credits li, #timings li { + display: inline; + padding: 0 2px; + margin: 0 4px; +} + +/* We use here dumb css1 ids because of IE suckiness */ +#editor-textarea, #editor-comment { + width: 100%; +} + +div.codearea { /* the div makes the border */ + border: 1px dashed #2f6fab; +}