commit 07648776f7cb42d88e38e5553573e77d94dc7b20 Author: Olivier DOSSMANN Date: Thu Jan 21 20:45:27 2016 +0100 [ADD] Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..b26623b --- /dev/null +++ b/config.toml @@ -0,0 +1,10 @@ +languageCode = "fr" +title = "Portail Dofus" +disableRSS = true +disableSitemap = true +buildDrafts = true +uglyURLs = true + +[params] + style = "black.css" + default_img = "dofus.png" diff --git a/content/apps/communautes.md b/content/apps/communautes.md new file mode 100644 index 0000000..e925d2d --- /dev/null +++ b/content/apps/communautes.md @@ -0,0 +1,11 @@ ++++ +date = "2016-01-21T20:30:29+01:00" +draft = false +title = "Communautés" + ++++ + +Quelques regroupements de personnes sur Dofus : + + * {{< button title="Fabuleux" href="http://fabuleux.depotoi.re/" src="fabuleux_logo.png" >}} + * {{< button title="Nuoc Mam" href="http://nuocmam.soforums.com/" src="nuoc_logo.png" >}} diff --git a/content/apps/utiles.md b/content/apps/utiles.md new file mode 100644 index 0000000..169b97a --- /dev/null +++ b/content/apps/utiles.md @@ -0,0 +1,16 @@ ++++ +date = "2016-01-21T20:40:11+01:00" +draft = false +title = "Liens utiles" + ++++ + +Applications qui facilitent l'utilisation de certains éléments du jeu : + + * {{< button title="Almanax Dofus" href="http://almanax.depotoi.re/" >}} + * {{< button title="Lighty Dmap" href="http://dmap.depotoi.re/" >}} + * {{< button title="Dofus Ocre" href="http://archimonstres.dragodindons.com/" >}} + * {{< button title="Liste des âmes" href="http://www.the-legandary-darkness.com/pages/les-quetes/otomai/la-quete-de-l-eternelle-moisson-dofus-ocre/liste-des-monstres-de-la-quetes-ocre-et-par-etape.html" >}} + * {{< button title="Rester hype" href="http://forum.dofus.com/fr/flag-ankatracker" >}} + * {{< button title="Tuto Quêtes" href="http://www.dofuspourlesnoobs.com/" >}} + * {{< button title="Infos persos/guilde/artisan" href="http://www.dofus.com/fr/mmorpg/communaute/annuaires/pages-persos" >}} diff --git a/layouts/apps/summary.html b/layouts/apps/summary.html new file mode 100644 index 0000000..e87ca01 --- /dev/null +++ b/layouts/apps/summary.html @@ -0,0 +1,5 @@ +

{{ .Title }}

+ +{{ .Content }} + +
 
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..a041a31 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,34 @@ + + + + {{ .Site.Title }} + + + + + + +
+

{{ .Site.Title }}

+
+ + +
+ + + {{ partial "introduction.html" }} + + {{ range .Data.Pages.ByTitle }} + {{ .Render "summary" }} + {{ end }} + +
+ + + + + diff --git a/layouts/partials/introduction.html b/layouts/partials/introduction.html new file mode 100644 index 0000000..1a33de5 --- /dev/null +++ b/layouts/partials/introduction.html @@ -0,0 +1,3 @@ +

Ce portail Dofus permet aux joueurs de découvrir quelques outils utiles afin d'améliorer leur appréciation du jeu.

+ +

Il vous est offert gracieusement par la Communauté des Conteurs.

diff --git a/layouts/shortcodes/button.html b/layouts/shortcodes/button.html new file mode 100644 index 0000000..da262d1 --- /dev/null +++ b/layouts/shortcodes/button.html @@ -0,0 +1,7 @@ + + + {{ .Get "title" }}
+ + {{ .Get +
+
diff --git a/static/css/black.css b/static/css/black.css new file mode 100644 index 0000000..adb8af8 --- /dev/null +++ b/static/css/black.css @@ -0,0 +1,76 @@ +/* +Theme: PorteAil - Black appearance +Version: 0.1 +Author: Olivier DOSSMANN +Author URI: http://olivier.dossmann.net +Project: PorteAil +Project URI: http://porteail.depotoi.re + */ +html, body { +background-color: #ffffff; +color: #000000; +} + +/* BASE */ +a:link { +color: #6276a4; +} + +a:visited { +color: #6276a4; +} + +a:hover { +background-color: #6276a4; +color: #ffffff; +} + +h2 { +color: #000000; +} + +h3 { +color: #000000; +} + +/* HEADER */ +header { +background-color: #000000; +color: #ffffff; +} + +/* CONTENT */ +/* element overview */ +#corps a.cadre:hover { +background-color: #000000; +color: #ffffff; +} + +/* MENU */ +nav#cartable { +background-color: #000000; +color: #ffffff; +} + +nav#cartable h3 { +color: #ffffff; +border-color: #ffffff; +} + +nav#cartable a:link { +color: #aaaabb; +} + +nav#cartable a:visited { +color: #aaaabb; +} + +nav#cartable a:hover { +background-color: #aaaabb; +color: #223355; +} + +/* FOOTER */ +footer { +color: #000000; +} diff --git a/static/css/blue.css b/static/css/blue.css new file mode 100644 index 0000000..c35f7ab --- /dev/null +++ b/static/css/blue.css @@ -0,0 +1,75 @@ +/* +Theme: PorteAil - Blue appearance +Version: 0.1 +Author: Olivier DOSSMANN +Author URI: http://olivier.dossmann.net +Project: PorteAil +Project URI: http://porteail.depotoi.re + */ +html, body { +background-color: #e9ecf4; +color: #223355; +} + +/* BASE */ +a:link { +color: #6276a4; +} + +a:visited { +color: #6276a4; +} + +a:hover { +background-color: #6276a4; +color: #ffffff; +} + +h2 { +color: #555577; +} + +h3 { +color: #555577; +} + +/* HEADER */ +header { +background-color: #223355; +color: #ffffff; +} +/* CONTENT */ +/* element overview */ +#corps a.cadre:hover { +background-color: #223355; +color: #ffffff; +} + +/* MENU */ +nav#cartable { +background-color: #223355; +color: #ffffff; +} + +nav#cartable h3 { +color: #ffffff; +border-color: #ffffff; +} + +nav#cartable a:link { +color: #aaaabb; +} + +nav#cartable a:visited { +color: #aaaabb; +} + +nav#cartable a:hover { +background-color: #aaaabb; +color: #223355; +} + +/* FOOTER */ +footer { +color: #000000; +} diff --git a/static/css/with_menu.css b/static/css/with_menu.css new file mode 100644 index 0000000..9dcdb34 --- /dev/null +++ b/static/css/with_menu.css @@ -0,0 +1,191 @@ +/* +Theme: PorteAil - with menu +Version: 0.1 +Author: Olivier DOSSMANN +Author URI: http://olivier.dossmann.net +Project: PorteAil +Project URI: http://porteail.depotoi.re + */ +html, body { +height: 100%; +width: 100%; +min-width: 300px; +margin: 0; +padding: 0; +} + +/* BASE */ +a:link { +text-decoration: underline; +} + +a:visited { +} + +a:hover { +} + +p { +padding: 5px; +} + +h2 { +width: 94%; +padding-left: 2%; +margin-left: 1%; +border-bottom: solid; +border-left: solid; +-moz-border-radius: 10px; +border-radius: 10px; +-webkit-border-radius: 10px; +} + +h3 { +width: 92%; +padding-left: 3%; +margin-left: 1%; +border-bottom: solid; +border-left: solid; +-moz-border-radius: 12px; +border-radius: 12px; +-webkit-border-radius: 12px; +} + +/* HEADER */ +header { +position: relative; +margin: 0; +padding: 0; +height: 50px; +width: 78%; +top: 0; +left: 1%; +text-align: center; +font-size: 120%; +line-height: 15%; +-moz-border-radius-bottomright: 25px; +border-bottom-left-radius: 25px; +-webkit-border-radius-bottomright: 25px; +-moz-border-radius-bottomleft: 25px; +border-bottom-right-radius: 25px; +-webkit-border-radius-bottomleft: 25px; +} + +header h1 { +margin: 0; +padding: 0; +height: 50px; +line-height: 50px; +} + +/* CONTENT */ +#corps { +position: relative; +width: 78%; +left: 2%; +} + +/* CATEGORIES */ +#corps ul { +min-height: 10em; +list-style-type: none; +padding: 0 5px; +text-align: center; +} + +#corps ul li { +display: inline-block; +} + +/* ELEMENT */ +#corps a.cadre { +height: 9em; +width: 11em; +margin: 0 5px 10px 5px; +float: left; +border: thin solid #000000; +-moz-border-radius: 15px; +border-radius: 15px; +-webkit-border-radius: 15px; +-moz-box-shadow: 1px 1px 8px #000000; +box-shadow: 1px 1px 8px #000000; +-webkit-box-shadow: 1px 1px 8px #000000; +overflow: hidden; +text-align: center; +text-decoration: none; +} + +#corps a.cadre:hover { +} + +#corps a.cadre .element { +display: block; +height: 9em; +margin-top: 1em; +} + +#corps a.cadre .element img { +margin-top: 2em; +margin-right: auto; +margin-left: auto; +border: 0; +} + +/* WHITESPACE after category's end */ +#corps .espace { +clear: both; +} + +/* MENU */ +nav#cartable { +position: absolute; +height: auto; +width: 20%; +top: 90px; +right: 0; +-moz-border-radius-topleft: 25px; +border-top-left-radius: 25px; +-webkit-border-radius-topleft: 25px; +-moz-border-radius-bottomleft: 25px; +border-bottom-left-radius: 25px; +-webkit-border-radius-bottomleft: 25px; +overflow: hidden; +} + +nav#cartable h3 { +width: 90%; +text-align: center; +border-bottom: solid; +border-left: solid; +-moz-border-radius: 12px; +border-radius: 12px; +-webkit-border-radius: 12px; +} + +nav#cartable a:link { +text-decoration: underline; +} + +nav#cartable a:visited { +} + +nav#cartable a:hover { +} + +/* FOOTER */ +footer { +position: relative; +top: 5px; +right: 5px; +height: 20px; +width: 98%; +} + +footer p { +margin: 0; +padding: 0; +font-size: 10px; +text-align: center; +} + +/* MISCELLANEOUS */ diff --git a/static/css/without_menu.css b/static/css/without_menu.css new file mode 100644 index 0000000..5460e9d --- /dev/null +++ b/static/css/without_menu.css @@ -0,0 +1,191 @@ +/* +Theme: PorteAil - without menu +Version: 0.1 +Author: Olivier DOSSMANN +Author URI: http://olivier.dossmann.net +Project: PorteAil +Project URI: http://porteail.depotoi.re + */ +html, body { +height: 100%; +width: 80%; +min-width: 300px; +margin: 0 10%; +padding: 0; +} + +/* BASE */ +a:link { +text-decoration: underline; +} + +a:visited { +} + +a:hover { +} + +p { +padding: 5px; +} + +h2 { +width: 94%; +padding-left: 2%; +margin-left: 1%; +border-bottom: solid; +border-left: solid; +-moz-border-radius: 10px; +border-radius: 10px; +-webkit-border-radius: 10px; +} + +h3 { +width: 92%; +padding-left: 3%; +margin-left: 1%; +border-bottom: solid; +border-left: solid; +-moz-border-radius: 12px; +border-radius: 12px; +-webkit-border-radius: 12px; +} + +/* HEADER */ +header { +position: relative; +margin: 0 auto; +padding: 0; +height: 50px; +width: 78%; +top: 0; +left: 1%; +text-align: center; +font-size: 120%; +line-height: 15%; +-moz-border-radius-bottomright: 25px; +border-bottom-left-radius: 25px; +-webkit-border-radius-bottomright: 25px; +-moz-border-radius-bottomleft: 25px; +border-bottom-right-radius: 25px; +-webkit-border-radius-bottomleft: 25px; +} + +header h1 { +margin: 0; +padding: 0; +height: 50px; +line-height: 50px; +} + +/* CONTENT */ +#corps { +position: relative; +width: 98%; +left: 2%; +} + +/* CATEGORIES*/ +#corps ul { +min-height: 10em; +list-style-type: none; +padding: 0 5px; +text-align: center; +} + +#corps ul li { +display: inline-block; +} + +/* ELEMENT */ +#corps a.cadre { +height: 9em; +width: 11em; +margin: 0 5px 10px 5px; +float: left; +border: thin solid #000000; +-moz-border-radius: 15px; +border-radius: 15px; +-webkit-border-radius: 15px; +-moz-box-shadow: 1px 1px 8px #000000; +box-shadow: 1px 1px 8px #000000; +-webkit-box-shadow: 1px 1px 8px #000000; +overflow: hidden; +text-align: center; +text-decoration: none; +} + +#corps a.cadre:hover { +} + +#corps a.cadre .element { +display: block; +height: 9em; +margin-top: 1em; +} + +#corps a.cadre .element img { +margin-top: 2em; +margin-right: auto; +margin-left: auto; +border: 0; +} + +/* WHITESPACE at category's end */ +#corps .espace { +clear: both; +} + +/* MENU */ +nav#cartable { +position: absolute; +height: auto; +width: 20%; +top: 90px; +right: 0; +-moz-border-radius-topleft: 25px; +border-top-left-radius: 25px; +-webkit-border-radius-topleft: 25px; +-moz-border-radius-bottomleft: 25px; +border-bottom-left-radius: 25px; +-webkit-border-radius-bottomleft: 25px; +overflow: hidden; +} + +nav#cartable h3 { +width: 90%; +text-align: center; +border-bottom: solid; +border-left: solid; +-moz-border-radius: 12px; +border-radius: 12px; +-webkit-border-radius: 12px; +} + +nav#cartable a:link { +text-decoration: underline; +} + +nav#cartable a:visited { +} + +nav#cartable a:hover { +} + +/* FOOTER */ +footer { +position: relative; +top: 5px; +right: 5px; +height: 20px; +width: 98%; +} + +footer p { +margin: 0; +padding: 0; +font-size: 10px; +text-align: center; +} + +/* MISCELLANEOUS */ diff --git a/static/html5.js b/static/html5.js new file mode 100644 index 0000000..6dd03a4 --- /dev/null +++ b/static/html5.js @@ -0,0 +1,3 @@ +// html5shiv MIT @rem remysharp.com/html5-enabling-script +// iepp v1.6.2 MIT @jon_neal iecss.com/print-protector +/*@cc_on(function(a,b){function r(a){var b=-1;while(++b";return a.childNodes.length!==1}())){a.iepp=a.iepp||{};var c=a.iepp,d=c.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",e=d.split("|"),f=e.length,g=new RegExp("(^|\\s)("+d+")","gi"),h=new RegExp("<(/*)("+d+")","gi"),i=/^\s*[\{\}]\s*$/,j=new RegExp("(^|[^\\n]*?\\s)("+d+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),k=b.createDocumentFragment(),l=b.documentElement,m=l.firstChild,n=b.createElement("body"),o=b.createElement("style"),p=/print|all/,q;c.getCSS=function(a,b){if(a+""===undefined)return"";var d=-1,e=a.length,f,g=[];while(++d