diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 0d0bc67..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - - { - "type": "chrome", - "request": "launch", - "name": "Launch Chrome against localhost", - "url": "http://localhost:8080/", - "webRoot": "${workspaceFolder}" - } - - ] -} \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 0000000..cd7e7c2 --- /dev/null +++ b/404.html @@ -0,0 +1,13 @@ + + + + + + Page not found + + +

Page not found

+

Sorry, the page you are looking for does not exist.

+ Go back to the main page + + \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..856b578 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,63 @@ +Creative Commons Attribution 3.0 Unported +http://creativecommons.org/licenses/by/3.0/ + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + + 1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. + 2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License. + 3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. + 4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. + 5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. + 6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. + 7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + 8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. + 9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. + +2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + + 1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; + 2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; + 3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, + 4. to Distribute and Publicly Perform Adaptations. + 5. + + For the avoidance of doubt: + 1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; + 2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, + 3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + + 1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested. + 2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. + 3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + + 1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + 2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous + + 1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + 2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + 3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + 4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. + 5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. + 6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. diff --git a/OtherSites/originalportfolio.html b/OtherSites/originalportfolio.html new file mode 100644 index 0000000..38bb94b --- /dev/null +++ b/OtherSites/originalportfolio.html @@ -0,0 +1,545 @@ + + + + + + Dimension by HTML5 UP + + + + + + + + + +
+ + + + + +
+ + +
+

About Me

+ + +

Desde que me tenho memória o meu gosto pela arte (plástica e visual), esteve muitas vezes presente + ao longos dos anos, + mas acabei por seguir uma carreira mais cientifica/matematica nos últimos anos quando tive que + escolher a que me queria + dedicar. +

+

+ Este ano, para variar, decidi que estava na altura de não ter que optar por nenhum dos lados, não + quero seguir uma área + só cientifica ou só artística, quero ter presente no meu dia a dia ambas, e a "paleta completa dos + tons" que levam de + uma área à outra. +

+

+ Na minha perspectiva Matemática está num extremo e arte visual no outro, e eu quero estar na ponte + que os liga. Assim + estou decidida a descobrir todas essas pontes (acredito que sejam várias). Uma delas é a + "programação e multimedia", a + programação liga-se à matemática e multimedia à arte, e aproximam-se facilmente uma da outra, e + assim ficam as quatro + áreas ligadas de forma lógica. +

+

+ Por esta linha de raciocínio, este próximo ano letivo que vêm vou mudar para o curso de Matemática + Aplicada e Computação + para Engenharia Informática e Multimedia e recomeçar o meu percurso no ensino superior procurando + obter o máximo + potencial de todas estas áreas tão logicamente interligadas. +

+

+ Há mais "pontes", e eu vou desvenda-las, porque acredito que o futuro se encontra não apenas numa + área pura, mas sim, + nos tons intermédios entre todas e cada delas e é aí que devemos concentrar as nossas forças e + criatividade. +

+
+ + +
+ +

Curriculum Vitae

+

Adipiscing magna sed dolor elit. Praesent eleifend dignissim arcu, at eleifend sapien imperdiet ac. + Aliquam erat + volutpat.

+ + +
+ + +
+ +

Main Timeline

+

Adipiscing magna sed dolor elit. Praesent eleifend dignissim arcu, at eleifend sapien imperdiet ac. + Aliquam erat + volutpat.

+ + +
+ + +
+

Main projects

+ +

Here are some of the most relevant projects I have done or still doing).

+ +
    +
  • 3D: My charecter "Nibida Flaos" - [in progress 9/10] - 3d_charecter
  • +
  • Video: My Blender Video-portfolio 2021/2022 - link here
  • +
  • Web: LEIM repository - [in progress 1/10] - link + here
  • +
  • Games: Museu LM - [in progress 2/10] - not available
  • +
  • Water coulor: Woman profile - Woman_profile +
  • +
  • BD/Comics: As aventuras de Alberto Pasta - not availabl + yet
  • +
  • Writing: Romance Policial sem título - [in progress 5/10] - not available
  • +
+
+ + + + + +
+

3D art

+ +

All done using Blender (most recent version). Tutorials or imagination.

+
+ + +
+

Videos

+ +

Check my YouTube channel to watch: link here .

+
+ + +
+

Apps & Games

+ +

Lorem ipsum dolor sit amet, consectetur et adipiscing elit. Praesent eleifend dignissim arcu, at + eleifend sapien + imperdiet ac. Aliquam erat volutpat. Praesent urna nisi, fringila lorem et vehicula lacinia quam. + Integer + sollicitudin mauris nec lorem luctus ultrices. Aliquam libero et malesuada fames ac ante ipsum + primis in + faucibus. Cras viverra ligula sit amet ex mollis mattis lorem ipsum dolor sit amet.

+
+ + +
+

Writing

+ +

BD's

+

Lorem ipsum dolor sit amet, consectetur et adipiscing elit. Praesent eleifend dignissim arcu, at + eleifend sapien + imperdiet ac. Aliquam erat volutpat. Praesent urna nisi, fringila lorem et vehicula lacinia quam. + Integer + sollicitudin mauris nec lorem luctus ultrices. Aliquam libero et malesuada fames ac ante ipsum + primis in + faucibus. Cras viverra ligula sit amet ex mollis mattis lorem ipsum dolor sit amet.

+
+ + + + + +
+

Elements

+ +
+

Text

+

This is bold and this is strong. This is italic and this is + emphasized. + This is superscript text and this is subscript text. + This is underlined and this is code: for (;;) { ... }. Finally, this is a link.

+
+

Heading Level 2

+

Heading Level 3

+

Heading Level 4

+
Heading Level 5
+
Heading Level 6
+
+

Blockquote

+
Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget tempus + euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis + iaculis volutpat ac adipiscing accumsan faucibus. Vestibulum ante ipsum primis in faucibus lorem + ipsum dolor sit amet nullam adipiscing eu felis.
+

Preformatted

+
i = 0;
+
+while (!deck.isInOrder()) {
+    print 'Iteration ' + i;
+    deck.shuffle();
+    i++;
+}
+
+print 'It took ' + i + ' iterations to sort the deck.';
+
+ +
+

Lists

+ +

Unordered

+
    +
  • Dolor pulvinar etiam.
  • +
  • Sagittis adipiscing.
  • +
  • Felis enim feugiat.
  • +
+ +

Alternate

+
    +
  • Dolor pulvinar etiam.
  • +
  • Sagittis adipiscing.
  • +
  • Felis enim feugiat.
  • +
+ +

Ordered

+
    +
  1. Dolor pulvinar etiam.
  2. +
  3. Etiam vel felis viverra.
  4. +
  5. Felis enim feugiat.
  6. +
  7. Dolor pulvinar etiam.
  8. +
  9. Etiam vel felis lorem.
  10. +
  11. Felis enim et feugiat.
  12. +
+

Icons

+ + +

Actions

+ + +
+ +
+

Table

+

Default

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDescriptionPrice
Item OneAnte turpis integer aliquet porttitor.29.99
Item TwoVis ac commodo adipiscing arcu aliquet.19.99
Item Three Morbi faucibus arcu accumsan lorem.29.99
Item FourVitae integer tempus condimentum.19.99
Item FiveAnte turpis integer aliquet porttitor.29.99
100.00
+
+ +

Alternate

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDescriptionPrice
Item OneAnte turpis integer aliquet porttitor.29.99
Item TwoVis ac commodo adipiscing arcu aliquet.19.99
Item Three Morbi faucibus arcu accumsan lorem.29.99
Item FourVitae integer tempus condimentum.19.99
Item FiveAnte turpis integer aliquet porttitor.29.99
100.00
+
+
+ +
+

Buttons

+ + + +
    +
  • Disabled
  • +
  • Disabled
  • +
+
+ +
+

Form

+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
    +
  • +
  • +
+
+
+ +
+ +
+ + + + +
+ + +
+ + + + + + + + + + + \ No newline at end of file diff --git a/PCMsites/3DGalery/3d/fire_flower.glb b/PCMsites/3DGalery/3d/fire_flower.glb new file mode 100644 index 0000000..90c0421 Binary files /dev/null and b/PCMsites/3DGalery/3d/fire_flower.glb differ diff --git a/PCMsites/3DGalery/css/3dGalery.css b/PCMsites/3DGalery/css/3dGalery.css new file mode 100644 index 0000000..e69de29 diff --git a/PCMsites/3DGalery/css/noscript.css b/PCMsites/3DGalery/css/noscript.css new file mode 100644 index 0000000..e69de29 diff --git a/PCMsites/3DGalery/css/style.css b/PCMsites/3DGalery/css/style.css new file mode 100644 index 0000000..03297f6 --- /dev/null +++ b/PCMsites/3DGalery/css/style.css @@ -0,0 +1,28 @@ +#galery{ + background-color: rgb(211, 225, 195); + padding: 10px; + margin: 20px; +} + +.project{ + margin: 10px; + border: 2px solid black; + padding: 10px; +} + +h1{ + text-align: center; +} + +h2{ + text-align: center; + color: #42793c; +} + +h3{ + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; +} + +p{ + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; +} \ No newline at end of file diff --git a/PCMsites/3DGalery/js/3dGalery.js b/PCMsites/3DGalery/js/3dGalery.js new file mode 100644 index 0000000..481fb1b --- /dev/null +++ b/PCMsites/3DGalery/js/3dGalery.js @@ -0,0 +1,64 @@ +let scene, camera, renderer; + +function init() { + scene = new THREE.Scene(); + scene.background = new THREE.Color(0xdddddd); + + camera = new THREE.PerspectiveCamera(40, window.innerWidth / window.innerHeight, 1, 5000); + camera.rotation.y = 45 / 180 * Math.PI; + camera.position.x = 800; + camera.position.y = 100; + camera.position.z = 1000; + //scene.add(camera); + + controls = new THREE.OrbitControls(camera); + controls.addEventListener('change', renderer); + + hlight = new THREE.AmbientLight(0x404040, 100); + scene.add(hlight); + + directionalLight = new THREE.DirectionalLight(0xffffff, 100); + directionalLight.position.set(0, 1, 0); + directionalLight.castShadow = true; + scene.add(directionalLight); + + light = new THREE.PointLight(0xc4c4c4, 10); + light.position.set(0, 300, 500); + scene.add(light); + + light2 = new THREE.PointLight(0xc4c4c4, 10); + light2.position.set(500, 100, 0); + scene.add(light2); + + light3 = new THREE.PointLight(0xc4c4c4, 10); + light3.position.set(0, 100, -500); + scene.add(light3); + + light4 = new THREE.PointLight(0xc4c4c4, 10); + light4.position.set(-500, 300, 500); + scene.add(light4); + + + renderer = new THREE.WebGLRenderer({ antialias: true }); + renderer.setSize(window.innerWidth, window.innerHeight); + document.body.appendChild(renderer.domElement); + + //let controls = new THREE.OrbitControls(camera, renderer.domElement); + + let loader = new THREE.GLTFLoader(); + loader.load('3d/fire_flower.glb', function(gltf) { + flower = gltf.scene.children[0]; + flower.scale.set(0.5, 0.5, 0.5); + scene.add(gltf.scene); + animate(); + //renderer.render(scene, camera); + }); +} + +function animate() { + renderer.render(scene, camera); + requestAnimationFrame(animate); + +} + +init(); \ No newline at end of file diff --git a/PCMsites/3DGalery/main.html b/PCMsites/3DGalery/main.html new file mode 100644 index 0000000..29035bb --- /dev/null +++ b/PCMsites/3DGalery/main.html @@ -0,0 +1,48 @@ + + + + 3D Galery + + + + + + + + + + + + +

3D Galery

+

LM | Leonor Medeiros

+ + +
+ +
+

Project 1

+

Project 1 description

+ + + + + See detials +
+ +
+

Project 2

+

Project 2 description

+ + See detials +
+ + + +
+ + + + \ No newline at end of file diff --git a/PCMsites/3DGalery/projectDetails.html b/PCMsites/3DGalery/projectDetails.html new file mode 100644 index 0000000..a038e8d --- /dev/null +++ b/PCMsites/3DGalery/projectDetails.html @@ -0,0 +1,23 @@ + + + + Project Detail + + + + + + + + + + Back to Galery + +

Project Detail

+

Lorem ipsum dolor sit, amet consectetur adipisicing elit. Officiis eligendi suscipit in perferendis unde pariatur repellat, + temporibus modi, exercitationem fugiat nulla delectus beatae ea vitae sapiente corporis doloribus quibusdam labore. +

+ + \ No newline at end of file diff --git a/Icons/Comunication/104493_linkedin_icon.png b/PCMsites/Icons/Comunication/104493_linkedin_icon.png similarity index 100% rename from Icons/Comunication/104493_linkedin_icon.png rename to PCMsites/Icons/Comunication/104493_linkedin_icon.png diff --git a/Icons/Comunication/1161953_instagram_icon.png b/PCMsites/Icons/Comunication/1161953_instagram_icon.png similarity index 100% rename from Icons/Comunication/1161953_instagram_icon.png rename to PCMsites/Icons/Comunication/1161953_instagram_icon.png diff --git a/Icons/Comunication/291716_github_logo_social network_social_icon.png b/PCMsites/Icons/Comunication/291716_github_logo_social network_social_icon.png similarity index 100% rename from Icons/Comunication/291716_github_logo_social network_social_icon.png rename to PCMsites/Icons/Comunication/291716_github_logo_social network_social_icon.png diff --git a/Icons/Comunication/3069758_circle_discord_gaming_messenger_round icon_icon.png b/PCMsites/Icons/Comunication/3069758_circle_discord_gaming_messenger_round icon_icon.png similarity index 100% rename from Icons/Comunication/3069758_circle_discord_gaming_messenger_round icon_icon.png rename to PCMsites/Icons/Comunication/3069758_circle_discord_gaming_messenger_round icon_icon.png diff --git a/Icons/Comunication/4550857_email_gmail_mail_sending_yahoo_icon.png b/PCMsites/Icons/Comunication/4550857_email_gmail_mail_sending_yahoo_icon.png similarity index 100% rename from Icons/Comunication/4550857_email_gmail_mail_sending_yahoo_icon.png rename to PCMsites/Icons/Comunication/4550857_email_gmail_mail_sending_yahoo_icon.png diff --git a/Icons/Comunication/8546766_discord_icon.png b/PCMsites/Icons/Comunication/8546766_discord_icon.png similarity index 100% rename from Icons/Comunication/8546766_discord_icon.png rename to PCMsites/Icons/Comunication/8546766_discord_icon.png diff --git a/Icons/Comunication/8666128_artstation_icon.png b/PCMsites/Icons/Comunication/8666128_artstation_icon.png similarity index 100% rename from Icons/Comunication/8666128_artstation_icon.png rename to PCMsites/Icons/Comunication/8666128_artstation_icon.png diff --git a/Icons/Comunication/8666632_phone_icon.png b/PCMsites/Icons/Comunication/8666632_phone_icon.png similarity index 100% rename from Icons/Comunication/8666632_phone_icon.png rename to PCMsites/Icons/Comunication/8666632_phone_icon.png diff --git a/Icons/Skills/2814503_coding_filetype_javascript_programming_development_icon.png b/PCMsites/Icons/Skills/2814503_coding_filetype_javascript_programming_development_icon.png similarity index 100% rename from Icons/Skills/2814503_coding_filetype_javascript_programming_development_icon.png rename to PCMsites/Icons/Skills/2814503_coding_filetype_javascript_programming_development_icon.png diff --git a/Icons/Skills/2814504_coding_exe_filetype_program_programming_icon.png b/PCMsites/Icons/Skills/2814504_coding_exe_filetype_program_programming_icon.png similarity index 100% rename from Icons/Skills/2814504_coding_exe_filetype_program_programming_icon.png rename to PCMsites/Icons/Skills/2814504_coding_exe_filetype_program_programming_icon.png diff --git a/Icons/Skills/2814506_c++_coding_filetype_programming_extension_icon.png b/PCMsites/Icons/Skills/2814506_c++_coding_filetype_programming_extension_icon.png similarity index 100% rename from Icons/Skills/2814506_c++_coding_filetype_programming_extension_icon.png rename to PCMsites/Icons/Skills/2814506_c++_coding_filetype_programming_extension_icon.png diff --git a/Icons/Skills/2814507_coding_database_filetype_programming_sql_icon.png b/PCMsites/Icons/Skills/2814507_coding_database_filetype_programming_sql_icon.png similarity index 100% rename from Icons/Skills/2814507_coding_database_filetype_programming_sql_icon.png rename to PCMsites/Icons/Skills/2814507_coding_database_filetype_programming_sql_icon.png diff --git a/Icons/Skills/2814508_coding_css_filetype_programming_extension_icon.png b/PCMsites/Icons/Skills/2814508_coding_css_filetype_programming_extension_icon.png similarity index 100% rename from Icons/Skills/2814508_coding_css_filetype_programming_extension_icon.png rename to PCMsites/Icons/Skills/2814508_coding_css_filetype_programming_extension_icon.png diff --git a/Icons/Skills/2993707_adobe_brand_brands_logo_logos_icon.png b/PCMsites/Icons/Skills/2993707_adobe_brand_brands_logo_logos_icon.png similarity index 100% rename from Icons/Skills/2993707_adobe_brand_brands_logo_logos_icon.png rename to PCMsites/Icons/Skills/2993707_adobe_brand_brands_logo_logos_icon.png diff --git a/Icons/Skills/4373067_adobe_ai_illustrator_logo_logos_icon.png b/PCMsites/Icons/Skills/4373067_adobe_ai_illustrator_logo_logos_icon.png similarity index 100% rename from Icons/Skills/4373067_adobe_ai_illustrator_logo_logos_icon.png rename to PCMsites/Icons/Skills/4373067_adobe_ai_illustrator_logo_logos_icon.png diff --git a/Icons/Skills/4691213_python_icon.png b/PCMsites/Icons/Skills/4691213_python_icon.png similarity index 100% rename from Icons/Skills/4691213_python_icon.png rename to PCMsites/Icons/Skills/4691213_python_icon.png diff --git a/Icons/Skills/4691383_blender_icon.png b/PCMsites/Icons/Skills/4691383_blender_icon.png similarity index 100% rename from Icons/Skills/4691383_blender_icon.png rename to PCMsites/Icons/Skills/4691383_blender_icon.png diff --git a/Icons/Skills/9040392_filetype_svg_icon.png b/PCMsites/Icons/Skills/9040392_filetype_svg_icon.png similarity index 100% rename from Icons/Skills/9040392_filetype_svg_icon.png rename to PCMsites/Icons/Skills/9040392_filetype_svg_icon.png diff --git a/Icons/Util/8666551_play_circle_icon.png b/PCMsites/Icons/Util/8666551_play_circle_icon.png similarity index 100% rename from Icons/Util/8666551_play_circle_icon.png rename to PCMsites/Icons/Util/8666551_play_circle_icon.png diff --git a/Icons/Util/8666563_corner_right_down_icon.png b/PCMsites/Icons/Util/8666563_corner_right_down_icon.png similarity index 100% rename from Icons/Util/8666563_corner_right_down_icon.png rename to PCMsites/Icons/Util/8666563_corner_right_down_icon.png diff --git a/Icons/Util/8666566_alert_circle_icon.png b/PCMsites/Icons/Util/8666566_alert_circle_icon.png similarity index 100% rename from Icons/Util/8666566_alert_circle_icon.png rename to PCMsites/Icons/Util/8666566_alert_circle_icon.png diff --git a/Icons/Util/8666595_x_icon.png b/PCMsites/Icons/Util/8666595_x_icon.png similarity index 100% rename from Icons/Util/8666595_x_icon.png rename to PCMsites/Icons/Util/8666595_x_icon.png diff --git a/Icons/Util/8666634_play_icon.png b/PCMsites/Icons/Util/8666634_play_icon.png similarity index 100% rename from Icons/Util/8666634_play_icon.png rename to PCMsites/Icons/Util/8666634_play_icon.png diff --git a/Icons/Util/8666647_heart_icon.png b/PCMsites/Icons/Util/8666647_heart_icon.png similarity index 100% rename from Icons/Util/8666647_heart_icon.png rename to PCMsites/Icons/Util/8666647_heart_icon.png diff --git a/Icons/Util/8666681_edit_icon.png b/PCMsites/Icons/Util/8666681_edit_icon.png similarity index 100% rename from Icons/Util/8666681_edit_icon.png rename to PCMsites/Icons/Util/8666681_edit_icon.png diff --git a/Icons/Util/8666693_search_icon.png b/PCMsites/Icons/Util/8666693_search_icon.png similarity index 100% rename from Icons/Util/8666693_search_icon.png rename to PCMsites/Icons/Util/8666693_search_icon.png diff --git a/Icons/Util/8666696_share_2_icon.png b/PCMsites/Icons/Util/8666696_share_2_icon.png similarity index 100% rename from Icons/Util/8666696_share_2_icon.png rename to PCMsites/Icons/Util/8666696_share_2_icon.png diff --git a/Icons/Util/8666714_bell_icon.png b/PCMsites/Icons/Util/8666714_bell_icon.png similarity index 100% rename from Icons/Util/8666714_bell_icon.png rename to PCMsites/Icons/Util/8666714_bell_icon.png diff --git a/Icons/Util/8666735_moon_icon.png b/PCMsites/Icons/Util/8666735_moon_icon.png similarity index 100% rename from Icons/Util/8666735_moon_icon.png rename to PCMsites/Icons/Util/8666735_moon_icon.png diff --git a/Icons/Util/8666754_printer_print_icon.png b/PCMsites/Icons/Util/8666754_printer_print_icon.png similarity index 100% rename from Icons/Util/8666754_printer_print_icon.png rename to PCMsites/Icons/Util/8666754_printer_print_icon.png diff --git a/Icons/Util/8666796_link_2_connection_icon.png b/PCMsites/Icons/Util/8666796_link_2_connection_icon.png similarity index 100% rename from Icons/Util/8666796_link_2_connection_icon.png rename to PCMsites/Icons/Util/8666796_link_2_connection_icon.png diff --git a/Icons/Util/8666802_menu_navigation_icon.png b/PCMsites/Icons/Util/8666802_menu_navigation_icon.png similarity index 100% rename from Icons/Util/8666802_menu_navigation_icon.png rename to PCMsites/Icons/Util/8666802_menu_navigation_icon.png diff --git a/Portfolio/Styles/stylePortfolio.css b/PCMsites/Portfolio/Styles/stylePortfolio.css similarity index 94% rename from Portfolio/Styles/stylePortfolio.css rename to PCMsites/Portfolio/Styles/stylePortfolio.css index 6eb0a07..17aa589 100644 --- a/Portfolio/Styles/stylePortfolio.css +++ b/PCMsites/Portfolio/Styles/stylePortfolio.css @@ -1,87 +1,87 @@ -p{ - color: darkgray; - font: 14px roboto, sans-serif; /*colocal sans-serif no final caso não exista a font que queremos*/ - text-align: center; - justify-content: center; - margin: 5%; -} - -h1{ - color: black; - font: 14px roboto; - text-align: center; - justify-content: center; - margin: 5%; -} - -div{ - background-color: bisque; - text-align: center; - margin: 10%; - padding: 5%; -} - -.color1{ - background-color: #0f5a16; -} - -.color2{ - background-color: #b9e19c; -} - -header{ - background-color: #0f5a16; -} - -nav{ - background-color: #b9e19c; -} - -footer{ - background-color: #0f5a16; -} - -div.galery>img{ - width: 30%; - height: 30%; -} - -a:visited{ - color: rgb(215, 174, 9); -} - -div.galery{ - display: flex; - flex-wrap: wrap; - justify-content: center; - border: #0f5a16 4px solid; -} - -img{ - border: 2px solid #ecefdc; -} - -img.logo{ - width: 20px; - height: 20px; - border: 0px; -} - -.animation{ - width: 20px; - height: 20px; - background-color: #0f5a16; - position: relative; - animation-name: example; - animation-duration: 4s; - animation-iteration-count: infinite; - animation-timing-function: linear; - border-radius: 10px; -} -@keyframes example{ - 0%{background-color: #0f5a16; left: 0%; top: 0%} - 25%{background-color: #b9e19c; left: 50%; top: 50%} - 50%{background-color: #0f5a16; left: 100%; top: 100%} - 75%{background-color: #b9e19c; left: 50%; top: 50%} - 100%{background-color: #0f5a16; left: 0%; top: 0%} +p{ + color: darkgray; + font: 14px roboto, sans-serif; /*colocal sans-serif no final caso não exista a font que queremos*/ + text-align: center; + justify-content: center; + margin: 5%; +} + +h1{ + color: black; + font: 14px roboto; + text-align: center; + justify-content: center; + margin: 5%; +} + +div{ + background-color: bisque; + text-align: center; + margin: 10%; + padding: 5%; +} + +.color1{ + background-color: #0f5a16; +} + +.color2{ + background-color: #b9e19c; +} + +header{ + background-color: #0f5a16; +} + +nav{ + background-color: #b9e19c; +} + +footer{ + background-color: #0f5a16; +} + +div.galery>img{ + width: 30%; + height: 30%; +} + +a:visited{ + color: rgb(215, 174, 9); +} + +div.galery{ + display: flex; + flex-wrap: wrap; + justify-content: center; + border: #0f5a16 4px solid; +} + +img{ + border: 2px solid #ecefdc; +} + +img.logo{ + width: 20px; + height: 20px; + border: 0px; +} + +.animation{ + width: 20px; + height: 20px; + background-color: #0f5a16; + position: relative; + animation-name: example; + animation-duration: 4s; + animation-iteration-count: infinite; + animation-timing-function: linear; + border-radius: 10px; +} +@keyframes example{ + 0%{background-color: #0f5a16; left: 0%; top: 0%} + 25%{background-color: #b9e19c; left: 50%; top: 50%} + 50%{background-color: #0f5a16; left: 100%; top: 100%} + 75%{background-color: #b9e19c; left: 50%; top: 50%} + 100%{background-color: #0f5a16; left: 0%; top: 0%} } \ No newline at end of file diff --git a/Portfolio/cv.html b/PCMsites/Portfolio/cv.html similarity index 96% rename from Portfolio/cv.html rename to PCMsites/Portfolio/cv.html index bc5f18f..377abfd 100644 --- a/Portfolio/cv.html +++ b/PCMsites/Portfolio/cv.html @@ -1,74 +1,74 @@ - - - - - - - CV - - - - - - -
- logo -

Leonor Medeiros Portfolio

- -
- - -
-

Curriculum Vitae

- - -
-

Personal Information

-

Lorem ipsum, dolor sit amet consectetur adipisicing elit. Debitis, facere nam. - Debitis eum rerum quasi, doloremque inventore asperiores - porro itaque assumenda dicta totam doloribus. Eaque, nobis. Minus ducimus ipsa vel?

-
- - -

Education

-

2019-2023 - Degree in Multimedia Design and Communication

-

2016-2019 - High School in Arts

- -
-

Experience

-

Lorem ipsum dolor sit amet consectetur adipisicing elit. - Quisquam, voluptatum.

-
- -
-

Skills

-

Lorem ipsum dolor sit amet consectetur adipisicing elit. - Quisquam, voluptatum.

-
- -
- - - - - - + + + + + + + CV + + + + + + +
+ logo +

Leonor Medeiros Portfolio

+ +
+ + +
+

Curriculum Vitae

+ + +
+

Personal Information

+

Lorem ipsum, dolor sit amet consectetur adipisicing elit. Debitis, facere nam. + Debitis eum rerum quasi, doloremque inventore asperiores + porro itaque assumenda dicta totam doloribus. Eaque, nobis. Minus ducimus ipsa vel?

+
+ + +

Education

+

2019-2023 - Degree in Multimedia Design and Communication

+

2016-2019 - High School in Arts

+ +
+

Experience

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. + Quisquam, voluptatum.

+
+ +
+

Skills

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. + Quisquam, voluptatum.

+
+ +
+ + + + + + \ No newline at end of file diff --git a/Portfolio/galery.html b/PCMsites/Portfolio/galery.html similarity index 97% rename from Portfolio/galery.html rename to PCMsites/Portfolio/galery.html index a2b5222..8b6d219 100644 --- a/Portfolio/galery.html +++ b/PCMsites/Portfolio/galery.html @@ -1,68 +1,68 @@ - - - - - - - Galery - - - - - - -
- logo -

Leonor Medeiros Portfolio

- -
- - -
-

Galery

-
-

B&W

-
- photo_X - photo_X - photo_X - photo_X - photo_X - photo_X - photo_X - photo_X - photo_x -
-
- -
-

Nature

-
- photo_X - photo_X - -
-
-
- - - - - - - - + + + + + + + Galery + + + + + + +
+ logo +

Leonor Medeiros Portfolio

+ +
+ + +
+

Galery

+
+

B&W

+
+ photo_X + photo_X + photo_X + photo_X + photo_X + photo_X + photo_X + photo_X + photo_x +
+
+ +
+

Nature

+
+ photo_X + photo_X + +
+
+
+ + + + + + + + \ No newline at end of file diff --git a/Portfolio/img/Leonor Medeiros_banner.png b/PCMsites/Portfolio/img/Leonor Medeiros_banner.png similarity index 100% rename from Portfolio/img/Leonor Medeiros_banner.png rename to PCMsites/Portfolio/img/Leonor Medeiros_banner.png diff --git a/Portfolio/img/galery/IMG-20230801-WA0003.jpg b/PCMsites/Portfolio/img/galery/IMG-20230801-WA0003.jpg similarity index 100% rename from Portfolio/img/galery/IMG-20230801-WA0003.jpg rename to PCMsites/Portfolio/img/galery/IMG-20230801-WA0003.jpg diff --git a/Portfolio/img/galery/IMG_20230801_214033.jpg b/PCMsites/Portfolio/img/galery/IMG_20230801_214033.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230801_214033.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230801_214033.jpg diff --git a/Portfolio/img/galery/IMG_20230918_221354.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_221354.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_221354.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_221354.jpg diff --git a/Portfolio/img/galery/IMG_20230918_223335.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_223335.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_223335.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_223335.jpg diff --git a/Portfolio/img/galery/IMG_20230918_223736.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_223736.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_223736.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_223736.jpg diff --git a/Portfolio/img/galery/IMG_20230918_223955.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_223955.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_223955.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_223955.jpg diff --git a/Portfolio/img/galery/IMG_20230918_224254.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_224254.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_224254.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_224254.jpg diff --git a/Portfolio/img/galery/IMG_20230918_224811.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_224811.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_224811.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_224811.jpg diff --git a/Portfolio/img/galery/IMG_20230918_225048.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_225048.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_225048.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_225048.jpg diff --git a/Portfolio/img/galery/IMG_20230918_225316.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_225316.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_225316.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_225316.jpg diff --git a/Portfolio/img/galery/IMG_20230918_231055.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_231055.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_231055.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_231055.jpg diff --git a/Portfolio/img/galery/IMG_20230918_231138_square.jpg b/PCMsites/Portfolio/img/galery/IMG_20230918_231138_square.jpg similarity index 100% rename from Portfolio/img/galery/IMG_20230918_231138_square.jpg rename to PCMsites/Portfolio/img/galery/IMG_20230918_231138_square.jpg diff --git a/Portfolio/img/icons/104493_linkedin_icon.png b/PCMsites/Portfolio/img/icons/104493_linkedin_icon.png similarity index 100% rename from Portfolio/img/icons/104493_linkedin_icon.png rename to PCMsites/Portfolio/img/icons/104493_linkedin_icon.png diff --git a/Portfolio/img/icons/291716_github_logo_social network_social_icon.png b/PCMsites/Portfolio/img/icons/291716_github_logo_social network_social_icon.png similarity index 100% rename from Portfolio/img/icons/291716_github_logo_social network_social_icon.png rename to PCMsites/Portfolio/img/icons/291716_github_logo_social network_social_icon.png diff --git a/Portfolio/img/icons/4550857_email_gmail_mail_sending_yahoo_icon.png b/PCMsites/Portfolio/img/icons/4550857_email_gmail_mail_sending_yahoo_icon.png similarity index 100% rename from Portfolio/img/icons/4550857_email_gmail_mail_sending_yahoo_icon.png rename to PCMsites/Portfolio/img/icons/4550857_email_gmail_mail_sending_yahoo_icon.png diff --git a/Portfolio/img/icons/8666128_artstation_icon.png b/PCMsites/Portfolio/img/icons/8666128_artstation_icon.png similarity index 100% rename from Portfolio/img/icons/8666128_artstation_icon.png rename to PCMsites/Portfolio/img/icons/8666128_artstation_icon.png diff --git a/Portfolio/img/logo.jpg b/PCMsites/Portfolio/img/logo.jpg similarity index 100% rename from Portfolio/img/logo.jpg rename to PCMsites/Portfolio/img/logo.jpg diff --git a/Portfolio/img/logo.svg b/PCMsites/Portfolio/img/logo.svg similarity index 100% rename from Portfolio/img/logo.svg rename to PCMsites/Portfolio/img/logo.svg diff --git a/Portfolio/main.html b/PCMsites/Portfolio/main.html similarity index 97% rename from Portfolio/main.html rename to PCMsites/Portfolio/main.html index 4c5548f..bc6e0f2 100644 --- a/Portfolio/main.html +++ b/PCMsites/Portfolio/main.html @@ -1,62 +1,62 @@ - - - - - - Portfolio - - - - - -
- -

Leonor Medeiros Portfolio

- -
- - -
-
- -
- -
-

Welcome to my portfolio

-

Lorem ipsum dolor sit, amet consectetur adipisicing elit. Non quidem tenetur repudiandae hic eius. Facere quos odit fugit ullam reiciendis suscipit - asperiores exercitationem earum culpa, cumque nisi illo, ea blanditiis?

-
- -
- - -
-

Projects

-
-

DV class project

-

Create a simplicate image of an insect.

- logo -
-
-

Project 2

-

Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.

-
-
- -
- - - - + + + + + + Portfolio + + + + + +
+ +

Leonor Medeiros Portfolio

+ +
+ + +
+
+ +
+ +
+

Welcome to my portfolio

+

Lorem ipsum dolor sit, amet consectetur adipisicing elit. Non quidem tenetur repudiandae hic eius. Facere quos odit fugit ullam reiciendis suscipit + asperiores exercitationem earum culpa, cumque nisi illo, ea blanditiis?

+
+ +
+ + +
+

Projects

+
+

DV class project

+

Create a simplicate image of an insect.

+ logo +
+
+

Project 2

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.

+
+
+ +
+ + + + \ No newline at end of file diff --git a/README.rm b/PCMsites/README.rm similarity index 93% rename from README.rm rename to PCMsites/README.rm index e33d0ff..6b3009d 100644 --- a/README.rm +++ b/PCMsites/README.rm @@ -1,9 +1,9 @@ -link: https://leonorme.github.io/ - -@LeonorMe -Leonor Medeiros -Setembro 2023 - -UC: PCM -Descrição: Design de Websites Responsivos - +link: https://leonorme.github.io/ + +@LeonorMe +Leonor Medeiros +Setembro 2023 + +UC: PCM +Descrição: Design de Websites Responsivos + diff --git a/PCMsites/TP1/css/main.css b/PCMsites/TP1/css/main.css new file mode 100644 index 0000000..ca1b71e --- /dev/null +++ b/PCMsites/TP1/css/main.css @@ -0,0 +1,226 @@ +body { + font-family: 'Kalam', cursive; +} + +.headerDiv{ + background-color: green; + padding: 1%; + align-items: center; + justify-content: space-between; +} + + +.texto{ + +} + +#slideshow{ + +} + +#mainNav{ + background-color: rgb(40, 40, 40); + align-items: center; + justify-content: space-between; +} + +#nameBox{ + border: green 3px solid; + border-radius: 5px; + padding: 1%; + color: green; +} + +#nameBox:hover{ + background-color: white +} + +a.nav-link{ + color: white; +} + +a.nav-link:hover { + background-color: green; + color:white; +} + +a.dropdown-item{ + color: white; +} + +a.dropdown-item:hover { + background-color: green; + color: white; +} + +.dropdown-divider{ + width: 20%; + margin-left: 2%; + background-color: green; +} + +#skills div{ +} + +#skills{ + margin: 5%; +} + +.overlay { + background-color: #3a923a77; + position: absolute; + width: 100%; + height: 100%; + clip-path: polygon(0 0, 100% 0, 100% 85%, 0 95%); + z-index: 1; + pointer-events: none; +} +.carousel-item { + min-height: 60vh; + clip-path: polygon(0 0, 100% 0, 100% 85%, 0 95%); +} + +.carouselText, +.carouselButton { + z-index: 20; +} + +.carouselButton{ + border-radius: 5px; + border: white 3px solid; + color: white; +} + +.carouselButton:hover{ + background-color: white; + color: green; + position: absolute; + top: 58%; + animation-duration: 3ms; +} + +.carouselText{ + position: absolute; + top: 50%; + left: 50%; + color: white; + z-index: 20; +} + +.menuBtn{ + border: green 3px solid; + padding: 5px 7px; + border-radius: 5px; + margin: 0; +} + + +.icon { + color: #ffffff; +} + +.icon:hover { + color: #000000; +} + +.skillsTitle{ + text-transform: uppercase; +} + +footer{ + background-color: rgb(40, 40, 40); + color: white; + padding: 1%; +} + + +.bar1, +.bar2, +.bar3 { + width: 23px; + height: 3px; + margin: 5px; + background: #2a9134; + transition: all 0.5s ease; +} + +.change .bar1 { + transform: rotate(-45deg) translate(-5px, 6px); +} + +.change .bar2 { + opacity: 0; +} + +.change .bar3 { + transform: rotate(45deg) translate(-5px, -6px) +} + +/* .change .bar1{ + transform: rotate(45deg) translate(+5px, -6px); +} */ + + +#goTop{ + border: green 3px solid; + background-color: green; + margin: 3%; +} + +.checkBoxGoTop{ + position: absolute; +} + +.skills-item { + /* inverter o clip-path na vertical */ + clip-path: polygon(0 0, 0 100%, 100% 100%, 50% 0, 100% 0); + + background-color: rgb(40, 40, 40); +} + +#about-me{ + background-color: gray; + width: 100%; + height: 100%; + clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%); + z-index: -1; + /*pointer-events: none;*/ + padding: 10%; +} + +#download-resume{ + background-color: rgb(218, 234, 218); + color: green; + box-shadow: 0 0 10px rgba(0,0,0,0.5); + border-radius: 5px; + padding: 1% 4%; + position: relative; +} + +#download-resume:hover{ + background-color: green; + color: white; + top: -10px; + transition: color 2s ease; +} + +#progress-box{ + border: #2a9134 3px solid; +} + +.project-image{ + opacity:0; +} +.project-image:hover{ + opacity: 1; + transition: opacity 1s ease; + z-index: 2; +} + +.card-img-top:hover{ + background-color: rgba(0, 128, 0, 0.5); + clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0); + z-index: 1; + transform: scale(1.2); + transition: transform 1s ease-out; +} \ No newline at end of file diff --git a/PCMsites/TP1/img/CV-LeonorMedeiros-ISEL-Geral-2023-09-19 - Google Docs.pdf b/PCMsites/TP1/img/CV-LeonorMedeiros-ISEL-Geral-2023-09-19 - Google Docs.pdf new file mode 100644 index 0000000..0cf31cd Binary files /dev/null and b/PCMsites/TP1/img/CV-LeonorMedeiros-ISEL-Geral-2023-09-19 - Google Docs.pdf differ diff --git a/PCMsites/TP1/img/banner-1.jpeg b/PCMsites/TP1/img/banner-1.jpeg new file mode 100644 index 0000000..4caa6b1 Binary files /dev/null and b/PCMsites/TP1/img/banner-1.jpeg differ diff --git a/PCMsites/TP1/img/banner-2.jpeg b/PCMsites/TP1/img/banner-2.jpeg new file mode 100644 index 0000000..5b4c879 Binary files /dev/null and b/PCMsites/TP1/img/banner-2.jpeg differ diff --git a/PCMsites/TP1/img/banner-2.jpg b/PCMsites/TP1/img/banner-2.jpg new file mode 100644 index 0000000..5b4c879 Binary files /dev/null and b/PCMsites/TP1/img/banner-2.jpg differ diff --git a/PCMsites/TP1/img/banner-3.jpeg b/PCMsites/TP1/img/banner-3.jpeg new file mode 100644 index 0000000..54489fb Binary files /dev/null and b/PCMsites/TP1/img/banner-3.jpeg differ diff --git a/PCMsites/TP1/img/current-project.jpeg b/PCMsites/TP1/img/current-project.jpeg new file mode 100644 index 0000000..99d6acb Binary files /dev/null and b/PCMsites/TP1/img/current-project.jpeg differ diff --git a/PCMsites/TP1/img/img1.jpg b/PCMsites/TP1/img/img1.jpg new file mode 100644 index 0000000..84a03e5 Binary files /dev/null and b/PCMsites/TP1/img/img1.jpg differ diff --git a/PCMsites/TP1/img/img1ns.jpg b/PCMsites/TP1/img/img1ns.jpg new file mode 100644 index 0000000..7dfdb96 Binary files /dev/null and b/PCMsites/TP1/img/img1ns.jpg differ diff --git a/PCMsites/TP1/img/img1s.jpg b/PCMsites/TP1/img/img1s.jpg new file mode 100644 index 0000000..e8e1833 Binary files /dev/null and b/PCMsites/TP1/img/img1s.jpg differ diff --git a/PCMsites/TP1/img/img2.jpg b/PCMsites/TP1/img/img2.jpg new file mode 100644 index 0000000..05057db Binary files /dev/null and b/PCMsites/TP1/img/img2.jpg differ diff --git a/PCMsites/TP1/img/img3.jpg b/PCMsites/TP1/img/img3.jpg new file mode 100644 index 0000000..a3dfcb5 Binary files /dev/null and b/PCMsites/TP1/img/img3.jpg differ diff --git a/PCMsites/TP1/img/img3s.jpg b/PCMsites/TP1/img/img3s.jpg new file mode 100644 index 0000000..f937103 Binary files /dev/null and b/PCMsites/TP1/img/img3s.jpg differ diff --git a/PCMsites/TP1/img/img3s1.png b/PCMsites/TP1/img/img3s1.png new file mode 100644 index 0000000..049930a Binary files /dev/null and b/PCMsites/TP1/img/img3s1.png differ diff --git a/PCMsites/TP1/img/img4.jpg b/PCMsites/TP1/img/img4.jpg new file mode 100644 index 0000000..7bf9078 Binary files /dev/null and b/PCMsites/TP1/img/img4.jpg differ diff --git a/PCMsites/TP1/img/img4s.png b/PCMsites/TP1/img/img4s.png new file mode 100644 index 0000000..e4fd9c3 Binary files /dev/null and b/PCMsites/TP1/img/img4s.png differ diff --git a/PCMsites/TP1/img/projects-coffee-1.jpeg b/PCMsites/TP1/img/projects-coffee-1.jpeg new file mode 100644 index 0000000..237562c Binary files /dev/null and b/PCMsites/TP1/img/projects-coffee-1.jpeg differ diff --git a/PCMsites/TP1/img/projects-coffee-2.jpeg b/PCMsites/TP1/img/projects-coffee-2.jpeg new file mode 100644 index 0000000..112119c Binary files /dev/null and b/PCMsites/TP1/img/projects-coffee-2.jpeg differ diff --git a/PCMsites/TP1/img/projects-coffee-3.jpeg b/PCMsites/TP1/img/projects-coffee-3.jpeg new file mode 100644 index 0000000..5357b5c Binary files /dev/null and b/PCMsites/TP1/img/projects-coffee-3.jpeg differ diff --git a/PCMsites/TP1/img/projects-tea-1.jpeg b/PCMsites/TP1/img/projects-tea-1.jpeg new file mode 100644 index 0000000..84e2e6f Binary files /dev/null and b/PCMsites/TP1/img/projects-tea-1.jpeg differ diff --git a/PCMsites/TP1/img/projects-tea-2.jpeg b/PCMsites/TP1/img/projects-tea-2.jpeg new file mode 100644 index 0000000..086430b Binary files /dev/null and b/PCMsites/TP1/img/projects-tea-2.jpeg differ diff --git a/PCMsites/TP1/img/projects-tea-3.jpeg b/PCMsites/TP1/img/projects-tea-3.jpeg new file mode 100644 index 0000000..3023511 Binary files /dev/null and b/PCMsites/TP1/img/projects-tea-3.jpeg differ diff --git a/PCMsites/TP1/img/projects-water-1.jpeg b/PCMsites/TP1/img/projects-water-1.jpeg new file mode 100644 index 0000000..65edb60 Binary files /dev/null and b/PCMsites/TP1/img/projects-water-1.jpeg differ diff --git a/PCMsites/TP1/img/projects-water-2.jpeg b/PCMsites/TP1/img/projects-water-2.jpeg new file mode 100644 index 0000000..3056440 Binary files /dev/null and b/PCMsites/TP1/img/projects-water-2.jpeg differ diff --git a/PCMsites/TP1/img/projects-water-3.jpeg b/PCMsites/TP1/img/projects-water-3.jpeg new file mode 100644 index 0000000..97f399c Binary files /dev/null and b/PCMsites/TP1/img/projects-water-3.jpeg differ diff --git a/PCMsites/TP1/img/video-filler.jpeg b/PCMsites/TP1/img/video-filler.jpeg new file mode 100644 index 0000000..8d04e92 Binary files /dev/null and b/PCMsites/TP1/img/video-filler.jpeg differ diff --git a/PCMsites/TP1/index.html b/PCMsites/TP1/index.html new file mode 100644 index 0000000..3c264eb --- /dev/null +++ b/PCMsites/TP1/index.html @@ -0,0 +1,417 @@ + + + + + My Portfolio + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + +
+
+ all rigths reserved +
+
+
+ + + + + +
+ +
+ + +
+ + +
+
+
+
+

My Skills

+
Multimedia and Machine Learning
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+

Web

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Suscipit excepturi vero. + Sequi, odio totam commodi itaque cum illo.

+
+
+
+
+
+
+ +
+
+

Mobile

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Suscipit excepturi vero. + Sequi, odio totam commodi itaque cum illo.

+
+
+
+
+
+
+ +
+
+

Multimedia

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Suscipit excepturi vero. + Sequi, odio totam commodi itaque cum illo.

+
+
+
+
+
+
+ +
+
+

M. Learning

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Suscipit excepturi vero. + Sequi, odio totam commodi itaque cum illo.

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

About Me

+
Teaching, Researching and Engineering
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+
Web
+
70%
+
+ +
+
70%
+
+
+ +
+
+
+
Mobile
+
+
+
80%
+
+
+ +
+
80%
+
+
+ +
+
+
+
Multimedia
+
+
+
90%
+
+
+ +
+
90%
+
+
+ +
+
+
+
+
+
+

Alway learning and pushing boundaries

+

See my detailed resume to understand my boundaries

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

Projects

+
Research, Industry and Academics
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+

Multimedia Applications

+
+
+
+
+
+
+ +
+ Card image cap + +
+
Card title
+

Some quick example text to build on the card title and make up the bulk of the card's + content.

+
+
+
+
+
+ Card image cap +
+
Card title
+

Some quick example text to build on the card title and make up the bulk of the card's + content.

+
+
+
+
+
+ Card image cap +
+
Card title
+

Some quick example text to build on the card title and make up the bulk of the card's + content.

+
+
+
+
+
+ + +
+
+ + +
+ + + + + + + + + + \ No newline at end of file diff --git a/PCMsites/TP2/.DS_Store b/PCMsites/TP2/.DS_Store new file mode 100644 index 0000000..dee0e3e Binary files /dev/null and b/PCMsites/TP2/.DS_Store differ diff --git a/PCMsites/TP2/blackjack_oop.html b/PCMsites/TP2/blackjack_oop.html new file mode 100644 index 0000000..5821c6a --- /dev/null +++ b/PCMsites/TP2/blackjack_oop.html @@ -0,0 +1,105 @@ + + + + + + + + + + + Blackjack + + + + + +
+
+
+

Dealer

+

+
+ +
+
+ +
+

Player

+

+
+ +
+
+ +
+

+
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/PCMsites/TP2/css/blackjack_style.css b/PCMsites/TP2/css/blackjack_style.css new file mode 100644 index 0000000..45f9022 --- /dev/null +++ b/PCMsites/TP2/css/blackjack_style.css @@ -0,0 +1,90 @@ +body{ + background-color: rgb(15, 15, 15); + color: silver; + font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; + text-align: center; +} + +h1{ + color: #008000; + text-align: left; +} + +h2{ + color: white; + text-align: center; +} + +.logo{ + width: 50px; +} + +.card{ + width: 100px; + align-items: center; + text-align: center; +} + +.row { + display: flex; + flex-direction: row; + justify-content: center; + align-content: space-around; +} + +.col { + display: flex; + flex-direction: column; + justify-content: center; +} + +#header{ + background-color: rgb(0, 0, 0); + padding: 2% 0; +} + +#game{ + background-color: rgb(59, 68, 59); + border: black solid 10px; + padding: 5%; + margin: 5% 0; +} + +#dealerInfo{ + margin: 0 0 5% 0; + +} + +#playerInfo{ + margin: 0 0 5% 0; +} + +#buttons{ + margin: 5% 0 0 0; +} + +#gameStatus{ + margin: 0 0 3% 0; +} + +#sec_debug{ + margin: 5% 0; + opacity: 0.5; +} + +#footer{ + background-color: rgb(0, 0, 0); + padding: 3% 0; +} + +a{ + color: #008000; + text-decoration: none; +} +a :hover{ + color: #00ff00; +} + +a:visited{ + color: silver; +} \ No newline at end of file diff --git a/PCMsites/TP2/img/png/10_of_clubs.png b/PCMsites/TP2/img/png/10_of_clubs.png new file mode 100644 index 0000000..18af741 Binary files /dev/null and b/PCMsites/TP2/img/png/10_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/10_of_diamonds.png b/PCMsites/TP2/img/png/10_of_diamonds.png new file mode 100644 index 0000000..3bbc4e0 Binary files /dev/null and b/PCMsites/TP2/img/png/10_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/10_of_hearts.png b/PCMsites/TP2/img/png/10_of_hearts.png new file mode 100644 index 0000000..3eb83d7 Binary files /dev/null and b/PCMsites/TP2/img/png/10_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/10_of_spades.png b/PCMsites/TP2/img/png/10_of_spades.png new file mode 100644 index 0000000..0b3d294 Binary files /dev/null and b/PCMsites/TP2/img/png/10_of_spades.png differ diff --git a/PCMsites/TP2/img/png/2_of_clubs.png b/PCMsites/TP2/img/png/2_of_clubs.png new file mode 100644 index 0000000..291ed97 Binary files /dev/null and b/PCMsites/TP2/img/png/2_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/2_of_diamonds.png b/PCMsites/TP2/img/png/2_of_diamonds.png new file mode 100644 index 0000000..4deee7c Binary files /dev/null and b/PCMsites/TP2/img/png/2_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/2_of_hearts.png b/PCMsites/TP2/img/png/2_of_hearts.png new file mode 100644 index 0000000..75a014f Binary files /dev/null and b/PCMsites/TP2/img/png/2_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/2_of_spades.png b/PCMsites/TP2/img/png/2_of_spades.png new file mode 100644 index 0000000..1ce0ffe Binary files /dev/null and b/PCMsites/TP2/img/png/2_of_spades.png differ diff --git a/PCMsites/TP2/img/png/3_of_clubs.png b/PCMsites/TP2/img/png/3_of_clubs.png new file mode 100644 index 0000000..076ab31 Binary files /dev/null and b/PCMsites/TP2/img/png/3_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/3_of_diamonds.png b/PCMsites/TP2/img/png/3_of_diamonds.png new file mode 100644 index 0000000..8ee0b4b Binary files /dev/null and b/PCMsites/TP2/img/png/3_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/3_of_hearts.png b/PCMsites/TP2/img/png/3_of_hearts.png new file mode 100644 index 0000000..8e74673 Binary files /dev/null and b/PCMsites/TP2/img/png/3_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/3_of_spades.png b/PCMsites/TP2/img/png/3_of_spades.png new file mode 100644 index 0000000..f9e06b4 Binary files /dev/null and b/PCMsites/TP2/img/png/3_of_spades.png differ diff --git a/PCMsites/TP2/img/png/4_of_clubs.png b/PCMsites/TP2/img/png/4_of_clubs.png new file mode 100644 index 0000000..8be9e08 Binary files /dev/null and b/PCMsites/TP2/img/png/4_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/4_of_diamonds.png b/PCMsites/TP2/img/png/4_of_diamonds.png new file mode 100644 index 0000000..70e82e8 Binary files /dev/null and b/PCMsites/TP2/img/png/4_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/4_of_hearts.png b/PCMsites/TP2/img/png/4_of_hearts.png new file mode 100644 index 0000000..ceecbfe Binary files /dev/null and b/PCMsites/TP2/img/png/4_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/4_of_spades.png b/PCMsites/TP2/img/png/4_of_spades.png new file mode 100644 index 0000000..95abe3e Binary files /dev/null and b/PCMsites/TP2/img/png/4_of_spades.png differ diff --git a/PCMsites/TP2/img/png/5_of_clubs.png b/PCMsites/TP2/img/png/5_of_clubs.png new file mode 100644 index 0000000..bde9777 Binary files /dev/null and b/PCMsites/TP2/img/png/5_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/5_of_diamonds.png b/PCMsites/TP2/img/png/5_of_diamonds.png new file mode 100644 index 0000000..bb92525 Binary files /dev/null and b/PCMsites/TP2/img/png/5_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/5_of_hearts.png b/PCMsites/TP2/img/png/5_of_hearts.png new file mode 100644 index 0000000..d923456 Binary files /dev/null and b/PCMsites/TP2/img/png/5_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/5_of_spades.png b/PCMsites/TP2/img/png/5_of_spades.png new file mode 100644 index 0000000..53a1aad Binary files /dev/null and b/PCMsites/TP2/img/png/5_of_spades.png differ diff --git a/PCMsites/TP2/img/png/6_of_clubs.png b/PCMsites/TP2/img/png/6_of_clubs.png new file mode 100644 index 0000000..a9660a0 Binary files /dev/null and b/PCMsites/TP2/img/png/6_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/6_of_diamonds.png b/PCMsites/TP2/img/png/6_of_diamonds.png new file mode 100644 index 0000000..78a80ad Binary files /dev/null and b/PCMsites/TP2/img/png/6_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/6_of_hearts.png b/PCMsites/TP2/img/png/6_of_hearts.png new file mode 100644 index 0000000..361643e Binary files /dev/null and b/PCMsites/TP2/img/png/6_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/6_of_spades.png b/PCMsites/TP2/img/png/6_of_spades.png new file mode 100644 index 0000000..40242a7 Binary files /dev/null and b/PCMsites/TP2/img/png/6_of_spades.png differ diff --git a/PCMsites/TP2/img/png/7_of_clubs.png b/PCMsites/TP2/img/png/7_of_clubs.png new file mode 100644 index 0000000..9d6b545 Binary files /dev/null and b/PCMsites/TP2/img/png/7_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/7_of_diamonds.png b/PCMsites/TP2/img/png/7_of_diamonds.png new file mode 100644 index 0000000..6ad5f15 Binary files /dev/null and b/PCMsites/TP2/img/png/7_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/7_of_hearts.png b/PCMsites/TP2/img/png/7_of_hearts.png new file mode 100644 index 0000000..19b89a2 Binary files /dev/null and b/PCMsites/TP2/img/png/7_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/7_of_spades.png b/PCMsites/TP2/img/png/7_of_spades.png new file mode 100644 index 0000000..b9f1b93 Binary files /dev/null and b/PCMsites/TP2/img/png/7_of_spades.png differ diff --git a/PCMsites/TP2/img/png/8_of_clubs.png b/PCMsites/TP2/img/png/8_of_clubs.png new file mode 100644 index 0000000..cec743c Binary files /dev/null and b/PCMsites/TP2/img/png/8_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/8_of_diamonds.png b/PCMsites/TP2/img/png/8_of_diamonds.png new file mode 100644 index 0000000..ed12951 Binary files /dev/null and b/PCMsites/TP2/img/png/8_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/8_of_hearts.png b/PCMsites/TP2/img/png/8_of_hearts.png new file mode 100644 index 0000000..fb39723 Binary files /dev/null and b/PCMsites/TP2/img/png/8_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/8_of_spades.png b/PCMsites/TP2/img/png/8_of_spades.png new file mode 100644 index 0000000..b6b3b38 Binary files /dev/null and b/PCMsites/TP2/img/png/8_of_spades.png differ diff --git a/PCMsites/TP2/img/png/9_of_clubs.png b/PCMsites/TP2/img/png/9_of_clubs.png new file mode 100644 index 0000000..2174db5 Binary files /dev/null and b/PCMsites/TP2/img/png/9_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/9_of_diamonds.png b/PCMsites/TP2/img/png/9_of_diamonds.png new file mode 100644 index 0000000..0b933fb Binary files /dev/null and b/PCMsites/TP2/img/png/9_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/9_of_hearts.png b/PCMsites/TP2/img/png/9_of_hearts.png new file mode 100644 index 0000000..7b196d6 Binary files /dev/null and b/PCMsites/TP2/img/png/9_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/9_of_spades.png b/PCMsites/TP2/img/png/9_of_spades.png new file mode 100644 index 0000000..3c3b5ff Binary files /dev/null and b/PCMsites/TP2/img/png/9_of_spades.png differ diff --git a/PCMsites/TP2/img/png/ace_of_clubs.png b/PCMsites/TP2/img/png/ace_of_clubs.png new file mode 100644 index 0000000..42bf5ec Binary files /dev/null and b/PCMsites/TP2/img/png/ace_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/ace_of_diamonds.png b/PCMsites/TP2/img/png/ace_of_diamonds.png new file mode 100644 index 0000000..79cd3b8 Binary files /dev/null and b/PCMsites/TP2/img/png/ace_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/ace_of_hearts.png b/PCMsites/TP2/img/png/ace_of_hearts.png new file mode 100644 index 0000000..b422124 Binary files /dev/null and b/PCMsites/TP2/img/png/ace_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/ace_of_spades.png b/PCMsites/TP2/img/png/ace_of_spades.png new file mode 100644 index 0000000..103f56d Binary files /dev/null and b/PCMsites/TP2/img/png/ace_of_spades.png differ diff --git a/PCMsites/TP2/img/png/ace_of_spades2.png b/PCMsites/TP2/img/png/ace_of_spades2.png new file mode 100644 index 0000000..fbc3a2d Binary files /dev/null and b/PCMsites/TP2/img/png/ace_of_spades2.png differ diff --git a/PCMsites/TP2/img/png/black_joker.png b/PCMsites/TP2/img/png/black_joker.png new file mode 100644 index 0000000..000b640 Binary files /dev/null and b/PCMsites/TP2/img/png/black_joker.png differ diff --git a/PCMsites/TP2/img/png/card_back.png b/PCMsites/TP2/img/png/card_back.png new file mode 100644 index 0000000..25824f3 Binary files /dev/null and b/PCMsites/TP2/img/png/card_back.png differ diff --git a/PCMsites/TP2/img/png/jack_of_clubs.png b/PCMsites/TP2/img/png/jack_of_clubs.png new file mode 100644 index 0000000..8bad610 Binary files /dev/null and b/PCMsites/TP2/img/png/jack_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/jack_of_clubs2.png b/PCMsites/TP2/img/png/jack_of_clubs2.png new file mode 100644 index 0000000..5e003be Binary files /dev/null and b/PCMsites/TP2/img/png/jack_of_clubs2.png differ diff --git a/PCMsites/TP2/img/png/jack_of_diamonds.png b/PCMsites/TP2/img/png/jack_of_diamonds.png new file mode 100644 index 0000000..0494785 Binary files /dev/null and b/PCMsites/TP2/img/png/jack_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/jack_of_diamonds2.png b/PCMsites/TP2/img/png/jack_of_diamonds2.png new file mode 100644 index 0000000..131a977 Binary files /dev/null and b/PCMsites/TP2/img/png/jack_of_diamonds2.png differ diff --git a/PCMsites/TP2/img/png/jack_of_hearts.png b/PCMsites/TP2/img/png/jack_of_hearts.png new file mode 100644 index 0000000..03cdfd4 Binary files /dev/null and b/PCMsites/TP2/img/png/jack_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/jack_of_hearts2.png b/PCMsites/TP2/img/png/jack_of_hearts2.png new file mode 100644 index 0000000..bf342bc Binary files /dev/null and b/PCMsites/TP2/img/png/jack_of_hearts2.png differ diff --git a/PCMsites/TP2/img/png/jack_of_spades.png b/PCMsites/TP2/img/png/jack_of_spades.png new file mode 100644 index 0000000..734e4b1 Binary files /dev/null and b/PCMsites/TP2/img/png/jack_of_spades.png differ diff --git a/PCMsites/TP2/img/png/jack_of_spades2.png b/PCMsites/TP2/img/png/jack_of_spades2.png new file mode 100644 index 0000000..f539c19 Binary files /dev/null and b/PCMsites/TP2/img/png/jack_of_spades2.png differ diff --git a/PCMsites/TP2/img/png/king_of_clubs.png b/PCMsites/TP2/img/png/king_of_clubs.png new file mode 100644 index 0000000..ebde974 Binary files /dev/null and b/PCMsites/TP2/img/png/king_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/king_of_clubs2.png b/PCMsites/TP2/img/png/king_of_clubs2.png new file mode 100644 index 0000000..68e5774 Binary files /dev/null and b/PCMsites/TP2/img/png/king_of_clubs2.png differ diff --git a/PCMsites/TP2/img/png/king_of_diamonds.png b/PCMsites/TP2/img/png/king_of_diamonds.png new file mode 100644 index 0000000..4c9aaf2 Binary files /dev/null and b/PCMsites/TP2/img/png/king_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/king_of_diamonds2.png b/PCMsites/TP2/img/png/king_of_diamonds2.png new file mode 100644 index 0000000..e21d6a0 Binary files /dev/null and b/PCMsites/TP2/img/png/king_of_diamonds2.png differ diff --git a/PCMsites/TP2/img/png/king_of_hearts.png b/PCMsites/TP2/img/png/king_of_hearts.png new file mode 100644 index 0000000..27d235a Binary files /dev/null and b/PCMsites/TP2/img/png/king_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/king_of_hearts2.png b/PCMsites/TP2/img/png/king_of_hearts2.png new file mode 100644 index 0000000..1d3c468 Binary files /dev/null and b/PCMsites/TP2/img/png/king_of_hearts2.png differ diff --git a/PCMsites/TP2/img/png/king_of_spades.png b/PCMsites/TP2/img/png/king_of_spades.png new file mode 100644 index 0000000..b7abc52 Binary files /dev/null and b/PCMsites/TP2/img/png/king_of_spades.png differ diff --git a/PCMsites/TP2/img/png/king_of_spades2.png b/PCMsites/TP2/img/png/king_of_spades2.png new file mode 100644 index 0000000..2edbbc1 Binary files /dev/null and b/PCMsites/TP2/img/png/king_of_spades2.png differ diff --git a/PCMsites/TP2/img/png/queen_of_clubs.png b/PCMsites/TP2/img/png/queen_of_clubs.png new file mode 100644 index 0000000..949839c Binary files /dev/null and b/PCMsites/TP2/img/png/queen_of_clubs.png differ diff --git a/PCMsites/TP2/img/png/queen_of_clubs2.png b/PCMsites/TP2/img/png/queen_of_clubs2.png new file mode 100644 index 0000000..7be5f9a Binary files /dev/null and b/PCMsites/TP2/img/png/queen_of_clubs2.png differ diff --git a/PCMsites/TP2/img/png/queen_of_diamonds.png b/PCMsites/TP2/img/png/queen_of_diamonds.png new file mode 100644 index 0000000..791b273 Binary files /dev/null and b/PCMsites/TP2/img/png/queen_of_diamonds.png differ diff --git a/PCMsites/TP2/img/png/queen_of_diamonds2.png b/PCMsites/TP2/img/png/queen_of_diamonds2.png new file mode 100644 index 0000000..928f650 Binary files /dev/null and b/PCMsites/TP2/img/png/queen_of_diamonds2.png differ diff --git a/PCMsites/TP2/img/png/queen_of_hearts.png b/PCMsites/TP2/img/png/queen_of_hearts.png new file mode 100644 index 0000000..c95e2df Binary files /dev/null and b/PCMsites/TP2/img/png/queen_of_hearts.png differ diff --git a/PCMsites/TP2/img/png/queen_of_hearts2.png b/PCMsites/TP2/img/png/queen_of_hearts2.png new file mode 100644 index 0000000..21839e6 Binary files /dev/null and b/PCMsites/TP2/img/png/queen_of_hearts2.png differ diff --git a/PCMsites/TP2/img/png/queen_of_spades.png b/PCMsites/TP2/img/png/queen_of_spades.png new file mode 100644 index 0000000..c6c69ca Binary files /dev/null and b/PCMsites/TP2/img/png/queen_of_spades.png differ diff --git a/PCMsites/TP2/img/png/queen_of_spades2.png b/PCMsites/TP2/img/png/queen_of_spades2.png new file mode 100644 index 0000000..7983d03 Binary files /dev/null and b/PCMsites/TP2/img/png/queen_of_spades2.png differ diff --git a/PCMsites/TP2/img/png/red_joker.png b/PCMsites/TP2/img/png/red_joker.png new file mode 100644 index 0000000..55b3ef9 Binary files /dev/null and b/PCMsites/TP2/img/png/red_joker.png differ diff --git a/PCMsites/TP2/img/svg/10_of_clubs.svg b/PCMsites/TP2/img/svg/10_of_clubs.svg new file mode 100644 index 0000000..2e7788c --- /dev/null +++ b/PCMsites/TP2/img/svg/10_of_clubs.svg @@ -0,0 +1,281 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 +0 +1 +0 + diff --git a/PCMsites/TP2/img/svg/10_of_diamonds.svg b/PCMsites/TP2/img/svg/10_of_diamonds.svg new file mode 100644 index 0000000..3d0b1c0 --- /dev/null +++ b/PCMsites/TP2/img/svg/10_of_diamonds.svg @@ -0,0 +1,401 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + + + + + + + + + + + + + + +0 +1 +0 + diff --git a/PCMsites/TP2/img/svg/10_of_hearts.svg b/PCMsites/TP2/img/svg/10_of_hearts.svg new file mode 100644 index 0000000..c57575e --- /dev/null +++ b/PCMsites/TP2/img/svg/10_of_hearts.svg @@ -0,0 +1,407 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + + + + + + + + + + + + + +0 +1 +0 + diff --git a/PCMsites/TP2/img/svg/10_of_spades.svg b/PCMsites/TP2/img/svg/10_of_spades.svg new file mode 100644 index 0000000..a14767c --- /dev/null +++ b/PCMsites/TP2/img/svg/10_of_spades.svg @@ -0,0 +1,230 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + +0 +1 +0 + diff --git a/PCMsites/TP2/img/svg/2_of_clubs.svg b/PCMsites/TP2/img/svg/2_of_clubs.svg new file mode 100644 index 0000000..0334dec --- /dev/null +++ b/PCMsites/TP2/img/svg/2_of_clubs.svg @@ -0,0 +1,216 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 + + + + + +2 + + + + diff --git a/PCMsites/TP2/img/svg/2_of_diamonds.svg b/PCMsites/TP2/img/svg/2_of_diamonds.svg new file mode 100644 index 0000000..4956234 --- /dev/null +++ b/PCMsites/TP2/img/svg/2_of_diamonds.svg @@ -0,0 +1,318 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 + + + + + + +2 + + + + + + diff --git a/PCMsites/TP2/img/svg/2_of_hearts.svg b/PCMsites/TP2/img/svg/2_of_hearts.svg new file mode 100644 index 0000000..f6c9540 --- /dev/null +++ b/PCMsites/TP2/img/svg/2_of_hearts.svg @@ -0,0 +1,308 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 + + + + + + +2 + + + + + + diff --git a/PCMsites/TP2/img/svg/2_of_spades.svg b/PCMsites/TP2/img/svg/2_of_spades.svg new file mode 100644 index 0000000..759abf6 --- /dev/null +++ b/PCMsites/TP2/img/svg/2_of_spades.svg @@ -0,0 +1,147 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +2 + + + +2 + + diff --git a/PCMsites/TP2/img/svg/3_of_clubs.svg b/PCMsites/TP2/img/svg/3_of_clubs.svg new file mode 100644 index 0000000..0fb95b3 --- /dev/null +++ b/PCMsites/TP2/img/svg/3_of_clubs.svg @@ -0,0 +1,224 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +3 + + + + + + +3 + + + + + diff --git a/PCMsites/TP2/img/svg/3_of_diamonds.svg b/PCMsites/TP2/img/svg/3_of_diamonds.svg new file mode 100644 index 0000000..a562f1f --- /dev/null +++ b/PCMsites/TP2/img/svg/3_of_diamonds.svg @@ -0,0 +1,319 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +3 + + + + + + + + +3 + + + + + + + + diff --git a/PCMsites/TP2/img/svg/3_of_hearts.svg b/PCMsites/TP2/img/svg/3_of_hearts.svg new file mode 100644 index 0000000..aecd1ff --- /dev/null +++ b/PCMsites/TP2/img/svg/3_of_hearts.svg @@ -0,0 +1,318 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +3 + + + + + + + +3 + + + + + + + diff --git a/PCMsites/TP2/img/svg/3_of_spades.svg b/PCMsites/TP2/img/svg/3_of_spades.svg new file mode 100644 index 0000000..8963195 --- /dev/null +++ b/PCMsites/TP2/img/svg/3_of_spades.svg @@ -0,0 +1,154 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +3 + + + +3 + + diff --git a/PCMsites/TP2/img/svg/4_of_clubs.svg b/PCMsites/TP2/img/svg/4_of_clubs.svg new file mode 100644 index 0000000..70f8904 --- /dev/null +++ b/PCMsites/TP2/img/svg/4_of_clubs.svg @@ -0,0 +1,230 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +4 + + + + + + +4 + + + + + diff --git a/PCMsites/TP2/img/svg/4_of_diamonds.svg b/PCMsites/TP2/img/svg/4_of_diamonds.svg new file mode 100644 index 0000000..8677737 --- /dev/null +++ b/PCMsites/TP2/img/svg/4_of_diamonds.svg @@ -0,0 +1,324 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +4 + + + + + + + +4 + + + + + + + diff --git a/PCMsites/TP2/img/svg/4_of_hearts.svg b/PCMsites/TP2/img/svg/4_of_hearts.svg new file mode 100644 index 0000000..9b7f0a7 --- /dev/null +++ b/PCMsites/TP2/img/svg/4_of_hearts.svg @@ -0,0 +1,335 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +4 + + + + + + + +4 + + + + + + + diff --git a/PCMsites/TP2/img/svg/4_of_spades.svg b/PCMsites/TP2/img/svg/4_of_spades.svg new file mode 100644 index 0000000..01e27e4 --- /dev/null +++ b/PCMsites/TP2/img/svg/4_of_spades.svg @@ -0,0 +1,163 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +4 + + + + +4 + + + diff --git a/PCMsites/TP2/img/svg/5_of_clubs.svg b/PCMsites/TP2/img/svg/5_of_clubs.svg new file mode 100644 index 0000000..864d2f2 --- /dev/null +++ b/PCMsites/TP2/img/svg/5_of_clubs.svg @@ -0,0 +1,238 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +5 + + + + + + + +5 + + + + + + diff --git a/PCMsites/TP2/img/svg/5_of_diamonds.svg b/PCMsites/TP2/img/svg/5_of_diamonds.svg new file mode 100644 index 0000000..a8cb2b5 --- /dev/null +++ b/PCMsites/TP2/img/svg/5_of_diamonds.svg @@ -0,0 +1,333 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +5 + + + + + + + + +5 + + + + + + + + diff --git a/PCMsites/TP2/img/svg/5_of_hearts.svg b/PCMsites/TP2/img/svg/5_of_hearts.svg new file mode 100644 index 0000000..af7415a --- /dev/null +++ b/PCMsites/TP2/img/svg/5_of_hearts.svg @@ -0,0 +1,336 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +5 + + + + + + + + +5 + + + + + + + + diff --git a/PCMsites/TP2/img/svg/5_of_spades.svg b/PCMsites/TP2/img/svg/5_of_spades.svg new file mode 100644 index 0000000..d9492ba --- /dev/null +++ b/PCMsites/TP2/img/svg/5_of_spades.svg @@ -0,0 +1,170 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +5 + + + + +5 + + + diff --git a/PCMsites/TP2/img/svg/6_of_clubs.svg b/PCMsites/TP2/img/svg/6_of_clubs.svg new file mode 100644 index 0000000..306754e --- /dev/null +++ b/PCMsites/TP2/img/svg/6_of_clubs.svg @@ -0,0 +1,244 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +6 + + + + + + + +6 + + + + + + diff --git a/PCMsites/TP2/img/svg/6_of_diamonds.svg b/PCMsites/TP2/img/svg/6_of_diamonds.svg new file mode 100644 index 0000000..6f12a53 --- /dev/null +++ b/PCMsites/TP2/img/svg/6_of_diamonds.svg @@ -0,0 +1,340 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +6 + + + + + + + + +6 + + + + + + + + diff --git a/PCMsites/TP2/img/svg/6_of_hearts.svg b/PCMsites/TP2/img/svg/6_of_hearts.svg new file mode 100644 index 0000000..9c319ad --- /dev/null +++ b/PCMsites/TP2/img/svg/6_of_hearts.svg @@ -0,0 +1,344 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +6 + + + + + + + + +6 + + + + + + + + diff --git a/PCMsites/TP2/img/svg/6_of_spades.svg b/PCMsites/TP2/img/svg/6_of_spades.svg new file mode 100644 index 0000000..83e8feb --- /dev/null +++ b/PCMsites/TP2/img/svg/6_of_spades.svg @@ -0,0 +1,177 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +6 + + + + +6 + + + diff --git a/PCMsites/TP2/img/svg/7_of_clubs.svg b/PCMsites/TP2/img/svg/7_of_clubs.svg new file mode 100644 index 0000000..11329b1 --- /dev/null +++ b/PCMsites/TP2/img/svg/7_of_clubs.svg @@ -0,0 +1,252 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +7 + + + + + + + + +7 + + + + + + + diff --git a/PCMsites/TP2/img/svg/7_of_diamonds.svg b/PCMsites/TP2/img/svg/7_of_diamonds.svg new file mode 100644 index 0000000..d8483a7 --- /dev/null +++ b/PCMsites/TP2/img/svg/7_of_diamonds.svg @@ -0,0 +1,349 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +7 + + + + + + + + + +7 + + + + + + + + + diff --git a/PCMsites/TP2/img/svg/7_of_hearts.svg b/PCMsites/TP2/img/svg/7_of_hearts.svg new file mode 100644 index 0000000..8d5fd98 --- /dev/null +++ b/PCMsites/TP2/img/svg/7_of_hearts.svg @@ -0,0 +1,356 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +7 + + + + + + + + + + +7 + + + + + + + + + + diff --git a/PCMsites/TP2/img/svg/7_of_spades.svg b/PCMsites/TP2/img/svg/7_of_spades.svg new file mode 100644 index 0000000..3146b44 --- /dev/null +++ b/PCMsites/TP2/img/svg/7_of_spades.svg @@ -0,0 +1,186 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +7 + + + + + +7 + + + + diff --git a/PCMsites/TP2/img/svg/8_of_clubs.svg b/PCMsites/TP2/img/svg/8_of_clubs.svg new file mode 100644 index 0000000..28ae6fb --- /dev/null +++ b/PCMsites/TP2/img/svg/8_of_clubs.svg @@ -0,0 +1,260 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +8 + + + + + + + + + +8 + + + + + + + + diff --git a/PCMsites/TP2/img/svg/8_of_diamonds.svg b/PCMsites/TP2/img/svg/8_of_diamonds.svg new file mode 100644 index 0000000..d6d1b0e --- /dev/null +++ b/PCMsites/TP2/img/svg/8_of_diamonds.svg @@ -0,0 +1,358 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +8 + + + + + + + + + + +8 + + + + + + + + + + diff --git a/PCMsites/TP2/img/svg/8_of_hearts.svg b/PCMsites/TP2/img/svg/8_of_hearts.svg new file mode 100644 index 0000000..ac8d5ba --- /dev/null +++ b/PCMsites/TP2/img/svg/8_of_hearts.svg @@ -0,0 +1,364 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +8 + + + + + + + + + + +8 + + + + + + + + + + diff --git a/PCMsites/TP2/img/svg/8_of_spades.svg b/PCMsites/TP2/img/svg/8_of_spades.svg new file mode 100644 index 0000000..0e5bd89 --- /dev/null +++ b/PCMsites/TP2/img/svg/8_of_spades.svg @@ -0,0 +1,195 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +8 + + + + + + +8 + + + + + diff --git a/PCMsites/TP2/img/svg/9_of_clubs.svg b/PCMsites/TP2/img/svg/9_of_clubs.svg new file mode 100644 index 0000000..85cde35 --- /dev/null +++ b/PCMsites/TP2/img/svg/9_of_clubs.svg @@ -0,0 +1,254 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +9 + + + + + + + + + + + + +9 + + + + + + + + + + + diff --git a/PCMsites/TP2/img/svg/9_of_diamonds.svg b/PCMsites/TP2/img/svg/9_of_diamonds.svg new file mode 100644 index 0000000..05292f2 --- /dev/null +++ b/PCMsites/TP2/img/svg/9_of_diamonds.svg @@ -0,0 +1,367 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +9 + + + + + + + + + + + +9 + + + + + + + + + + + diff --git a/PCMsites/TP2/img/svg/9_of_hearts.svg b/PCMsites/TP2/img/svg/9_of_hearts.svg new file mode 100644 index 0000000..0f6a211 --- /dev/null +++ b/PCMsites/TP2/img/svg/9_of_hearts.svg @@ -0,0 +1,378 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +9 + + + +9 + diff --git a/PCMsites/TP2/img/svg/9_of_spades.svg b/PCMsites/TP2/img/svg/9_of_spades.svg new file mode 100644 index 0000000..2359db5 --- /dev/null +++ b/PCMsites/TP2/img/svg/9_of_spades.svg @@ -0,0 +1,198 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +9 + + + + +9 + + + diff --git a/PCMsites/TP2/img/svg/ace_of_clubs.svg b/PCMsites/TP2/img/svg/ace_of_clubs.svg new file mode 100644 index 0000000..be74fe0 --- /dev/null +++ b/PCMsites/TP2/img/svg/ace_of_clubs.svg @@ -0,0 +1,258 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +A + + +A + diff --git a/PCMsites/TP2/img/svg/ace_of_diamonds.svg b/PCMsites/TP2/img/svg/ace_of_diamonds.svg new file mode 100644 index 0000000..e5636a4 --- /dev/null +++ b/PCMsites/TP2/img/svg/ace_of_diamonds.svg @@ -0,0 +1,311 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A + + +A + + diff --git a/PCMsites/TP2/img/svg/ace_of_hearts.svg b/PCMsites/TP2/img/svg/ace_of_hearts.svg new file mode 100644 index 0000000..24702e2 --- /dev/null +++ b/PCMsites/TP2/img/svg/ace_of_hearts.svg @@ -0,0 +1,324 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A + +A + diff --git a/PCMsites/TP2/img/svg/ace_of_spades.svg b/PCMsites/TP2/img/svg/ace_of_spades.svg new file mode 100644 index 0000000..db32c06 --- /dev/null +++ b/PCMsites/TP2/img/svg/ace_of_spades.svg @@ -0,0 +1,131 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +A + diff --git a/PCMsites/TP2/img/svg/ace_of_spades2.svg b/PCMsites/TP2/img/svg/ace_of_spades2.svg new file mode 100644 index 0000000..f95b248 --- /dev/null +++ b/PCMsites/TP2/img/svg/ace_of_spades2.svg @@ -0,0 +1,279 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +A + +A + + diff --git a/PCMsites/TP2/img/svg/black_joker.svg b/PCMsites/TP2/img/svg/black_joker.svg new file mode 100644 index 0000000..f4ebef4 --- /dev/null +++ b/PCMsites/TP2/img/svg/black_joker.svg @@ -0,0 +1,278 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + + + + + + + +o + + + +k + + + +e + + + +r + + + + + + + + + + + + + +J + +o + +k + +e + +r + + diff --git a/PCMsites/TP2/img/svg/card_back.svg b/PCMsites/TP2/img/svg/card_back.svg new file mode 100644 index 0000000..6d0223b --- /dev/null +++ b/PCMsites/TP2/img/svg/card_back.svg @@ -0,0 +1,1051 @@ + + + + + + + + + + + + + + + + + + + + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PCMsites/TP2/img/svg/jack_of_clubs.svg b/PCMsites/TP2/img/svg/jack_of_clubs.svg new file mode 100644 index 0000000..c209fa5 --- /dev/null +++ b/PCMsites/TP2/img/svg/jack_of_clubs.svg @@ -0,0 +1,260 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + +J + + diff --git a/PCMsites/TP2/img/svg/jack_of_clubs2.svg b/PCMsites/TP2/img/svg/jack_of_clubs2.svg new file mode 100644 index 0000000..a350305 --- /dev/null +++ b/PCMsites/TP2/img/svg/jack_of_clubs2.svg @@ -0,0 +1,224 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + +J + + + + diff --git a/PCMsites/TP2/img/svg/jack_of_diamonds.svg b/PCMsites/TP2/img/svg/jack_of_diamonds.svg new file mode 100644 index 0000000..d339a4e --- /dev/null +++ b/PCMsites/TP2/img/svg/jack_of_diamonds.svg @@ -0,0 +1,317 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + + + +J + + + + + diff --git a/PCMsites/TP2/img/svg/jack_of_diamonds2.svg b/PCMsites/TP2/img/svg/jack_of_diamonds2.svg new file mode 100644 index 0000000..d531541 --- /dev/null +++ b/PCMsites/TP2/img/svg/jack_of_diamonds2.svg @@ -0,0 +1,338 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + + + + + + + + + + + + + + +J + + + + diff --git a/PCMsites/TP2/img/svg/jack_of_hearts.svg b/PCMsites/TP2/img/svg/jack_of_hearts.svg new file mode 100644 index 0000000..d556d2c --- /dev/null +++ b/PCMsites/TP2/img/svg/jack_of_hearts.svg @@ -0,0 +1,330 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + + +J + + + + diff --git a/PCMsites/TP2/img/svg/jack_of_hearts2.svg b/PCMsites/TP2/img/svg/jack_of_hearts2.svg new file mode 100644 index 0000000..dc95ce1 --- /dev/null +++ b/PCMsites/TP2/img/svg/jack_of_hearts2.svg @@ -0,0 +1,330 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + + + + + + + + + + +J + + + + diff --git a/PCMsites/TP2/img/svg/jack_of_spades.svg b/PCMsites/TP2/img/svg/jack_of_spades.svg new file mode 100644 index 0000000..cec94ac --- /dev/null +++ b/PCMsites/TP2/img/svg/jack_of_spades.svg @@ -0,0 +1,320 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + +J + + + diff --git a/PCMsites/TP2/img/svg/jack_of_spades2.svg b/PCMsites/TP2/img/svg/jack_of_spades2.svg new file mode 100644 index 0000000..281113f --- /dev/null +++ b/PCMsites/TP2/img/svg/jack_of_spades2.svg @@ -0,0 +1,336 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + + + + +J + + + + diff --git a/PCMsites/TP2/img/svg/king_of_clubs.svg b/PCMsites/TP2/img/svg/king_of_clubs.svg new file mode 100644 index 0000000..613eec7 --- /dev/null +++ b/PCMsites/TP2/img/svg/king_of_clubs.svg @@ -0,0 +1,260 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +K + + + +K + + diff --git a/PCMsites/TP2/img/svg/king_of_clubs2.svg b/PCMsites/TP2/img/svg/king_of_clubs2.svg new file mode 100644 index 0000000..fe6e676 --- /dev/null +++ b/PCMsites/TP2/img/svg/king_of_clubs2.svg @@ -0,0 +1,254 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +K + + + + + +K + + + + diff --git a/PCMsites/TP2/img/svg/king_of_diamonds.svg b/PCMsites/TP2/img/svg/king_of_diamonds.svg new file mode 100644 index 0000000..4966286 --- /dev/null +++ b/PCMsites/TP2/img/svg/king_of_diamonds.svg @@ -0,0 +1,313 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +K + + + +K + + + diff --git a/PCMsites/TP2/img/svg/king_of_diamonds2.svg b/PCMsites/TP2/img/svg/king_of_diamonds2.svg new file mode 100644 index 0000000..f983c6a --- /dev/null +++ b/PCMsites/TP2/img/svg/king_of_diamonds2.svg @@ -0,0 +1,351 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +K + + + + + + + + + + + + + + + + + + +K + + + + diff --git a/PCMsites/TP2/img/svg/king_of_hearts.svg b/PCMsites/TP2/img/svg/king_of_hearts.svg new file mode 100644 index 0000000..476e6d5 --- /dev/null +++ b/PCMsites/TP2/img/svg/king_of_hearts.svg @@ -0,0 +1,326 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +K + + +K + + diff --git a/PCMsites/TP2/img/svg/king_of_hearts2.svg b/PCMsites/TP2/img/svg/king_of_hearts2.svg new file mode 100644 index 0000000..7250745 --- /dev/null +++ b/PCMsites/TP2/img/svg/king_of_hearts2.svg @@ -0,0 +1,337 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +K + + + + + + + + + + + + + + +K + + + + diff --git a/PCMsites/TP2/img/svg/king_of_spades.svg b/PCMsites/TP2/img/svg/king_of_spades.svg new file mode 100644 index 0000000..4a4e90d --- /dev/null +++ b/PCMsites/TP2/img/svg/king_of_spades.svg @@ -0,0 +1,316 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +K +K + diff --git a/PCMsites/TP2/img/svg/king_of_spades2.svg b/PCMsites/TP2/img/svg/king_of_spades2.svg new file mode 100644 index 0000000..ac4338d --- /dev/null +++ b/PCMsites/TP2/img/svg/king_of_spades2.svg @@ -0,0 +1,329 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +K + + + + + + + + +K + + + + diff --git a/PCMsites/TP2/img/svg/queen_of_clubs.svg b/PCMsites/TP2/img/svg/queen_of_clubs.svg new file mode 100644 index 0000000..512383d --- /dev/null +++ b/PCMsites/TP2/img/svg/queen_of_clubs.svg @@ -0,0 +1,260 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q + + + +Q + + diff --git a/PCMsites/TP2/img/svg/queen_of_clubs2.svg b/PCMsites/TP2/img/svg/queen_of_clubs2.svg new file mode 100644 index 0000000..6a636f7 --- /dev/null +++ b/PCMsites/TP2/img/svg/queen_of_clubs2.svg @@ -0,0 +1,250 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q + + + + + +Q + + + + diff --git a/PCMsites/TP2/img/svg/queen_of_diamonds.svg b/PCMsites/TP2/img/svg/queen_of_diamonds.svg new file mode 100644 index 0000000..9f63d1b --- /dev/null +++ b/PCMsites/TP2/img/svg/queen_of_diamonds.svg @@ -0,0 +1,315 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q + + + + +Q + + + + diff --git a/PCMsites/TP2/img/svg/queen_of_diamonds2.svg b/PCMsites/TP2/img/svg/queen_of_diamonds2.svg new file mode 100644 index 0000000..76b62db --- /dev/null +++ b/PCMsites/TP2/img/svg/queen_of_diamonds2.svg @@ -0,0 +1,339 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q + + + + + + + + + + + + + + + + + + +Q + + + + diff --git a/PCMsites/TP2/img/svg/queen_of_hearts.svg b/PCMsites/TP2/img/svg/queen_of_hearts.svg new file mode 100644 index 0000000..1c8dd1b --- /dev/null +++ b/PCMsites/TP2/img/svg/queen_of_hearts.svg @@ -0,0 +1,328 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q + + + +Q + + + diff --git a/PCMsites/TP2/img/svg/queen_of_hearts2.svg b/PCMsites/TP2/img/svg/queen_of_hearts2.svg new file mode 100644 index 0000000..90ede78 --- /dev/null +++ b/PCMsites/TP2/img/svg/queen_of_hearts2.svg @@ -0,0 +1,331 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q + + + + + + + + + + + + + + + +Q + + + + + diff --git a/PCMsites/TP2/img/svg/queen_of_spades.svg b/PCMsites/TP2/img/svg/queen_of_spades.svg new file mode 100644 index 0000000..5d2fbe9 --- /dev/null +++ b/PCMsites/TP2/img/svg/queen_of_spades.svg @@ -0,0 +1,318 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q + +Q + + diff --git a/PCMsites/TP2/img/svg/queen_of_spades2.svg b/PCMsites/TP2/img/svg/queen_of_spades2.svg new file mode 100644 index 0000000..8dc5540 --- /dev/null +++ b/PCMsites/TP2/img/svg/queen_of_spades2.svg @@ -0,0 +1,324 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Q + + + + + + + +Q + + + diff --git a/PCMsites/TP2/img/svg/red_joker.svg b/PCMsites/TP2/img/svg/red_joker.svg new file mode 100644 index 0000000..f949227 --- /dev/null +++ b/PCMsites/TP2/img/svg/red_joker.svg @@ -0,0 +1,288 @@ + + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + +J + + + + + + + + + + +o + + + + +k + + + + +e + + + + +r + + + + + + + + + + + + + + +J + + +o + + +k + + +e + + +r + + + diff --git a/PCMsites/TP2/js/blackjack_manager.js b/PCMsites/TP2/js/blackjack_manager.js new file mode 100644 index 0000000..ac689c0 --- /dev/null +++ b/PCMsites/TP2/js/blackjack_manager.js @@ -0,0 +1,255 @@ +//Blackjack oop + +let game = null; +/* +function debug(an_object) { + document.getElementById("debug").innerHTML = JSON.stringify(an_object); +} */ + +function buttons_initialization() { + document.getElementById("card").disabled = false; + document.getElementById("stand").disabled = false; + document.getElementById("new_game").disabled = true; +} + +function finalize_buttons() { + document.getElementById("card").disabled = true; + document.getElementById("stand").disabled = true; + document.getElementById("new_game").disabled = false; + + if (game.state.playerWon) winAnimation(); +} + +//FUNÇÕES QUE DEVEM SER IMPLEMENTADAS PELOS ALUNOS +function new_game() { + showCard(0, 0, 0); // limpar cartas + game = new BlackJack(); + + dealer_new_card(true); + dealer_new_card(false); + player_new_card(true); + + buttons_initialization(); + + //debug(game); +} + +function update_dealer(state) { + /* + let string = "Dealer: " + game.dealer_cards + + if(game.state.gameEnded){ + string += " - " + (game.state.dealerWon ? "Won" : "Lost"); + finalize_buttons(); + } + + document.getElementById("dealer").innerHTML = string; + */ + + if (game.state.gameEnded) { + finalize_buttons(); + } + + showState(); +} + +function update_player(state) { + /* + let string = "Player: " + game.player_cards; + + if(game.state.gameEnded){ + string += " - " + (game.state.playerBusted ? "Lost" : "Won"); + finalize_buttons(); + + if(game.state.playerWon) + winAnimation(); + } + + document.getElementById("player").innerHTML = string; + */ + + if (game.state.gameEnded) { + finalize_buttons(); + } + + document.getElementById("player").innerHTML = + "Count: " + game.get_cards_value(game.get_player_cards()); + + showState(); +} + +function dealer_new_card(isUp) { + const state = game.dealer_move(); + update_dealer(state); + + console.log(game.dealer_cards[game.dealer_cards.length - 1].toString()); + + //document.getElementById("dealer").innerHTML = "Dealer: " + game.dealer_cards; + showCard(game.dealer_cards[game.dealer_cards.length - 1], "d", isUp); + return game.state; +} + +function player_new_card(isUp) { + game.player_move(); + update_player(); + + //console.log(game.dealer_cards[game.dealer_cards.length - 1].toString()) + + //document.getElementById("player").innerHTML = "Player: " + game.player_cards; + showCard(game.player_cards[game.player_cards.length - 1], "p1", isUp); + + return game.state; +} + +function dealer_finish() { + game.DealerTurn = true; + + // show dealer hiden card + card0 = game.dealer_cards[game.dealer_cards.length - 1]; + document.getElementById("hidenDealerCard").innerHTML = ""; + document.getElementById("hidenDealerCard").innerHTML += + 'card'; + + // show dealer count + let dealerPoints = game.get_cards_value(game.get_dealer_cards()); + document.getElementById("dealer").innerHTML = "Count: " + dealerPoints; + + let playerPoints = game.get_cards_value(game.get_player_cards()); + + game.get_game_state(); + + if (dealerPoints > 21) { + game.state.playerWon = true; + game.state.gameEnded = true; + + showState(); + } else if (dealerPoints > 16) { + game.state.gameEnded = true; + + if (playerPoints > dealerPoints) { + game.state.playerWon = true; + console.log("player won"); + } else if (playerPoints < dealerPoints) { + game.state.dealerWon = true; + console.log("dealer won"); + } else { + game.state.gameEnded = true; + game.state.playerWon = false; + game.state.dealerWon = false; + console.log("draw"); + } + + showState(); + } + else { + while (dealerPoints < 17) { + dealer_new_card(true); + dealerPoints = game.get_cards_value(game.get_dealer_cards()); + document.getElementById("dealer").innerHTML = "Count: " + dealerPoints; + //game.get_game_state(); + } + game.state.gameEnded = true; + + if (dealerPoints > 21) { + game.state.playerWon = true; + + } else if (dealerPoints > 16) { + game.state.gameEnded = true; + + if (playerPoints > dealerPoints) { + game.state.playerWon = true; + console.log("player won"); + } else if (playerPoints < dealerPoints) { + game.state.dealerWon = true; + console.log("dealer won"); + } else { + game.state.gameEnded = true; + game.state.playerWon = false; + game.state.dealerWon = false; + console.log("draw"); + } + } + + showState(); +} + + //game.get_game_state(); + /* + while(!game.state.gameEnded){ + console.log("dealer move"); + dealer_new_card(true); + game.get_game_state(); + } */ + + game.DealerTurn = false; + update_dealer(game.state); +} + +// TODO adicionar auxiliares se necessario + +function showCard(card, player, isUp) { + str = + 'card'; + switch (player) { + case "p1": + document.getElementById("playerCards").innerHTML += + '
' + str + "
"; + break; + case "d": + if (isUp) { + document.getElementById("dealerCards").innerHTML += + '
' + str + "
"; + } else { + document.getElementById("dealerCards").innerHTML += + '
' + + 'card' + + "
"; + } + break; + default: + document.getElementById("playerCards").innerHTML = ""; + document.getElementById("dealerCards").innerHTML = ""; + } +} + +function getValueStr(card) { + switch (card.v) { + case 1: + return "ace"; + case 11: + return "jack"; + case 12: + return "queen"; + case 13: + return "king"; + default: + return card.v; + } +} + +function showState() { + if (game.state.gameEnded) { + if (game.state.dealerWon) + document.getElementById("gameStatus").innerHTML = "Dealer Won "; + else if (game.state.playerBusted) + document.getElementById("gameStatus").innerHTML = "Player Busted "; + else { + document.getElementById("gameStatus").innerHTML = "Player Won "; + winAnimation(); + } + document.getElementById("gameStatus").style.color = "#00ff00"; + } else { + document.getElementById("gameStatus").innerHTML = "Game in progress"; + document.getElementById("gameStatus").style.color = "silver"; + } +} + +function winAnimation() { + game.get_dealer_cards().forEach(card => { + document.getElementById("body").style.backgroundImage = "url('/PCMsites/TP2/img/svg/black_joker.svg')"; + }); +} diff --git a/PCMsites/TP2/js/blackjack_object.js b/PCMsites/TP2/js/blackjack_object.js new file mode 100644 index 0000000..ebc4430 --- /dev/null +++ b/PCMsites/TP2/js/blackjack_object.js @@ -0,0 +1,171 @@ +//Blackjack object + +//constante com o número máximo de pontos para blackJack +const MAX_POINTS = 21; + +class Card{ + constructor(value, suit) { + if(value >= 1 && value <= 13){ + this.v = value; + } + + if( suit >= 0 && suit <= 3){ + + var ss = ''; + switch(suit){ + case 0: + ss = 'spades'; + break; + case 1: + ss = 'clubs'; + break; + case 2: + ss = 'hearts'; + break; + case 3: + ss = 'diamonds'; + break; + } + this.s = ss; + } + } + + toString(){ + let value = this.v; + let suit = this.s; + + switch(suit){ + case 'spades': + suit = "♠"; + break; + case 'clubs': + suit = "♣"; + break; + case 'hearts': + suit = "♥"; + break; + case 'diamonds': + suit = "♦"; + break; + } + + return value + suit + " "; + } + + get value(){ + return this.v; + } +} + +class BlackJack{ + + constructor() { + this.deck = []; + this.dealer_cards = []; + this.player_cards = []; + this.state = { + 'gameEnded': false, + 'dealerWon': false, + 'playerWon': false + }; + + this.new_deck = function () { + const deck = []; + + for(let j=0; j<4; j++){ + for(let i=1; i<=13; i++){ + deck.push(new Card(i, j)); + //console.log(card0.toString()); + } + } + + return deck; + }; + + this.shuffle = function (deck) { + let m = deck.length, i; + while (m) { + i = Math.floor(Math.random() * m--); + [deck[m], deck[i]] = [deck[i], deck[m]]; + } + return deck; + }; + + // baralho de cartas baralhado + this.deck = this.shuffle(this.new_deck()); + } + + + // métodos + // devolve as cartas do dealer num novo array (splice) + get_dealer_cards() { + return this.dealer_cards.slice(); + } + + // devolve as cartas do player num novo array (splice) + get_player_cards() { + return this.player_cards.slice(); + } + + // Ativa a variável booleana "dealerTurn" + setDealerTurn(val) { + this.dealerTurn = val; + } + + //MÉTODOS QUE DEVEM SER IMPLEMENTADOS PELOS ALUNOS + get_cards_value(cards) { + let sum = 0; + let aces = 0; + + cards.forEach( + function (card) { + if(card.v == 1){ + aces++; + } + else if(card.v > 10){ + sum += 10; + } + else{ + sum += card.v; + } + } + ) + + // aces + if(aces > 0){ + sum += aces - 1 + sum = sum > 10 ? sum += 1 : sum += 11; + } + + return sum; + } + + dealer_move() { + this.dealer_cards.push(this.deck.pop()); + return this.get_game_state(); + } + + player_move() { + this.player_cards.push(this.deck.pop()); + return this.get_game_state(); + } + + get_game_state() { + const playerPoints = this.get_cards_value(this.get_player_cards()); + const dealerPoints = this.get_cards_value(this.get_dealer_cards()); + + if(playerPoints == 21){ + this.state.playerWon = true; + this.state.gameEnded = true; + } + else if(playerPoints > 21){ + this.state.dealerWon = true; + this.state.gameEnded = true; + } + + if(this.dealerTurn) + console.log("dealerTurn - claculate dealer sum now: " + dealerPoints); + + return this.state; + } +} diff --git a/PCMsites/TP3/export_import.html b/PCMsites/TP3/export_import.html new file mode 100644 index 0000000..9fb8b65 --- /dev/null +++ b/PCMsites/TP3/export_import.html @@ -0,0 +1,42 @@ + + + + + + + User Questionnaire + + + + + + + + + +
+

Export/Import Data

+
+

Click the following button to export the data stored in the browser's local storage:

+ +
+
+ + + +
+
+ + + + \ No newline at end of file diff --git a/PCMsites/TP3/index.html b/PCMsites/TP3/index.html new file mode 100644 index 0000000..18aef96 --- /dev/null +++ b/PCMsites/TP3/index.html @@ -0,0 +1,44 @@ + + + + + + + User Questionnaire + + + + + +
+

User Questionnaire

+ +
+ + + + \ No newline at end of file diff --git a/PCMsites/TP3/questionnaire.html b/PCMsites/TP3/questionnaire.html new file mode 100644 index 0000000..4854353 --- /dev/null +++ b/PCMsites/TP3/questionnaire.html @@ -0,0 +1,50 @@ + + + + + + + Introdução + + + + + + + +
+

Image Gallery

+

Questionnaire

+ +

O website da Image Gallery tem como propósito apresentar imagens relevantes para o utilizador. Para + alcançar esse objetivo, disponibilizamos três métodos de pesquisa: por categoria, por cor e por + semelhança. O utilizador pode procurar as imagens mais pertinentes dentro de uma categoria + específica, imagens com maior predominância de uma determinada cor e ainda imagens semelhantes + a uma imagem que introduza no sistema. +

+

Este questionário tem como finalidade avaliar a usabilidade do website. Solicitamos que execute as + tarefas descritas abaixo e que, ao preencher este questionário, nos informe sobre as dificuldades + encontradas ao interagir com o sistema. Pedimos também a sua opinião sincera acerca da interface e + das funcionalidades disponíveis. +

+ +

Agradecemos a sua participação.

+

* Questões de resposta obrigatória.

+

** Questão de resposta obrigatória (pelo menos uma preferência).

+ +
+ + Começar + +
+ +
+ + + + + + \ No newline at end of file diff --git a/PCMsites/TP3/questionnaire_p1.html b/PCMsites/TP3/questionnaire_p1.html new file mode 100644 index 0000000..784fbd7 --- /dev/null +++ b/PCMsites/TP3/questionnaire_p1.html @@ -0,0 +1,190 @@ + + + + + + + Caracterização + + + + + + + +

Questionário

+

Caracterização

+ +
+
+
+ 1. Qual é a sua idade?* +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+ +
+
+ 2. Com que género se identifica?* +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
+ +
+
+ 3. Com que frequência usa a internet?* +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ +
+
+ 4. Indique, por ordem de preferência, os Web Browsers que mais utiliza. Pode indicar até 3. + Utilize valores de 1 a 3, sendo 1 o mais preferido e 3 o menos.** +
+ + +
+
+ + +
+
+ + +
+
+
+ +
+
+ 5. Conhece outros sites de organização e pesquisa de imagens? +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/PCMsites/TP3/questionnaire_p2.html b/PCMsites/TP3/questionnaire_p2.html new file mode 100644 index 0000000..bd5472a --- /dev/null +++ b/PCMsites/TP3/questionnaire_p2.html @@ -0,0 +1,80 @@ + + + + + + + Tarefas + + + + + + +

Questionário

+

Tarefas

+ +
+

Por favor, realiza as seguintes tarefas e descreva-nos os resultados obtidos.

+ +
+ Tarefa 1 - Explorar +
+ + + +
+
+ +
+ Tarefa 2 - Pesquisa Categorias +

Escolha a opção de pesquisa por palavra-chave, selecione uma categoria à sua escolha e observe os resultados.

+
+ + + +
+
+ +
+ Tarefa 3 – Pesquisa Cor +

Escolha a opção de pesquisa por cor dominante, selecione uma cor à sua escolha e observe os resultados.

+
+ + + +
+
+ +
+ Tarefa 4 – Pesquisa Imagens Semelhantes +

Escolha a opção de pesquisa por imagens semelhantes, selecione uma imagem à sua escolha e +observe os resultados. +

+
+ + + +
+
+ +
+ Comparação entre Tipos de Pesquisa +
+ + + +
+
+ +
+ +
+ +
+ + + \ No newline at end of file diff --git a/PCMsites/TP3/questionnaire_p3.html b/PCMsites/TP3/questionnaire_p3.html new file mode 100644 index 0000000..a23bb83 --- /dev/null +++ b/PCMsites/TP3/questionnaire_p3.html @@ -0,0 +1,154 @@ + + + + + + Avaliação Global + + + + + +

Questionário

+

Avaliação Global

+ +
+
+ +
+
Fantástica
+
+
Horrível
+
+
+
Estimulante
+
+
Aborrecida
+
+
+
Gratificante
+
+
Frustrante
+
+
+
Fácil
+
+
Dfícil
+
+
+ +
+ +
+
Mau
+
+ 1 + 2 + 3 + 4 + 5 +
+
Excelente
+
+
+ +
+ +
+
Mau
+
+ 1 + 2 + 3 + 4 + 5 +
+
Excelente
+
+
+ +
+ +
+
Mau
+
+ 1 + 2 + 3 + 4 + 5 +
+
Excelente
+
+
+ +
+ +
+
Mau
+
+ 1 + 2 + 3 + 4 + 5 +
+
Excelente
+
+
+ +
+ +
+
Mau
+
+ 1 + 2 + 3 + 4 + 5 +
+
Excelente
+
+
+ +
+ +
+
Mau
+
+ 1 + 2 + 3 + 4 + 5 +
+
Excelente
+
+
+ +
+ +
+
+ + \ No newline at end of file diff --git a/PCMsites/TP3/results.html b/PCMsites/TP3/results.html new file mode 100644 index 0000000..07764ae --- /dev/null +++ b/PCMsites/TP3/results.html @@ -0,0 +1,35 @@ + + + + + + + User Questionnaire + + + + + + +
+

Results

+
+ + + +
+
+ +
+ Voltar +
+
+ + + + + + \ No newline at end of file diff --git a/PCMsites/TP3/scripts/export_import.js b/PCMsites/TP3/scripts/export_import.js new file mode 100644 index 0000000..0aa85a9 --- /dev/null +++ b/PCMsites/TP3/scripts/export_import.js @@ -0,0 +1,12 @@ +document.getElementById('exportButton').addEventListener('click', e => { + console.log('Exporting LocalStorage contents to a JSON file.'); + exportLocalStorageToJSON('localstorage.json'); +}); + +const inputElement = document.getElementById('fileImport') +inputElement.type = "file"; +inputElement.accept = ".json"; +inputElement.addEventListener("change", e => { + console.log('Importing LocalStorage contents from a JSON file.'); + importLocalStorageFromJSON(inputElement); +}); \ No newline at end of file diff --git a/PCMsites/TP3/scripts/form_manager.js b/PCMsites/TP3/scripts/form_manager.js new file mode 100644 index 0000000..b6ab2a1 --- /dev/null +++ b/PCMsites/TP3/scripts/form_manager.js @@ -0,0 +1,38 @@ +// Questionario 1 - pergunta 4 e 5 + +function checkBrowser(elemento) { + let opcao1 = document.getElementById("preferencia-1"); + let opcao2 = document.getElementById("preferencia-2"); + let opcao3 = document.getElementById("preferencia-3"); + + if ( + elemento.id.localeCompare("preferencia-1") !== 0 && + elemento.value === opcao1.value + ) { + opcao1.value = ""; + } + + if ( + elemento.id.localeCompare("preferencia-2") !== 0 && + elemento.value === opcao2.value + ) { + opcao2.value = ""; + } + + if ( + elemento.id.localeCompare("preferencia-3") !== 0 && + elemento.value === opcao3.value + ) { + opcao3.value = ""; + } +} + +function Write_Text() { + let x = document.forms["fdpessoais"]["pimg"].value; + if (x == "no") { + document.forms["fdpessoais"]["outros-pimg"].disabled = true; + document.forms["fdpessoais"]["outros-pimg"].value = ""; + } else { + document.forms["fdpessoais"]["outros-pimg"].disabled = false; + } +} diff --git a/PCMsites/TP3/scripts/questionnaire.js b/PCMsites/TP3/scripts/questionnaire.js new file mode 100644 index 0000000..7177256 --- /dev/null +++ b/PCMsites/TP3/scripts/questionnaire.js @@ -0,0 +1,42 @@ +function generateNewID(){ + localStorage.setItem("userID", crypto.randomUUID()) +} + +const form_p1 = document.forms["questionarie-p1"]; +const form_p2 = document.forms["questionarie-p2"]; +const form_p3 = document.forms["questionarie-p3"]; + +if(form_p1){ + form_p1.addEventListener("submit", (event) => { + event.preventDefault(); + let formData = Object.fromEntries(new FormData(form_p1)); + let userId = localStorage.getItem("userId"); + + localStorage.setItem("userId", userId); + localStorage.setItem(userId, JSON.stringify(formData)); + //window.location.href = "questionnaire_p2.html"; + }) +} + +if(form_p2){ + form_p2.addEventListener("submit", (event) => { + event.preventDefault(); + let formData = Object.fromEntries(new FormData(form_p2)); + let userId = localStorage.getItem("userId"); + let userData = JSON.parse(localStorage.getItem(userId)); + localStorage.setItem(userId, JSON.stringify(Object.assign(userData, formData))); + //window.location.href = "questionnaire_p3.html"; + }); +} + +if(form_p3){ + form_p3.addEventListener("submit", (event) => { + event.preventDefault(); + let formData = Object.fromEntries(new FormData(form_p3)); + let userId = localStorage.getItem("userId"); + let userData = JSON.parse(localStorage.getItem(userId)); + + localStorage.setItem(userId, JSON.stringify(Object.assign(userData, formData))); + //window.location.href = "questionnaire_p4.html"; + }) +} diff --git a/PCMsites/TP3/scripts/results.js b/PCMsites/TP3/scripts/results.js new file mode 100644 index 0000000..d814034 --- /dev/null +++ b/PCMsites/TP3/scripts/results.js @@ -0,0 +1,45 @@ +function makeTableHead(table) { + let keys = JSON.parse(localStorage.getItem(localStorage.getItem("userId"))); + let header = table.createTHead(); + let row = header.insertRow(); + + let th = document.createElement("th"); + th.appendChild(document.createTextNode("User")); + row.appendChild(th); + + for (const key in keys) { + th = document.createElement("th"); + text = document.createTextNode(key); + th.appendChild(text); + row.appendChild(th); + } +} + +function makeTableRows(table) { + for (const userId in localStorage) { + userData = localStorage.getItem(userId); + if (userData == null || userId == "userId") continue; + parsedUserData = JSON.parse(userData); + console.log(parsedUserData); + let row = table.insertRow(); + let td = document.createElement("td"); + td.appendChild(document.createTextNode(userId)); + row.appendChild(td); + for (const value in parsedUserData) { + let td = document.createElement("td"); + + if (parsedUserData[value] == "") text = document.createTextNode("---"); + else text = document.createTextNode(parsedUserData[value]); + td.appendChild(text); + row.appendChild(td); + } + } +} + +function makeDataTable() { + let table = document.querySelector("table") || document.createElement("table"); + makeTableHead(table); + makeTableRows(table); +} + +window.onload = makeDataTable(); diff --git a/PCMsites/TP3/scripts/utilities.js b/PCMsites/TP3/scripts/utilities.js new file mode 100644 index 0000000..f9f7cbb --- /dev/null +++ b/PCMsites/TP3/scripts/utilities.js @@ -0,0 +1,71 @@ +function convertLocalStorageToObject() { + const localStorageData = {}; + + // Loop through all items in LocalStorage + for (let i = 0; i < localStorage.length; i++) { + const key = localStorage.key(i); + const value = localStorage.getItem(key); + + // Parse the value if it's valid JSON + try { + localStorageData[key] = JSON.parse(value); + } catch (e) { + localStorageData[key] = value; + } + } + + return localStorageData; +} + +function exportLocalStorageToJSON(filename) { + // Convert the data to JSON + const jsonData = JSON.stringify(convertLocalStorageToObject(), null, 2); + + // Create a Blob containing the JSON data + const blob = new Blob([jsonData], { type: "application/json" }); + + // Create a download link + const link = document.createElement("a"); + link.href = URL.createObjectURL(blob); + link.download = filename || "localStorageData.json"; + + // Trigger a click event to download the file + link.click(); +} + +function importLocalStorageFromJSON(inputElement) { + const file = inputElement.files[0]; + if (!file) { + alert("Please select a JSON file."); + return; + } + + const reader = new FileReader(); + + reader.onload = function (event) { + try { + const jsonString = event.target.result; + const data = JSON.parse(jsonString); + + // Clear existing LocalStorage data + localStorage.clear(); + + // Restore data from the JSON + for (const key in data) { + const value = data[key]; + if (typeof value === 'object' && value !== null) { + // If the value is an object, store it as a string + localStorage.setItem(key, JSON.stringify(value)); + } else { + // Otherwise, store it as-is + localStorage.setItem(key, value); + } + } + alert("LocalStorage data restored successfully."); + } catch (error) { + alert("Error restoring LocalStorage data. Make sure the selected file is a valid JSON file."); + } + }; + + reader.readAsText(file); +} diff --git a/PCMsites/TP3/styles/questionnaire.css b/PCMsites/TP3/styles/questionnaire.css new file mode 100644 index 0000000..2ff3587 --- /dev/null +++ b/PCMsites/TP3/styles/questionnaire.css @@ -0,0 +1,26 @@ +body{ + background-color: #121212; + font-family: Verdana, Geneva, Tahoma, sans-serif; + font-size: 16px; + color: #efefef; + margin: 0px; + padding: 5%; + text-align: center; +} + +h1{ + color: green; +} + +.question{ + margin: 5%; + padding: 5%; + border: 1px solid #efefef; + border-radius: 5px; + background-color: #1a1a1a; + text-align: left; +} + +b{ + color:rgb(222, 255, 221); +} \ No newline at end of file diff --git a/PCMsites/TP3/styles/results.css b/PCMsites/TP3/styles/results.css new file mode 100644 index 0000000..11d2e74 --- /dev/null +++ b/PCMsites/TP3/styles/results.css @@ -0,0 +1,13 @@ +body { + background-color: #121212; + font-family: Verdana, Geneva, Tahoma, sans-serif; + font-size: 16px; + color: #efefef; + margin: 0px; + padding: 5%; + text-align: center; +} + +h1 { + color: green; +} \ No newline at end of file diff --git a/PCMsites/TP4/FotoPrint.html b/PCMsites/TP4/FotoPrint.html new file mode 100644 index 0000000..3fd584a --- /dev/null +++ b/PCMsites/TP4/FotoPrint.html @@ -0,0 +1,72 @@ + + + + + + + FotoPrint + + + + + + + + + + + + + + + + + + +
+

FotoPrint

+

Make your own photos!

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

Preview your photo:

+ + Your browser doesn't recognize the canvas element + +
+ + + + + + + + + + diff --git a/PCMsites/TP4/css/styling.css b/PCMsites/TP4/css/styling.css new file mode 100644 index 0000000..1ab0979 --- /dev/null +++ b/PCMsites/TP4/css/styling.css @@ -0,0 +1,7 @@ +#canvas { + cursor:crosshair; +} + +.buttons > * { + margin: 4px 8px; +} \ No newline at end of file diff --git a/PCMsites/TP4/ex.html b/PCMsites/TP4/ex.html new file mode 100644 index 0000000..6ce0305 --- /dev/null +++ b/PCMsites/TP4/ex.html @@ -0,0 +1,280 @@ + + + + + + + Ex + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Video Player

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

Simple web camera display demo

+ + + + +
+ + + + + + + + + +
+ + +
+ + +
+ + + + \ No newline at end of file diff --git a/PCMsites/TP4/imgs/Thumbs.db b/PCMsites/TP4/imgs/Thumbs.db new file mode 100644 index 0000000..c5e80c9 Binary files /dev/null and b/PCMsites/TP4/imgs/Thumbs.db differ diff --git a/PCMsites/TP4/imgs/allison1.jpg b/PCMsites/TP4/imgs/allison1.jpg new file mode 100644 index 0000000..b42d8f6 Binary files /dev/null and b/PCMsites/TP4/imgs/allison1.jpg differ diff --git a/PCMsites/TP4/imgs/annika.jpg b/PCMsites/TP4/imgs/annika.jpg new file mode 100644 index 0000000..627287a Binary files /dev/null and b/PCMsites/TP4/imgs/annika.jpg differ diff --git a/PCMsites/TP4/imgs/daniel1.jpg b/PCMsites/TP4/imgs/daniel1.jpg new file mode 100644 index 0000000..6648ea6 Binary files /dev/null and b/PCMsites/TP4/imgs/daniel1.jpg differ diff --git a/PCMsites/TP4/imgs/grant1.jpg b/PCMsites/TP4/imgs/grant1.jpg new file mode 100644 index 0000000..b949606 Binary files /dev/null and b/PCMsites/TP4/imgs/grant1.jpg differ diff --git a/PCMsites/TP4/imgs/liam2.jpg b/PCMsites/TP4/imgs/liam2.jpg new file mode 100644 index 0000000..57415ad Binary files /dev/null and b/PCMsites/TP4/imgs/liam2.jpg differ diff --git a/PCMsites/TP4/js/.DS_Store b/PCMsites/TP4/js/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/PCMsites/TP4/js/.DS_Store differ diff --git a/PCMsites/TP4/js/DrawingObjects.js b/PCMsites/TP4/js/DrawingObjects.js new file mode 100644 index 0000000..4389fdb --- /dev/null +++ b/PCMsites/TP4/js/DrawingObjects.js @@ -0,0 +1,599 @@ +"use strict"; + +/** + * Represents a drawing object. + * @abstract + */ +class DrawingObjects { + /** + * Creates a new DrawingObjects instance. + * @abstract + * @constructor + * @param {number} px - The x-coordinate of the object's position. + * @param {number} py - The y-coordinate of the object's position. + * @param {string} c - The color of the object. + * @param {string} name - The name of the object. + */ + constructor(px, py, c, name) { + // Check if the current instance is of the abstract class itself. + if (this.constructor === DrawingObjects) { + // Error Type 1. Abstract class cannot be constructed. + throw new TypeError("Can not construct abstract class."); + } + + // Otherwise, this constructor is called from a child class. + + // Check if the child class has implemented the "draw" method. + if (this.draw === DrawingObjects.prototype.draw) { + // Error Type 4. Child has not implemented this abstract method. + throw new TypeError("Please implement abstract method draw."); + } + + // Check if the child class has implemented the "mouseOver" method. + if (this.mouseOver === DrawingObjects.prototype.mouseOver) { + // Error Type 4. Child has not implemented this abstract method. + throw new TypeError("Please implement abstract method mouseOver."); + } + + // Initialize the position and name properties. + this.posx = px; + this.posy = py; + this.color = c; + this.name = name; + } + + /** + * Abstract method that should be implemented by child classes to draw the object on the canvas. + * @param {CanvasRenderingContext2D} cnv - The canvas context where the object will be drawn. + * @throws {TypeError} - This method should not be called from child classes. + */ + draw(cnv) { + // Error Type 6. The child has implemented this method but also called `super.foo()`. + throw new TypeError("Do not call the abstract method draw from child."); + } + + /** + * Abstract method that should be implemented by child classes to handle mouse over events. + * @param {number} mx - The x coordinate of the mouse pointer. + * @param {number} my - The y coordinate of the mouse pointer. + * @abstract + */ + mouseOver(mx, my) { + // Error Type 6. The child has implemented this method but also called `super.foo()`. + throw new TypeError( + "Do not call the abstract method mouseOver from child." + ); + } + + // Helper method to calculate the square of the distance between two points. + /** + * Calculates the squared distance between two points. + * @param {number} px1 - The x-coordinate of the first point. + * @param {number} py1 - The y-coordinate of the first point. + * @param {number} px2 - The x-coordinate of the second point. + * @param {number} py2 - The y-coordinate of the second point. + * @returns {number} The squared distance between the two points. + */ + sqDist(px1, py1, px2, py2) { + const xd = px1 - px2; + const yd = py1 - py2; + + return xd * xd + yd * yd; + } +} + +/** + * Represents a rectangle object that can be drawn on a canvas. + * @extends DrawingObjects + */ +class Rect extends DrawingObjects { + /** + * Creates a new instance of the Rect class. + * @constructor + * @param {number} px - The x-coordinate of the top-left corner of the rectangle. + * @param {number} py - The y-coordinate of the top-left corner of the rectangle. + * @param {number} w - The width of the rectangle. + * @param {number} h - The height of the rectangle. + * @param {string} c - The color of the rectangle. + */ + constructor(px, py, w, h, c) { + // Call the constructor of the parent class (DrawingObjects) with the specified parameters. + super(px, py, c, "R"); + // Set the width, height, and color properties for the Rect instance. + this.w = w; + this.h = h; + } + + /** + * Draws a filled rectangle on the canvas at the specified position with the specified width and height. + * @param {HTMLCanvasElement} cnv - The canvas element to draw on. + * @returns {void} + */ + draw(cnv) { + // Get the 2D rendering context for the canvas. + const ctx = cnv.getContext("2d"); + + // Set the fill color to the specified color for the rectangle. + ctx.fillStyle = this.color; + + // Draw a filled rectangle on the canvas at the specified position (this.posx, this.posy) + // with the specified width (this.w) and height (this.h). + ctx.fillRect(this.posx, this.posy, this.w, this.h); + } + + /** + * Checks if the mouse coordinates are within the boundaries of the rectangle. + * @param {number} mx - The x-coordinate of the mouse pointer. + * @param {number} my - The y-coordinate of the mouse pointer. + * @returns {boolean} True if the mouse is over the rectangle, false otherwise. + */ + mouseOver(mx, my) { + // Check if the mouse coordinates (mx, my) are within the boundaries of the rectangle. + return ( + mx >= this.posx && + mx <= this.posx + this.w && + my >= this.posy && + my <= this.posy + this.h + ); + } +} + +/** + * Represents a picture object that can be drawn on a canvas. + * @extends DrawingObjects + */ +class Picture extends DrawingObjects { + /** + * Creates a new Picture object. + * @constructor + * @param {number} px - The x-coordinate of the picture. + * @param {number} py - The y-coordinate of the picture. + * @param {number} w - The width of the picture. + * @param {number} h - The height of the picture. + * @param {string} impath - The path to the image file. + */ + constructor(px, py, w, h, impath) { + // Call the constructor of the parent class (DrawingObjects) with the specified parameters. + super(px, py, null, "P"); + // Set the width, height, image path, and create an Image object for the Picture instance. + this.w = w; + this.h = h; + this.impath = impath; + this.imgobj = new Image(); + this.imgobj.src = this.impath; + } + + /** + * Draws the image object on the canvas at the specified position and dimensions. + * If the image is not yet loaded, it adds a load event listener to handle drawing when the image is ready. + * + * @param {HTMLCanvasElement} cnv - The canvas element to draw on. + * @returns {void} + */ + draw(cnv) { + // Get the 2D rendering context for the canvas. + const ctx = cnv.getContext("2d"); + + // Check if the image is already loaded and complete. + if (this.imgobj.complete) { + // If the image is loaded, draw it on the canvas at the specified position (this.posx, this.posy) + // with the specified width (this.w) and height (this.h). + ctx.drawImage(this.imgobj, this.posx, this.posy, this.w, this.h); + } else { + // If the image is not yet loaded, add a load event listener to handle drawing when the image is ready. + // Using a reference to the current instance (self) to access it inside the event listener function. + const self = this; + this.imgobj.addEventListener( + "load", + function () { + // Draw the image on the canvas once it's loaded, using the specified position and dimensions. + ctx.drawImage(self.imgobj, self.posx, self.posy, self.w, self.h); + }, + false + ); + } + } + + /** + * Checks if the given mouse coordinates are within the boundaries of the image. + * @param {number} mx - The x-coordinate of the mouse. + * @param {number} my - The y-coordinate of the mouse. + * @returns {boolean} - True if the mouse is within the boundaries of the image, false otherwise. + */ + mouseOver(mx, my) { + // Check if the mouse coordinates (mx, my) are within the boundaries of the image. + return ( + mx >= this.posx && + mx <= this.posx + this.w && + my >= this.posy && + my <= this.posy + this.h + ); + } +} + +/** + * Represents an oval shape that can be drawn on a canvas. + * @extends DrawingObjects + */ +class Oval extends DrawingObjects { + /** + * Creates a new instance of the Oval class. + * @constructor + * @param {number} px - The x-coordinate of the center of the oval. + * @param {number} py - The y-coordinate of the center of the oval. + * @param {number} r - The radius of the oval. + * @param {number} hs - The horizontal scaling factor of the oval. + * @param {number} vs - The vertical scaling factor of the oval. + * @param {string} c - The fill color for the oval. + */ + constructor(px, py, r, hs, vs, c) { + // Call the constructor of the parent class (DrawingObjects) with specified parameters. + super(px, py, c, "O"); + // Set the radius, horizontal scaling factor, vertical scaling factor, and color for the Oval instance. + this.r = r; + this.radsq = r * r; // Square of the radius (used for mouse-over check) + this.hor = hs; // Horizontal scaling factor + this.ver = vs; // Vertical scaling factor + } + + /** + * Checks if the mouse is over the oval object. + * @param {number} mx - The x-coordinate of the mouse. + * @param {number} my - The y-coordinate of the mouse. + * @returns {boolean} - True if the mouse is over the oval object, false otherwise. + */ + mouseOver(mx, my) { + // Define two points: (x1, y1) is the center of the oval, and (x2, y2) is the mouse coordinates scaled by hor and ver. + const x1 = 0; + const y1 = 0; + const x2 = (mx - this.posx) / this.hor; + const y2 = (my - this.posy) / this.ver; + + // Check if the mouse coordinates are within the oval by comparing the distance squared to the square of the radius. + return this.sqDist(x1, y1, x2, y2) <= this.radsq; + } + + /** + * Draws an oval on the canvas. + * @param {HTMLCanvasElement} cnv - The canvas element to draw on. + */ + draw(cnv) { + const ctx = cnv.getContext("2d"); + + // Save the current canvas state to isolate transformations and styles. + ctx.save(); + ctx.translate(this.posx, this.posy); // Translate the origin to the oval's position. + ctx.scale(this.hor, this.ver); // Scale the canvas horizontally and vertically. + + // Set the fill color for the oval. + ctx.fillStyle = this.color; + + // Begin a path for the oval, draw it as an arc at the transformed origin (0, 0) with the specified radius (this.r). + ctx.beginPath(); + ctx.arc(0, 0, this.r, 0, 2 * Math.PI, true); + ctx.closePath(); // Close the path to create a filled oval shape. + ctx.fill(); // Fill the oval with the specified color. + + // Restore the canvas state to its previous state, undoing the translations and scaling. + ctx.restore(); + + console.log("drawn O"); + } +} + +/** + * Represents a heart shape object that can be drawn on a canvas. + * @extends DrawingObjects + */ +class Heart extends DrawingObjects { + /** + * Creates a new instance of DrawingObjects with specified parameters. + * @constructor + * @param {number} px - The x-coordinate of the object. + * @param {number} py - The y-coordinate of the object. + * @param {number} w - The width of the object. + * @param {string} c - The fill color for the heart. + */ + constructor(px, py, w, c) { + // Call the constructor of the parent class (DrawingObjects) with specified parameters. + super(px, py, c, "H"); + // Set the height of the heart, half width, square of the radius, angle, and color. + this.h = w * 0.7; // Height + this.drx = w / 4; // Half of the width (radius) + this.radsq = this.drx * this.drx; // Square of the radius (used for mouse-over check) + this.ang = 0.25 * Math.PI; // Angle for drawing the arcs + } + + /** + * Checks if a point is outside the specified bounding box. + * @param {number} x - The x-coordinate of the top-left corner of the bounding box. + * @param {number} y - The y-coordinate of the top-left corner of the bounding box. + * @param {number} w - The width of the bounding box. + * @param {number} h - The height of the bounding box. + * @param {number} mx - The x-coordinate of the point to check. + * @param {number} my - The y-coordinate of the point to check. + * @returns {boolean} - True if the point is outside the bounding box, false otherwise. + */ + outside(x, y, w, h, mx, my) { + // Check if a point (mx, my) is outside the specified bounding box (x, y, w, h). + return mx < x || mx > x + w || my < y || my > y + h; + } + + /** + * Draws a heart shape on the given canvas context. + * @param {CanvasRenderingContext2D} cnv - The canvas context to draw on. + */ + draw(cnv) { + const ctx = cnv.getContext("2d"); + + // Calculate the positions of control points and the tip of the heart. + const leftctrx = this.posx - this.drx; + const rightctrx = this.posx + this.drx; + const cx = rightctrx + this.drx * Math.cos(this.ang); + const cy = this.posy + this.drx * Math.sin(this.ang); + + // Set the fill color for the heart. + ctx.fillStyle = this.color; + + // Begin drawing the heart shape with arcs and lines. + ctx.beginPath(); + ctx.moveTo(this.posx, this.posy); // Move to the starting point. + + // Draw the left half of the heart using an arc. + ctx.arc(leftctrx, this.posy, this.drx, 0, Math.PI - this.ang, true); + + // Continue to the bottom point of the heart and then to the tip. + ctx.lineTo(this.posx, this.posy + this.h); + ctx.lineTo(cx, cy); + + // Draw the right half of the heart using another arc. + ctx.arc(rightctrx, this.posy, this.drx, this.ang, Math.PI, true); + + ctx.closePath(); // Close the path to complete the heart shape. + ctx.fill(); // Fill the heart shape with the specified color. + } + + /** + * Checks if the given point is inside the heart shape. + * @param {number} mx - The x-coordinate of the point to check. + * @param {number} my - The y-coordinate of the point to check. + * @returns {boolean} - True if the point is inside the heart shape, false otherwise. + */ + mouseOver(mx, my) { + // Define the positions and dimensions for the bounding rectangle. + const leftctrx = this.posx - this.drx; + const rightctrx = this.posx + this.drx; + const qx = this.posx - 2 * this.drx; + const qy = this.posy - this.drx; + const qwidth = 4 * this.drx; + const qheight = this.drx + this.h; + + // Define two points for comparison (x2, y2) and the slope (m). + const x2 = this.posx; + const y2 = this.posy + this.h; + let m = this.h / (2 * this.drx); + + // Quick test to check if the point is outside the bounding rectangle. + if (this.outside(qx, qy, qwidth, qheight, mx, my)) { + return false; + } + + // Compare the point to the two circle centers of the heart. + if (this.sqDist(mx, my, leftctrx, this.posy) < this.radsq) return true; + if (this.sqDist(mx, my, rightctrx, this.posy) < this.radsq) return true; + + // If the point is above the heart and outside the circles, return false. + if (my <= this.posy) return false; + + // Compare the point to the slopes of the left and right sides of the heart. + if (mx <= this.posx) { + return my < m * (mx - x2) + y2; + } else { + // Right side + m = -m; + return my < m * (mx - x2) + y2; + } + } +} + +//TO DO: You may need to add more classes other than the following two (e.g., a third new object type and a text object). +class Bear extends DrawingObjects { + constructor(px, py, r, hs, vs, c) { + super(px, py, c, "B"); + this.r = r; + this.hs = hs; + this.vs = vs; + + this.colorSecundary = "#000000"; + this.colorTerciary = "#ffffff"; + // TODO mudar this.c para this.color + this.earsL = new Oval(this.posx - 0.7 * this.r, this.posy - 0.9 * this.r, this.r, 0.5, 0.5, this.color); + this.earsR = new Oval(this.posx + 0.7 * this.r, this.posy - 0.9 * this.r, this.r, 0.5, 0.5, this.color); + this.earsLins = new Oval(this.posx - 0.7 * this.r, this.posy - 0.9 * this.r, this.r, 0.2, 0.2, this.colorSecundary); + this.earsRins = new Oval(this.posx + 0.7 * this.r, this.posy - 0.9 * this.r, this.r, 0.2, 0.2, this.colorSecundary); + this.head = new Oval(this.posx, this.posy, this.r, hs, vs, this.color); + + this.eyeL = new Oval(this.posx - 0.3 * this.r, this.posy - 0.2 * this.r, this.r, 0.25, 0.25, this.colorSecundary); + this.eyeR = new Oval(this.posx + 0.3 * this.r, this.posy - 0.2 * this.r, this.r, 0.25, 0.25, this.colorSecundary); + this.eyeLins = new Oval(this.posx - 0.4 * this.r, this.posy - 0.3 * this.r, this.r, 0.1, 0.1, this.colorTerciary); + this.eyeRins = new Oval(this.posx + 0.2 * this.r, this.posy - 0.3 * this.r, this.r, 0.1, 0.1, this.colorTerciary); + + this.nose = new Oval(this.posx, this.posy + 0.3 * this.r, this.r, 0.3, 0.2, this.colorSecundary); + this.noseIns = new Oval(this.posx - 0.1 * this.r, this.posy + 0.2 * this.r, this.r, 0.1, 0.06, this.colorTerciary); + } + + mouseOver(mx, my) { + if (this.head.mouseOver(mx, my) || this.earsL.mouseOver(mx, my) || this.earsR.mouseOver(mx, my) ){ + return true; + } + } + + draw(cnv) { + const ctx = cnv.getContext("2d"); + + this.earsL.draw(cnv); + this.earsR.draw(cnv); + this.earsLins.draw(cnv); + this.earsRins.draw(cnv); + this.head.draw(cnv); + this.eyeL.draw(cnv); + this.eyeR.draw(cnv); + this.eyeLins.draw(cnv); + this.eyeRins.draw(cnv); + this.nose.draw(cnv); + this.noseIns.draw(cnv); + + ctx.strokeStyle = this.colorSecundary; + ctx.beginPath(); + ctx.arc(this.posx - 0.23 * this.r, this.posy + 0.5 * this.r, this.r * 0.2, Math.PI, Math.PI * 2, true); + ctx.stroke(); + ctx.closePath(); + + ctx.beginPath(); + ctx.arc(this.posx + 0.23 * this.r, this.posy + 0.5 * this.r, this.r * 0.2, Math.PI, Math.PI * 2, true); + ctx.stroke(); + ctx.closePath(); + + // criar um set pose que altera a posiçao da ovais + // fazer uma class geral do set pose e dpeis para cada objeto fazer a sua versão + } +} + +class Ghost extends DrawingObjects { + constructor(px, py, w, h, c) { + super(px, py, c, "G"); + this.w = w; + this.h = h; + } + + mouseOver(mx, my) { + if (my >= this.posy && my <= this.posy + this.h) { + // detetar se o rato esta sobre + // ver se esta dentor do quadrado + const cnv = documento.createElemente("canvas"); + const ctx = cnv.getcontext("2d"); + this.draw(cnv); // desenhar o proproios gost num canvas vazio + + if (ctx.isPointInInPath(mx, my)) { + // devoove se o pnoto esta nu ultimo path desenhaod no canvas + console.log; + return true; + } + // existe uma forma alternativa de se criar um path e ver se o ponto esta dentro + } + } + + draw(cnv) { + const ctx = cnv.getContext("2d"); + + const curveRadius = 20; + ctx.beginPath(); + ctx.moveTo(this.posx + curveRadius, this.posy); + ctx.arcTo( + this.posx + this.w, + this.posy, + this.posx + this.w, + this.posy + this.h, + curveRadius + ); + ctx.lineTo(this.posx + this.w, this.posy + this.h); + + const legW = this.w / 6; + + ctx.lineTo(this.posx + 5 * legW, this.posy + (2 / 3) * this.h); + ctx.lineTo(this.posx + 4 * legW, this.posy + this.h); + ctx.lineTo(this.posx + 3 * legW, this.posy + (2 / 3) * this.h); + ctx.lineTo(this.posx + 2 * legW, this.posy + this.h); + ctx.lineTo(this.posx + 1 * legW, this.posy + (2 / 3) * this.h); + ctx.lineTo(this.posx, this.posy + this.h); + + ctx.lineTo(this.posx, this.posy - this.h); + ctx.arcTo( + this.posx, + this.posy - this.h, + this.posx + curveRadius, + this.posy, + curveRadius + ); + ctx.closePath(); + ctx.fill; + } +} + +// TODO text object +class TextObject extends DrawingObjects { + constructor(px, py, c, t) { + super(px, py, c, "T"); + this.text = t; + } + + mouseOver(mx, my) {} + + draw(cnv) { + const ctx = cnv.getContext("2d"); + ctx.fillStyle = this.color; + ctx.fillText(this.text, this.posx, this.posy); + } +} + +// TODO fazer um boneco extra +class Star extends DrawingObjects { + constructor(px, py, r, hs, vs, c) { + super(px, py, c, "S"); + this.r = r; + this.hs = hs; + this.vs = vs; + + //this.earsL = new Oval(this.posx - 0.7 * this.r, this.posy - 0.9 * this.r, this.r, 0.5, 0.5, this.color); + //this.earsR = new Oval(this.posx + 0.7 * this.r, this.posy - 0.9 * this.r, this.r, 0.5, 0.5, this.color); + this.head = new Oval(this.posx, this.posy, this.r, hs, vs, this.color); + } + + mouseOver(mx, my) { + if (this.head.mouseOver(mx, my)) // || this.earsL.mouseOver(mx, my) || this.earsR.mouseOver(mx, my) ){ + return true; + } + + draw(cnv) { + const ctx = cnv.getContext("2d"); + + //this.earsL.draw(cnv); + //this.earsR.draw(cnv); + this.head.setPos(this.posx, this.posy); + this.head.draw(cnv); + + ctx.strokeStyle = this.colorSecundary; + ctx.beginPath(); + ctx.arc(this.posx - 0.23 * this.r, this.posy + 0.5 * this.r, this.r * 0.2, Math.PI, Math.PI * 2, true); + ctx.stroke(); + ctx.closePath(); + } + + setPos(mx, my){ + this.head.posx = mx; + this.head.posy = my; + } +} + +/* Cor - usar bootstrap para ficar mais bonito +
+ + +
+ +
+ + +
+ +//js +documet.getelementById("onject-color").value + +*/ + +// TODO : por animaçoe sno projeto + +// let texto = prompt("texto"); + +// diff --git a/PCMsites/TP4/js/FotoPrint.js b/PCMsites/TP4/js/FotoPrint.js new file mode 100644 index 0000000..8308dcf --- /dev/null +++ b/PCMsites/TP4/js/FotoPrint.js @@ -0,0 +1,214 @@ +'use strict'; + +// TODO criar alguns metodos para gerir toolbar + +/** + * Represents a drawing application that manages a pool of drawing objects. + * @class + */ +class FotoPrint { + /** + * Creates a new instance of the FotoPrint class. + * @constructor + */ + constructor() { + // Keeps track of the object being moved. + this.thingInMotion = null; + // Mouse offset in the x-direction during drag. + this.offsetx = null; + // Mouse offset in the y-direction during drag. + this.offsety = null; + // Creates a pool to manage drawing objects. + this.shpinDrawing = new Pool(100); + + // Default color for drawing objects. + this.color = '#add8e6'; + + /* TO DO */ + } + + /** + * Initializes the application with various drawing objects. + */ + init() { + // Initialize the application with various drawing objects. + const r = new Rect(10, 20, 50, 50, this.color); + this.shpinDrawing.insert(r); + + const o = new Oval(100, 45, 25, 1, 1, this.color); + this.shpinDrawing.insert(o); + + const h = new Heart(175, 30, 60, this.color); + this.shpinDrawing.insert(h); + + /* TO DO */ + const b = new Bear(260, 45, 25, 1, 1, this.color); + this.shpinDrawing.insert(b); + + const g = new Ghost(325, 30, 60, 60, this.color); + this.shpinDrawing.insert(g); + + // Create a picture (loaded from an image file) and insert it into the drawing pool. + const p = new Picture(10, 100, 100, 100, 'imgs/allison1.jpg'); + this.shpinDrawing.insert(p); + } + + /** + * Draws all objects in the pool on the canvas. + * @param {CanvasRenderingContext2D} cnv - The canvas context to draw on. + */ + drawObj(cnv) { + // Draw all objects in the pool on the canvas. + this.shpinDrawing.stuff.forEach(o => o.draw(cnv)); + } + + /** + * Checks if an object is being dragged based on mouse coordinates. + * @param {number} mx - The x coordinate of the mouse. + * @param {number} my - The y coordinate of the mouse. + * @returns {boolean} - True if an object is being dragged, false otherwise. + */ + dragObj(mx, my) { + // Check if an object is being dragged based on mouse coordinates. + return this.shpinDrawing.stuff.find((o, i, arr) => { + if(o.mouseOver(mx, my)) { + this.offsetx = mx - o.posx; + this.offsety = my - o.posy; + this.thingInMotion = arr.length - 1; + arr.splice(i, 1); + arr.push(o); + return true; + } + return false; + }); + } + + /** + * Move the currently dragged object based on mouse coordinates. + * @param {number} mx - The x-coordinate of the mouse. + * @param {number} my - The y-coordinate of the mouse. + */ + moveObj(mx, my) { + // Move the currently dragged object based on mouse coordinates. + this.shpinDrawing.stuff[this.thingInMotion].posx = mx - this.offsetx; + this.shpinDrawing.stuff[this.thingInMotion].posy = my - this.offsety; + } + + /** + * Removes the last object from the pool. + */ + removeObj() { + // Remove the last object from the pool. + this.shpinDrawing.remove(); + } + + /** + * Inserts a cloned object into the pool based on mouse coordinates. + * @param {number} mx - The x-coordinate of the mouse. + * @param {number} my - The y-coordinate of the mouse. + * @returns {boolean} - Returns true if an object was inserted, false otherwise. + */ + insertObj(mx, my) { + // Insert a cloned object into the pool based on mouse coordinates. + return this.shpinDrawing.stuff.find((o, i, arr) => { + if(o.mouseOver(mx, my)) { + this.shpinDrawing.insert(this.cloneObj(o)); + return true; + } + return false; + }); + + /* TO DO */ + //init toolbal + } + + /** + * Clones a drawing object based on its type. + * @param {Object} obj - The object to be cloned. + * @returns {Object} - The cloned object. + * @throws {TypeError} - If the object type cannot be cloned. + */ + cloneObj(obj) { + // Clone a drawing object based on its type. + let item = {}; + + switch (obj.name) { + case 'R': + item = new Rect(obj.posx + 20, obj.posy + 20, obj.w, obj.h, obj.color); + break; + case 'P': + item = new Picture(obj.posx + 20, obj.posy + 20, obj.w, obj.h, obj.impath); + break; + case 'O': + item = new Oval(obj.posx + 20, obj.posy + 20, obj.r, obj.hor, obj.ver, obj.color); + break; + case 'H': + item = new Heart(obj.posx + 20, obj.posy + 20, obj.drx * 4, obj.color); + break; + case 'B': + item = new Bear(obj.posx + 20, obj.posy + 20, obj.size, obj.color); + break; + case 'G': + item = new Ghost(obj.posx + 20, obj.posy + 20, obj.width, obj.height, obj.color); + break; + case 'S': + item = new Star(obj.posx + 20, obj.posy + 20, obj.size, obj.color); + break; + case 'T': + item = new TextObject(obj.posx + 20, obj.posy + 20, obj.w, obj.color, obj.text); + break; + default: + throw new TypeError('Cannot clone this type of object'); + } + return item; + } +} + + +/** + * Represents a pool of drawing objects. + * @class + */ +class Pool { + /** + * Creates a new pool object with a specified maximum size. + * @constructor + * @param {number} maxSize - The maximum size of the pool. + */ + constructor(maxSize) { + // Maximum size of the pool. + this.size = maxSize; + // Array to store drawing objects. + this.stuff = []; + } + + /** + * Inserts an object into the pool if it's not full. + * @param {Object} obj - The object to be inserted into the pool. + */ + insert(obj) { + // Insert an object into the pool if it's not full. + if (this.stuff.length >= this.size) { + // Display an alert if the pool is full. + alert('The pool is full: there isn\'t more memory space to include objects'); + /* TO DO: Consider alternative actions when the pool is full, such as removing the oldest object or expanding the pool size. */ + // remove the oldest object + this.stuff.shift(); + } + this.stuff.push(obj); + } + + /** + * Removes the last object from the pool if it's not empty. Displays an alert if there are no objects to delete. + */ + remove() { + // Remove the last object from the pool if it's not empty. + if (this.stuff.length !== 0) { + this.stuff.pop(); + } else { + // Display an alert if there are no objects to delete. + alert('There are no objects in the pool to delete'); + /* TO DO: Consider alternative actions when attempting to remove an object from an empty pool, such as ignoring the request or prompting the user for additional input. */ + } + } +} diff --git a/PCMsites/TP4/js/FotoPrint_manager.js b/PCMsites/TP4/js/FotoPrint_manager.js new file mode 100644 index 0000000..0e5acce --- /dev/null +++ b/PCMsites/TP4/js/FotoPrint_manager.js @@ -0,0 +1,228 @@ +'use strict'; + +let app = null; + +// Entry point of the application +/** + * Initializes the FotoPrint app and adds event listeners for mouse actions. + * @function + * @returns {void} + */ +function main() { + // Get the canvas element by its id + const cnv = document.getElementById('canvas'); + + // Create a new instance of the FotoPrint class and draw the initial canvas rectangle + app = new FotoPrint(); + drawCanvasRect(cnv); // Function to draw a canvas rectangle + + // Initialize the FotoPrint app and draw objects on the canvas + app.init(); // Function to initialize the application with various drawing objects + app.drawObj(cnv); // Function to draw all objects in the pool on the canvas + + // Add event listeners for the save-as-image and remove buttons + document.getElementById('save-as-image').addEventListener('click', saveasimage); + document.getElementById('remove').addEventListener('click', remove); + + // Add event listeners for mouse actions: drag, double-click, and window resize + cnv.addEventListener('mousedown', drag); + cnv.addEventListener('dblclick', makenewitem); + + updateCanvasSize(); + window.addEventListener('resize', function () { + updateCanvasSize(); // Function to update the canvas size on window resize + }); + + /* TO DO */ + // draw canvas rect, por um retangulo à volta da toolbar; app.initilToolBar // incira os objs que aparecem na barra de cima +} + +// Function to draw the canvas rectangle +/** + * Draws a black rectangle border on the canvas. + * @param {HTMLCanvasElement} cnv - The canvas element to draw on. + */ +function drawCanvasRect(cnv) { + const ctx = cnv.getContext('2d'); + + // Clear the canvas and draw a black rectangle border + ctx.clearRect(0, 0, cnv.width, cnv.height); + ctx.strokeStyle = 'black'; + + /* TO DO */ + + ctx.lineWidth = 2; + ctx.strokeRect(0, 0, cnv.width, cnv.height); +} + +// Drag & Drop operation - mousedown event +/** + * Handles the drag event for canvas element. + * @param {MouseEvent} ev - The mouse event object. + */ +function drag(ev) { + const cnv = document.getElementById('canvas'); + const [xPos, yPos] = getMouseCoord(cnv); + const mx = ev.x - xPos; + const my = ev.y - yPos; + + // If dragging is successful, set cursor and add move and drop event listeners + if (app.dragObj(mx, my)) { + cnv.style.cursor = 'pointer'; + cnv.addEventListener('mousemove', move, false); + cnv.addEventListener('mouseup', drop, false); + } +} + +// Drag & Drop operation - mousemove event +/** + * Moves an object on the canvas based on mouse coordinates. + * @param {MouseEvent} ev - The mouse event. + */ +function move(ev) { + const cnv = document.getElementById('canvas'); + const [xPos, yPos] = getMouseCoord(cnv); + const mx = ev.x - xPos; + const my = ev.y - yPos; + + // Move the object, redraw canvas rectangle, and draw objects + app.moveObj(mx, my); + drawCanvasRect(cnv); + app.drawObj(cnv); +} + +// Drag & Drop operation - mouseup event +/** + * Removes move and drop event listeners and resets cursor. + */ +function drop() { + const cnv = document.getElementById('canvas'); + + // Remove move and drop event listeners, reset cursor + cnv.removeEventListener('mousemove', move, false); + cnv.removeEventListener('mouseup', drop, false); + cnv.style.cursor = 'crosshair'; +} + +// Insert a new Object on Canvas - dblclick event +/** + * Creates a new item on the canvas at the position of the mouse click event. + * @param {MouseEvent} ev - The mouse click event. + */ +function makenewitem(ev) { + let mx = null; + let my = null; + const cnv = document.getElementById('canvas'); + + // Calculate mouse coordinates relative to the canvas + let xPos = 0; + let yPos = 0; + [xPos, yPos] = getMouseCoord(cnv); + mx = ev.x - xPos; + my = ev.y - yPos; + + // If insertion is successful, redraw canvas rectangle and draw objects + if (app.insertObj(mx, my)) { + drawCanvasRect(cnv); + app.drawObj(cnv); + } +} + +// Delete button - onclick event +/** + * Removes the last object from the canvas, redraws the canvas rectangle, and draws the remaining objects. + */ +function remove() { + const cnv = document.getElementById('canvas'); + + // Remove the last object, redraw canvas rectangle, and draw objects + app.removeObj(); + drawCanvasRect(cnv); + app.drawObj(cnv); +} + +// Save button - onclick event +/** + * Saves the contents of the canvas element as a PNG image with the specified file name. + * @function + * @name saveasimage + * @returns {void} + */ +function saveasimage() { + try { + // Get the canvas element by its ID + const canvas = document.getElementById('canvas'); + + // Convert the contents of the canvas to a data URL representing a PNG image + const dataUrl = canvas.toDataURL('image/png'); + + // Create a temporary link element + const link = document.createElement('a'); + + // Set the link's href to the data URL and the download attribute to the specified file name + link.href = dataUrl; + link.download = 'photo.png'; + + // Trigger a click on the link to start the download + link.click(); + } catch (err) { + // Display an alert if there is an issue with saving and log the error to the console + alert('Failed to save the canvas as an image. Please try again.'); + console.error(err); + } +} + +// Function to get mouse coordinates for all browsers +/** + * Calculates the coordinates of the mouse relative to the top-left corner of the specified element. + * @param {HTMLElement} el - The element to calculate the coordinates relative to. + * @returns {Array} An array containing the x and y coordinates of the mouse. + */ +function getMouseCoord(el) { + let xPos = 0; // Initialize the x-coordinate + let yPos = 0; // Initialize the y-coordinate + + // Traverse the DOM hierarchy to calculate the coordinates + while (el) { + if (el.tagName === 'BODY') { + // Deal with browser quirks with body/window/document and page scroll + let xScroll = el.scrollLeft || document.documentElement.scrollLeft; + let yScroll = el.scrollTop || document.documentElement.scrollTop; + + xPos += (el.offsetLeft - xScroll + el.clientLeft); + yPos += (el.offsetTop - yScroll + el.clientTop); + } else { + // For all other non-BODY elements + xPos += (el.offsetLeft - el.scrollLeft + el.clientLeft); + yPos += (el.offsetTop - el.scrollTop + el.clientTop); + } + + el = el.offsetParent; + } + return [xPos, yPos]; +} + +/** + * Updates the size of the canvas and draws the canvas rectangle and objects. + */ +function updateCanvasSize() { + const cnv = document.getElementById('canvas'); + // Set the width of the canvas to match the body's width + cnv.width = document.body.clientWidth; + + // Draw the canvas rectangle and objects + drawCanvasRect(cnv); + app.drawObj(cnv); +} + + +// add upload image, action upload(){const cnb, fileInput, const fileURL = wdindow +// app.insertImage(fileURL); drawCanvas(cnv; app.drawOn«bjct(cnv;)) + +// insert image(imagepath){ + // const img + // this.ship +//} + + +// upload createImageUrl -> ver documentaçao \ No newline at end of file diff --git a/PCMsites/aulas/questionare.html b/PCMsites/aulas/questionare.html new file mode 100644 index 0000000..16f5668 --- /dev/null +++ b/PCMsites/aulas/questionare.html @@ -0,0 +1,55 @@ + + + + + + + Document + + +
+
+

Qual é

+ + + + +
+
+

Qual o brownser

+ + + // TODO pelo menos escolhe ruma e + +
+ +
+

Outros

+ + + + + +
+ + + +
+ + \ No newline at end of file diff --git a/PCMsites/aulas/questionare.js b/PCMsites/aulas/questionare.js new file mode 100644 index 0000000..47660f4 --- /dev/null +++ b/PCMsites/aulas/questionare.js @@ -0,0 +1,4 @@ +document.getElementById("questionare").addEventListener("submite", function(e){ + e.preventDefault(); + console.log("submitted"); +}); \ No newline at end of file diff --git a/PCMsites/aulas/questionare_p2.html b/PCMsites/aulas/questionare_p2.html new file mode 100644 index 0000000..5d2462a --- /dev/null +++ b/PCMsites/aulas/questionare_p2.html @@ -0,0 +1,20 @@ + + + + + + + Document + + +
+

Questinare

+

Tarefas

+
+ +
+
+ + + \ No newline at end of file diff --git a/PCMsites/aulas/style.css b/PCMsites/aulas/style.css new file mode 100644 index 0000000..560892e --- /dev/null +++ b/PCMsites/aulas/style.css @@ -0,0 +1,3 @@ +.div{ + margin: 5%; +} \ No newline at end of file diff --git a/Porfolio/3D/zone_3D.html b/Porfolio/3D/zone_3D.html new file mode 100644 index 0000000..e69de29 diff --git a/Porfolio/Me/zone_me.html b/Porfolio/Me/zone_me.html new file mode 100644 index 0000000..eec0164 --- /dev/null +++ b/Porfolio/Me/zone_me.html @@ -0,0 +1,161 @@ + + + + + + + + LM + + + + + +
+
+ +
+
+
+
+

About Me

+
+

Leonor Medeiros

+
+ porfile-foto +

Lorem ipsum dolor sit, amet consectetur + adipisicing + elit. In architecto vel animi! Officiis + fugiat + ratione, reiciendis + aliquid fuga ipsum nihil assumenda + consequuntur! + Earum natus dolor hic illo distinctio odio + libero.

+
+
+ +
+ +
+

Skills

+

Lorem ipsum dolor sit amet consectetur adipisicing + elit. Praesentium sit optio rerum architecto ut + omnis expedita, blanditiis.

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

Contact

+

Lorem ipsum dolor sit amet consectetur adipisicing + elit. Id iste, quae eius deserunt eum delectus + corporis tenetur.

+ +
+
+
+ + + +
+
+ + + +
+
+ + + +
+
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
+
+
+ +
+ + \ No newline at end of file diff --git a/Porfolio/Other/zone_other.html b/Porfolio/Other/zone_other.html new file mode 100644 index 0000000..e69de29 diff --git a/Porfolio/Programs/zone_programs.html b/Porfolio/Programs/zone_programs.html new file mode 100644 index 0000000..e69de29 diff --git a/Porfolio/general_style.css b/Porfolio/general_style.css new file mode 100644 index 0000000..89e4994 --- /dev/null +++ b/Porfolio/general_style.css @@ -0,0 +1,47 @@ +body{ + background-color: bisque; +} + +a{ + /* background-color: rgb(99, 99, 99); */ + border-radius: 20%; + color: rgb(145, 201, 62); + padding: 5%; +} + +a:hover{ + color: lightgreen; +} + +#top-nav{ + background-color: rgb(145, 201, 62); + color: black; +} + +#side-nav{ + background-color: rgb(91, 136, 24); + color: white; +} + +article{ + background-color: cornsilk; + color: rgb(255, 255, 255); +} + +.row{ + margin: 10%; + justify-content: center; + align-items: center; + text-align: center; +} + +.col{ + margin: 20%; +} + +#profile-foto{ + border-radius: 50%; + border-color: aquamarine solid 5px; + width: 50%; + height: 50%; +} \ No newline at end of file diff --git a/Porfolio/index.html b/Porfolio/index.html new file mode 100644 index 0000000..66128da --- /dev/null +++ b/Porfolio/index.html @@ -0,0 +1,41 @@ + + + + + + + + + LM Portfolio + + +
+
+ + logo + +
+ + +
+ + \ No newline at end of file diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..61747e3 --- /dev/null +++ b/README.txt @@ -0,0 +1,8 @@ +link: https://leonorme.github.io/ + +@LeonorMe +Leonor Medeiros +Setembro 2023 + +UC: PCM +Descrição: Design de Websites Responsivos \ No newline at end of file diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..9f008b5 --- /dev/null +++ b/_config.yml @@ -0,0 +1,3 @@ +theme: LM style +title: Leonor Medeiros homepage +description: To many websites and portfolios inside here! \ No newline at end of file diff --git a/assets/css/fontawesome-all.min.css b/assets/css/fontawesome-all.min.css new file mode 100644 index 0000000..03c42e3 --- /dev/null +++ b/assets/css/fontawesome-all.min.css @@ -0,0 +1,101 @@ +/*! + * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bacteria:before{content:"\e059"}.fa-bacterium:before{content:"\e05a"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\e05b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudflare:before{content:"\e07d"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\e052"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deezer:before{content:"\e077"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edge-legacy:before{content:"\e078"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\e005"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\e007"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-pay:before{content:"\e079"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guilded:before{content:"\e07e"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\e05d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\e05e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\e05f"}.fa-handshake-slash:before{content:"\e060"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\e061"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-head-side-mask:before{content:"\e063"}.fa-head-side-virus:before{content:"\e064"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hive:before{content:"\e07f"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\e065"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\e013"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-innosoft:before{content:"\e080"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\e055"}.fa-instalod:before{content:"\e081"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\e066"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\e067"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\e01a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\e056"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octopus-deploy:before{content:"\e082"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\e068"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-perbyte:before{content:"\e083"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\e01e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\e069"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\e06a"}.fa-pump-soap:before{content:"\e06b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-rust:before{content:"\e07a"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\e06c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\e057"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sink:before{content:"\e06d"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\e06e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\e06f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\e070"}.fa-store-slash:before{content:"\e071"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-tiktok:before{content:"\e07b"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\e041"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-uncharted:before{content:"\e084"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\e049"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsplash:before{content:"\e07c"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-users-slash:before{content:"\e073"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-vest:before{content:"\e085"}.fa-vest-patches:before{content:"\e086"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\e074"}.fa-virus-slash:before{content:"\e075"}.fa-viruses:before{content:"\e076"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-watchman-monitoring:before{content:"\e087"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wodu:before{content:"\e088"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900} \ No newline at end of file diff --git a/assets/css/main.css b/assets/css/main.css new file mode 100644 index 0000000..e418ac3 --- /dev/null +++ b/assets/css/main.css @@ -0,0 +1,1658 @@ +@import url(fontawesome-all.min.css); +@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600"); + +/* + Dimension by HTML5 UP + html5up.net | @ajlkn + Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +*/ + +html, body, div, span, applet, object, +iframe, h1, h2, h3, h4, h5, h6, p, blockquote, +pre, a, abbr, acronym, address, big, cite, +code, del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, b, +u, i, center, dl, dt, dd, ol, ul, li, fieldset, +form, label, legend, table, caption, tbody, +tfoot, thead, tr, th, td, article, aside, +canvas, details, embed, figure, figcaption, +footer, header, hgroup, menu, nav, output, ruby, +section, summary, time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline;} + +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block;} + +body { + line-height: 1; +} + +ol, ul { + list-style: none; +} + +blockquote, q { + quotes: none; +} + + blockquote:before, blockquote:after, q:before, q:after { + content: ''; + content: none; + } + +table { + border-collapse: collapse; + border-spacing: 0; +} + +body { + -webkit-text-size-adjust: none; +} + +mark { + background-color: transparent; + color: inherit; +} + +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +input, select, textarea { + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; +} + +/* Basic */ + + @-ms-viewport { + width: device-width; + } + + @media screen and (max-width: 480px) { + + html, body { + min-width: 320px; + } + + } + + html { + box-sizing: border-box; + } + + *, *:before, *:after { + box-sizing: inherit; + } + + body { + background: #1b1f22; + } + + body.is-preload *, body.is-preload *:before, body.is-preload *:after { + -moz-animation: none !important; + -webkit-animation: none !important; + -ms-animation: none !important; + animation: none !important; + -moz-transition: none !important; + -webkit-transition: none !important; + -ms-transition: none !important; + transition: none !important; + } + +/* Type */ + + html { + font-size: 16pt; + } + + @media screen and (max-width: 1680px) { + + html { + font-size: 12pt; + } + + } + + @media screen and (max-width: 736px) { + + html { + font-size: 11pt; + } + + } + + @media screen and (max-width: 360px) { + + html { + font-size: 10pt; + } + + } + + body, input, select, textarea { + color: #ffffff; + font-family: "Source Sans Pro", sans-serif; + font-weight: 300; + font-size: 1rem; + line-height: 1.65; + } + + a { + -moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out; + -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out; + -ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out; + transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out; + border-bottom: dotted 1px rgba(255, 255, 255, 0.5); + text-decoration: none; + color: inherit; + } + + a:hover { + border-bottom-color: transparent; + } + + strong, b { + color: #ffffff; + font-weight: 600; + } + + em, i { + font-style: italic; + } + + p { + margin: 0 0 2rem 0; + } + + h1, h2, h3, h4, h5, h6 { + color: #ffffff; + font-weight: 600; + line-height: 1.5; + margin: 0 0 1rem 0; + text-transform: uppercase; + letter-spacing: 0.2rem; + } + + h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { + color: inherit; + text-decoration: none; + } + + h1.major, h2.major, h3.major, h4.major, h5.major, h6.major { + border-bottom: solid 1px #ffffff; + width: -moz-max-content; + width: -webkit-max-content; + width: -ms-max-content; + width: max-content; + padding-bottom: 0.5rem; + margin: 0 0 2rem 0; + } + + h1 { + font-size: 2.25rem; + line-height: 1.3; + letter-spacing: 0.5rem; + } + + h2 { + font-size: 1.5rem; + line-height: 1.4; + letter-spacing: 0.5rem; + } + + h3 { + font-size: 1rem; + } + + h4 { + font-size: 0.8rem; + } + + h5 { + font-size: 0.7rem; + } + + h6 { + font-size: 0.6rem; + } + + @media screen and (max-width: 736px) { + + h1 { + font-size: 1.75rem; + line-height: 1.4; + } + + h2 { + font-size: 1.25em; + line-height: 1.5; + } + + } + + sub { + font-size: 0.8rem; + position: relative; + top: 0.5rem; + } + + sup { + font-size: 0.8rem; + position: relative; + top: -0.5rem; + } + + blockquote { + border-left: solid 4px #ffffff; + font-style: italic; + margin: 0 0 2rem 0; + padding: 0.5rem 0 0.5rem 2rem; + } + + code { + background: rgba(255, 255, 255, 0.075); + border-radius: 4px; + font-family: "Courier New", monospace; + font-size: 0.9rem; + margin: 0 0.25rem; + padding: 0.25rem 0.65rem; + } + + pre { + -webkit-overflow-scrolling: touch; + font-family: "Courier New", monospace; + font-size: 0.9rem; + margin: 0 0 2rem 0; + } + + pre code { + display: block; + line-height: 1.75; + padding: 1rem 1.5rem; + overflow-x: auto; + } + + hr { + border: 0; + border-bottom: solid 1px #ffffff; + margin: 2.75rem 0; + } + + .align-left { + text-align: left; + } + + .align-center { + text-align: center; + } + + .align-right { + text-align: right; + } + +/* Form */ + + form { + margin: 0 0 2rem 0; + } + + form > :last-child { + margin-bottom: 0; + } + + form > .fields { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + width: calc(100% + 3rem); + margin: -1.5rem 0 2rem -1.5rem; + } + + form > .fields > .field { + -moz-flex-grow: 0; + -webkit-flex-grow: 0; + -ms-flex-grow: 0; + flex-grow: 0; + -moz-flex-shrink: 0; + -webkit-flex-shrink: 0; + -ms-flex-shrink: 0; + flex-shrink: 0; + padding: 1.5rem 0 0 1.5rem; + width: calc(100% - 1.5rem); + } + + form > .fields > .field.half { + width: calc(50% - 0.75rem); + } + + form > .fields > .field.third { + width: calc(100%/3 - 0.5rem); + } + + form > .fields > .field.quarter { + width: calc(25% - 0.375rem); + } + + @media screen and (max-width: 480px) { + + form > .fields { + width: calc(100% + 3rem); + margin: -1.5rem 0 2rem -1.5rem; + } + + form > .fields > .field { + padding: 1.5rem 0 0 1.5rem; + width: calc(100% - 1.5rem); + } + + form > .fields > .field.half { + width: calc(100% - 1.5rem); + } + + form > .fields > .field.third { + width: calc(100% - 1.5rem); + } + + form > .fields > .field.quarter { + width: calc(100% - 1.5rem); + } + + } + + label { + color: #ffffff; + display: block; + font-size: 0.8rem; + font-weight: 300; + letter-spacing: 0.2rem; + line-height: 1.5; + margin: 0 0 1rem 0; + text-transform: uppercase; + } + + input[type="text"], + input[type="password"], + input[type="email"], + input[type="tel"], + select, + textarea { + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; + -moz-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; + -webkit-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; + -ms-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; + transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; + background-color: transparent; + border-radius: 4px; + border: solid 1px #ffffff; + color: inherit; + display: block; + outline: 0; + padding: 0 1rem; + text-decoration: none; + width: 100%; + } + + input[type="text"]:invalid, + input[type="password"]:invalid, + input[type="email"]:invalid, + input[type="tel"]:invalid, + select:invalid, + textarea:invalid { + box-shadow: none; + } + + input[type="text"]:focus, + input[type="password"]:focus, + input[type="email"]:focus, + input[type="tel"]:focus, + select:focus, + textarea:focus { + background: rgba(255, 255, 255, 0.075); + border-color: #ffffff; + box-shadow: 0 0 0 1px #ffffff; + } + + select { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23ffffff' /%3E%3C/svg%3E"); + background-size: 1.25rem; + background-repeat: no-repeat; + background-position: calc(100% - 1rem) center; + height: 2.75rem; + padding-right: 2.75rem; + text-overflow: ellipsis; + } + + select option { + color: #ffffff; + background: #1b1f22; + } + + select:focus::-ms-value { + background-color: transparent; + } + + select::-ms-expand { + display: none; + } + + input[type="text"], + input[type="password"], + input[type="email"], + select { + height: 2.75rem; + } + + textarea { + padding: 0.75rem 1rem; + } + + input[type="checkbox"], + input[type="radio"] { + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; + display: block; + float: left; + margin-right: -2rem; + opacity: 0; + width: 1rem; + z-index: -1; + } + + input[type="checkbox"] + label, + input[type="radio"] + label { + text-decoration: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + color: #ffffff; + cursor: pointer; + display: inline-block; + font-size: 0.8rem; + font-weight: 300; + margin: 0 0 0.5rem 0; + padding-left: 2.65rem; + padding-right: 0.75rem; + position: relative; + } + + input[type="checkbox"] + label:before, + input[type="radio"] + label:before { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; + text-transform: none !important; + font-family: 'Font Awesome 5 Free'; + font-weight: 900; + } + + input[type="checkbox"] + label:before, + input[type="radio"] + label:before { + -moz-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; + -webkit-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; + -ms-transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; + transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out; + border-radius: 4px; + border: solid 1px #ffffff; + content: ''; + display: inline-block; + height: 1.65rem; + left: 0; + line-height: 1.65rem; + position: absolute; + text-align: center; + top: -0.15rem; + width: 1.65rem; + } + + input[type="checkbox"]:checked + label:before, + input[type="radio"]:checked + label:before { + background: #ffffff !important; + border-color: #ffffff !important; + color: #1b1f22; + content: '\f00c'; + } + + input[type="checkbox"]:focus + label:before, + input[type="radio"]:focus + label:before { + background: rgba(255, 255, 255, 0.075); + border-color: #ffffff; + box-shadow: 0 0 0 1px #ffffff; + } + + input[type="checkbox"] + label:before { + border-radius: 4px; + } + + input[type="radio"] + label:before { + border-radius: 100%; + } + + ::-webkit-input-placeholder { + color: rgba(255, 255, 255, 0.5) !important; + opacity: 1.0; + } + + :-moz-placeholder { + color: rgba(255, 255, 255, 0.5) !important; + opacity: 1.0; + } + + ::-moz-placeholder { + color: rgba(255, 255, 255, 0.5) !important; + opacity: 1.0; + } + + :-ms-input-placeholder { + color: rgba(255, 255, 255, 0.5) !important; + opacity: 1.0; + } + + .formerize-placeholder { + color: rgba(255, 255, 255, 0.5) !important; + opacity: 1.0; + } + +/* Box */ + + .box { + border-radius: 4px; + border: solid 1px #ffffff; + margin-bottom: 2rem; + padding: 1.5em; + } + + .box > :last-child, + .box > :last-child > :last-child, + .box > :last-child > :last-child > :last-child { + margin-bottom: 0; + } + + .box.alt { + border: 0; + border-radius: 0; + padding: 0; + } + +/* Icon */ + + .icon { + text-decoration: none; + border-bottom: none; + position: relative; + } + + .icon:before { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; + text-transform: none !important; + font-family: 'Font Awesome 5 Free'; + font-weight: 400; + } + + .icon > .label { + display: none; + } + + .icon:before { + line-height: inherit; + } + + .icon.solid:before { + font-weight: 900; + } + + .icon.brands:before { + font-family: 'Font Awesome 5 Brands'; + } + +/* Image */ + + .image { + border-radius: 4px; + border: 0; + display: inline-block; + position: relative; + } + + .image:before { + pointer-events: none; + background-image: url("../../images/overlay.png"); + background-color: rgba(19, 21, 25, 0.5); + border-radius: 4px; + content: ''; + display: block; + height: 100%; + left: 0; + opacity: 0.5; + position: absolute; + top: 0; + width: 100%; + } + + .image img { + border-radius: 4px; + display: block; + } + + .image.left, .image.right { + max-width: 40%; + } + + .image.left img, .image.right img { + width: 100%; + } + + .image.left { + float: left; + padding: 0 1.5em 1em 0; + top: 0.25em; + } + + .image.right { + float: right; + padding: 0 0 1em 1.5em; + top: 0.25em; + } + + .image.fit { + display: block; + margin: 0 0 2rem 0; + width: 100%; + } + + .image.fit img { + width: 100%; + } + + .image.main { + display: block; + margin: 2.5rem 0; + width: 100%; + } + + .image.main img { + width: 100%; + } + + @media screen and (max-width: 736px) { + + .image.main { + margin: 2rem 0; + } + + } + + @media screen and (max-width: 480px) { + + .image.main { + margin: 1.5rem 0; + } + + } + +/* List */ + + ol { + list-style: decimal; + margin: 0 0 2rem 0; + padding-left: 1.25em; + } + + ol li { + padding-left: 0.25em; + } + + ul { + list-style: disc; + margin: 0 0 2rem 0; + padding-left: 1em; + } + + ul li { + padding-left: 0.5em; + } + + ul.alt { + list-style: none; + padding-left: 0; + } + + ul.alt li { + border-top: solid 1px #ffffff; + padding: 0.5em 0; + } + + ul.alt li:first-child { + border-top: 0; + padding-top: 0; + } + + dl { + margin: 0 0 2rem 0; + } + + dl dt { + display: block; + font-weight: 600; + margin: 0 0 1rem 0; + } + + dl dd { + margin-left: 2rem; + } + +/* Actions */ + + ul.actions { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + cursor: default; + list-style: none; + margin-left: -1rem; + padding-left: 0; + } + + ul.actions li { + padding: 0 0 0 1rem; + vertical-align: middle; + } + + ul.actions.special { + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + width: 100%; + margin-left: 0; + } + + ul.actions.special li:first-child { + padding-left: 0; + } + + ul.actions.stacked { + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-left: 0; + } + + ul.actions.stacked li { + padding: 1.3rem 0 0 0; + } + + ul.actions.stacked li:first-child { + padding-top: 0; + } + + ul.actions.fit { + width: calc(100% + 1rem); + } + + ul.actions.fit li { + -moz-flex-grow: 1; + -webkit-flex-grow: 1; + -ms-flex-grow: 1; + flex-grow: 1; + -moz-flex-shrink: 1; + -webkit-flex-shrink: 1; + -ms-flex-shrink: 1; + flex-shrink: 1; + width: 100%; + } + + ul.actions.fit li > * { + width: 100%; + } + + ul.actions.fit.stacked { + width: 100%; + } + + @media screen and (max-width: 480px) { + + ul.actions:not(.fixed) { + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin-left: 0; + width: 100% !important; + } + + ul.actions:not(.fixed) li { + -moz-flex-grow: 1; + -webkit-flex-grow: 1; + -ms-flex-grow: 1; + flex-grow: 1; + -moz-flex-shrink: 1; + -webkit-flex-shrink: 1; + -ms-flex-shrink: 1; + flex-shrink: 1; + padding: 1rem 0 0 0; + text-align: center; + width: 100%; + } + + ul.actions:not(.fixed) li > * { + width: 100%; + } + + ul.actions:not(.fixed) li:first-child { + padding-top: 0; + } + + ul.actions:not(.fixed) li input[type="submit"], + ul.actions:not(.fixed) li input[type="reset"], + ul.actions:not(.fixed) li input[type="button"], + ul.actions:not(.fixed) li button, + ul.actions:not(.fixed) li .button { + width: 100%; + } + + ul.actions:not(.fixed) li input[type="submit"].icon:before, + ul.actions:not(.fixed) li input[type="reset"].icon:before, + ul.actions:not(.fixed) li input[type="button"].icon:before, + ul.actions:not(.fixed) li button.icon:before, + ul.actions:not(.fixed) li .button.icon:before { + margin-left: -0.5em; + } + + } + +/* Icons */ + + ul.icons { + cursor: default; + list-style: none; + padding-left: 0; + } + + ul.icons li { + display: inline-block; + padding: 0 0.75em 0 0; + } + + ul.icons li:last-child { + padding-right: 0; + } + + ul.icons li a { + border-radius: 100%; + box-shadow: inset 0 0 0 1px #ffffff; + display: inline-block; + height: 2.25rem; + line-height: 2.25rem; + text-align: center; + width: 2.25rem; + } + + ul.icons li a:hover { + background-color: rgba(255, 255, 255, 0.075); + } + + ul.icons li a:active { + background-color: rgba(255, 255, 255, 0.175); + } + +/* Table */ + + .table-wrapper { + -webkit-overflow-scrolling: touch; + overflow-x: auto; + } + + table { + margin: 0 0 2rem 0; + width: 100%; + } + + table tbody tr { + border: solid 1px #ffffff; + border-left: 0; + border-right: 0; + } + + table tbody tr:nth-child(2n + 1) { + background-color: rgba(255, 255, 255, 0.075); + } + + table td { + padding: 0.75em 0.75em; + } + + table th { + color: #ffffff; + font-size: 0.9em; + font-weight: 600; + padding: 0 0.75em 0.75em 0.75em; + text-align: left; + } + + table thead { + border-bottom: solid 2px #ffffff; + } + + table tfoot { + border-top: solid 2px #ffffff; + } + + table.alt { + border-collapse: separate; + } + + table.alt tbody tr td { + border: solid 1px #ffffff; + border-left-width: 0; + border-top-width: 0; + } + + table.alt tbody tr td:first-child { + border-left-width: 1px; + } + + table.alt tbody tr:first-child td { + border-top-width: 1px; + } + + table.alt thead { + border-bottom: 0; + } + + table.alt tfoot { + border-top: 0; + } + +/* Button */ + + input[type="submit"], + input[type="reset"], + input[type="button"], + button, + .button { + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; + -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; + -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; + -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; + transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; + background-color: transparent; + border-radius: 4px; + border: 0; + box-shadow: inset 0 0 0 1px #ffffff; + color: #ffffff !important; + cursor: pointer; + display: inline-block; + font-size: 0.8rem; + font-weight: 300; + height: 2.75rem; + letter-spacing: 0.2rem; + line-height: 2.75rem; + outline: 0; + padding: 0 1.25rem 0 1.35rem; + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + } + + input[type="submit"]:hover, + input[type="reset"]:hover, + input[type="button"]:hover, + button:hover, + .button:hover { + background-color: rgba(255, 255, 255, 0.075); + } + + input[type="submit"]:active, + input[type="reset"]:active, + input[type="button"]:active, + button:active, + .button:active { + background-color: rgba(255, 255, 255, 0.175); + } + + input[type="submit"].icon:before, + input[type="reset"].icon:before, + input[type="button"].icon:before, + button.icon:before, + .button.icon:before { + margin-right: 0.5em; + } + + input[type="submit"].fit, + input[type="reset"].fit, + input[type="button"].fit, + button.fit, + .button.fit { + width: 100%; + } + + input[type="submit"].small, + input[type="reset"].small, + input[type="button"].small, + button.small, + .button.small { + font-size: 0.6rem; + height: 2.0625rem; + line-height: 2.0625rem; + } + + input[type="submit"].primary, + input[type="reset"].primary, + input[type="button"].primary, + button.primary, + .button.primary { + background-color: #ffffff; + color: #1b1f22 !important; + font-weight: 600; + } + + input[type="submit"].disabled, input[type="submit"]:disabled, + input[type="reset"].disabled, + input[type="reset"]:disabled, + input[type="button"].disabled, + input[type="button"]:disabled, + button.disabled, + button:disabled, + .button.disabled, + .button:disabled { + pointer-events: none; + cursor: default; + opacity: 0.25; + } + + input[type="submit"], + input[type="reset"], + input[type="button"], + button { + line-height: calc(2.75rem - 2px); + } + +/* BG */ + + #bg { + -moz-transform: scale(1.0); + -webkit-transform: scale(1.0); + -ms-transform: scale(1.0); + transform: scale(1.0); + -webkit-backface-visibility: hidden; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100vh; + z-index: 1; + } + + #bg:before, #bg:after { + content: ''; + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + + #bg:before { + -moz-transition: background-color 2.5s ease-in-out; + -webkit-transition: background-color 2.5s ease-in-out; + -ms-transition: background-color 2.5s ease-in-out; + transition: background-color 2.5s ease-in-out; + -moz-transition-delay: 0.75s; + -webkit-transition-delay: 0.75s; + -ms-transition-delay: 0.75s; + transition-delay: 0.75s; + background-image: linear-gradient(to top, rgba(19, 21, 25, 0.5), rgba(19, 21, 25, 0.5)), url("../../images/overlay.png"); + background-size: auto, 256px 256px; + background-position: center, center; + background-repeat: no-repeat, repeat; + z-index: 2; + } + + #bg:after { + -moz-transform: scale(1.125); + -webkit-transform: scale(1.125); + -ms-transform: scale(1.125); + transform: scale(1.125); + -moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out; + -webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out; + -ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out; + transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out; + background-image: url("../../images/bg.jpg"); + background-position: center; + background-size: cover; + background-repeat: no-repeat; + z-index: 1; + } + + body.is-article-visible #bg:after { + -moz-transform: scale(1.0825); + -webkit-transform: scale(1.0825); + -ms-transform: scale(1.0825); + transform: scale(1.0825); + -moz-filter: blur(0.2rem); + -webkit-filter: blur(0.2rem); + -ms-filter: blur(0.2rem); + filter: blur(0.2rem); + } + + body.is-preload #bg:before { + background-color: #000000; + } + +/* Wrapper */ + + #wrapper { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + -moz-justify-content: space-between; + -webkit-justify-content: space-between; + -ms-justify-content: space-between; + justify-content: space-between; + position: relative; + min-height: 100vh; + width: 100%; + padding: 4rem 2rem; + z-index: 3; + } + + #wrapper:before { + content: ''; + display: block; + } + + @media screen and (max-width: 1680px) { + + #wrapper { + padding: 3rem 2rem; + } + + } + + @media screen and (max-width: 736px) { + + #wrapper { + padding: 2rem 1rem; + } + + } + + @media screen and (max-width: 480px) { + + #wrapper { + padding: 1rem; + } + + } + +/* Header */ + + #header { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + -moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out, opacity 0.325s ease-in-out; + -webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out, opacity 0.325s ease-in-out; + -ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out, opacity 0.325s ease-in-out; + transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out; + background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%); + background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%); + background-image: -ms-radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%); + background-image: radial-gradient(rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 55%); + max-width: 100%; + text-align: center; + } + + #header > * { + -moz-transition: opacity 0.325s ease-in-out; + -webkit-transition: opacity 0.325s ease-in-out; + -ms-transition: opacity 0.325s ease-in-out; + transition: opacity 0.325s ease-in-out; + position: relative; + margin-top: 3.5rem; + } + + #header > *:before { + content: ''; + display: block; + position: absolute; + top: calc(-3.5rem - 1px); + left: calc(50% - 1px); + width: 1px; + height: calc(3.5rem + 1px); + background: #ffffff; + } + + #header > :first-child { + margin-top: 0; + } + + #header > :first-child:before { + display: none; + } + + #header .logo { + width: 5.5rem; + height: 5.5rem; + line-height: 5.5rem; + border: solid 1px #ffffff; + border-radius: 100%; + } + + #header .logo .icon:before { + font-size: 2rem; + } + + #header .content { + border-style: solid; + border-color: #ffffff; + border-top-width: 1px; + border-bottom-width: 1px; + max-width: 100%; + } + + #header .content .inner { + -moz-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out; + -webkit-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out; + -ms-transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out; + transition: max-height 0.75s ease, padding 0.75s ease, opacity 0.325s ease-in-out; + -moz-transition-delay: 0.25s; + -webkit-transition-delay: 0.25s; + -ms-transition-delay: 0.25s; + transition-delay: 0.25s; + padding: 3rem 2rem; + max-height: 40rem; + overflow: hidden; + } + + #header .content .inner > :last-child { + margin-bottom: 0; + } + + #header .content p { + text-transform: uppercase; + letter-spacing: 0.2rem; + font-size: 0.8rem; + line-height: 2; + } + + #header nav ul { + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + margin-bottom: 0; + list-style: none; + padding-left: 0; + border: solid 1px #ffffff; + border-radius: 4px; + } + + #header nav ul li { + padding-left: 0; + border-left: solid 1px #ffffff; + } + + #header nav ul li:first-child { + border-left: 0; + } + + #header nav ul li a { + display: block; + min-width: 7.5rem; + height: 2.75rem; + line-height: 2.75rem; + padding: 0 1.25rem 0 1.45rem; + text-transform: uppercase; + letter-spacing: 0.2rem; + font-size: 0.8rem; + border-bottom: 0; + } + + #header nav ul li a:hover { + background-color: rgba(255, 255, 255, 0.075); + } + + #header nav ul li a:active { + background-color: rgba(255, 255, 255, 0.175); + } + + #header nav.use-middle:after { + content: ''; + display: block; + position: absolute; + top: 0; + left: calc(50% - 1px); + width: 1px; + height: 100%; + background: #ffffff; + } + + #header nav.use-middle ul li.is-middle { + border-left: 0; + } + + body.is-article-visible #header { + -moz-transform: scale(0.95); + -webkit-transform: scale(0.95); + -ms-transform: scale(0.95); + transform: scale(0.95); + -moz-filter: blur(0.1rem); + -webkit-filter: blur(0.1rem); + -ms-filter: blur(0.1rem); + filter: blur(0.1rem); + opacity: 0; + } + + body.is-preload #header { + -moz-filter: blur(0.125rem); + -webkit-filter: blur(0.125rem); + -ms-filter: blur(0.125rem); + filter: blur(0.125rem); + } + + body.is-preload #header > * { + opacity: 0; + } + + body.is-preload #header .content .inner { + max-height: 0; + padding-top: 0; + padding-bottom: 0; + opacity: 0; + } + + @media screen and (max-width: 980px) { + + #header .content p br { + display: none; + } + + } + + @media screen and (max-width: 736px) { + + #header > * { + margin-top: 2rem; + } + + #header > *:before { + top: calc(-2rem - 1px); + height: calc(2rem + 1px); + } + + #header .logo { + width: 4.75rem; + height: 4.75rem; + line-height: 4.75rem; + } + + #header .logo .icon:before { + font-size: 1.75rem; + } + + #header .content .inner { + padding: 2.5rem 1rem; + } + + #header .content p { + line-height: 1.875; + } + + } + + @media screen and (max-width: 480px) { + + #header { + padding: 1.5rem 0; + } + + #header .content .inner { + padding: 2.5rem 0; + } + + #header nav ul { + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-width: 10rem; + max-width: 100%; + } + + #header nav ul li { + border-left: 0; + border-top: solid 1px #ffffff; + } + + #header nav ul li:first-child { + border-top: 0; + } + + #header nav ul li a { + height: 3rem; + line-height: 3rem; + min-width: 0; + width: 100%; + } + + #header nav.use-middle:after { + display: none; + } + + } + +/* Main */ + + #main { + -moz-flex-grow: 1; + -webkit-flex-grow: 1; + -ms-flex-grow: 1; + flex-grow: 1; + -moz-flex-shrink: 1; + -webkit-flex-shrink: 1; + -ms-flex-shrink: 1; + flex-shrink: 1; + display: -moz-flex; + display: -webkit-flex; + display: -ms-flex; + display: flex; + -moz-align-items: center; + -webkit-align-items: center; + -ms-align-items: center; + align-items: center; + -moz-justify-content: center; + -webkit-justify-content: center; + -ms-justify-content: center; + justify-content: center; + -moz-flex-direction: column; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + position: relative; + max-width: 100%; + z-index: 3; + } + + #main article { + -moz-transform: translateY(0.25rem); + -webkit-transform: translateY(0.25rem); + -ms-transform: translateY(0.25rem); + transform: translateY(0.25rem); + -moz-transition: opacity 0.325s ease-in-out, -moz-transform 0.325s ease-in-out; + -webkit-transition: opacity 0.325s ease-in-out, -webkit-transform 0.325s ease-in-out; + -ms-transition: opacity 0.325s ease-in-out, -ms-transform 0.325s ease-in-out; + transition: opacity 0.325s ease-in-out, transform 0.325s ease-in-out; + padding: 4.5rem 2.5rem 1.5rem 2.5rem ; + position: relative; + width: 40rem; + max-width: 100%; + background-color: rgba(27, 31, 34, 0.85); + border-radius: 4px; + opacity: 0; + } + + #main article.active { + -moz-transform: translateY(0); + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + opacity: 1; + } + + #main article .close { + display: block; + position: absolute; + top: 0; + right: 0; + width: 4rem; + height: 4rem; + cursor: pointer; + text-indent: 4rem; + overflow: hidden; + white-space: nowrap; + } + + #main article .close:before { + -moz-transition: background-color 0.2s ease-in-out; + -webkit-transition: background-color 0.2s ease-in-out; + -ms-transition: background-color 0.2s ease-in-out; + transition: background-color 0.2s ease-in-out; + content: ''; + display: block; + position: absolute; + top: 0.75rem; + left: 0.75rem; + width: 2.5rem; + height: 2.5rem; + border-radius: 100%; + background-position: center; + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %23ffffff%3B stroke-width: 1%3B %7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18' /%3E%3Cline x1='18' y1='2' x2='2' y2='18' /%3E%3C/svg%3E"); + background-size: 20px 20px; + background-repeat: no-repeat; + } + + #main article .close:hover:before { + background-color: rgba(255, 255, 255, 0.075); + } + + #main article .close:active:before { + background-color: rgba(255, 255, 255, 0.175); + } + + @media screen and (max-width: 736px) { + + #main article { + padding: 3.5rem 2rem 0.5rem 2rem ; + } + + #main article .close:before { + top: 0.875rem; + left: 0.875rem; + width: 2.25rem; + height: 2.25rem; + background-size: 14px 14px; + } + + } + + @media screen and (max-width: 480px) { + + #main article { + padding: 3rem 1.5rem 0.5rem 1.5rem ; + } + + } + +/* Footer */ + + #footer { + -moz-transition: -moz-transform 0.325s ease-in-out, -moz-filter 0.325s ease-in-out, opacity 0.325s ease-in-out; + -webkit-transition: -webkit-transform 0.325s ease-in-out, -webkit-filter 0.325s ease-in-out, opacity 0.325s ease-in-out; + -ms-transition: -ms-transform 0.325s ease-in-out, -ms-filter 0.325s ease-in-out, opacity 0.325s ease-in-out; + transition: transform 0.325s ease-in-out, filter 0.325s ease-in-out, opacity 0.325s ease-in-out; + width: 100%; + max-width: 100%; + margin-top: 2rem; + text-align: center; + } + + #footer .copyright { + letter-spacing: 0.2rem; + font-size: 0.6rem; + opacity: 0.75; + margin-bottom: 0; + text-transform: uppercase; + } + + body.is-article-visible #footer { + -moz-transform: scale(0.95); + -webkit-transform: scale(0.95); + -ms-transform: scale(0.95); + transform: scale(0.95); + -moz-filter: blur(0.1rem); + -webkit-filter: blur(0.1rem); + -ms-filter: blur(0.1rem); + filter: blur(0.1rem); + opacity: 0; + } + + body.is-preload #footer { + opacity: 0; + } \ No newline at end of file diff --git a/assets/css/noscript.css b/assets/css/noscript.css new file mode 100644 index 0000000..a27f428 --- /dev/null +++ b/assets/css/noscript.css @@ -0,0 +1,37 @@ +/* + Dimension by HTML5 UP + html5up.net | @ajlkn + Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +*/ + +/* BG */ + + body.is-preload #bg:before { + background-color: transparent; + } + +/* Header */ + + body.is-preload #header { + -moz-filter: none; + -webkit-filter: none; + -ms-filter: none; + filter: none; + } + + body.is-preload #header > * { + opacity: 1; + } + + body.is-preload #header .content .inner { + max-height: none; + padding: 3rem 2rem; + opacity: 1; + } + +/* Main */ + + #main article { + opacity: 1; + margin: 4rem 0 0 0; + } \ No newline at end of file diff --git a/assets/js/breakpoints.min.js b/assets/js/breakpoints.min.js new file mode 100644 index 0000000..e20ae89 --- /dev/null +++ b/assets/js/breakpoints.min.js @@ -0,0 +1,2 @@ +/* breakpoints.js v1.0 | @ajlkn | MIT licensed */ +var breakpoints=function(){"use strict";function e(e){t.init(e)}var t={list:null,media:{},events:[],init:function(e){t.list=e,window.addEventListener("resize",t.poll),window.addEventListener("orientationchange",t.poll),window.addEventListener("load",t.poll),window.addEventListener("fullscreenchange",t.poll)},active:function(e){var n,a,s,i,r,d,c;if(!(e in t.media)){if(">="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0 $window.height()) + $wrapper.css('height', 'auto'); + else + $wrapper.css('height', '100vh'); + + }, 250); + + }).triggerHandler('resize.flexbox-fix'); + + } + + // Nav. + var $nav = $header.children('nav'), + $nav_li = $nav.find('li'); + + // Add "middle" alignment classes if we're dealing with an even number of items. + if ($nav_li.length % 2 == 0) { + + $nav.addClass('use-middle'); + $nav_li.eq( ($nav_li.length / 2) ).addClass('is-middle'); + + } + + // Main. + var delay = 325, + locked = false; + + // Methods. + $main._show = function(id, initial) { + + var $article = $main_articles.filter('#' + id); + + // No such article? Bail. + if ($article.length == 0) + return; + + // Handle lock. + + // Already locked? Speed through "show" steps w/o delays. + if (locked || (typeof initial != 'undefined' && initial === true)) { + + // Mark as switching. + $body.addClass('is-switching'); + + // Mark as visible. + $body.addClass('is-article-visible'); + + // Deactivate all articles (just in case one's already active). + $main_articles.removeClass('active'); + + // Hide header, footer. + $header.hide(); + $footer.hide(); + + // Show main, article. + $main.show(); + $article.show(); + + // Activate article. + $article.addClass('active'); + + // Unlock. + locked = false; + + // Unmark as switching. + setTimeout(function() { + $body.removeClass('is-switching'); + }, (initial ? 1000 : 0)); + + return; + + } + + // Lock. + locked = true; + + // Article already visible? Just swap articles. + if ($body.hasClass('is-article-visible')) { + + // Deactivate current article. + var $currentArticle = $main_articles.filter('.active'); + + $currentArticle.removeClass('active'); + + // Show article. + setTimeout(function() { + + // Hide current article. + $currentArticle.hide(); + + // Show article. + $article.show(); + + // Activate article. + setTimeout(function() { + + $article.addClass('active'); + + // Window stuff. + $window + .scrollTop(0) + .triggerHandler('resize.flexbox-fix'); + + // Unlock. + setTimeout(function() { + locked = false; + }, delay); + + }, 25); + + }, delay); + + } + + // Otherwise, handle as normal. + else { + + // Mark as visible. + $body + .addClass('is-article-visible'); + + // Show article. + setTimeout(function() { + + // Hide header, footer. + $header.hide(); + $footer.hide(); + + // Show main, article. + $main.show(); + $article.show(); + + // Activate article. + setTimeout(function() { + + $article.addClass('active'); + + // Window stuff. + $window + .scrollTop(0) + .triggerHandler('resize.flexbox-fix'); + + // Unlock. + setTimeout(function() { + locked = false; + }, delay); + + }, 25); + + }, delay); + + } + + }; + + $main._hide = function(addState) { + + var $article = $main_articles.filter('.active'); + + // Article not visible? Bail. + if (!$body.hasClass('is-article-visible')) + return; + + // Add state? + if (typeof addState != 'undefined' + && addState === true) + history.pushState(null, null, '#'); + + // Handle lock. + + // Already locked? Speed through "hide" steps w/o delays. + if (locked) { + + // Mark as switching. + $body.addClass('is-switching'); + + // Deactivate article. + $article.removeClass('active'); + + // Hide article, main. + $article.hide(); + $main.hide(); + + // Show footer, header. + $footer.show(); + $header.show(); + + // Unmark as visible. + $body.removeClass('is-article-visible'); + + // Unlock. + locked = false; + + // Unmark as switching. + $body.removeClass('is-switching'); + + // Window stuff. + $window + .scrollTop(0) + .triggerHandler('resize.flexbox-fix'); + + return; + + } + + // Lock. + locked = true; + + // Deactivate article. + $article.removeClass('active'); + + // Hide article. + setTimeout(function() { + + // Hide article, main. + $article.hide(); + $main.hide(); + + // Show footer, header. + $footer.show(); + $header.show(); + + // Unmark as visible. + setTimeout(function() { + + $body.removeClass('is-article-visible'); + + // Window stuff. + $window + .scrollTop(0) + .triggerHandler('resize.flexbox-fix'); + + // Unlock. + setTimeout(function() { + locked = false; + }, delay); + + }, 25); + + }, delay); + + + }; + + // Articles. + $main_articles.each(function() { + + var $this = $(this); + + // Close. + $('
Close
') + .appendTo($this) + .on('click', function() { + location.hash = ''; + }); + + // Prevent clicks from inside article from bubbling. + $this.on('click', function(event) { + event.stopPropagation(); + }); + + }); + + // Events. + $body.on('click', function(event) { + + // Article visible? Hide. + if ($body.hasClass('is-article-visible')) + $main._hide(true); + + }); + + $window.on('keyup', function(event) { + + switch (event.keyCode) { + + case 27: + + // Article visible? Hide. + if ($body.hasClass('is-article-visible')) + $main._hide(true); + + break; + + default: + break; + + } + + }); + + $window.on('hashchange', function(event) { + + // Empty hash? + if (location.hash == '' + || location.hash == '#') { + + // Prevent default. + event.preventDefault(); + event.stopPropagation(); + + // Hide. + $main._hide(); + + } + + // Otherwise, check for a matching article. + else if ($main_articles.filter(location.hash).length > 0) { + + // Prevent default. + event.preventDefault(); + event.stopPropagation(); + + // Show article. + $main._show(location.hash.substr(1)); + + } + + }); + + // Scroll restoration. + // This prevents the page from scrolling back to the top on a hashchange. + if ('scrollRestoration' in history) + history.scrollRestoration = 'manual'; + else { + + var oldScrollPos = 0, + scrollPos = 0, + $htmlbody = $('html,body'); + + $window + .on('scroll', function() { + + oldScrollPos = scrollPos; + scrollPos = $htmlbody.scrollTop(); + + }) + .on('hashchange', function() { + $window.scrollTop(oldScrollPos); + }); + + } + + // Initialize. + + // Hide main, articles. + $main.hide(); + $main_articles.hide(); + + // Initial article. + if (location.hash != '' + && location.hash != '#') + $window.on('load', function() { + $main._show(location.hash.substr(1), true); + }); + +})(jQuery); \ No newline at end of file diff --git a/assets/js/util.js b/assets/js/util.js new file mode 100644 index 0000000..ecf7b37 --- /dev/null +++ b/assets/js/util.js @@ -0,0 +1,587 @@ +(function($) { + + /** + * Generate an indented list of links from a nav. Meant for use with panel(). + * @return {jQuery} jQuery object. + */ + $.fn.navList = function() { + + var $this = $(this); + $a = $this.find('a'), + b = []; + + $a.each(function() { + + var $this = $(this), + indent = Math.max(0, $this.parents('li').length - 1), + href = $this.attr('href'), + target = $this.attr('target'); + + b.push( + '' + + '' + + $this.text() + + '' + ); + + }); + + return b.join(''); + + }; + + /** + * Panel-ify an element. + * @param {object} userConfig User config. + * @return {jQuery} jQuery object. + */ + $.fn.panel = function(userConfig) { + + // No elements? + if (this.length == 0) + return $this; + + // Multiple elements? + if (this.length > 1) { + + for (var i=0; i < this.length; i++) + $(this[i]).panel(userConfig); + + return $this; + + } + + // Vars. + var $this = $(this), + $body = $('body'), + $window = $(window), + id = $this.attr('id'), + config; + + // Config. + config = $.extend({ + + // Delay. + delay: 0, + + // Hide panel on link click. + hideOnClick: false, + + // Hide panel on escape keypress. + hideOnEscape: false, + + // Hide panel on swipe. + hideOnSwipe: false, + + // Reset scroll position on hide. + resetScroll: false, + + // Reset forms on hide. + resetForms: false, + + // Side of viewport the panel will appear. + side: null, + + // Target element for "class". + target: $this, + + // Class to toggle. + visibleClass: 'visible' + + }, userConfig); + + // Expand "target" if it's not a jQuery object already. + if (typeof config.target != 'jQuery') + config.target = $(config.target); + + // Panel. + + // Methods. + $this._hide = function(event) { + + // Already hidden? Bail. + if (!config.target.hasClass(config.visibleClass)) + return; + + // If an event was provided, cancel it. + if (event) { + + event.preventDefault(); + event.stopPropagation(); + + } + + // Hide. + config.target.removeClass(config.visibleClass); + + // Post-hide stuff. + window.setTimeout(function() { + + // Reset scroll position. + if (config.resetScroll) + $this.scrollTop(0); + + // Reset forms. + if (config.resetForms) + $this.find('form').each(function() { + this.reset(); + }); + + }, config.delay); + + }; + + // Vendor fixes. + $this + .css('-ms-overflow-style', '-ms-autohiding-scrollbar') + .css('-webkit-overflow-scrolling', 'touch'); + + // Hide on click. + if (config.hideOnClick) { + + $this.find('a') + .css('-webkit-tap-highlight-color', 'rgba(0,0,0,0)'); + + $this + .on('click', 'a', function(event) { + + var $a = $(this), + href = $a.attr('href'), + target = $a.attr('target'); + + if (!href || href == '#' || href == '' || href == '#' + id) + return; + + // Cancel original event. + event.preventDefault(); + event.stopPropagation(); + + // Hide panel. + $this._hide(); + + // Redirect to href. + window.setTimeout(function() { + + if (target == '_blank') + window.open(href); + else + window.location.href = href; + + }, config.delay + 10); + + }); + + } + + // Event: Touch stuff. + $this.on('touchstart', function(event) { + + $this.touchPosX = event.originalEvent.touches[0].pageX; + $this.touchPosY = event.originalEvent.touches[0].pageY; + + }) + + $this.on('touchmove', function(event) { + + if ($this.touchPosX === null + || $this.touchPosY === null) + return; + + var diffX = $this.touchPosX - event.originalEvent.touches[0].pageX, + diffY = $this.touchPosY - event.originalEvent.touches[0].pageY, + th = $this.outerHeight(), + ts = ($this.get(0).scrollHeight - $this.scrollTop()); + + // Hide on swipe? + if (config.hideOnSwipe) { + + var result = false, + boundary = 20, + delta = 50; + + switch (config.side) { + + case 'left': + result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX > delta); + break; + + case 'right': + result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX < (-1 * delta)); + break; + + case 'top': + result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY > delta); + break; + + case 'bottom': + result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY < (-1 * delta)); + break; + + default: + break; + + } + + if (result) { + + $this.touchPosX = null; + $this.touchPosY = null; + $this._hide(); + + return false; + + } + + } + + // Prevent vertical scrolling past the top or bottom. + if (($this.scrollTop() < 0 && diffY < 0) + || (ts > (th - 2) && ts < (th + 2) && diffY > 0)) { + + event.preventDefault(); + event.stopPropagation(); + + } + + }); + + // Event: Prevent certain events inside the panel from bubbling. + $this.on('click touchend touchstart touchmove', function(event) { + event.stopPropagation(); + }); + + // Event: Hide panel if a child anchor tag pointing to its ID is clicked. + $this.on('click', 'a[href="#' + id + '"]', function(event) { + + event.preventDefault(); + event.stopPropagation(); + + config.target.removeClass(config.visibleClass); + + }); + + // Body. + + // Event: Hide panel on body click/tap. + $body.on('click touchend', function(event) { + $this._hide(event); + }); + + // Event: Toggle. + $body.on('click', 'a[href="#' + id + '"]', function(event) { + + event.preventDefault(); + event.stopPropagation(); + + config.target.toggleClass(config.visibleClass); + + }); + + // Window. + + // Event: Hide on ESC. + if (config.hideOnEscape) + $window.on('keydown', function(event) { + + if (event.keyCode == 27) + $this._hide(event); + + }); + + return $this; + + }; + + /** + * Apply "placeholder" attribute polyfill to one or more forms. + * @return {jQuery} jQuery object. + */ + $.fn.placeholder = function() { + + // Browser natively supports placeholders? Bail. + if (typeof (document.createElement('input')).placeholder != 'undefined') + return $(this); + + // No elements? + if (this.length == 0) + return $this; + + // Multiple elements? + if (this.length > 1) { + + for (var i=0; i < this.length; i++) + $(this[i]).placeholder(); + + return $this; + + } + + // Vars. + var $this = $(this); + + // Text, TextArea. + $this.find('input[type=text],textarea') + .each(function() { + + var i = $(this); + + if (i.val() == '' + || i.val() == i.attr('placeholder')) + i + .addClass('polyfill-placeholder') + .val(i.attr('placeholder')); + + }) + .on('blur', function() { + + var i = $(this); + + if (i.attr('name').match(/-polyfill-field$/)) + return; + + if (i.val() == '') + i + .addClass('polyfill-placeholder') + .val(i.attr('placeholder')); + + }) + .on('focus', function() { + + var i = $(this); + + if (i.attr('name').match(/-polyfill-field$/)) + return; + + if (i.val() == i.attr('placeholder')) + i + .removeClass('polyfill-placeholder') + .val(''); + + }); + + // Password. + $this.find('input[type=password]') + .each(function() { + + var i = $(this); + var x = $( + $('
') + .append(i.clone()) + .remove() + .html() + .replace(/type="password"/i, 'type="text"') + .replace(/type=password/i, 'type=text') + ); + + if (i.attr('id') != '') + x.attr('id', i.attr('id') + '-polyfill-field'); + + if (i.attr('name') != '') + x.attr('name', i.attr('name') + '-polyfill-field'); + + x.addClass('polyfill-placeholder') + .val(x.attr('placeholder')).insertAfter(i); + + if (i.val() == '') + i.hide(); + else + x.hide(); + + i + .on('blur', function(event) { + + event.preventDefault(); + + var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]'); + + if (i.val() == '') { + + i.hide(); + x.show(); + + } + + }); + + x + .on('focus', function(event) { + + event.preventDefault(); + + var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']'); + + x.hide(); + + i + .show() + .focus(); + + }) + .on('keypress', function(event) { + + event.preventDefault(); + x.val(''); + + }); + + }); + + // Events. + $this + .on('submit', function() { + + $this.find('input[type=text],input[type=password],textarea') + .each(function(event) { + + var i = $(this); + + if (i.attr('name').match(/-polyfill-field$/)) + i.attr('name', ''); + + if (i.val() == i.attr('placeholder')) { + + i.removeClass('polyfill-placeholder'); + i.val(''); + + } + + }); + + }) + .on('reset', function(event) { + + event.preventDefault(); + + $this.find('select') + .val($('option:first').val()); + + $this.find('input,textarea') + .each(function() { + + var i = $(this), + x; + + i.removeClass('polyfill-placeholder'); + + switch (this.type) { + + case 'submit': + case 'reset': + break; + + case 'password': + i.val(i.attr('defaultValue')); + + x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]'); + + if (i.val() == '') { + i.hide(); + x.show(); + } + else { + i.show(); + x.hide(); + } + + break; + + case 'checkbox': + case 'radio': + i.attr('checked', i.attr('defaultValue')); + break; + + case 'text': + case 'textarea': + i.val(i.attr('defaultValue')); + + if (i.val() == '') { + i.addClass('polyfill-placeholder'); + i.val(i.attr('placeholder')); + } + + break; + + default: + i.val(i.attr('defaultValue')); + break; + + } + }); + + }); + + return $this; + + }; + + /** + * Moves elements to/from the first positions of their respective parents. + * @param {jQuery} $elements Elements (or selector) to move. + * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations. + */ + $.prioritize = function($elements, condition) { + + var key = '__prioritize'; + + // Expand $elements if it's not already a jQuery object. + if (typeof $elements != 'jQuery') + $elements = $($elements); + + // Step through elements. + $elements.each(function() { + + var $e = $(this), $p, + $parent = $e.parent(); + + // No parent? Bail. + if ($parent.length == 0) + return; + + // Not moved? Move it. + if (!$e.data(key)) { + + // Condition is false? Bail. + if (!condition) + return; + + // Get placeholder (which will serve as our point of reference for when this element needs to move back). + $p = $e.prev(); + + // Couldn't find anything? Means this element's already at the top, so bail. + if ($p.length == 0) + return; + + // Move element to top of parent. + $e.prependTo($parent); + + // Mark element as moved. + $e.data(key, $p); + + } + + // Moved already? + else { + + // Condition is true? Bail. + if (condition) + return; + + $p = $e.data(key); + + // Move element back to its original location (using our placeholder). + $e.insertAfter($p); + + // Unmark element as moved. + $e.removeData(key); + + } + + }); + + }; + +})(jQuery); \ No newline at end of file diff --git a/assets/sass/base/_page.scss b/assets/sass/base/_page.scss new file mode 100644 index 0000000..0212a5c --- /dev/null +++ b/assets/sass/base/_page.scss @@ -0,0 +1,42 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Basic */ + + // MSIE: Required for IEMobile. + @-ms-viewport { + width: device-width; + } + + // Ensures page width is always >=320px. + @include breakpoint('<=xsmall') { + html, body { + min-width: 320px; + } + } + + // Set box model to border-box. + // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice + html { + box-sizing: border-box; + } + + *, *:before, *:after { + box-sizing: inherit; + } + + body { + background: _palette(bg); + + // Stops initial animations until page loads. + &.is-preload { + *, *:before, *:after { + @include vendor('animation', 'none !important'); + @include vendor('transition', 'none !important'); + } + } + + } \ No newline at end of file diff --git a/assets/sass/base/_reset.scss b/assets/sass/base/_reset.scss new file mode 100644 index 0000000..3fd0038 --- /dev/null +++ b/assets/sass/base/_reset.scss @@ -0,0 +1,76 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +// Reset. +// Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain) + + html, body, div, span, applet, object, + iframe, h1, h2, h3, h4, h5, h6, p, blockquote, + pre, a, abbr, acronym, address, big, cite, + code, del, dfn, em, img, ins, kbd, q, s, samp, + small, strike, strong, sub, sup, tt, var, b, + u, i, center, dl, dt, dd, ol, ul, li, fieldset, + form, label, legend, table, caption, tbody, + tfoot, thead, tr, th, td, article, aside, + canvas, details, embed, figure, figcaption, + footer, header, hgroup, menu, nav, output, ruby, + section, summary, time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; + } + + article, aside, details, figcaption, figure, + footer, header, hgroup, menu, nav, section { + display: block; + } + + body { + line-height: 1; + } + + ol, ul { + list-style:none; + } + + blockquote, q { + quotes: none; + + &:before, + &:after { + content: ''; + content: none; + } + } + + table { + border-collapse: collapse; + border-spacing: 0; + } + + body { + -webkit-text-size-adjust: none; + } + + mark { + background-color: transparent; + color: inherit; + } + + input::-moz-focus-inner { + border: 0; + padding: 0; + } + + input, select, textarea { + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; + } \ No newline at end of file diff --git a/assets/sass/base/_typography.scss b/assets/sass/base/_typography.scss new file mode 100644 index 0000000..4425ec3 --- /dev/null +++ b/assets/sass/base/_typography.scss @@ -0,0 +1,183 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Type */ + + html { + font-size: 16pt; + + @include breakpoint('<=xlarge') { + font-size: 12pt; + } + + @include breakpoint('<=small') { + font-size: 11pt; + } + + @include breakpoint('<=xxsmall') { + font-size: 10pt; + } + } + + body, input, select, textarea { + color: _palette(fg); + font-family: _font(family); + font-weight: _font(weight); + font-size: 1rem; + line-height: 1.65; + } + + a { + @include vendor('transition', ( + 'color #{_duration(transition)} ease-in-out', + 'background-color #{_duration(transition)} ease-in-out', + 'border-bottom-color #{_duration(transition)} ease-in-out' + )); + border-bottom: dotted 1px _palette(fg-light); + text-decoration: none; + color: inherit; + + &:hover { + border-bottom-color: transparent; + } + } + + strong, b { + color: _palette(fg-bold); + font-weight: _font(weight-bold); + } + + em, i { + font-style: italic; + } + + p { + margin: 0 0 _size(element-margin) 0; + } + + h1, h2, h3, h4, h5, h6 { + color: _palette(fg-bold); + font-weight: _font(weight-bold); + line-height: 1.5; + margin: 0 0 (_size(element-margin) * 0.5) 0; + text-transform: uppercase; + letter-spacing: _font(letter-spacing); + + a { + color: inherit; + text-decoration: none; + } + + &.major { + border-bottom: solid _size(border-width) _palette(border); + width: -moz-max-content; + width: -webkit-max-content; + width: -ms-max-content; + width: max-content; + padding-bottom: 0.5rem; + margin: 0 0 (_size(element-margin) * 1) 0; + } + } + + h1 { + font-size: 2.25rem; + line-height: 1.3; + letter-spacing: _font(letter-spacing-heading); + } + + h2 { + font-size: 1.5rem; + line-height: 1.4; + letter-spacing: _font(letter-spacing-heading); + } + + h3 { + font-size: 1rem; + } + + h4 { + font-size: 0.8rem; + } + + h5 { + font-size: 0.7rem; + } + + h6 { + font-size: 0.6rem; + } + + @include breakpoint('<=small') { + h1 { + font-size: 1.75rem; + line-height: 1.4; + } + + h2 { + font-size: 1.25em; + line-height: 1.5; + } + } + + sub { + font-size: 0.8rem; + position: relative; + top: 0.5rem; + } + + sup { + font-size: 0.8rem; + position: relative; + top: -0.5rem; + } + + blockquote { + border-left: solid (_size(border-width) * 4) _palette(border); + font-style: italic; + margin: 0 0 _size(element-margin) 0; + padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin); + } + + code { + background: _palette(border-bg); + border-radius: _size(border-radius); + font-family: _font(family-fixed); + font-size: 0.9rem; + margin: 0 0.25rem; + padding: 0.25rem 0.65rem; + } + + pre { + -webkit-overflow-scrolling: touch; + font-family: _font(family-fixed); + font-size: 0.9rem; + margin: 0 0 _size(element-margin) 0; + + code { + display: block; + line-height: 1.75; + padding: 1rem 1.5rem; + overflow-x: auto; + } + } + + hr { + border: 0; + border-bottom: solid _size(border-width) _palette(border); + margin: (_size(element-margin) * 1.375) 0; + } + + .align-left { + text-align: left; + } + + .align-center { + text-align: center; + } + + .align-right { + text-align: right; + } \ No newline at end of file diff --git a/assets/sass/components/_actions.scss b/assets/sass/components/_actions.scss new file mode 100644 index 0000000..a5be697 --- /dev/null +++ b/assets/sass/components/_actions.scss @@ -0,0 +1,101 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Actions */ + + ul.actions { + @include vendor('display', 'flex'); + cursor: default; + list-style: none; + margin-left: (_size(element-margin) * -0.5); + padding-left: 0; + + li { + padding: 0 0 0 (_size(element-margin) * 0.5); + vertical-align: middle; + } + + &.special { + @include vendor('justify-content', 'center'); + width: 100%; + margin-left: 0; + + li { + &:first-child { + padding-left: 0; + } + } + } + + &.stacked { + @include vendor('flex-direction', 'column'); + margin-left: 0; + + li { + padding: (_size(element-margin) * 0.65) 0 0 0; + + &:first-child { + padding-top: 0; + } + } + } + + &.fit { + width: calc(100% + #{_size(element-margin) * 0.5}); + + li { + @include vendor('flex-grow', '1'); + @include vendor('flex-shrink', '1'); + width: 100%; + + > * { + width: 100%; + } + } + + &.stacked { + width: 100%; + } + } + + @include breakpoint('<=xsmall') { + &:not(.fixed) { + @include vendor('flex-direction', 'column'); + margin-left: 0; + width: 100% !important; + + li { + @include vendor('flex-grow', '1'); + @include vendor('flex-shrink', '1'); + padding: (_size(element-margin) * 0.5) 0 0 0; + text-align: center; + width: 100%; + + > * { + width: 100%; + } + + &:first-child { + padding-top: 0; + } + + input[type="submit"], + input[type="reset"], + input[type="button"], + button, + .button { + width: 100%; + + &.icon { + &:before { + margin-left: -0.5em; + } + } + } + } + } + } + } \ No newline at end of file diff --git a/assets/sass/components/_box.scss b/assets/sass/components/_box.scss new file mode 100644 index 0000000..9081e46 --- /dev/null +++ b/assets/sass/components/_box.scss @@ -0,0 +1,26 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Box */ + + .box { + border-radius: _size(border-radius); + border: solid _size(border-width) _palette(border); + margin-bottom: _size(element-margin); + padding: 1.5em; + + > :last-child, + > :last-child > :last-child, + > :last-child > :last-child > :last-child { + margin-bottom: 0; + } + + &.alt { + border: 0; + border-radius: 0; + padding: 0; + } + } \ No newline at end of file diff --git a/assets/sass/components/_button.scss b/assets/sass/components/_button.scss new file mode 100644 index 0000000..d76e75c --- /dev/null +++ b/assets/sass/components/_button.scss @@ -0,0 +1,84 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Button */ + + input[type="submit"], + input[type="reset"], + input[type="button"], + button, + .button { + @include vendor('appearance', 'none'); + @include vendor('transition', 'background-color #{_duration(transition)} ease-in-out, color #{_duration(transition)} ease-in-out'); + background-color: transparent; + border-radius: _size(border-radius); + border: 0; + box-shadow: inset 0 0 0 _size(border-width) _palette(border); + color: _palette(fg-bold) !important; + cursor: pointer; + display: inline-block; + font-size: 0.8rem; + font-weight: _font(weight); + height: _size(element-height); + letter-spacing: _font(letter-spacing); + line-height: _size(element-height); + outline: 0; + padding: 0 1.25rem 0 (1.25rem + (_font(letter-spacing) * 0.5)); + text-align: center; + text-decoration: none; + text-transform: uppercase; + white-space: nowrap; + + &:hover { + background-color: _palette(border-bg); + } + + &:active { + background-color: _palette(border-bg-alt); + } + + &.icon { + &:before { + margin-right: 0.5em; + } + } + + &.fit { + width: 100%; + } + + &.small { + font-size: 0.6rem; + height: (_size(element-height) * 0.75); + line-height: (_size(element-height) * 0.75); + } + + &.primary { + background-color: _palette(fg-bold); + color: _palette(bg) !important; + font-weight: _font(weight-bold); + + &:hover { + } + + &:active { + } + } + + &.disabled, + &:disabled { + @include vendor('pointer-events', 'none'); + cursor: default; + opacity: 0.25; + } + } + + input[type="submit"], + input[type="reset"], + input[type="button"], + button { + line-height: calc(#{_size(element-height)} - 2px); + } \ No newline at end of file diff --git a/assets/sass/components/_form.scss b/assets/sass/components/_form.scss new file mode 100644 index 0000000..b50c836 --- /dev/null +++ b/assets/sass/components/_form.scss @@ -0,0 +1,252 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Form */ + + form { + margin: 0 0 _size(element-margin) 0; + + > :last-child { + margin-bottom: 0; + } + + > .fields { + $gutter: (_size(element-margin) * 0.75); + + @include vendor('display', 'flex'); + @include vendor('flex-wrap', 'wrap'); + width: calc(100% + #{$gutter * 2}); + margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1); + + > .field { + @include vendor('flex-grow', '0'); + @include vendor('flex-shrink', '0'); + padding: $gutter 0 0 $gutter; + width: calc(100% - #{$gutter * 1}); + + &.half { + width: calc(50% - #{$gutter * 0.5}); + } + + &.third { + width: calc(#{100% / 3} - #{$gutter * (1 / 3)}); + } + + &.quarter { + width: calc(25% - #{$gutter * 0.25}); + } + } + } + + @include breakpoint('<=xsmall') { + > .fields { + $gutter: (_size(element-margin) * 0.75); + + width: calc(100% + #{$gutter * 2}); + margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1); + + > .field { + padding: $gutter 0 0 $gutter; + width: calc(100% - #{$gutter * 1}); + + &.half { + width: calc(100% - #{$gutter * 1}); + } + + &.third { + width: calc(100% - #{$gutter * 1}); + } + + &.quarter { + width: calc(100% - #{$gutter * 1}); + } + } + } + } + } + + label { + color: _palette(fg-bold); + display: block; + font-size: 0.8rem; + font-weight: _font(weight); + letter-spacing: _font(letter-spacing); + line-height: 1.5; + margin: 0 0 (_size(element-margin) * 0.5) 0; + text-transform: uppercase; + } + + input[type="text"], + input[type="password"], + input[type="email"], + input[type="tel"], + select, + textarea { + @include vendor('appearance', 'none'); + @include vendor('transition', ( + 'border-color #{_duration(transition)} ease-in-out', + 'box-shadow #{_duration(transition)} ease-in-out', + 'background-color #{_duration(transition)} ease-in-out' + )); + background-color: transparent; + border-radius: _size(border-radius); + border: solid _size(border-width) _palette(border); + color: inherit; + display: block; + outline: 0; + padding: 0 1rem; + text-decoration: none; + width: 100%; + + &:invalid { + box-shadow: none; + } + + &:focus { + background: _palette(border-bg); + border-color: _palette(fg-bold); + box-shadow: 0 0 0 _size(border-width) _palette(fg-bold); + } + } + + select { + background-image: svg-url(""); + background-size: 1.25rem; + background-repeat: no-repeat; + background-position: calc(100% - 1rem) center; + height: _size(element-height); + padding-right: _size(element-height); + text-overflow: ellipsis; + + option { + color: _palette(fg); + background: _palette(bg); + } + + &:focus { + &::-ms-value { + background-color: transparent; + } + } + + &::-ms-expand { + display: none; + } + } + + input[type="text"], + input[type="password"], + input[type="email"], + select { + height: _size(element-height); + } + + textarea { + padding: 0.75rem 1rem; + } + + input[type="checkbox"], + input[type="radio"], { + @include vendor('appearance', 'none'); + display: block; + float: left; + margin-right: -2rem; + opacity: 0; + width: 1rem; + z-index: -1; + + & + label { + @include icon(false, solid); + @include vendor('user-select', 'none'); + color: _palette(fg); + cursor: pointer; + display: inline-block; + font-size: 0.8rem; + font-weight: _font(weight); + margin: 0 0 (_size(element-margin) * 0.25) 0; + padding-left: (_size(element-height) * 0.6) + 1rem; + padding-right: 0.75rem; + position: relative; + + &:before { + @include vendor('transition', ( + 'border-color #{_duration(transition)} ease-in-out', + 'box-shadow #{_duration(transition)} ease-in-out', + 'background-color #{_duration(transition)} ease-in-out' + )); + border-radius: _size(border-radius); + border: solid _size(border-width) _palette(border); + content: ''; + display: inline-block; + height: (_size(element-height) * 0.6); + left: 0; + line-height: (_size(element-height) * 0.6); + //line-height: calc(#{_size(element-height) * 0.6} + 0em); + position: absolute; + text-align: center; + top: -0.15rem; + width: (_size(element-height) * 0.6); + } + } + + &:checked + label { + &:before { + background: _palette(fg-bold) !important; + border-color: _palette(fg-bold) !important; + color: _palette(bg); + content: '\f00c'; + } + } + + &:focus + label { + &:before { + background: _palette(border-bg); + border-color: _palette(fg-bold); + box-shadow: 0 0 0 _size(border-width) _palette(fg-bold); + } + } + } + + input[type="checkbox"] { + & + label { + &:before { + border-radius: _size(border-radius); + } + } + } + + input[type="radio"] { + & + label { + &:before { + border-radius: 100%; + } + } + } + + ::-webkit-input-placeholder { + color: _palette(fg-light) !important; + opacity: 1.0; + } + + :-moz-placeholder { + color: _palette(fg-light) !important; + opacity: 1.0; + } + + ::-moz-placeholder { + color: _palette(fg-light) !important; + opacity: 1.0; + } + + :-ms-input-placeholder { + color: _palette(fg-light) !important; + opacity: 1.0; + } + + .formerize-placeholder { + color: _palette(fg-light) !important; + opacity: 1.0; + } \ No newline at end of file diff --git a/assets/sass/components/_icon.scss b/assets/sass/components/_icon.scss new file mode 100644 index 0000000..c4712aa --- /dev/null +++ b/assets/sass/components/_icon.scss @@ -0,0 +1,33 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Icon */ + + .icon { + @include icon; + border-bottom: none; + position: relative; + + > .label { + display: none; + } + + &:before { + line-height: inherit; + } + + &.solid { + &:before { + font-weight: 900; + } + } + + &.brands { + &:before { + font-family: 'Font Awesome 5 Brands'; + } + } + } \ No newline at end of file diff --git a/assets/sass/components/_icons.scss b/assets/sass/components/_icons.scss new file mode 100644 index 0000000..f096a32 --- /dev/null +++ b/assets/sass/components/_icons.scss @@ -0,0 +1,40 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Icons */ + + ul.icons { + cursor: default; + list-style: none; + padding-left: 0; + + li { + display: inline-block; + padding: 0 0.75em 0 0; + + &:last-child { + padding-right: 0; + } + + a { + border-radius: 100%; + box-shadow: inset 0 0 0 _size(border-width) _palette(border); + display: inline-block; + height: 2.25rem; + line-height: 2.25rem; + text-align: center; + width: 2.25rem; + + &:hover { + background-color: _palette(border-bg); + } + + &:active { + background-color: _palette(border-bg-alt); + } + } + } + } \ No newline at end of file diff --git a/assets/sass/components/_image.scss b/assets/sass/components/_image.scss new file mode 100644 index 0000000..9a57d0f --- /dev/null +++ b/assets/sass/components/_image.scss @@ -0,0 +1,87 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Image */ + + .image { + border-radius: _size(border-radius); + border: 0; + display: inline-block; + position: relative; + + &:before { + @include vendor('pointer-events', 'none'); + background-image: url('../../images/overlay.png'); + background-color: _palette(bg-overlay); + border-radius: _size(border-radius); + content: ''; + display: block; + height: 100%; + left: 0; + opacity: 0.5; + position: absolute; + top: 0; + width: 100%; + } + + img { + border-radius: _size(border-radius); + display: block; + } + + &.left, + &.right { + max-width: 40%; + + img { + width: 100%; + } + } + + &.left { + float: left; + padding: 0 1.5em 1em 0; + top: 0.25em; + } + + &.right { + float: right; + padding: 0 0 1em 1.5em; + top: 0.25em; + } + + &.fit { + display: block; + margin: 0 0 _size(element-margin) 0; + width: 100%; + + img { + width: 100%; + } + } + + &.main { + display: block; + margin: (_size(element-margin) * 1.25) 0; + width: 100%; + + img { + width: 100%; + } + } + + @include breakpoint('<=small') { + &.main { + margin: (_size(element-margin) * 1) 0; + } + } + + @include breakpoint('<=xsmall') { + &.main { + margin: (_size(element-margin) * 0.75) 0; + } + } + } \ No newline at end of file diff --git a/assets/sass/components/_list.scss b/assets/sass/components/_list.scss new file mode 100644 index 0000000..5d9c364 --- /dev/null +++ b/assets/sass/components/_list.scss @@ -0,0 +1,56 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* List */ + + ol { + list-style: decimal; + margin: 0 0 _size(element-margin) 0; + padding-left: 1.25em; + + li { + padding-left: 0.25em; + } + } + + ul { + list-style: disc; + margin: 0 0 _size(element-margin) 0; + padding-left: 1em; + + li { + padding-left: 0.5em; + } + + &.alt { + list-style: none; + padding-left: 0; + + li { + border-top: solid _size(border-width) _palette(border); + padding: 0.5em 0; + + &:first-child { + border-top: 0; + padding-top: 0; + } + } + } + } + + dl { + margin: 0 0 _size(element-margin) 0; + + dt { + display: block; + font-weight: _font(weight-bold); + margin: 0 0 (_size(element-margin) * 0.5) 0; + } + + dd { + margin-left: _size(element-margin); + } + } \ No newline at end of file diff --git a/assets/sass/components/_table.scss b/assets/sass/components/_table.scss new file mode 100644 index 0000000..3fcb5bb --- /dev/null +++ b/assets/sass/components/_table.scss @@ -0,0 +1,81 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Table */ + + .table-wrapper { + -webkit-overflow-scrolling: touch; + overflow-x: auto; + } + + table { + margin: 0 0 _size(element-margin) 0; + width: 100%; + + tbody { + tr { + border: solid _size(border-width) _palette(border); + border-left: 0; + border-right: 0; + + &:nth-child(2n + 1) { + background-color: _palette(border-bg); + } + } + } + + td { + padding: 0.75em 0.75em; + } + + th { + color: _palette(fg-bold); + font-size: 0.9em; + font-weight: _font(weight-bold); + padding: 0 0.75em 0.75em 0.75em; + text-align: left; + } + + thead { + border-bottom: solid (_size(border-width) * 2) _palette(border); + } + + tfoot { + border-top: solid (_size(border-width) * 2) _palette(border); + } + + &.alt { + border-collapse: separate; + + tbody { + tr { + td { + border: solid _size(border-width) _palette(border); + border-left-width: 0; + border-top-width: 0; + + &:first-child { + border-left-width: _size(border-width); + } + } + + &:first-child { + td { + border-top-width: _size(border-width); + } + } + } + } + + thead { + border-bottom: 0; + } + + tfoot { + border-top: 0; + } + } + } \ No newline at end of file diff --git a/assets/sass/layout/_bg.scss b/assets/sass/layout/_bg.scss new file mode 100644 index 0000000..218df16 --- /dev/null +++ b/assets/sass/layout/_bg.scss @@ -0,0 +1,68 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* BG */ + + #bg { + @include vendor('transform', 'scale(1.0)'); + -webkit-backface-visibility: hidden; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100vh; + z-index: 1; + + &:before, &:after { + content: ''; + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + + &:before { + @include vendor('transition', 'background-color #{_duration(bg)} ease-in-out'); + @include vendor('transition-delay', '#{_duration(intro)}'); + background-image: linear-gradient(to top, #{_palette(bg-overlay)}, #{_palette(bg-overlay)}), + url('../../images/overlay.png'); + background-size: auto, + 256px 256px; + background-position: center, + center; + background-repeat: no-repeat, + repeat; + z-index: 2; + } + + &:after { + @include vendor('transform', 'scale(1.125)'); + @include vendor('transition', ( + 'transform #{_duration(article)} ease-in-out', + 'filter #{_duration(article)} ease-in-out' + )); + background-image: url('../../images/bg.jpg'); + background-position: center; + background-size: cover; + background-repeat: no-repeat; + z-index: 1; + } + + body.is-article-visible & { + &:after { + @include vendor('transform', 'scale(1.0825)'); + @include vendor('filter', 'blur(0.2rem)'); + } + } + + body.is-preload & { + &:before { + background-color: _palette(bg-alt); + } + } + } \ No newline at end of file diff --git a/assets/sass/layout/_footer.scss b/assets/sass/layout/_footer.scss new file mode 100644 index 0000000..e1eda7a --- /dev/null +++ b/assets/sass/layout/_footer.scss @@ -0,0 +1,37 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Footer */ + + #footer { + @include vendor('transition', ( + 'transform #{_duration(article)} ease-in-out', + 'filter #{_duration(article)} ease-in-out', + 'opacity #{_duration(article)} ease-in-out', + )); + width: 100%; + max-width: 100%; + margin-top: 2rem; + text-align: center; + + .copyright { + letter-spacing: _font(letter-spacing); + font-size: 0.6rem; + opacity: 0.75; + margin-bottom: 0; + text-transform: uppercase; + } + + body.is-article-visible & { + @include vendor('transform', 'scale(0.95)'); + @include vendor('filter', 'blur(0.1rem)'); + opacity: 0; + } + + body.is-preload & { + opacity: 0; + } + } \ No newline at end of file diff --git a/assets/sass/layout/_header.scss b/assets/sass/layout/_header.scss new file mode 100644 index 0000000..fcfec0a --- /dev/null +++ b/assets/sass/layout/_header.scss @@ -0,0 +1,261 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Header */ + + #header { + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'column'); + @include vendor('align-items', 'center'); + @include vendor('transition', ( + 'transform #{_duration(article)} ease-in-out', + 'filter #{_duration(article)} ease-in-out', + 'opacity #{_duration(article)} ease-in-out', + )); + background-image: -moz-radial-gradient(rgba(0,0,0,0.25) 25%, rgba(0,0,0,0) 55%); + background-image: -webkit-radial-gradient(rgba(0,0,0,0.25) 25%, rgba(0,0,0,0) 55%); + background-image: -ms-radial-gradient(rgba(0,0,0,0.25) 25%, rgba(0,0,0,0) 55%); + background-image: radial-gradient(rgba(0,0,0,0.25) 25%, rgba(0,0,0,0) 55%); + max-width: 100%; + text-align: center; + + > * { + @include vendor('transition', 'opacity #{_duration(article)} ease-in-out'); + position: relative; + margin-top: 3.5rem; + + &:before { + content: ''; + display: block; + position: absolute; + top: calc(-3.5rem - 1px); + left: calc(50% - #{_size(border-width) * 1}); + width: _size(border-width); + height: calc(3.5rem + 1px); + background: _palette(border); + } + } + + > :first-child { + margin-top: 0; + + &:before { + display: none; + } + } + + .logo { + width: 5.5rem; + height: 5.5rem; + line-height: 5.5rem; + border: solid _size(border-width) _palette(border); + border-radius: 100%; + + .icon { + &:before { + font-size: 2rem; + } + } + } + + .content { + border-style: solid; + border-color: _palette(border); + border-top-width: _size(border-width); + border-bottom-width: _size(border-width); + max-width: 100%; + + .inner { + @include vendor('transition', ( + 'max-height #{_duration(intro)} ease', + 'padding #{_duration(intro)} ease', + 'opacity #{_duration(article)} ease-in-out' + )); + @include vendor('transition-delay', '0.25s'); + padding: 3rem 2rem; + max-height: 40rem; + overflow: hidden; + + > :last-child { + margin-bottom: 0; + } + } + + p { + text-transform: uppercase; + letter-spacing: _font(letter-spacing); + font-size: 0.8rem; + line-height: 2; + } + } + + nav { + ul { + @include vendor('display', 'flex'); + margin-bottom: 0; + list-style: none; + padding-left: 0; + border: solid _size(border-width) _palette(border); + border-radius: _size(border-radius); + + li { + padding-left: 0; + border-left: solid _size(border-width) _palette(border); + + &:first-child { + border-left: 0; + } + + a { + display: block; + min-width: 7.5rem; + height: 2.75rem; + line-height: 2.75rem; + padding: 0 1.25rem 0 (1.25rem + _font(letter-spacing)); + text-transform: uppercase; + letter-spacing: _font(letter-spacing); + font-size: 0.8rem; + border-bottom: 0; + + &:hover { + background-color: _palette(border-bg); + } + + &:active { + background-color: _palette(border-bg-alt); + } + } + } + } + + &.use-middle { + &:after { + content: ''; + display: block; + position: absolute; + top: 0; + left: calc(50% - #{_size(border-width) * 1}); + width: _size(border-width); + height: 100%; + background: _palette(border); + } + + ul { + li { + &.is-middle { + border-left: 0; + } + } + } + } + } + + body.is-article-visible & { + @include vendor('transform', 'scale(0.95)'); + @include vendor('filter', 'blur(0.1rem)'); + opacity: 0; + } + + body.is-preload & { + > * { + opacity: 0; + } + + @include vendor('filter', 'blur(0.125rem)'); + + .content { + .inner { + max-height: 0; + padding-top: 0; + padding-bottom: 0; + opacity: 0; + } + } + } + + @include breakpoint('<=medium') { + .content { + p { + br { + display: none; + } + } + } + } + + @include breakpoint('<=small') { + > * { + margin-top: 2rem; + + &:before { + top: calc(-2rem - 1px); + height: calc(2rem + 1px); + } + } + + .logo { + width: 4.75rem; + height: 4.75rem; + line-height: 4.75rem; + + .icon { + &:before { + font-size: 1.75rem; + } + } + } + + .content { + .inner { + padding: 2.5rem 1rem; + } + + p { + line-height: 1.875; + } + } + } + + @include breakpoint('<=xsmall') { + padding: 1.5rem 0; + + .content { + .inner { + padding: 2.5rem 0; + } + } + + nav { + ul { + @include vendor('flex-direction', 'column'); + min-width: 10rem; + max-width: 100%; + + li { + border-left: 0; + border-top: solid _size(border-width) _palette(border); + + &:first-child { + border-top: 0; + } + + a { + height: 3rem; + line-height: 3rem; + min-width: 0; + width: 100%; + } + } + } + + &.use-middle { + &:after { + display: none; + } + } + } + } + } \ No newline at end of file diff --git a/assets/sass/layout/_main.scss b/assets/sass/layout/_main.scss new file mode 100644 index 0000000..e41e702 --- /dev/null +++ b/assets/sass/layout/_main.scss @@ -0,0 +1,102 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Main */ + + #main { + @include vendor('flex-grow', '1'); + @include vendor('flex-shrink', '1'); + @include vendor('display', 'flex'); + @include vendor('align-items', 'center'); + @include vendor('justify-content', 'center'); + @include vendor('flex-direction', 'column'); + position: relative; + max-width: 100%; + z-index: 3; + + article { + @include vendor('transform', 'translateY(0.25rem)'); + @include vendor('transition', ( + 'opacity #{_duration(article)} ease-in-out', + 'transform #{_duration(article)} ease-in-out' + )); + @include padding(2.5rem, 2.5rem, (2rem, 0, 1rem, 0)); + position: relative; + width: 40rem; + max-width: 100%; + background-color: transparentize(_palette(bg), 0.15); + border-radius: _size(border-radius); + opacity: 0; + + &.active { + @include vendor('transform', 'translateY(0)'); + opacity: 1; + } + + .close { + display: block; + position: absolute; + top: 0; + right: 0; + width: 4rem; + height: 4rem; + cursor: pointer; + text-indent: 4rem; + overflow: hidden; + white-space: nowrap; + + &:before { + @include vendor('transition', 'background-color #{_duration(transition)} ease-in-out'); + content: ''; + display: block; + position: absolute; + top: 0.75rem; + left: 0.75rem; + width: 2.5rem; + height: 2.5rem; + border-radius: 100%; + background-position: center; + background-image: svg-url(''); + background-size: 20px 20px; + background-repeat: no-repeat; + } + + &:hover { + &:before { + background-color: _palette(border-bg); + } + } + + &:active { + &:before { + background-color: _palette(border-bg-alt); + } + } + } + } + + @include breakpoint('<=small') { + article { + @include padding(2rem, 2rem, (1.5rem, 0, 0.5rem, 0)); + + .close { + &:before { + top: 0.875rem; + left: 0.875rem; + width: 2.25rem; + height: 2.25rem; + background-size: 14px 14px; + } + } + } + } + + @include breakpoint('<=xsmall') { + article { + @include padding(2rem, 1.5rem, (1rem, 0, 0.5rem, 0)); + } + } + } \ No newline at end of file diff --git a/assets/sass/layout/_wrapper.scss b/assets/sass/layout/_wrapper.scss new file mode 100644 index 0000000..352ceea --- /dev/null +++ b/assets/sass/layout/_wrapper.scss @@ -0,0 +1,36 @@ +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* Wrapper */ + + #wrapper { + @include vendor('display', 'flex'); + @include vendor('flex-direction', 'column'); + @include vendor('align-items', 'center'); + @include vendor('justify-content', 'space-between'); + position: relative; + min-height: 100vh; + width: 100%; + padding: 4rem 2rem; + z-index: 3; + + &:before { + content: ''; + display: block; + } + + @include breakpoint('<=xlarge') { + padding: 3rem 2rem; + } + + @include breakpoint('<=small') { + padding: 2rem 1rem; + } + + @include breakpoint('<=xsmall') { + padding: 1rem; + } + } \ No newline at end of file diff --git a/assets/sass/libs/_breakpoints.scss b/assets/sass/libs/_breakpoints.scss new file mode 100644 index 0000000..c5301d8 --- /dev/null +++ b/assets/sass/libs/_breakpoints.scss @@ -0,0 +1,223 @@ +// breakpoints.scss v1.0 | @ajlkn | MIT licensed */ + +// Vars. + + /// Breakpoints. + /// @var {list} + $breakpoints: () !global; + +// Mixins. + + /// Sets breakpoints. + /// @param {map} $x Breakpoints. + @mixin breakpoints($x: ()) { + $breakpoints: $x !global; + } + + /// Wraps @content in a @media block targeting a specific orientation. + /// @param {string} $orientation Orientation. + @mixin orientation($orientation) { + @media screen and (orientation: #{$orientation}) { + @content; + } + } + + /// Wraps @content in a @media block using a given query. + /// @param {string} $query Query. + @mixin breakpoint($query: null) { + + $breakpoint: null; + $op: null; + $media: null; + + // Determine operator, breakpoint. + + // Greater than or equal. + @if (str-slice($query, 0, 2) == '>=') { + + $op: 'gte'; + $breakpoint: str-slice($query, 3); + + } + + // Less than or equal. + @elseif (str-slice($query, 0, 2) == '<=') { + + $op: 'lte'; + $breakpoint: str-slice($query, 3); + + } + + // Greater than. + @elseif (str-slice($query, 0, 1) == '>') { + + $op: 'gt'; + $breakpoint: str-slice($query, 2); + + } + + // Less than. + @elseif (str-slice($query, 0, 1) == '<') { + + $op: 'lt'; + $breakpoint: str-slice($query, 2); + + } + + // Not. + @elseif (str-slice($query, 0, 1) == '!') { + + $op: 'not'; + $breakpoint: str-slice($query, 2); + + } + + // Equal. + @else { + + $op: 'eq'; + $breakpoint: $query; + + } + + // Build media. + @if ($breakpoint and map-has-key($breakpoints, $breakpoint)) { + + $a: map-get($breakpoints, $breakpoint); + + // Range. + @if (type-of($a) == 'list') { + + $x: nth($a, 1); + $y: nth($a, 2); + + // Max only. + @if ($x == null) { + + // Greater than or equal (>= 0 / anything) + @if ($op == 'gte') { + $media: 'screen'; + } + + // Less than or equal (<= y) + @elseif ($op == 'lte') { + $media: 'screen and (max-width: ' + $y + ')'; + } + + // Greater than (> y) + @elseif ($op == 'gt') { + $media: 'screen and (min-width: ' + ($y + 1) + ')'; + } + + // Less than (< 0 / invalid) + @elseif ($op == 'lt') { + $media: 'screen and (max-width: -1px)'; + } + + // Not (> y) + @elseif ($op == 'not') { + $media: 'screen and (min-width: ' + ($y + 1) + ')'; + } + + // Equal (<= y) + @else { + $media: 'screen and (max-width: ' + $y + ')'; + } + + } + + // Min only. + @else if ($y == null) { + + // Greater than or equal (>= x) + @if ($op == 'gte') { + $media: 'screen and (min-width: ' + $x + ')'; + } + + // Less than or equal (<= inf / anything) + @elseif ($op == 'lte') { + $media: 'screen'; + } + + // Greater than (> inf / invalid) + @elseif ($op == 'gt') { + $media: 'screen and (max-width: -1px)'; + } + + // Less than (< x) + @elseif ($op == 'lt') { + $media: 'screen and (max-width: ' + ($x - 1) + ')'; + } + + // Not (< x) + @elseif ($op == 'not') { + $media: 'screen and (max-width: ' + ($x - 1) + ')'; + } + + // Equal (>= x) + @else { + $media: 'screen and (min-width: ' + $x + ')'; + } + + } + + // Min and max. + @else { + + // Greater than or equal (>= x) + @if ($op == 'gte') { + $media: 'screen and (min-width: ' + $x + ')'; + } + + // Less than or equal (<= y) + @elseif ($op == 'lte') { + $media: 'screen and (max-width: ' + $y + ')'; + } + + // Greater than (> y) + @elseif ($op == 'gt') { + $media: 'screen and (min-width: ' + ($y + 1) + ')'; + } + + // Less than (< x) + @elseif ($op == 'lt') { + $media: 'screen and (max-width: ' + ($x - 1) + ')'; + } + + // Not (< x and > y) + @elseif ($op == 'not') { + $media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')'; + } + + // Equal (>= x and <= y) + @else { + $media: 'screen and (min-width: ' + $x + ') and (max-width: ' + $y + ')'; + } + + } + + } + + // String. + @else { + + // Missing a media type? Prefix with "screen". + @if (str-slice($a, 0, 1) == '(') { + $media: 'screen and ' + $a; + } + + // Otherwise, use as-is. + @else { + $media: $a; + } + + } + + } + + // Output. + @media #{$media} { + @content; + } + + } \ No newline at end of file diff --git a/assets/sass/libs/_functions.scss b/assets/sass/libs/_functions.scss new file mode 100644 index 0000000..b367524 --- /dev/null +++ b/assets/sass/libs/_functions.scss @@ -0,0 +1,90 @@ +/// Removes a specific item from a list. +/// @author Hugo Giraudel +/// @param {list} $list List. +/// @param {integer} $index Index. +/// @return {list} Updated list. +@function remove-nth($list, $index) { + + $result: null; + + @if type-of($index) != number { + @warn "$index: #{quote($index)} is not a number for `remove-nth`."; + } + @else if $index == 0 { + @warn "List index 0 must be a non-zero integer for `remove-nth`."; + } + @else if abs($index) > length($list) { + @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; + } + @else { + + $result: (); + $index: if($index < 0, length($list) + $index + 1, $index); + + @for $i from 1 through length($list) { + + @if $i != $index { + $result: append($result, nth($list, $i)); + } + + } + + } + + @return $result; + +} + +/// Gets a value from a map. +/// @author Hugo Giraudel +/// @param {map} $map Map. +/// @param {string} $keys Key(s). +/// @return {string} Value. +@function val($map, $keys...) { + + @if nth($keys, 1) == null { + $keys: remove-nth($keys, 1); + } + + @each $key in $keys { + $map: map-get($map, $key); + } + + @return $map; + +} + +/// Gets a duration value. +/// @param {string} $keys Key(s). +/// @return {string} Value. +@function _duration($keys...) { + @return val($duration, $keys...); +} + +/// Gets a font value. +/// @param {string} $keys Key(s). +/// @return {string} Value. +@function _font($keys...) { + @return val($font, $keys...); +} + +/// Gets a misc value. +/// @param {string} $keys Key(s). +/// @return {string} Value. +@function _misc($keys...) { + @return val($misc, $keys...); +} + +/// Gets a palette value. +/// @param {string} $keys Key(s). +/// @return {string} Value. +@function _palette($keys...) { + @return val($palette, $keys...); +} + +/// Gets a size value. +/// @param {string} $keys Key(s). +/// @return {string} Value. +@function _size($keys...) { + @return val($size, $keys...); +} \ No newline at end of file diff --git a/assets/sass/libs/_mixins.scss b/assets/sass/libs/_mixins.scss new file mode 100644 index 0000000..8187463 --- /dev/null +++ b/assets/sass/libs/_mixins.scss @@ -0,0 +1,78 @@ +/// Makes an element's :before pseudoelement a FontAwesome icon. +/// @param {string} $content Optional content value to use. +/// @param {string} $category Optional category to use. +/// @param {string} $where Optional pseudoelement to target (before or after). +@mixin icon($content: false, $category: regular, $where: before) { + + text-decoration: none; + + &:#{$where} { + + @if $content { + content: $content; + } + + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; + text-transform: none !important; + + @if ($category == brands) { + font-family: 'Font Awesome 5 Brands'; + } + @elseif ($category == solid) { + font-family: 'Font Awesome 5 Free'; + font-weight: 900; + } + @else { + font-family: 'Font Awesome 5 Free'; + font-weight: 400; + } + + } + +} + +/// Applies padding to an element, taking the current element-margin value into account. +/// @param {mixed} $tb Top/bottom padding. +/// @param {mixed} $lr Left/right padding. +/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left) +/// @param {bool} $important If true, adds !important. +@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) { + + @if $important { + $important: '!important'; + } + + $x: 0.1em; + + @if unit(_size(element-margin)) == 'rem' { + $x: 0.1rem; + } + + padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important}; + +} + +/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp). +/// @param {string} $svg SVG data URL. +/// @return {string} Encoded SVG data URL. +@function svg-url($svg) { + + $svg: str-replace($svg, '"', '\''); + $svg: str-replace($svg, '%', '%25'); + $svg: str-replace($svg, '<', '%3C'); + $svg: str-replace($svg, '>', '%3E'); + $svg: str-replace($svg, '&', '%26'); + $svg: str-replace($svg, '#', '%23'); + $svg: str-replace($svg, '{', '%7B'); + $svg: str-replace($svg, '}', '%7D'); + $svg: str-replace($svg, ';', '%3B'); + + @return url("data:image/svg+xml;charset=utf8,#{$svg}"); + +} \ No newline at end of file diff --git a/assets/sass/libs/_vars.scss b/assets/sass/libs/_vars.scss new file mode 100644 index 0000000..ba1d849 --- /dev/null +++ b/assets/sass/libs/_vars.scss @@ -0,0 +1,43 @@ +// Misc. + $misc: ( + z-index-base: 10000 + ); + +// Duration. + $duration: ( + transition: 0.2s, + bg: 2.5s, + intro: 0.75s, + article: 0.325s + ); + +// Size. + $size: ( + border-radius: 4px, + border-width: 1px, + element-height: 2.75rem, + element-margin: 2rem + ); + +// Font. + $font: ( + family: ('Source Sans Pro', sans-serif), + family-fixed: ('Courier New', monospace), + weight: 300, + weight-bold: 600, + letter-spacing: 0.2rem, + letter-spacing-heading: 0.5rem + ); + +// Palette. + $palette: ( + bg: #1b1f22, + bg-alt: #000000, + bg-overlay: rgba(19,21,25,0.5), + fg: #ffffff, + fg-bold: #ffffff, + fg-light: rgba(255,255,255,0.5), + border: #ffffff, + border-bg: rgba(255,255,255,0.075), + border-bg-alt: rgba(255,255,255,0.175) + ); \ No newline at end of file diff --git a/assets/sass/libs/_vendor.scss b/assets/sass/libs/_vendor.scss new file mode 100644 index 0000000..6599a3f --- /dev/null +++ b/assets/sass/libs/_vendor.scss @@ -0,0 +1,376 @@ +// vendor.scss v1.0 | @ajlkn | MIT licensed */ + +// Vars. + + /// Vendor prefixes. + /// @var {list} + $vendor-prefixes: ( + '-moz-', + '-webkit-', + '-ms-', + '' + ); + + /// Properties that should be vendorized. + /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org + /// @var {list} + $vendor-properties: ( + + // Animation. + 'animation', + 'animation-delay', + 'animation-direction', + 'animation-duration', + 'animation-fill-mode', + 'animation-iteration-count', + 'animation-name', + 'animation-play-state', + 'animation-timing-function', + + // Appearance. + 'appearance', + + // Backdrop filter. + 'backdrop-filter', + + // Background image options. + 'background-clip', + 'background-origin', + 'background-size', + + // Box sizing. + 'box-sizing', + + // Clip path. + 'clip-path', + + // Filter effects. + 'filter', + + // Flexbox. + 'align-content', + 'align-items', + 'align-self', + 'flex', + 'flex-basis', + 'flex-direction', + 'flex-flow', + 'flex-grow', + 'flex-shrink', + 'flex-wrap', + 'justify-content', + 'order', + + // Font feature. + 'font-feature-settings', + 'font-language-override', + 'font-variant-ligatures', + + // Font kerning. + 'font-kerning', + + // Fragmented borders and backgrounds. + 'box-decoration-break', + + // Grid layout. + 'grid-column', + 'grid-column-align', + 'grid-column-end', + 'grid-column-start', + 'grid-row', + 'grid-row-align', + 'grid-row-end', + 'grid-row-start', + 'grid-template-columns', + 'grid-template-rows', + + // Hyphens. + 'hyphens', + 'word-break', + + // Masks. + 'mask', + 'mask-border', + 'mask-border-outset', + 'mask-border-repeat', + 'mask-border-slice', + 'mask-border-source', + 'mask-border-width', + 'mask-clip', + 'mask-composite', + 'mask-image', + 'mask-origin', + 'mask-position', + 'mask-repeat', + 'mask-size', + + // Multicolumn. + 'break-after', + 'break-before', + 'break-inside', + 'column-count', + 'column-fill', + 'column-gap', + 'column-rule', + 'column-rule-color', + 'column-rule-style', + 'column-rule-width', + 'column-span', + 'column-width', + 'columns', + + // Object fit. + 'object-fit', + 'object-position', + + // Regions. + 'flow-from', + 'flow-into', + 'region-fragment', + + // Scroll snap points. + 'scroll-snap-coordinate', + 'scroll-snap-destination', + 'scroll-snap-points-x', + 'scroll-snap-points-y', + 'scroll-snap-type', + + // Shapes. + 'shape-image-threshold', + 'shape-margin', + 'shape-outside', + + // Tab size. + 'tab-size', + + // Text align last. + 'text-align-last', + + // Text decoration. + 'text-decoration-color', + 'text-decoration-line', + 'text-decoration-skip', + 'text-decoration-style', + + // Text emphasis. + 'text-emphasis', + 'text-emphasis-color', + 'text-emphasis-position', + 'text-emphasis-style', + + // Text size adjust. + 'text-size-adjust', + + // Text spacing. + 'text-spacing', + + // Transform. + 'transform', + 'transform-origin', + + // Transform 3D. + 'backface-visibility', + 'perspective', + 'perspective-origin', + 'transform-style', + + // Transition. + 'transition', + 'transition-delay', + 'transition-duration', + 'transition-property', + 'transition-timing-function', + + // Unicode bidi. + 'unicode-bidi', + + // User select. + 'user-select', + + // Writing mode. + 'writing-mode', + + ); + + /// Values that should be vendorized. + /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org + /// @var {list} + $vendor-values: ( + + // Cross fade. + 'cross-fade', + + // Element function. + 'element', + + // Filter function. + 'filter', + + // Flexbox. + 'flex', + 'inline-flex', + + // Grab cursors. + 'grab', + 'grabbing', + + // Gradients. + 'linear-gradient', + 'repeating-linear-gradient', + 'radial-gradient', + 'repeating-radial-gradient', + + // Grid layout. + 'grid', + 'inline-grid', + + // Image set. + 'image-set', + + // Intrinsic width. + 'max-content', + 'min-content', + 'fit-content', + 'fill', + 'fill-available', + 'stretch', + + // Sticky position. + 'sticky', + + // Transform. + 'transform', + + // Zoom cursors. + 'zoom-in', + 'zoom-out', + + ); + +// Functions. + + /// Removes a specific item from a list. + /// @author Hugo Giraudel + /// @param {list} $list List. + /// @param {integer} $index Index. + /// @return {list} Updated list. + @function remove-nth($list, $index) { + + $result: null; + + @if type-of($index) != number { + @warn "$index: #{quote($index)} is not a number for `remove-nth`."; + } + @else if $index == 0 { + @warn "List index 0 must be a non-zero integer for `remove-nth`."; + } + @else if abs($index) > length($list) { + @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; + } + @else { + + $result: (); + $index: if($index < 0, length($list) + $index + 1, $index); + + @for $i from 1 through length($list) { + + @if $i != $index { + $result: append($result, nth($list, $i)); + } + + } + + } + + @return $result; + + } + + /// Replaces a substring within another string. + /// @author Hugo Giraudel + /// @param {string} $string String. + /// @param {string} $search Substring. + /// @param {string} $replace Replacement. + /// @return {string} Updated string. + @function str-replace($string, $search, $replace: '') { + + $index: str-index($string, $search); + + @if $index { + @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); + } + + @return $string; + + } + + /// Replaces a substring within each string in a list. + /// @param {list} $strings List of strings. + /// @param {string} $search Substring. + /// @param {string} $replace Replacement. + /// @return {list} Updated list of strings. + @function str-replace-all($strings, $search, $replace: '') { + + @each $string in $strings { + $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace)); + } + + @return $strings; + + } + +// Mixins. + + /// Wraps @content in vendorized keyframe blocks. + /// @param {string} $name Name. + @mixin keyframes($name) { + + @-moz-keyframes #{$name} { @content; } + @-webkit-keyframes #{$name} { @content; } + @-ms-keyframes #{$name} { @content; } + @keyframes #{$name} { @content; } + + } + + /// Vendorizes a declaration's property and/or value(s). + /// @param {string} $property Property. + /// @param {mixed} $value String/list of value(s). + @mixin vendor($property, $value) { + + // Determine if property should expand. + $expandProperty: index($vendor-properties, $property); + + // Determine if value should expand (and if so, add '-prefix-' placeholder). + $expandValue: false; + + @each $x in $value { + @each $y in $vendor-values { + @if $y == str-slice($x, 1, str-length($y)) { + + $value: set-nth($value, index($value, $x), '-prefix-' + $x); + $expandValue: true; + + } + } + } + + // Expand property? + @if $expandProperty { + @each $vendor in $vendor-prefixes { + #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; + } + } + + // Expand just the value? + @elseif $expandValue { + @each $vendor in $vendor-prefixes { + #{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; + } + } + + // Neither? Treat them as a normal declaration. + @else { + #{$property}: #{$value}; + } + + } \ No newline at end of file diff --git a/assets/sass/main.scss b/assets/sass/main.scss new file mode 100644 index 0000000..f98ebef --- /dev/null +++ b/assets/sass/main.scss @@ -0,0 +1,50 @@ +@import 'libs/vars'; +@import 'libs/functions'; +@import 'libs/mixins'; +@import 'libs/vendor'; +@import 'libs/breakpoints'; +@import 'fontawesome-all.min.css'; +@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600'); + +/* + Dimension by HTML5 UP + html5up.net | @ajlkn + Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +*/ + +// Breakpoints. + + @include breakpoints(( + xlarge: ( 1281px, 1680px ), + large: ( 981px, 1280px ), + medium: ( 737px, 980px ), + small: ( 481px, 736px ), + xsmall: ( 361px, 480px ), + xxsmall: ( null, 360px ) + )); + +// Base. + + @import 'base/reset'; + @import 'base/page'; + @import 'base/typography'; + +// Component. + + @import 'components/form'; + @import 'components/box'; + @import 'components/icon'; + @import 'components/image'; + @import 'components/list'; + @import 'components/actions'; + @import 'components/icons'; + @import 'components/table'; + @import 'components/button'; + +// Layout. + + @import 'layout/bg'; + @import 'layout/wrapper'; + @import 'layout/header'; + @import 'layout/main'; + @import 'layout/footer'; \ No newline at end of file diff --git a/assets/sass/noscript.scss b/assets/sass/noscript.scss new file mode 100644 index 0000000..dbff806 --- /dev/null +++ b/assets/sass/noscript.scss @@ -0,0 +1,50 @@ +@import 'libs/vars'; +@import 'libs/functions'; +@import 'libs/mixins'; +@import 'libs/vendor'; +@import 'libs/breakpoints'; + +/* + Dimension by HTML5 UP + html5up.net | @ajlkn + Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +*/ + +/* BG */ + + #bg { + body.is-preload & { + &:before { + background-color: transparent; + } + } + } + +/* Header */ + + #header { + body.is-preload & { + > * { + opacity: 1; + } + + @include vendor('filter', 'none'); + + .content { + .inner { + max-height: none; + padding: 3rem 2rem; + opacity: 1; + } + } + } + } + +/* Main */ + + #main { + article { + opacity: 1; + margin: (_size(element-margin) * 2) 0 0 0; + } + } \ No newline at end of file diff --git a/assets/webfonts/fa-brands-400.eot b/assets/webfonts/fa-brands-400.eot new file mode 100644 index 0000000..cba6c6c Binary files /dev/null and b/assets/webfonts/fa-brands-400.eot differ diff --git a/assets/webfonts/fa-brands-400.svg b/assets/webfonts/fa-brands-400.svg new file mode 100644 index 0000000..b9881a4 --- /dev/null +++ b/assets/webfonts/fa-brands-400.svg @@ -0,0 +1,3717 @@ + + + + +Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/webfonts/fa-brands-400.ttf b/assets/webfonts/fa-brands-400.ttf new file mode 100644 index 0000000..8d75ded Binary files /dev/null and b/assets/webfonts/fa-brands-400.ttf differ diff --git a/assets/webfonts/fa-brands-400.woff b/assets/webfonts/fa-brands-400.woff new file mode 100644 index 0000000..3375bef Binary files /dev/null and b/assets/webfonts/fa-brands-400.woff differ diff --git a/assets/webfonts/fa-brands-400.woff2 b/assets/webfonts/fa-brands-400.woff2 new file mode 100644 index 0000000..402f81c Binary files /dev/null and b/assets/webfonts/fa-brands-400.woff2 differ diff --git a/assets/webfonts/fa-regular-400.eot b/assets/webfonts/fa-regular-400.eot new file mode 100644 index 0000000..a4e5989 Binary files /dev/null and b/assets/webfonts/fa-regular-400.eot differ diff --git a/assets/webfonts/fa-regular-400.svg b/assets/webfonts/fa-regular-400.svg new file mode 100644 index 0000000..463af27 --- /dev/null +++ b/assets/webfonts/fa-regular-400.svg @@ -0,0 +1,801 @@ + + + + +Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/webfonts/fa-regular-400.ttf b/assets/webfonts/fa-regular-400.ttf new file mode 100644 index 0000000..7157aaf Binary files /dev/null and b/assets/webfonts/fa-regular-400.ttf differ diff --git a/assets/webfonts/fa-regular-400.woff b/assets/webfonts/fa-regular-400.woff new file mode 100644 index 0000000..ad077c6 Binary files /dev/null and b/assets/webfonts/fa-regular-400.woff differ diff --git a/assets/webfonts/fa-regular-400.woff2 b/assets/webfonts/fa-regular-400.woff2 new file mode 100644 index 0000000..5632894 Binary files /dev/null and b/assets/webfonts/fa-regular-400.woff2 differ diff --git a/assets/webfonts/fa-solid-900.eot b/assets/webfonts/fa-solid-900.eot new file mode 100644 index 0000000..e994171 Binary files /dev/null and b/assets/webfonts/fa-solid-900.eot differ diff --git a/assets/webfonts/fa-solid-900.svg b/assets/webfonts/fa-solid-900.svg new file mode 100644 index 0000000..00296e9 --- /dev/null +++ b/assets/webfonts/fa-solid-900.svg @@ -0,0 +1,5034 @@ + + + + +Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/webfonts/fa-solid-900.ttf b/assets/webfonts/fa-solid-900.ttf new file mode 100644 index 0000000..25abf38 Binary files /dev/null and b/assets/webfonts/fa-solid-900.ttf differ diff --git a/assets/webfonts/fa-solid-900.woff b/assets/webfonts/fa-solid-900.woff new file mode 100644 index 0000000..23ee663 Binary files /dev/null and b/assets/webfonts/fa-solid-900.woff differ diff --git a/assets/webfonts/fa-solid-900.woff2 b/assets/webfonts/fa-solid-900.woff2 new file mode 100644 index 0000000..2217164 Binary files /dev/null and b/assets/webfonts/fa-solid-900.woff2 differ diff --git a/images/bg.jpg b/images/bg.jpg new file mode 100644 index 0000000..7788615 Binary files /dev/null and b/images/bg.jpg differ diff --git a/images/logo-smaller.jpg b/images/logo-smaller.jpg new file mode 100644 index 0000000..eed7b1c Binary files /dev/null and b/images/logo-smaller.jpg differ diff --git a/images/logo.png b/images/logo.png new file mode 100644 index 0000000..5520b5a Binary files /dev/null and b/images/logo.png differ diff --git a/images/overlay.png b/images/overlay.png new file mode 100644 index 0000000..3cd22cc Binary files /dev/null and b/images/overlay.png differ diff --git a/images/pic01.jpg b/images/pic01.jpg new file mode 100644 index 0000000..6d43f60 Binary files /dev/null and b/images/pic01.jpg differ diff --git a/images/pic02.jpg b/images/pic02.jpg new file mode 100644 index 0000000..50ce626 Binary files /dev/null and b/images/pic02.jpg differ diff --git a/images/pic03.jpg b/images/pic03.jpg new file mode 100644 index 0000000..c4b9c04 Binary files /dev/null and b/images/pic03.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..1de238d --- /dev/null +++ b/index.html @@ -0,0 +1,83 @@ + + + + + LM Websites + + + + + +
+ + +
+ +
+ + +
+ + + + + + +
+
+ +
+ +
+ + +
+ + + + + + + + + + diff --git a/n_bits/eventos.html b/n_bits/eventos.html new file mode 100644 index 0000000..e5e30eb --- /dev/null +++ b/n_bits/eventos.html @@ -0,0 +1,11 @@ + + + + + + Eventos + + +

Todos os eventos

+ + \ No newline at end of file diff --git a/n_bits/index.html b/n_bits/index.html new file mode 100644 index 0000000..9434c67 --- /dev/null +++ b/n_bits/index.html @@ -0,0 +1,20 @@ + + + + + n?bits + + + +
+

n_bits

+

Bem vindo ao website do n_bits

+
+ + + \ No newline at end of file diff --git a/n_bits/leim_semestres/1sem.html b/n_bits/leim_semestres/1sem.html new file mode 100644 index 0000000..e69de29 diff --git a/n_bits/leim_semestres/2sem.html b/n_bits/leim_semestres/2sem.html new file mode 100644 index 0000000..e69de29 diff --git a/n_bits/leim_semestres/3sem.html b/n_bits/leim_semestres/3sem.html new file mode 100644 index 0000000..0cffc02 --- /dev/null +++ b/n_bits/leim_semestres/3sem.html @@ -0,0 +1,40 @@ + + + + + + 3 sem + + +

3* semestre

+ + + +
+

MSSN

+ +

Unable to display PDF file. Download instead.

+
+
+ +
+

CPS

+ +

Unable to display PDF file. Download instead.

+
+
+ + + \ No newline at end of file diff --git a/n_bits/leim_semestres/3sem/MSSresumo0.pdf b/n_bits/leim_semestres/3sem/MSSresumo0.pdf new file mode 100644 index 0000000..0ca15f8 Binary files /dev/null and b/n_bits/leim_semestres/3sem/MSSresumo0.pdf differ diff --git a/n_bits/repositorio_leim.html b/n_bits/repositorio_leim.html new file mode 100644 index 0000000..33527c9 --- /dev/null +++ b/n_bits/repositorio_leim.html @@ -0,0 +1,20 @@ + + + + + + Document + + +
+

Repositório de LEIM

+ +
+ + \ No newline at end of file diff --git a/n_bits/sobre.html b/n_bits/sobre.html new file mode 100644 index 0000000..6b940e6 --- /dev/null +++ b/n_bits/sobre.html @@ -0,0 +1,11 @@ + + + + + + Sobre + + +

Sobre nós - os bits

+ + \ No newline at end of file diff --git a/n_bits/style.css b/n_bits/style.css new file mode 100644 index 0000000..b50916e --- /dev/null +++ b/n_bits/style.css @@ -0,0 +1,32 @@ +h1{ + font-family:'Courier New', Courier, monospace +} + +h2{ + font-family:'Courier New', Courier, monospace +} + +h3{ + font-family:'Courier New', Courier, monospace +} + +h4{ + font-family:'Courier New', Courier, monospace +} + +h5{ + font-family:'Courier New', Courier, monospace +} + +h6{ + font-family:'Courier New', Courier, monospace +} + +p{ + font-family:'Courier New', Courier, monospace +} + +a{ + font-weight: bold; + font-family:'Courier New', Courier, monospace +} \ No newline at end of file