Customizations for the site securethebalkans.org
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

124 lignes
8.3 KiB

  1. diff --git a/securethenews/static/images/logo.svg b/securethenews/static/images/logo.svg
  2. index 85c236e..f98d41e 100644
  3. --- a/securethenews/static/images/logo.svg
  4. +++ b/securethenews/static/images/logo.svg
  5. @@ -1,35 +1,34 @@
  6. -<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  7. -<svg width="61px" height="60px" viewBox="0 0 61 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  8. - <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
  9. - <title>logo_penonly@3x</title>
  10. - <desc>Created with Sketch.</desc>
  11. - <defs>
  12. - <path d="M30.5,55.1568117 C44.5832611,55.1568117 56,43.9560944 56,30.1393094 C56,16.3225243 44.5832611,5.121807 30.5,5.121807 C16.4167389,5.121807 5,16.3225243 5,30.1393094 C5,43.9560944 16.4167389,55.1568117 30.5,55.1568117 Z" id="path-1"></path>
  13. - <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="51" height="50.0350047" fill="white">
  14. - <use xlink:href="#path-1"></use>
  15. - </mask>
  16. - <path d="M12.7444501,0.279230397 L15.2686936,14.3983477 C15.2686936,14.3983477 10.7722256,19.3470284 8.71139754,27.3073798 L8.71203498,9.87428895 C9.01991619,9.49073125 9.21624623,8.94029536 9.21815854,8.33132106 C9.21624623,7.18414278 8.54152082,6.97967623 7.70456838,6.97705511 C6.87080313,6.97880253 6.19161615,7.18501649 6.19034127,8.33132106 C6.19034127,8.9446639 6.38667132,9.49335237 6.69710227,9.87341524 L6.6977397,27.3082535 C4.63563679,19.3461547 0.140443665,14.397474 0.140443665,14.397474 L2.65703789,0.285346352 L12.7444501,0.279230397 Z" id="path-3"></path>
  17. - <filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4">
  18. - <feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
  19. - <feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
  20. - <feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
  21. - <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
  22. - </filter>
  23. - </defs>
  24. - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.895522388">
  25. - <g id="Nav" transform="translate(-86.000000, -37.000000)">
  26. - <g id="Logo" transform="translate(85.000000, 35.827815)">
  27. - <g id="Icon" transform="translate(1.000000, 1.000000)">
  28. - <path d="M30.5,58.1000473 C46.2401154,58.1000473 59,45.5815985 59,30.1393094 C59,14.6970202 46.2401154,2.17857143 30.5,2.17857143 C14.7598846,2.17857143 2,14.6970202 2,30.1393094 C2,45.5815985 14.7598846,58.1000473 30.5,58.1000473 Z" id="Oval-1" stroke="#E5E5E5" fill="#FFFFFF"></path>
  29. - <use id="Oval-1" stroke="#31BEF8" mask="url(#mask-2)" stroke-width="10" fill="#FFFFFF" xlink:href="#path-1"></use>
  30. - <g id="Group-3-Copy-3" transform="translate(29.723713, 31.911882) rotate(-315.000000) translate(-29.723713, -31.911882) translate(21.723713, 17.751168)">
  31. - <g id="Shape">
  32. - <use fill="#555555" fill-rule="evenodd" xlink:href="#path-3"></use>
  33. - <use fill="black" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-3"></use>
  34. - </g>
  35. - </g>
  36. - </g>
  37. - </g>
  38. - </g>
  39. - </g>
  40. -</svg>
  41. \ No newline at end of file
  42. +<?xml version="1.0" encoding="utf-8"?>
  43. +<!-- Generator: Adobe Illustrator 23.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
  44. +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  45. + viewBox="0 0 68 68" style="enable-background:new 0 0 68 68;" xml:space="preserve">
  46. +<style type="text/css">
  47. + .st0{fill:#FFFFFF;}
  48. + .st1{fill:#31BEF8;}
  49. + .st2{fill:#3A3B3C;}
  50. +</style>
  51. +<title>logo_penonly@3x</title>
  52. +<desc>Created with Sketch.</desc>
  53. +<g>
  54. + <g>
  55. + <path id="path-1_2_" class="st0" d="M33.6,67c18.2,0,33-14.8,33-33S51.9,1,33.6,1s-33,14.8-33,33S15.4,67,33.6,67z"/>
  56. + </g>
  57. + <path class="st1" d="M33.5,64.1C16.9,64.1,3.4,50.6,3.4,34c0-16.6,13.5-30.1,30.1-30.1S63.6,17.4,63.6,34
  58. + C63.6,50.6,50.1,64.1,33.5,64.1z M33.5,13.9c-11.1,0-20.2,9-20.2,20.1s9.1,20.1,20.2,20.1s20.2-9,20.2-20.1S44.7,13.9,33.5,13.9z"
  59. + />
  60. + <g>
  61. + <path id="path-1_1_" class="st0" d="M33.5,59.1c14.1,0,25.6-11.2,25.6-25.1S47.6,8.9,33.5,8.9S7.9,20.1,7.9,34
  62. + S19.4,59.1,33.5,59.1z"/>
  63. + </g>
  64. + <path class="st2" d="M45.9,20.7c-8-2.6-16.8-2.6-24.7,0l-0.5,0.2v10.4c0,13.2,12.5,17.9,12.6,18l0.3,0.1l0.3-0.1
  65. + c0.1,0,12.6-4.7,12.6-18V20.8L45.9,20.7z"/>
  66. + <g>
  67. + <path class="st0" d="M40.9,30.2l-9.4,9.4l-5.4-5.4c-0.3-0.3-0.3-0.9,0-1.2c0.3-0.3,0.9-0.3,1.2,0l4.2,4.2l8.2-8.2
  68. + c0.3-0.3,0.9-0.3,1.2,0C41.2,29.3,41.2,29.9,40.9,30.2z"/>
  69. + <path class="st0" d="M31.5,40.1l-5.7-5.7c-0.2-0.2-0.4-0.5-0.4-0.9s0.1-0.6,0.4-0.9c0.2-0.2,0.5-0.4,0.9-0.4c0,0,0,0,0,0
  70. + c0.3,0,0.6,0.1,0.9,0.4l4,4l7.9-7.9c0.5-0.5,1.3-0.5,1.7,0c0.2,0.2,0.4,0.5,0.4,0.9s-0.1,0.6-0.4,0.9L31.5,40.1z M26.7,33.1
  71. + c-0.1,0-0.2,0-0.3,0.1c-0.1,0.1-0.1,0.2-0.1,0.3c0,0.1,0,0.2,0.1,0.3l5.2,5.2l9.1-9.1c0.1-0.1,0.1-0.2,0.1-0.3
  72. + c0-0.1,0-0.2-0.1-0.3c-0.2-0.2-0.5-0.2-0.7,0l-8.4,8.4L27,33.2C27,33.1,26.8,33.1,26.7,33.1z"/>
  73. + </g>
  74. +</g>
  75. +</svg>
  76. diff --git a/securethenews/templates/base.html b/securethenews/templates/base.html
  77. index 1ab4dcb..1445916 100644
  78. --- a/securethenews/templates/base.html
  79. +++ b/securethenews/templates/base.html
  80. @@ -29,14 +29,14 @@
  81. <!-- Open Graph -->
  82. <meta property="og:url" content="{{ request.build_absolute_uri }}" />
  83. <meta property="og:type" content="website" />
  84. - <meta property="og:title" content="{% block og_title %}Secure the News{% endblock %}" />
  85. + <meta property="og:title" content="{% block og_title %}Secure the Balkans{% endblock %}" />
  86. <meta property="og:description" content="{% block og_description %}Every news site should be secure.{% endblock %}" />
  87. <meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'images/logo.png' %}" />
  88. <!-- Twitter Cards -->
  89. <meta name="twitter:card" content="summary" />
  90. <meta name="twitter:site" content="@SecureTheNews" />
  91. - <meta name="twitter:title" content="{% block twitter_card_title %}Secure the News{% endblock %}" />
  92. + <meta name="twitter:title" content="{% block twitter_card_title %}Secure the Balkans{% endblock %}" />
  93. <meta name="twitter:description" content="{% block twitter_card_description %}Every news site should be secure.{% endblock %}" />
  94. <meta name="twitter:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'images/logo.png' %}" />
  95. @@ -54,7 +54,7 @@
  96. <div class="header sticky">
  97. <a href="/">
  98. <img src="{% static 'images/logo.svg' %}">
  99. - <span class="header-item logo">SECURETHENEWS</span>
  100. + <span class="header-item logo">SECURETHEBALKANS</span>
  101. </a>
  102. <i class="mobile-header-js fa fa-bars mobile-only"></i>
  103. <div class="tap-catcher-js"></div>
  104. @@ -67,15 +67,8 @@
  105. {% block footer %}
  106. <section class="footer align-center" id="footer">
  107. <div class="section-content">
  108. - <h3 class="footer-header align-center">
  109. - A PROJECT OF:
  110. - </h3>
  111. - <div class="footer-logo">
  112. - <span class="fpf-logo">
  113. - <a href="https://freedom.press">
  114. - <img src="{% static 'images/fpf-logo.svg' %}" alt="Freedom of the Press Foundation">
  115. - </a>
  116. - </span>
  117. + <div>
  118. + <p>This website is produced as part of InfoSec for Balkans project, funded by Radio Free Asia through the <a href="https://opentech.fund">Open Technology Fund</a> and implemented by <a href="https://opendatakosovo.org/">Open Data Kosovo</a> and <a href="https://flossk.org">FLOSSK</a>. It builds on Secure the News website originally built by Freedom of the Press Foundation.</p>
  119. </div>
  120. <p class="fine-print">
  121. This work is licensed under a Creative Commons Attribution 4.0 International License