From e7b238d35eb23524a72d25495303db56095755da Mon Sep 17 00:00:00 2001 From: Saivann Date: Sat, 24 May 2014 16:07:41 -0400 Subject: [PATCH] Add "Additional Resources" subsection in devel-docs (thanks @cbeams @harding @instagibbs) --- _less/ie.css | 5 +++++ _less/screen.less | 33 +++++++++++++++++++++++++++++++++ _templates/development.html | 11 +++++------ _translations/en.yml | 8 ++------ en/developer-documentation.md | 9 +++++++++ 5 files changed, 54 insertions(+), 12 deletions(-) diff --git a/_less/ie.css b/_less/ie.css index 7ebcccce..2b34753d 100644 --- a/_less/ie.css +++ b/_less/ie.css @@ -190,6 +190,11 @@ body{ border-top:expression(this.parentNode.className=='resourcesorg'&&this.parentNode.getElementsByTagName('DIV')[0]!=this?'1px solid #e0e0e0':'0'); } +.resourcesmore div{ + zoom:1; + display:inline; +} + .docreference a{ zoom:1; display:inline; diff --git a/_less/screen.less b/_less/screen.less index 5058d91a..0358eafc 100644 --- a/_less/screen.less +++ b/_less/screen.less @@ -1018,6 +1018,29 @@ table td,table th{ bottom:-6px; } +.resourcesmore{ + text-align:center; + margin-top:40px; +} +.resourcesmore div{ + display:inline-block; + text-align:left; + padding:20px 40px; + border-top:1px solid #e0e0e0; + border-left:1px solid #e0e0e0; + border-right:1px solid #e0e0e0; +} +.resourcesmore div h2{ + text-align:center; + margin-bottom:25px; +} +.resourcesmore div p{ + font-size:115%; + margin:6px 0; + padding-left:24px; + background:url(/img/mini_ico_link.svg) no-repeat 0 4px; +} + .chatbox{ text-align:center; } @@ -1949,6 +1972,16 @@ h2 .rssicon{ .resourcesorg div{ border-top:0; } + .resourcesmore{ + margin-top:0; + } + .resourcesmore div{ + padding:0; + border:0; + } + .resourcesmore div h2{ + text-align:left; + } .download{ text-align:left; } diff --git a/_templates/development.html b/_templates/development.html index f670eb6d..399dbb3d 100755 --- a/_templates/development.html +++ b/_templates/development.html @@ -11,17 +11,16 @@ id: development

{% translate spec %}

{% translate spectxt %}

+{% case page.lang %} +{% when 'ar' or 'bg' or 'de' or 'es' or 'fa' or 'fr' or 'hu' or 'id' or 'it' or 'nl' or 'pl' or 'pt_BR' or 'ro' or 'ru' or 'sv' or 'tr' or 'zh_CN' or 'zh_TW' %} +{% else %} +{% endcase %}

{% translate coredev %}