summaryrefslogtreecommitdiff
path: root/rannak/mangud/arimees/soome
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2023-02-24 17:31:06 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2023-02-24 17:31:06 +0200
commitc525b29ceb91c0abacfe9916aafb1b0b48d47880 (patch)
tree8a7dbb5b051a076e9e7694530bc878be61631664 /rannak/mangud/arimees/soome
parent209b1915b0f1879d0055ea17f76464dddcf8089b (diff)
Soome mäng added
Diffstat (limited to 'rannak/mangud/arimees/soome')
-rw-r--r--rannak/mangud/arimees/soome/fonts/OFL.txt93
-rw-r--r--rannak/mangud/arimees/soome/fonts/README.txt77
-rw-r--r--rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttfbin0 -> 202092 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttfbin0 -> 208336 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttfbin0 -> 124460 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttfbin0 -> 122068 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttfbin0 -> 124900 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttfbin0 -> 122244 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttfbin0 -> 124760 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttfbin0 -> 122348 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttfbin0 -> 122212 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttfbin0 -> 124436 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttfbin0 -> 121892 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttfbin0 -> 124988 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttfbin0 -> 122324 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttfbin0 -> 125032 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttfbin0 -> 124972 bytes
-rw-r--r--rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttfbin0 -> 122372 bytes
-rw-r--r--rannak/mangud/arimees/soome/index.html129
-rw-r--r--rannak/mangud/arimees/soome/pildid/avatar.pngbin0 -> 73556 bytes
-rw-r--r--rannak/mangud/arimees/soome/script.js66
-rw-r--r--rannak/mangud/arimees/soome/style.css130
22 files changed, 495 insertions, 0 deletions
diff --git a/rannak/mangud/arimees/soome/fonts/OFL.txt b/rannak/mangud/arimees/soome/fonts/OFL.txt
new file mode 100644
index 0000000..cdb3773
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/OFL.txt
@@ -0,0 +1,93 @@
+Copyright 2015 The Rubik Project Authors (https://github.com/googlefonts/rubik)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/rannak/mangud/arimees/soome/fonts/README.txt b/rannak/mangud/arimees/soome/fonts/README.txt
new file mode 100644
index 0000000..c5792a2
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/README.txt
@@ -0,0 +1,77 @@
+Rubik Variable Font
+===================
+
+This download contains Rubik as both variable fonts and static fonts.
+
+Rubik is a variable font with this axis:
+ wght
+
+This means all the styles are contained in these files:
+ Rubik-VariableFont_wght.ttf
+ Rubik-Italic-VariableFont_wght.ttf
+
+If your app fully supports variable fonts, you can now pick intermediate styles
+that aren’t available as static fonts. Not all apps support variable fonts, and
+in those cases you can use the static font files for Rubik:
+ static/Rubik-Light.ttf
+ static/Rubik-Regular.ttf
+ static/Rubik-Medium.ttf
+ static/Rubik-SemiBold.ttf
+ static/Rubik-Bold.ttf
+ static/Rubik-ExtraBold.ttf
+ static/Rubik-Black.ttf
+ static/Rubik-LightItalic.ttf
+ static/Rubik-Italic.ttf
+ static/Rubik-MediumItalic.ttf
+ static/Rubik-SemiBoldItalic.ttf
+ static/Rubik-BoldItalic.ttf
+ static/Rubik-ExtraBoldItalic.ttf
+ static/Rubik-BlackItalic.ttf
+
+Get started
+-----------
+
+1. Install the font files you want to use
+
+2. Use your app's font picker to view the font family and all the
+available styles
+
+Learn more about variable fonts
+-------------------------------
+
+ https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
+ https://variablefonts.typenetwork.com
+ https://medium.com/variable-fonts
+
+In desktop apps
+
+ https://theblog.adobe.com/can-variable-fonts-illustrator-cc
+ https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
+
+Online
+
+ https://developers.google.com/fonts/docs/getting_started
+ https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
+ https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
+
+Installing fonts
+
+ MacOS: https://support.apple.com/en-us/HT201749
+ Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
+ Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
+
+Android Apps
+
+ https://developers.google.com/fonts/docs/android
+ https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
+
+License
+-------
+Please read the full license text (OFL.txt) to understand the permissions,
+restrictions and requirements for usage, redistribution, and modification.
+
+You can use them in your products & projects – print or digital,
+commercial or otherwise.
+
+This isn't legal advice, please consider consulting a lawyer and see the full
+license for all details.
diff --git a/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf b/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf
new file mode 100644
index 0000000..58d5f50
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf b/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf
new file mode 100644
index 0000000..fa161b9
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf
new file mode 100644
index 0000000..1613299
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf
new file mode 100644
index 0000000..fc12676
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf
new file mode 100644
index 0000000..7ec66a6
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf
new file mode 100644
index 0000000..f6e0780
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf
new file mode 100644
index 0000000..1ca9932
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf
new file mode 100644
index 0000000..598f72a
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf
new file mode 100644
index 0000000..0c6d991
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf
new file mode 100644
index 0000000..9229768
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf
new file mode 100644
index 0000000..d3bba74
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf
new file mode 100644
index 0000000..0895d3e
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf
new file mode 100644
index 0000000..e839613
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf
new file mode 100644
index 0000000..0967c8c
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf
new file mode 100644
index 0000000..b631487
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf
new file mode 100644
index 0000000..f9eb73b
--- /dev/null
+++ b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf
Binary files differ
diff --git a/rannak/mangud/arimees/soome/index.html b/rannak/mangud/arimees/soome/index.html
new file mode 100644
index 0000000..f178d55
--- /dev/null
+++ b/rannak/mangud/arimees/soome/index.html
@@ -0,0 +1,129 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+
+ <title>Soome</title>
+ <!-- Bootstrap - CSS only -->
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
+
+ <link rel="stylesheet" href="style.css">
+</head>
+
+<body>
+
+
+ <!-- Button trigger modal -->
+ <button id="testModal" type="button" class="btn btn-primary modalButton" data-bs-toggle="modal" data-bs-target="#myModal">
+ Sissejuhatus
+ </button>
+
+ <div class="container text-white text-center">
+ <h1>Soome</h1>
+
+ <p>
+ Leia sõnastikust soomekeelsetele sõnadele vasted ja asenda need kirja.
+ </p>
+
+ <div class="text-center">
+
+ <div class="col">
+ <button class="moveOn" disabled>Liigu Edasi</button>
+ </div>
+
+ </div>
+ </div>
+
+
+ <!-- Modal -->
+ <div class="modal fade text-black" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+
+ <div class="modal-header">
+ <div class="modalHeaderWrapper">
+ <h3 class="modal-title" id="myModalLabel">Sissejuhatus</h5>
+ </div>
+ <img class="avatar" alt="avatar" src="pildid/avatar.png"/>
+ </div>
+
+ <div class="modal-body">
+ Tsau!
+ <br/>
+ Vaata, äri ajades peab ikka keelt oskama, vähemalt natukenegi - ilma soome keeleta tänapäeval enam bisnisit ei tee.
+ <br/>
+ Nali on aga selles, et meil on nii palju sarnaseid sõnu, mis võivad tähendada hoopis teisi asju. Nii et keelt tundmata võid vastu pükse saada.
+ Et paremini mõikaksid, millest ma räägin, kirjutasin sulle kirja.
+ <br/><br/>
+ <strong>
+ Leia sõnastikust soomekeelsetele sõnadele õiged tähendused ja kirjuta asemele eestikeelsed! Neid sõnu läheb sul nii Viru(o)s kui Soomes vaja!
+ </strong>
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+
+ <!-- Main Stuff -->
+ <div class="content">
+
+ <div class="leftSide">
+ <h3>Sõnastik</h3>
+
+ <ul>
+ <li>halba - odav</li>
+ <li>housut - püksid</li>
+ <li>kaikki kunnossa – kõik on korras</li>
+ <li>kaikki parhaat- kõike head</li>
+ <li>kassi - kott</li>
+ <li>kesä - suvi</li>
+ <li>moikkaa – tere</li>
+ <li>ostoksille - ostlema </li>
+ <li>pibo - kootud suusamüts</li>
+ <li>puhelin - telefon </li>
+ <li>puhuma - rääkima</li>
+ <li>pulma - probleem</li>
+ <li>purukummi - näts</li>
+ <li>pusero – sametist dressipluus</li>
+ <li>takki- jope</li>
+ <li>T-paita - T-särk</li>
+ </ul>
+ </div>
+
+
+ <div class="rightSide">
+ <h2>Kiri</h2>
+
+ <p>
+ <span id="Moikka" contenteditable="true">Moikka </span>
+ , jälle mina, Toits!!
+ Ma ei saa sinuga pikalt <span contenteditable="true" id="puhuda">puhuda </span>.
+ <span contenteditable="true" id="Pulma">Pulma </span> on
+ selles, et kiirustan laevale, sõidan Helsingisse <span contenteditable="true" id="ostoksille">ostoksille </span>,
+ sealt saab <span contenteditable="true" id="halba">halba </span> kraami! Kuluvaid on kindlasti juurde vaja ja
+ <span contenteditable="true" id="pibod">pibod </span> ning <span contenteditable="true" id="Tpaitad">T-paitad </span>
+ lähevad ka hästi kaubaks.
+ Eelmisest korrast on veel mõned <span contenteditable="true" id="puserod">puserod </span>,
+ <span contenteditable="true" id="takkid">takkid </span> ja veits <span contenteditable="true" id="purukummi">purukummi </span>
+ alles, aga nendega <span contenteditable="true" id="pulma">pulma </span> pole, kätte küll midagi ei jää.
+ Võtan seekord suurema <span contenteditable="true" id="kassi">kassi </span> - äkki saan kassette ka.
+ Ööbin Pekka juures, tal on <span contenteditable="true" id="puhelin">puhelin </span> - võtan ühendust.
+ Nii et praegu on <span contenteditable="true" id="kaikkiKunnossa">kaikki kunnossa </span>!
+ <br/>
+ <br/>
+ <span contenteditable="true" id="KaikkiParhaat">Kaikki parhaat </span> teile seniks!
+ </p>
+
+ </div>
+ </div>
+
+
+ <script src="script.js"></script>
+
+ <!-- JavaScript Bundle with Popper -->
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
+
+</body>
+</html>
diff --git a/rannak/mangud/arimees/soome/pildid/avatar.png b/rannak/mangud/arimees/soome/pildid/avatar.png
new file mode 100644
index 0000000..3cb21cf
--- /dev/null
+++ b/rannak/mangud/arimees/soome/pildid/avatar.png
Binary files differ
diff --git a/rannak/mangud/arimees/soome/script.js b/rannak/mangud/arimees/soome/script.js
new file mode 100644
index 0000000..25ffedd
--- /dev/null
+++ b/rannak/mangud/arimees/soome/script.js
@@ -0,0 +1,66 @@
+document.addEventListener('DOMContentLoaded', () => {
+ let btn = document.querySelector('.modalButton');
+ btn.click();
+});
+
+
+let map = {};
+map["Moikka"] = "tere";
+map["puhuda"] = "rääkida";
+map["Pulma"] = "probleem";
+map["ostoksille"] = "ostlema";
+map["halba"] = "odavat";
+map["pibod"] = "kootudsuusamütsid";
+map["Tpaitad"] = "t-särgid";
+//map["kesähousut"] = "t-särgid";
+map["puserod"] = "sametistdressipluusid"
+map["takkid"] = "joped"
+map["purukummi"] = "nätsu"
+map["pulma"] = "probleemi";
+map["kassi"] = "koti";
+map["puhelin"] = "telefon";
+map["kaikkiKunnossa"] = "kõikkorras";
+map["KaikkiParhaat"] = "kõikehead";
+
+
+let total = Object.keys(map).length;
+rightOnes = new Array();
+
+
+const words = document.querySelectorAll("span");
+
+for (let w of words){
+ w.addEventListener('DOMSubtreeModified', () => {
+
+ sone = w.id;
+
+ let x = w.innerText.replace(/\s/g, "");
+ let ignoringSpaces = x.toLowerCase();
+
+ if (ignoringSpaces == map[sone]) {
+
+ let index = rightOnes.indexOf(sone);
+ if (index == -1) {
+ rightOnes.push(sone);
+ }
+
+ w.setAttribute("contenteditable", false);
+ w.style.color = "lime";
+ }
+
+
+ if (rightOnes.length == total)
+ moveOnEnable();
+ });
+}
+
+
+
+// If All Else Done
+
+function moveOnEnable(){
+ const btn = document.querySelector(".moveOn");
+ btn.disabled = false;
+ btn.onclick = () => location.href = "";
+}
+
diff --git a/rannak/mangud/arimees/soome/style.css b/rannak/mangud/arimees/soome/style.css
new file mode 100644
index 0000000..5912b9b
--- /dev/null
+++ b/rannak/mangud/arimees/soome/style.css
@@ -0,0 +1,130 @@
+@font-face {
+ font-family: 'fontUno';
+ src: url('fonts/static/Rubik-Light.ttf');
+}
+* {box-sizing: border-box;}
+
+
+body{
+ background-color: #43464b;
+ font-family: 'fontUno';
+}
+
+
+h1 {
+ color: #2FF924;
+ font-weight: bold;
+}
+
+.moveOn{
+ display: inline-block;
+ border: none;
+ padding: 6px 12px;
+ margin-botton: 0;
+ font-size: 1rem;
+ font-weight: normal;
+ text-align: center;
+ cursor: pointer;
+ border-radius: 4px;
+ background-color: #4BB543;
+ color: white;
+}
+
+button:disabled{
+ opacity: 0.5;
+ cursor: not-allowed;
+}
+
+
+
+
+/* Modal Stuff */
+
+.avatar {
+ border-radius: 20px;
+ width: 100%;
+ max-width: 15rem;
+}
+
+.modalHeaderWrapper{
+ text-align: center;
+ margin: 0;
+ width: 100%;
+}
+
+
+
+.closeModalButton {
+ border-radius: 50px;
+}
+
+.modalButton{
+ position: absolute;
+ top: 0;
+ right: 0;
+ padding: 6px;
+ padding: 9px 25px;
+ background-color: rgba(0,136,169,1);
+ border: none;
+ border-radius: 50px;
+ cursor: pointer;
+ transition: all 0.3 ease 0;
+ margin: 3%;
+ font-size: 1.2rem;
+}
+
+.modalButton:hover{
+ background-color: rgba(0,136,169,0.8);
+}
+
+
+
+
+
+/* Main */
+.content {
+ margin-top: 3rem;
+ display: flex;
+ height: 100%;
+}
+
+.leftSide{
+ width: 30%;
+ text-align: center;
+ color: white;
+}
+.rightSide{
+ width: 70%;
+ text-align: center;
+ border-left: 7px solid black;
+ color: white;
+ padding-top: 2rem;
+}
+
+
+
+
+.rightSide p{
+ padding: 0 3rem;
+ font-size: 1.8rem;
+}
+
+h2, h3{
+ font-weight: bold;
+ color: black;
+}
+
+h2{
+ font-size: 2.7rem;
+}
+
+ul {
+ padding: 0;
+ font-size: 1.17rem;
+ list-style-type: none;
+}
+
+span{
+ color: #1fcfcf;
+ font-weight: bold
+}