From 0a262e61e734ed7e3bde9621c8bf391dcc649f9c Mon Sep 17 00:00:00 2001 From: "Casey W. Stark" Date: Sat, 22 Jan 2011 16:53:23 -0800 Subject: [PATCH] Fixed all the inconsistencies (hopefully) between mathjax.org and mathjax-site docs CSS. Also deleted the logo and page.html template from docs, as we don't need them here anymore --- docs/source/_static/logo.gif | Bin 3060 -> 0 bytes docs/source/mjtheme/layout.html | 96 +++++++++------ docs/source/mjtheme/page.html | 14 --- docs/source/mjtheme/static/mj.css_t | 177 ++++++++++++++++++++-------- 4 files changed, 192 insertions(+), 95 deletions(-) delete mode 100644 docs/source/_static/logo.gif delete mode 100644 docs/source/mjtheme/page.html diff --git a/docs/source/_static/logo.gif b/docs/source/_static/logo.gif deleted file mode 100644 index bba183d2575ed29fd00836eefb83293c0c50cf59..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3060 zcmV)IupL@+Qgr`NRb`18-t&zaDu-{0Tj^5%TRk3y+kw%);ykB?urcCW9m zw6U>paBv_XAW%?Hk&TQU8yZAHLPtbG4h{_k1q5+#Zxa#{CL|*(DJOq>dOkZjT3J~N z2?;qiH6b7$3kwS{Ei5oDE>BHO$;iiugo7LBGBCEZvk3_aI5#(kg@x16 z(Qj;PXJlikrlzc_sUjgE7Zw&zO-xo&P#YQ=UtC-`HZ=$c2tPhOTUc0`mzHg6XgHX9ooLqR}jXJ&|phc-1eRZ>z> zPfi&b7&J05l#-F$+uINi4|jEQe0q6lWn>i<6+}Zqe0g{vA0L5!eMdz_P)<#TgMw~s zYgJWLi-?C97Z!7GZgz8WBqJjL000)1IRF3u000000000000000A^8LW004UcEC2ui z01*K=000O7fO~?2goTEOh>41ejE#prN3gq@|{(sHv)l z0eY^lu&=ALw6(UkoUO6Ddbqy7iM+zD4vrAR!U4dUy2!n>1bNca)Y1dXwa&Z^jSSkc z%Gj38$hFbc=-1+_-?0;o3hl4q>yzZe=IH75sS)z88W=VB=ZYS`1`{*{Ty#%ZK7G{G z@iWy>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EbcV8l=I9 zH!vcW^5Dlm0!|QQbjsa$aj(A(Gj>1rt;kD;=TB5|VQm5GbfC_E%0r3{xKJ^d&n*6~5gyBAx_H zW<90Rhy)}-1yYy>3UY9Q7i4n<+R1~_9Dz~OLc)j*CmNY%3=^1{Kgff2w2PR;sO8=z)e;3SFcJ^u!a!pBIubUL9iAq z9vDCeVwi_SWWWR_kj6)S$S_HWtdhg1r65|ml)DN;g|%E~F9C~)AI@Oj-%ho)Y0SavVMOM#?~1@pDSrA0=|P6yqC_81Wo&?q`Cgf6hK zn7@JYnh8pr2O03T8VJ|`4}$6d<^av;__brR zf*>!;u&Rv<3=0TPd$2r}Gf`Lnx(84n3V{ibu0EKF1s>e0W^1m-5$@1x zS06zd=3?-BU5t$OTJ4odYX@k99q99Ft!?X{pUUTj+D&a;h3( z_bXng>oZT9>|ibW%&<*BupJ)if=GbkQ5~*CNShjEk~|`4zL6z1G`;`O09_P8`>`+g z$F>CPpYG2JKr z%WB{EXr?H^pA@u|OHAKj=>S^peZWDOS~4sM+afGoEUjMu|2tL*=k$NqhiiKf0Wn1+ z8#4&?L4fxWfPxSw5f(dkAt)#z5u%v%0sA!x3t$68 zpbz232toFOMo5EJc!gF7F2Vr`5&&u*Fl$&ChGKYy6p#TQAX@|ghLNx&7Gem20029H Cz!TyC diff --git a/docs/source/mjtheme/layout.html b/docs/source/mjtheme/layout.html index 95a3c72c0..df920da66 100644 --- a/docs/source/mjtheme/layout.html +++ b/docs/source/mjtheme/layout.html @@ -157,42 +157,70 @@
Beautiful math in all browsers
-
- {% endif %} diff --git a/docs/source/mjtheme/page.html b/docs/source/mjtheme/page.html deleted file mode 100644 index 33c41b808..000000000 --- a/docs/source/mjtheme/page.html +++ /dev/null @@ -1,14 +0,0 @@ -{# - basic/page.html - ~~~~~~~~~~~~~~~ - - Master template for simple pages. - - :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. - :license: BSD, see LICENSE for details. -#} -{% extends "layout.html" %} - -{% block body %} - {{ body }} -{% endblock %} diff --git a/docs/source/mjtheme/static/mj.css_t b/docs/source/mjtheme/static/mj.css_t index 45bd439a3..4b0d0dfe8 100644 --- a/docs/source/mjtheme/static/mj.css_t +++ b/docs/source/mjtheme/static/mj.css_t @@ -19,61 +19,43 @@ body { width: 980px; } -#header { - background: #ffffff; - padding: 20px; - height: 95px; -} -#branding { -} -#site-title { - float: left; - margin: 0; - width: 300px; -} -#branding img { +/* deal with sphinx css not reseting anything */ + +.widget_search fieldset { border: 0; + margin: 0; + padding: 0; } -#site-description { - margin: 36px 0 0; - font-size: 18px; line-height: 18px; - float: left; - width: auto; - font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; - font-style: normal; - font-weight: bold; - letter-spacing: -1px; - color: #a5a5a5; +.icon-list { + margin: 0; padding: 0; } -#access { - margin: 10px 0; -} -#access ul { padding: 0; } -#access li { min-width: 20px; } -#access a { color: #dddddd; font-weight: bold; } -#access a:hover, #access ul li.current_page_item > a, #access ul li.current-menu-ancestor > a, -#access ul li.current-menu-item > a, #access ul li.current-menu-parent > a { - color: #ffffff; - font-weight: bold; -} -#access li:hover > a, #access ul ul :hover > a { - color:#fff; - background:#444; -} -#access ul ul a { - background:#444; +/* from wp twentyten */ + +#branding img { + display: block; } -#menu-item-1167 { - float: right !important; - background: #E18B16 !important; +.widget_search label { + display: none; } -#menu-item-1167:hover > a { - background: #ef9d32 !important; +.screen-reader-text { + left: -9000px; + position: absolute; } -#menu-item-1167 a, #menu-item-1167 a:visited { - color: #ffffff !important; +.widget_search input { + color: #666; + font-size: 12px; + line-height: 18px; +} + +.widget_search input[type="text"] { + -webkit-box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 1px inset; + -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1) inset; + box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1) inset; + background: #F9F9F9; + border: 1px solid #CCC; + padding: 2px; } #access { @@ -156,6 +138,107 @@ div.menu li { color:#fff; } +/* HEADER */ + +#header { + background: #ffffff; + padding: 20px; + height: 95px; +} +#branding { +} +#site-title { + float: left; + margin: 0; + width: 300px; +} +#branding img { + border: 0; +} +#site-description { + margin: 36px 0 0; + font-size: 18px; line-height: 18px; + float: left; + width: auto; + font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; + font-style: normal; + font-weight: bold; + letter-spacing: -1px; + color: #a5a5a5; +} + +#header-box-right { + margin: 10px 0 0; + float: right; +} +.icon-list { + display: block; + margin: 0 0 0 93px; + list-style: none; +} +.icon-list li { + float: left; + display: inline; + margin: 0 8px 5px 0; +} +.icon-list img { border: 0; } +.widget_search { + clear: both; + margin: 0; +} +.widget_search #s { + width: 150px; + height: 16px; + float: left; +} +.widget_search input[type="text"] { + border: 2px solid #b5bfb8; + background-color: #eaeaea; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; +} +.widget_search input[type="text"]:focus { + outline-width: 0; + border-color: #169538; +} +.search-button { + float: left; + display: inline; + margin: 2px 0 0 5px; +} + +/* NAVIGATION */ + +#access { + margin: 20px 0px 0px; +} +#access ul { padding: 0; } +#access li { min-width: 20px; } +#access a { color: #dddddd; font-weight: bold; } +#access a:hover, #access ul li.current_page_item > a, #access ul li.current-menu-ancestor > a, +#access ul li.current-menu-item > a, #access ul li.current-menu-parent > a { + color: #ffffff; + font-weight: bold; +} +#access li:hover > a, #access ul ul :hover > a { + color:#fff; + background:#444; +} +#access ul ul a { + background:#444; +} + +#menu-item-1167 { + float: right !important; + background: #E18B16 !important; +} +#menu-item-1167:hover > a { + background: #ef9d32 !important; +} +#menu-item-1167 a, #menu-item-1167 a:visited { + color: #ffffff !important; +} + /* modify layout to match mathjax site */ .related, .document {