From c525b29ceb91c0abacfe9916aafb1b0b48d47880 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Fri, 24 Feb 2023 17:31:06 +0200 Subject: =?UTF-8?q?Soome=20m=C3=A4ng=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rannak/mangud/arimees/soome/fonts/OFL.txt | 93 +++++++++++++++ rannak/mangud/arimees/soome/fonts/README.txt | 77 ++++++++++++ .../soome/fonts/Rubik-Italic-VariableFont_wght.ttf | Bin 0 -> 202092 bytes .../soome/fonts/Rubik-VariableFont_wght.ttf | Bin 0 -> 208336 bytes .../arimees/soome/fonts/static/Rubik-Black.ttf | Bin 0 -> 124460 bytes .../soome/fonts/static/Rubik-BlackItalic.ttf | Bin 0 -> 122068 bytes .../arimees/soome/fonts/static/Rubik-Bold.ttf | Bin 0 -> 124900 bytes .../soome/fonts/static/Rubik-BoldItalic.ttf | Bin 0 -> 122244 bytes .../arimees/soome/fonts/static/Rubik-ExtraBold.ttf | Bin 0 -> 124760 bytes .../soome/fonts/static/Rubik-ExtraBoldItalic.ttf | Bin 0 -> 122348 bytes .../arimees/soome/fonts/static/Rubik-Italic.ttf | Bin 0 -> 122212 bytes .../arimees/soome/fonts/static/Rubik-Light.ttf | Bin 0 -> 124436 bytes .../soome/fonts/static/Rubik-LightItalic.ttf | Bin 0 -> 121892 bytes .../arimees/soome/fonts/static/Rubik-Medium.ttf | Bin 0 -> 124988 bytes .../soome/fonts/static/Rubik-MediumItalic.ttf | Bin 0 -> 122324 bytes .../arimees/soome/fonts/static/Rubik-Regular.ttf | Bin 0 -> 125032 bytes .../arimees/soome/fonts/static/Rubik-SemiBold.ttf | Bin 0 -> 124972 bytes .../soome/fonts/static/Rubik-SemiBoldItalic.ttf | Bin 0 -> 122372 bytes rannak/mangud/arimees/soome/index.html | 129 ++++++++++++++++++++ rannak/mangud/arimees/soome/pildid/avatar.png | Bin 0 -> 73556 bytes rannak/mangud/arimees/soome/script.js | 66 +++++++++++ rannak/mangud/arimees/soome/style.css | 130 +++++++++++++++++++++ 22 files changed, 495 insertions(+) create mode 100644 rannak/mangud/arimees/soome/fonts/OFL.txt create mode 100644 rannak/mangud/arimees/soome/fonts/README.txt create mode 100644 rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf create mode 100644 rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf create mode 100644 rannak/mangud/arimees/soome/index.html create mode 100644 rannak/mangud/arimees/soome/pildid/avatar.png create mode 100644 rannak/mangud/arimees/soome/script.js create mode 100644 rannak/mangud/arimees/soome/style.css (limited to 'rannak/mangud/arimees/soome') 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/Rubik-Italic-VariableFont_wght.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/Rubik-VariableFont_wght.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-Black.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-BlackItalic.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-Bold.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-BoldItalic.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBold.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-ExtraBoldItalic.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-Italic.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-Light.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-LightItalic.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-Medium.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-MediumItalic.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-Regular.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBold.ttf 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/fonts/static/Rubik-SemiBoldItalic.ttf 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 @@ + + + + + + + Soome + + + + + + + + + + + + +
+

Soome

+ +

+ Leia sõnastikust soomekeelsetele sõnadele vasted ja asenda need kirja. +

+ +
+ +
+ +
+ +
+
+ + + + + + + +
+ +
+

Sõnastik

+ +
    +
  • halba - odav
  • +
  • housut - püksid
  • +
  • kaikki kunnossa – kõik on korras
  • +
  • kaikki parhaat- kõike head
  • +
  • kassi - kott
  • +
  • kesä - suvi
  • +
  • moikkaa – tere
  • +
  • ostoksille - ostlema
  • +
  • pibo - kootud suusamüts
  • +
  • puhelin - telefon
  • +
  • puhuma - rääkima
  • +
  • pulma - probleem
  • +
  • purukummi - näts
  • +
  • pusero – sametist dressipluus
  • +
  • takki- jope
  • +
  • T-paita - T-särk
  • +
+
+ + +
+

Kiri

+ +

+ Moikka + , jälle mina, Toits!! + Ma ei saa sinuga pikalt puhuda . + Pulma on + selles, et kiirustan laevale, sõidan Helsingisse ostoksille , + sealt saab halba kraami! Kuluvaid on kindlasti juurde vaja ja + pibod ning T-paitad + lähevad ka hästi kaubaks. + Eelmisest korrast on veel mõned puserod , + takkid ja veits purukummi + alles, aga nendega pulma pole, kätte küll midagi ei jää. + Võtan seekord suurema kassi - äkki saan kassette ka. + Ööbin Pekka juures, tal on puhelin - võtan ühendust. + Nii et praegu on kaikki kunnossa ! +
+
+ Kaikki parhaat teile seniks! +

+ +
+
+ + + + + + + + + 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 Binary files /dev/null and b/rannak/mangud/arimees/soome/pildid/avatar.png 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 +} -- cgit v1.2.3