From ba233a49e66a99626ca2a2f19d804e1bdd130977 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 17 Apr 2012 15:39:20 +0200 Subject: [PATCH 1/1] use regular png images for navigation --- apps/wolnelektury_core/static/css/base.css | 15 +------ .../wolnelektury_core/static/css/book_box.css | 9 ++-- apps/wolnelektury_core/static/css/cite.css | 2 +- apps/wolnelektury_core/static/css/header.css | 3 +- .../static/css/main_page.css | 5 +-- .../static/css/picture_box.css | 3 +- .../static/img/arrow-gray.png | Bin 0 -> 351 bytes .../static/img/arrow-gray.svg | 40 +++++++++++++++++ .../static/img/arrow-teal.png | Bin 0 -> 370 bytes .../static/img/arrow-teal.svg | 41 ++++++++++++++++++ .../wolnelektury_core/static/img/download.png | Bin 0 -> 632 bytes .../wolnelektury_core/static/img/download.svg | 41 ++++++++++++++++++ apps/wolnelektury_core/static/img/listen.png | Bin 0 -> 666 bytes apps/wolnelektury_core/static/img/listen.svg | 41 ++++++++++++++++++ apps/wolnelektury_core/static/img/read.png | Bin 0 -> 773 bytes apps/wolnelektury_core/static/img/read.svg | 41 ++++++++++++++++++ .../wolnelektury_core/static/img/social/f.png | Bin 0 -> 701 bytes .../wolnelektury_core/static/img/social/f.svg | 36 +++++++++++++++ .../static/img/social/facebook.png | Bin 1074 -> 0 bytes .../static/img/social/gplus.png | Bin 0 -> 851 bytes .../static/img/social/gplus.svg | 36 +++++++++++++++ .../static/img/social/naszaklasa.png | Bin 1288 -> 0 bytes .../static/img/social/nk.png | Bin 0 -> 761 bytes .../static/img/social/nk.svg | 36 +++++++++++++++ .../static/img/social/twitter.png | Bin 1196 -> 0 bytes .../templates/main_page.html | 9 +++- 26 files changed, 327 insertions(+), 31 deletions(-) create mode 100644 apps/wolnelektury_core/static/img/arrow-gray.png create mode 100644 apps/wolnelektury_core/static/img/arrow-gray.svg create mode 100644 apps/wolnelektury_core/static/img/arrow-teal.png create mode 100644 apps/wolnelektury_core/static/img/arrow-teal.svg create mode 100644 apps/wolnelektury_core/static/img/download.png create mode 100644 apps/wolnelektury_core/static/img/download.svg create mode 100644 apps/wolnelektury_core/static/img/listen.png create mode 100644 apps/wolnelektury_core/static/img/listen.svg create mode 100644 apps/wolnelektury_core/static/img/read.png create mode 100644 apps/wolnelektury_core/static/img/read.svg create mode 100644 apps/wolnelektury_core/static/img/social/f.png create mode 100644 apps/wolnelektury_core/static/img/social/f.svg delete mode 100644 apps/wolnelektury_core/static/img/social/facebook.png create mode 100644 apps/wolnelektury_core/static/img/social/gplus.png create mode 100644 apps/wolnelektury_core/static/img/social/gplus.svg delete mode 100644 apps/wolnelektury_core/static/img/social/naszaklasa.png create mode 100644 apps/wolnelektury_core/static/img/social/nk.png create mode 100644 apps/wolnelektury_core/static/img/social/nk.svg delete mode 100644 apps/wolnelektury_core/static/img/social/twitter.png diff --git a/apps/wolnelektury_core/static/css/base.css b/apps/wolnelektury_core/static/css/base.css index 64c5de1de..5c29ef046 100755 --- a/apps/wolnelektury_core/static/css/base.css +++ b/apps/wolnelektury_core/static/css/base.css @@ -1,15 +1,3 @@ -/* Logo font */ -@font-face { - /* IE version */ - font-family: WL-Nav; - src: url(/static/fonts/WL-Nav.eot); -} -@font-face { - font-family: WL-Nav; - src: url(/static/fonts/WL-Nav.ttf) format("truetype"); -} - - html { margin: 0; padding: 0; @@ -131,8 +119,7 @@ h2 { .theme-list-link:after { padding-left: 1em; - content: "↓"; - font-family: WL-Nav; + content: url("/static/img/arrow-teal.png"); vertical-align: middle; } .theme-list-link { diff --git a/apps/wolnelektury_core/static/css/book_box.css b/apps/wolnelektury_core/static/css/book_box.css index 8dee81384..e23847fb1 100755 --- a/apps/wolnelektury_core/static/css/book_box.css +++ b/apps/wolnelektury_core/static/css/book_box.css @@ -212,8 +212,7 @@ .book-box-read a:before { - content: "\2609"; - font-family: WL-Nav; + content: url("/static/img/read.png"); font-size: 2.25em; margin-right: .15em; vertical-align: middle; @@ -221,8 +220,7 @@ } .book-box-download a.downarrow:before { - content: "\21E9"; - font-family: WL-Nav; + content: url("/static/img/download.png"); font-size: 2.25em; margin-right: .15em; vertical-align: middle; @@ -230,8 +228,7 @@ } .book-box-audiobook a:before { - content: "\266B"; - font-family: WL-Nav; + content: url("/static/img/listen.png"); font-size: 2.25em; margin-right: .15em; vertical-align: middle; diff --git a/apps/wolnelektury_core/static/css/cite.css b/apps/wolnelektury_core/static/css/cite.css index 04fdfdd9f..d397da2ee 100755 --- a/apps/wolnelektury_core/static/css/cite.css +++ b/apps/wolnelektury_core/static/css/cite.css @@ -106,7 +106,7 @@ .book-wide-box .cite { position: relative; - top: -0.8em; + top: -1em; right: -1em; background-color: #f7f7f7; vertical-align: middle; diff --git a/apps/wolnelektury_core/static/css/header.css b/apps/wolnelektury_core/static/css/header.css index 891c16318..fefb65ab0 100755 --- a/apps/wolnelektury_core/static/css/header.css +++ b/apps/wolnelektury_core/static/css/header.css @@ -163,8 +163,7 @@ a.menu span { } #lang-button:after { padding-left: 1em; - content: "↓"; - font-family: WL-Nav; + content: url("/static/img/arrow-gray.png"); vertical-align: middle; } #lang-menu { diff --git a/apps/wolnelektury_core/static/css/main_page.css b/apps/wolnelektury_core/static/css/main_page.css index cbfc3db7b..3db1655b7 100755 --- a/apps/wolnelektury_core/static/css/main_page.css +++ b/apps/wolnelektury_core/static/css/main_page.css @@ -88,8 +88,5 @@ } .infopages-box .social-links a { - font-family: WL-Nav, courier; - font-size: 3em; - color: #281d1c; - margin-right: .2em; + margin-right: .6em; } diff --git a/apps/wolnelektury_core/static/css/picture_box.css b/apps/wolnelektury_core/static/css/picture_box.css index 06f3e62c8..83022eb77 100755 --- a/apps/wolnelektury_core/static/css/picture_box.css +++ b/apps/wolnelektury_core/static/css/picture_box.css @@ -82,8 +82,7 @@ } .picture-box-tools a:before { - content: "⇩"; - font-family: WL-Nav; + content: url("/static/img/download.png"); font-size: 2em; margin-right: .25em; vertical-align: middle; diff --git a/apps/wolnelektury_core/static/img/arrow-gray.png b/apps/wolnelektury_core/static/img/arrow-gray.png new file mode 100644 index 0000000000000000000000000000000000000000..b1c590d0409758ea52371db88638b668986b65e5 GIT binary patch literal 351 zcmeAS@N?(olHy`uVBq!ia0vp^d_c_3!3HEP+-oF(6icy_X9x!n)NrJ90QsB+9+AaB z^&3E#u{JgG7f?{L#5JNMI6tkVJh3R1p}f3YFEcN@I61K(RWH9NefB#WDWIY|o-U3d z5>tE68G11X3LN{GKQCvq*=4Tij^3qHAE@SR_xa7GxaX#8OT?a##;Y67KNGFyTA%P( za8Hvuhh|yoF}I^FA~V1J{-5CC64$k;;?=Hq!tQfA<_KPFHs1Wy#5eY`iMacM;^%iZ z&(uA6=D}Y5)0@t?Y + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/apps/wolnelektury_core/static/img/arrow-teal.png b/apps/wolnelektury_core/static/img/arrow-teal.png new file mode 100644 index 0000000000000000000000000000000000000000..ce406336b4f37624826c7117a3096da621915eb3 GIT binary patch literal 370 zcmeAS@N?(olHy`uVBq!ia0vp^d_c_3!3HEP+-oF(6icy_X9x!n)NrJ90QsB+9+AaB z^&3E#u{JgG7f?{L#5JNMI6tkVJh3R1p}f3YFEcN@I61K(RWH9NefB#WDWIbFo-U3d z5>tCm@AW#IAad;E^ErD&GllKl3I)Xv9=$rdp!5sd6}?uim2Y20`*?)92$;V=a4@={ zu;|^hI|t9Ic^RIpo)fi7>csqrZ8s1M0Lnw?W{sO|H*<*xNd)n?Z( z44s{`VWIco%IP7Zudjs#uf4NUd;O)jY6E`Vt>?EtDBR)k^Wkg{w^dvW3fbaJYwt{Y z{QLX8m#1|;S^t$?_Q>MtBM;YO3 + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/apps/wolnelektury_core/static/img/download.png b/apps/wolnelektury_core/static/img/download.png new file mode 100644 index 0000000000000000000000000000000000000000..54d1bf9047efd2f4bea344a2c7507b5f24d726c5 GIT binary patch literal 632 zcmV-;0*C#HP)CDFr*-m2bu^0j=;>-!Ed zeZfgl1y@KhY)6q@6WBbMV$)Y|68MrrEvO-B&`X~3u@l)8(1`aMo_hDXE?NUFB!vtq zX#7)>dl9+qd-6U~|BeWsx{*zFBex3NNX`sFt%cc*Fw9&rk+(qdocSjQEQi`D{11eLanjRiX4D_ro6wGW S?48&E0000 + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/apps/wolnelektury_core/static/img/listen.png b/apps/wolnelektury_core/static/img/listen.png new file mode 100644 index 0000000000000000000000000000000000000000..68627221c83e07181709628b19738a057dfe48bf GIT binary patch literal 666 zcmV;L0%iS)P)6jRg<8xeDnw{si$J}I(s<9Wg^u`g=f(Q%?s@r~^T4_1 zm?V;tz5nQ#nV-kWA#%V`!Mvfe@G`F1sF44fG}m^bHaOjy&900C{eUN~xE{&uRc5(m z|nc4 z4`J9XT#nP+vfD5B11V4Wki->JxVq66*Ql$UR)}ZJJ+S5S2yTT`2!%hgwf2M2ltd-t;>hfzqr3pAGvAM2mYG7p(1z0GJlwE$d$sKRop~?Cd3uB+E4cl(^h0;hl z@=6YPPUG_^nZ1aj)>Dh6(a&2uc0DK6{LdTp7rXZ9NVlvh0{{R307*qoM6N<$g6~y0 A1ONa4 literal 0 HcmV?d00001 diff --git a/apps/wolnelektury_core/static/img/listen.svg b/apps/wolnelektury_core/static/img/listen.svg new file mode 100644 index 000000000..714768f54 --- /dev/null +++ b/apps/wolnelektury_core/static/img/listen.svg @@ -0,0 +1,41 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/apps/wolnelektury_core/static/img/read.png b/apps/wolnelektury_core/static/img/read.png new file mode 100644 index 0000000000000000000000000000000000000000..1d5ab0e7bf3caae5595481c990c270521bdf7a8b GIT binary patch literal 773 zcmV+g1N!`lP)C&DoSXDp|lVSF2s#% zV<`9$Y6SlclUD6bKi3=_gvW~PsQFd+obrGpoA#_TMcuvz5M6xAJn8h3coF)y3ko zLEuLqa!;(wmVR%pHg!Kdf3o^U=-S@~zj4x4V9Q%zS=C=Xk%8^VC{xUOWe&mj1yuC2j)B30y=T zPSRxcQSo;1(}j|gIs`|_ugVU-2$I_KfQGw{v9)2`eH@+v^OT|Qp2<20)ZUT!CMB${<+=KD2tOI=szmDM|dAt1d2W=oepdHT_puLB|HJ6YC;{829e7X~T17nv@f00000NkvXXu0mjf DzIa|X literal 0 HcmV?d00001 diff --git a/apps/wolnelektury_core/static/img/read.svg b/apps/wolnelektury_core/static/img/read.svg new file mode 100644 index 000000000..f3fd5b65c --- /dev/null +++ b/apps/wolnelektury_core/static/img/read.svg @@ -0,0 +1,41 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/apps/wolnelektury_core/static/img/social/f.png b/apps/wolnelektury_core/static/img/social/f.png new file mode 100644 index 0000000000000000000000000000000000000000..3261c6d7f4b2fdc92b72861276f9093f30d679d0 GIT binary patch literal 701 zcmV;u0z&p1 zz2|rD&6#sPnHimwNu@5+&^lM&>O@@qp8#-Kk5D=TzYq_O02S%iu&!jh!#x?>K~cr=jS4Qv$eVLJB5Z7XR!4mKKc`cK41j1OC$cNf`}VEm+0HMcqH z(5Q7MPlY;AajVt8rut2w5)qKcOrlQst%3neI6=1z~(u@ zHXYE)`LML&V73%xiQlLOUSyWpl5X|)U#uoBYymxy1BBOZqPl<0X|!_9o*@X(>~g8J z;{eoLcZRde%5o6D(LD3{{I<{}(AoV&SKZJ=(~}%@>eWJF5##x(qQq3LP&i1y7F&=j z7GDOy|2<(H@$~!p#!L&ljk|gv(;Qv8D?<~9Pt=ri-0a+XaUmItj{t88Uu<_lZ)$FG j + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/apps/wolnelektury_core/static/img/social/facebook.png b/apps/wolnelektury_core/static/img/social/facebook.png deleted file mode 100644 index c46485acc6de7621a0ac55f43ef1f374ecb8b2a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1074 zcmV-21kL-2P)003>6 z003>600000003>600000003>600000003>6NBc_+000BcNkl0|BX}w6E{Y%)4{%aWSv2E%edyEhdw5=X~Ei-??Y5qJ>S*eO%r9a`lr+ zPx%c54Z`C>D@|hE^&1m6KN$P&{SyERVCcnT+g?As|KzUGjl;H?;@snt11JSy6f$)` z&dy%={n*dP-}}@6>V-YqKioN59sc+36wV7uEl;qVta@Nw1o|u8X4lS*A6?w>&PfCG z4y^6lJv~z=PBT;|_6`tPDyx*@zo}We)|3XSgWbCgP_{NL)aofs>sC$d1-$c=iXq16 zmKdbXEPr`{?$4%(2Isss z0C7DdjV+nAD_a71C%koN2mAI6Em25UXd)RK7tXE6Y2YKap|mSrpN-V6PGWuD!> zz8#Ab%j9&OB(XH&CUKgPIgf*uK-1DlEY7Vg;GAdBXrj=xW5<8E!nsQ~h{B-NM@4Eg zylV-}HBw6TCV}>y=S$^Hj1$Y;T#79EaN_1Pcc^ftYCn%K+CJ12BS<&ssDiKA7Lb$Z> zFbpUZTI4OLR&^R;2s%2oELQrN3$%OJVpfQ>8naTed)P`Lk1ga2ieN#YSS%_P7@S+7 z3FIfsgiB2|fhH;hm~g?OFpLNbMj3#E`-fC%O&|4o-0`xRhZmvJU0m3`2)jnt(N`(A zPnA-do~{CC+&BiP&)l2*YxAa|;aj&e{3C8O$d7Iq2JJyqN)Z}O6q#H=puf^ZZFZ*i z=lJCb1Jq8P`0}gXzRL4kwv0THq)oC#Rz0ZY1-i>2PBdC_-+Owx7_bTxXo`i9+FXsX zv!}nmc6DrgK7Z}n>eizN4!(V4aB%&TUa}7K3sIvN{LZ{X5VQ(ZoF?&=U(f$?>B5g+ s09O|?^aERg!H&$ULml`V_y@@T2O6HOukjk9D*ylh07*qoM6N<$f~nK+(f|Me diff --git a/apps/wolnelektury_core/static/img/social/gplus.png b/apps/wolnelektury_core/static/img/social/gplus.png new file mode 100644 index 0000000000000000000000000000000000000000..c9a98cca4473897b2822074ada59ec4025543d00 GIT binary patch literal 851 zcmV-Z1FZasP)*k&lkVj3Gnc7_7awPP*h8 zB`A!Nq0f-@*S0oa*2D{$9dq#FZ4$DeulBduX^)`RwOf^w3 zj3Q>cjcE^v;SlCTaD-u^rc4Xr^ZMjJ&poY6b-yS1xt~m)G0!W4`de0X0qS2yNSe78 zlu4zoAnxxU{DBx(U7}i@1boCa+MnS zgP-SIF1KN_34*J8keJCP=5o1>H!^_b)xtfD?7^zYHh-LZWB|*B!u3X5@S!_2M0UAQ zxZXP0w!1ntJbc-(--sw>5tK|e(Ym81u3hwEKL5b)NsfYk0(Lr-l+E}#8S_Tli6Ej$ dZE}zu@oW6&BXh#>jlBQ>002ovPDHLkV1iMUi`4)C literal 0 HcmV?d00001 diff --git a/apps/wolnelektury_core/static/img/social/gplus.svg b/apps/wolnelektury_core/static/img/social/gplus.svg new file mode 100644 index 000000000..ad8584c48 --- /dev/null +++ b/apps/wolnelektury_core/static/img/social/gplus.svg @@ -0,0 +1,36 @@ + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/apps/wolnelektury_core/static/img/social/naszaklasa.png b/apps/wolnelektury_core/static/img/social/naszaklasa.png deleted file mode 100644 index 6fcd6d53d0d4e9a708718a0a95a57307703c0ab8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1288 zcmV+j1^4=iP)?>*<-^PRtYpO++wkREyG`_GCdytm@XjF$-hjxQKJ{Bp`AkwFwo7`c)2D0UBd?s4)cvZ_lR?h6L71VJdYRWac_ zZ5IJNRw)%5VHhJk1dQZ3%0{FC(<~}_Y*Gy?R=u{C45ShfFe5&|O2tA0%rOFtB*qk? z7^#6`q6P4vo&#hlfKaRlqZqYHP$6J8=adx2Mm%c^n2r#@qvr;0SVf?UGfqQ8AZ~_t zYLIfafvTlEt~Cnn2M&7;ac{^=R{`r?L6mPQ=}BZL#|up}*% z1At+p?a3B}nPJkm+1C`;YZX~(Z^~4&E`MBGldW)vG=1atK^={w+f9m~0H{ggvv_Gr zmad$Y`CT2kvN0l8yAv{Z(={2ZM!NocFeS^awgPnf0}0lar8IksdJ@D_S|=8RO+!+E z1PGD%Qt;`4FZ=ggloL;VC!0Y9IWNoXcvqFVo_^yw*;%dVx;F^r@PYf}<)G($vJt&35Ih847kvM>1-z%uxvwL0j7FHVQ zs&ckR$J^2fF0Zy_p=IU6Z+?`qk*Yk2D7H~*lNP5Byn1R8!5|;(FHhRVSdyqGUTFl4 zyaV$skto2t1VEhlxF<=mCWTT>Y}|*eueyzx_nT{V+-}{o#~+{5bKn;dh{a8*#~Uf3 zq6d$7U&S!Yid4$X}O#iy4xZ!kq&$b(wd zuk-_Paek0YOdL6Rq2-cF4x`4^0ow%fb;T>o y6^9?AEhJ$l`@!8i_y9Ub-hY1IB#d9Djeh`T!(UD$D`@Kg0000Cf|fx`Z6hrr zqCcR77Hx&XexT)|m9>dhE!tRASV7B@_Ts`Cq?pu62GqfR_+!TLofb1A^TK&Ohnf1q zTikQcJD+p!;@q#ODtL}Dc{tScHltLUS`33jWriuT86lTZKLFdnjq9En5* z6@6YI2%t$+#=4^6ArX2h48BI!=$tPlnw~;XSY%_y>_bQy4+z^bMHGfASdkQ6_H{bR5|9 zX|LOmpLIKLqaR$$y&%X~o01JK@uBg4eFy85sadY=^ zc?i4<09!C1(*Y89lqxZdywNSUADHmZmT80Pc-d`{D9Fi@&{2fL00O6h{lFoy%xi=v zz;~a{#{caEnM$QrRT-@z2vtU>QmIt~&|upmK)Ob(bfJF!@tjN~R#fyd;O~Aakc##f zJ<0Y<9iL4;L%CI5l-w!xA|6{1PbP1p+@K046m&Q~KY!g5`)}^5sE>1VFLU*w4v@RR rT0qDKa4%%p9Xo-*$D|fjO-KA2_T~s{mu#eo00000NkvXXu0mjf + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/apps/wolnelektury_core/static/img/social/twitter.png b/apps/wolnelektury_core/static/img/social/twitter.png deleted file mode 100644 index 0a75ea8d73223e90dd638f87c86ad3520a959f4b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1196 zcmV;d1XKHoP)003>6 z003>600000003>600000003>600000003>6NBc_+000C>Nkld`8xv+XoUa}s0Mz1$J{@i!%#|lXip64*ruoQNjQ1V6z@hSH zb{G2yl;S~ZnXT2ipQh;lQKLlABCIx6${`{uHjczvjI{tb5%v#kW^bv;Y#kP2;l=Hn zIJ#wk^VKC{@7qe1QtOJZltM(XajZjt#2Ml)fB<8KJWC0Dc|%w+5INzsk&y9Hf$C~R zpcT#w4Qp}U_oz}z;k?HIAwX;lkug|f+fJLbVj+c^0Vhz2v-x9Nw{UFhVB4><7Bg90 zWX%{_S~7scIFkXA)DatlwWhtW)vAer7np0nxjUU6bHGRrUK%QJd}NrP=Wn(DX{9jE z;Y}0JND_)k3a*nPFM?jr}=ztXywe#NsIM+;(^}YvS zz2|1_ALa{Yh#KFYnvK ziD5;}^#XDlN*X5Tt1LHn@0ux6TH{+?q+54K7XY9h$9(hqMJ~+W;>gYswv`G!|E>32 zU0mjm+ZDunT-WOp=JMGW5V77VrLfj*_-f5m7r0WXve7%IQG|i+xly&&Xst-&HK&2K zyOlfF3;iWTn%&e)S8FH{g63`>9U5t;*IA3TmO`n>TD`F{KRtaj1RB%l&U{xGEI&W8 z|G@SnN$}3E+v$^-Qi@zYM^vxNU%&qH{o?HGOiS6&!06~ZM_+&I?SYZu9p1anp?plR zN7JPMO-LH8#d8;?rsgLnzXty9UcU`E2n_LLPw(Sw6}SQ10_=Yq7Kk*;k&j9M0000< KMNUMnLSTZXsWFiN diff --git a/apps/wolnelektury_core/templates/main_page.html b/apps/wolnelektury_core/templates/main_page.html index 2947a2f69..87a9c3f0c 100755 --- a/apps/wolnelektury_core/templates/main_page.html +++ b/apps/wolnelektury_core/templates/main_page.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load static from staticfiles %} {% load cache chunks i18n catalogue_tags infopages_tags social_tags %} @@ -67,9 +68,13 @@ -- 2.20.1