From 8a3f07eedc503960668a587c75a9209cb5e1c939 Mon Sep 17 00:00:00 2001 From: danroth27 Date: Fri, 26 Jun 2015 12:15:12 -0700 Subject: [PATCH] Update styles to align with ASP.NET site --- aspnet/conf.py | 2 +- common/_static/custom.css | 151 +++++++++++++++++++++++++- common/_static/favicon.ico | Bin 0 -> 40510 bytes common/_static/nav-logo-aspnet.png | Bin 0 -> 2088 bytes common/_static/nav-logo-microsoft.png | Bin 0 -> 2155 bytes mvc/conf.py | 2 +- 6 files changed, 149 insertions(+), 6 deletions(-) create mode 100644 common/_static/favicon.ico create mode 100644 common/_static/nav-logo-aspnet.png create mode 100644 common/_static/nav-logo-microsoft.png diff --git a/aspnet/conf.py b/aspnet/conf.py index f4b47f1c99..07ecdc7328 100644 --- a/aspnet/conf.py +++ b/aspnet/conf.py @@ -147,7 +147,7 @@ def setup(app): # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -#html_favicon = None +html_favicon = 'favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/common/_static/custom.css b/common/_static/custom.css index b52741af86..4b15ea44d7 100644 --- a/common/_static/custom.css +++ b/common/_static/custom.css @@ -1,5 +1,148 @@ -code.std-keyword { - background-color: #EEEEEE; - color: black; - border-radius: 5px; +.wy-nav-content-wrap, .wy-nav-content { + background: #fff; +} + +body { + font-family: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif; + color: #222; + font-size: .813em; + line-height: 1.4em; +} + +h1, h2, h3, h4, h5, h6, legend { + margin-top: 0; + font-weight: 700; + font-family: 'Segoe UI Light','Segoe UI',Tahoma,Arial,Helvetica,sans-serif; +} + +.wy-nav-side { + background: #ddd; +} + +.wy-side-nav-search { + background: #f7f7f7; + padding: 1em; +} + +.wy-side-nav-search input[type=text] { + width: 100%; + border-radius: 0; + padding: 6px 12px; + border-color: #e2e2e2; + font-family: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif; + font-size: 14px; + color: #707070; +} + +.wy-side-nav-search .version { + display: none; +} + +.wy-side-nav-search > a, .wy-side-nav-search > a:hover +{ + text-indent: -9999px; + width: 100%; + background: url('nav-logo-microsoft.png') 1em no-repeat, + url('nav-logo-aspnet.png') right 1em center no-repeat; + padding: 7px 23px 7px 10px; +} + +.wy-side-nav-search > a:hover { + background-color: transparent; +} + +.wy-side-nav-search > a:before { + content: ""; +} + +.wy-menu-vertical a { + color: #222; + font: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif; + font-size: 14px; +} + +.wy-menu-vertical a:hover, +.wy-menu-vertical li.current a:hover, +.wy-menu-vertical a:hover span.toctree-expand, +.wy-menu-vertical li.toctree-l2 a:hover span.toctree-expand, +.wy-menu-vertical li.toctree-l1.current>a.current, +.wy-menu-vertical li.toctree-l2.current>a { + background-color: #0054a3; + color: #fff; +} + +.wy-menu-vertical li span.toctree-expand { + margin-left: -0.9em; + margin-right: 0.5em; +} + +.rst-content h1, +.rst-content h1 .headerlink +{ + font-size: 28px; + color: #222222; +} + +.rst-content h1 a.headerlink, +.rst-content h2 a.headerlink +{ + display: inline; +} + +.rst-content { + font-size: 16px; +} + +.rst-content .note { + background: #efefef; + font: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif; +} + +.rst-content .note .admonition-title { + background: #0054a3; + font-weight: normal; +} + +.rst-content .note .last { + font: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif; +} + +.rst-content .toctree-wrapper ul li a, +.rst-content .toctree-wrapper ul li a:hover, +.rst-content .toctree-wrapper ul li a:visited +{ + color: #267cb2; +} + +.rst-content .toctree-wrapper ul li a:hover, +.rst-content .toctree-wrapper ul li a:visited +{ + text-decoration: underline; +} + +.rst-content ul li.toctree-l1>a { + font-weight: bold; +} + +.rst-content ul li.toctree-l3 a { + color: #777777; +} + +.btn { + border-radius: 0; + border: none; + box-shadow: none; + font-family: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif; +} + +.btn-neutral, +.btn-neutral:visited +{ + background-color: #dddddd !important; + color: #222222 !important; +} + +.btn-neutral:hover { + background-color: #0054a3 !important; + color: #fff !important; } \ No newline at end of file diff --git a/common/_static/favicon.ico b/common/_static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..e16ee0ee6bca44070ef4b28e8861ed78d79e9186 GIT binary patch literal 40510 zcmeHQdvH`$n*T`v!()&Lh!P$hkO=Zh)J1lAh^_>gflb&ct7bBsFy-ud=-?(I&}O?Srx z+OD3yAAC9Y-0%GEc|X2$?(Gk_0|Q{O45ix_*ZKhe1z_kcc*%PkzvJgRJs(Wp6@xm`&pZdIQC+MLP-DP-$Dp@84;!?$ z8~-l@@|Hk&!~0GLJ}3`9FI>JhfDg*U{oUbjlK-p)3?^3HG%jZWphX< zsdlc~vV|OM=ViPO((P*JY^TqwHl^BYzzz3bHSS*t$bWuK`Bk%MS^x3J8`iIX`}LhW zKW2Hp{W|NK<^DV6vid^(EPLKp<*v(F+-vB+<#JZ#ltW%YR^yN&+d$nh{@f9`-fe~R z1Hk!VI$VmkjDzdX7Pv~Yp?y3X&SO@%zp%o4+zQ{9R?J-H!1w|Ulb_Zw=cgV#@q!0G zTpSka-3;T|_u=}D1&Z{SJ@QZpJB9|TWp{%?a|5xG0$#1^K z<*N=jolZDiF1X1)w;K&!58NIvJYF9f{eJix8`0d{jMkQBw70jTLhSl@s7kTV44`iT z(0?V6z7ZI>6&Q3J7~*0(mAf%la`B8T#ab!E+fst9A(sjv*GnL-Qi#8z zBmFam6F;8#9OCB@zl3-`%k={BYcn9f%7y%XDdf+Eko_fmW+~)yMJJx~WkFx!`x8Ha zc(&8ygNf(dDVDn-^Kv22E`|JiA>=nDkR7FvQx%Pu7oUo15&sNQt}r_>0wAkXZ_9KXi`ATN-QS+C&aHIzL@wAi2q;W_Y(gZ@r<*i zmiWuWyE@{ZiW&F;pYQ^o@C!cSk9@)*KH)1q!IdG2y!82CH;MWX&w^B&2JM5FuO5sCUtS}(#O3tV#=}DW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|M8~hr4$gbq5|)2gd687rc~iFi(*|`y`@e^0M6@w&_P+%6f7%Wg z+V;M+{(5H7$1b#QE^Tya?_9sHWS%-DJ8#G+_d9BY_RNL$%!T&OSq^RbSggk5 zb8M5egRXNm=SMY0sr$N&^F>fb*IxWbx1F}v#bA%n_PUgO)TFy_ZT1B2E4kJoQ}U7z zJwhAoLc8ih8|^&T+^e6bs52FHE=1e!23PJ0m2uA}C|h@CkDdGMihKNDU^->R|p4rRzRhm^f*!@ni98A^t8`{G=FsejdH&emN@;rP8$ zttbEVGz#J5ui@vq1=5CHZcFX=Z?buz^8$KAe z9q^rdL+!g;^!VrZy*U}N_9D&)_-X52nEzhmJ)bU=qDuazaMX7RW2fK4{L|ijO#Jo3FWYY%ennh-x6W~- zNUneOveX}0XZTP3LAHJElGS`aZgo|YymZPZt1260O?8W`;yZLNp7h$66>0Y6HceK% z>XYTKdS#haljSzA?%(j9CcmvcDo>TaFAI;oCwWKSm4!$D+wjv}aOB-!pOQ#x%@wcu zWo_lY7;A{w>%cp;Fj6c>{OzilL{Kq$X3cg*z1 Y8t0Z3x$Q5V*cEI1;y9JfL815j|5@#naR2}S literal 0 HcmV?d00001 diff --git a/common/_static/nav-logo-aspnet.png b/common/_static/nav-logo-aspnet.png new file mode 100644 index 0000000000000000000000000000000000000000..c627bf769d9d6f0c075dcfcf1f3e587560c2d92a GIT binary patch literal 2088 zcmaJ?dr%YS7S9cW37~*zv2dk(6DZG3vU#$RM*@M8@(xkJ$1O{;NPuKRvXI9GMJ`C0 zDnmgFTtz?x#yVhCuvA*LK2QAvrktB-Aco79ECBttHSTQecQtizu>C97scVsWd^fm)#d> zfJzxeOX9__VzgmshAPsmLle!ha)mid0V`=C!9buA-!4$b_RD(+;K{VnG zL#a{i?0@k2Q*u_SZ_E7j<6M591ge5(lG%UJGTVufKk6u~i_9K*6#x*$FS!!dmZ zrUk;nmZ}bTC#f__%%JzNl<7^@5>%(kLzNLaObsmYEL6QC1_6@B<+1qbAWxx42l>cS z{wM@OY(W|aQYZuj5wvBz@=yG|=~Lo_$V0mlju1r!2s@p_2GavjJ_tc57lai&6hxpj zJ{+KcIIvPcV-g`UEv@sXR$4hC`qQ#~I~auUcC=6pF;6;Ta6DS?E|N&Agi?uEZhSbI z92K3I;Mg4RU0(zi$AvXoySh@2NA9mVNZIU?d9~}#Mi*}eH%CnFiNl-AK0H?OqR85A zM75(3^2a@k%DO~$9{DoqEidci@r@lKyMWSfv)rqHbfBECkpA$50yze1R+tyz%2R>lc z4GwNuGb65e<#wJ{;RYt~8AGPqvkG~$O zjcz&D)zy`oBdYOdFpfIg=R2(?g?i$C8B!jf&Jv4WPxkcmFJccN2fL_XA^uP-PfUo^G`mLo21kR#%^*>$_=1z zU|`hcNXB(H`~BxjIdd(<$IsK++IsZP1`+<=XV+FgmDzkzUESFSJNnL8{ajU9nP~-= zto>Wv!oq^vlZLkL?(T%Sug(^a(1ug9v-|9?P^r{EhIT|m^la`mZWzQiS^r{qM0P2} zKTYi&Pd$~xvM>aW-Hd&)@xZa@SvxyB=Bxb6`qJ-HUq?ostf{S4J-u05JvKJBw*2tJ zbDLHvsVUdG&Yr#3BKuO-&V$MZ zuj9!!ULIx}8=H@d8uyJa{D4Zk+;&`Xb8NMmTkls$N?4?h?^mxQ9-M7!Zv2$wpfD>=^4O_tl@T;c2&I&q@vVO$o@Fj;;&mi~y`@#dE z=k`o~p%<+Y&-)fdJ=Wm^MWX)EYlUlvn9YT*UhQ3yBcDgTy1y5{^uZmknhOoL5}nM! z^uS)T-n&U|ZmX)Qx~|gltceo=!j38-6k0^6!?0 L$4c5mQ;YrwB4aX} literal 0 HcmV?d00001 diff --git a/common/_static/nav-logo-microsoft.png b/common/_static/nav-logo-microsoft.png new file mode 100644 index 0000000000000000000000000000000000000000..071247bfb8dc26c60a2c3bad965ba5dfe434ad71 GIT binary patch literal 2155 zcmaJ?eLPh88XqmOS)1NgUN&=QdL#47yqw9fc4jOg@)AnwIOhy!nK@%-WX8*_=zg>+ zl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^P&gwoE( zvZCV$daMq^kv-H`+?N}2Dz(po710L_D>PHCquAJ$lIripDca0zpEalZAN_6Wmn}Mq z4f=@M?~uRv2Yp)PdL45~+_|#-6&nWLnIXUXv)onXOByj^0M*kdIDP^)}sEiYk=MnBTTqZyJ!{Ld;BS|dzy4OmAfx4zB52QKN*< z1$subwP}-{?Cu(R*;e6mGt{Ml(A2V(NxiVLqhN8b&#}#`GiuiJFBP#&UDN#*)Ot8P zO_*-Je1wFp%YA;YGr97uPWJOqwcW|ShRM&yG*{vyw)|M{LvDl}Cp=0PkW;i-dvbt9kefv6fTHg{cSxZvqH(y9t1)5I&l#ZS< zYu9Yr82}$U|Dx|c)Fsc$PR}wB+RN`aS@gvY`fpDHn@{u3>aA5)({*ZbZM~(;bV3mN zWJ6xvscW66TjAGe$+3a2lJd*1Rd-!CKRHhJYkJX8lyj^^KqHUTOjZD2E-NfK*nem6 lU8BB^SGoG#o?gsoA%X5(q*xHZKQr_D_ZDpymVdn~?SC8Sg-HMa literal 0 HcmV?d00001 diff --git a/mvc/conf.py b/mvc/conf.py index bad66e3a61..a6ca0a3f7c 100644 --- a/mvc/conf.py +++ b/mvc/conf.py @@ -154,7 +154,7 @@ def setup(app): # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -#html_favicon = None +html_favicon = 'favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,