From e617b84ff7de1e49768d2daf32965f2f5d66cfc9 Mon Sep 17 00:00:00 2001 From: manetta Date: Tue, 12 Mar 2019 09:35:31 +0100 Subject: [PATCH] changes in interface text and styling --- static/css/stylesheet.css | 8 ++++---- templates/en/base.html | 6 ++++++ templates/en/index.html | 14 +++++++------- templates/fr/base.html | 8 +++++++- templates/fr/index.html | 19 ++++++++++--------- templates/fr/results.html | 4 ++-- 6 files changed, 36 insertions(+), 23 deletions(-) diff --git a/static/css/stylesheet.css b/static/css/stylesheet.css index a8172d4..ad6eda9 100644 --- a/static/css/stylesheet.css +++ b/static/css/stylesheet.css @@ -33,7 +33,7 @@ body{ margin:20px; font-family: mono, sans-serif; font-size: 8px; - background-color: #f0dfff; + /*background-color: #f0dfff;*/ overflow-x: hidden; z-index: -1; } @@ -163,9 +163,9 @@ strong, strong.query, strong.word, .result{ font-family: 'script'; font-size: 22px; line-height: 1.5; - /*font-weight: bold;*/ - -webkit-text-stroke: 1px; - letter-spacing: 0.015em; + font-weight: bold; + /*-webkit-text-stroke: 1px;*/ + letter-spacing: 0em; } .guides{ diff --git a/templates/en/base.html b/templates/en/base.html index 37ad5a9..2299d39 100644 --- a/templates/en/base.html +++ b/templates/en/base.html @@ -70,5 +70,11 @@ } setTimeout(refresh, 300000); + + // prevent links from opening in new tab + var links = document.links; + for (var i = 0; i < links.length; i++) { + links[i].target = "_self"; + } \ No newline at end of file diff --git a/templates/en/index.html b/templates/en/index.html index 64dac4e..adc214d 100644 --- a/templates/en/index.html +++ b/templates/en/index.html @@ -2,35 +2,35 @@ {% block results %}
- Exchanges between a collection of cyber/technofeminist manifestos
- and the Term Frequency - Inversed Document Frequency algorithm (TF-IDF). + This tool allows for cross-readings through a collection of cyber/technofeminist manifestos
+ and the TF-IDF algorithm, an algorithm that has been very important for online search engines.
  1. - You can search for a word and see if it creates any cross-readings in the collection. + You can explore these manifests by typing a keyword in the search bar or by clicking on the list of suggested keywords below. The results display sentences from the different manifestos in which the search word appears. The colour changes correspond to the different manifestos from which they are derived. You can print extracts by clicking on the printer icon.
  2. - You can browse through the collection of manifestos and read them in their own web environnments. + You can simply browse through this list of manifests and read them in their entirety and in their original web environment (right-hand column).
  3. - If you click on the little ◐ icon next to the title of the manifesto, you can read the manifesto through the TF-IDF algorithm. + If you click on the small icon next to the manifest title, you can read the manifest through the prism of the TD-IDF algorithm. This algorithm identifies the most important words within a document. It is crucial for a large number of online search engines. It was developed in part by British computer scientist Karen Spärck Jones. For more information on how it works, see about.
{% endblock %} {% block suggestions %} -

Cross-reading suggestions (selected):

+

Cross-reading suggestions (manual selection):

{% for word in suggestions %} {{ word.strip() }} {% endfor %}

-

Cross-reading suggestions (top 100 TF-IDF results):

+

Cross-reading suggestions (algorithmic selection):

{% for word in mappings %} {{ word }} diff --git a/templates/fr/base.html b/templates/fr/base.html index 46ca22e..1e09de6 100644 --- a/templates/fr/base.html +++ b/templates/fr/base.html @@ -25,7 +25,7 @@
EN / FR   - le projet + a propos