diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b10c66c..38c0812 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,4 @@ -name: Build and Deploy Site +name: Deploy Static Site on: push: @@ -9,38 +9,16 @@ on: - master jobs: - build-and-deploy-site: + deploy: runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v4 - with: - submodules: true - fetch-depth: 0 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: '0.121.1' - hugo-extended: true - - - name: Verify Hugo Extended - run: hugo version - - - name: Build site with Hugo - run: hugo -D - - - name: Check HTML - uses: chabad360/htmlproofer@master - with: - directory: "./public" - arguments: --only-4xx --check-favicon --check-html --assume-extension --empty-alt-ignore --disable-external - continue-on-error: true - name: Deploy to GitHub Pages if: github.event_name == 'push' && github.ref == 'refs/heads/master' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public + publish_dir: . force_orphan: true diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 62fe57d..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "hugo-theme-novela"] - path = hugo-theme-novela - url = https://github.com/forestryio/hugo-theme-novela.git diff --git a/.hugo_build.lock b/.hugo_build.lock deleted file mode 100644 index e69de29..0000000 diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/assembly_with_code.html b/assembly_with_code.html deleted file mode 100644 index a7c727d..0000000 --- a/assembly_with_code.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - Assembly with Code - - - -
- ← Back to SARK - -

Assembly with Code

- -

This is a separate static page for your assembly with code project.

- -

Example Code Block

-
// Your assembly code here
-mov eax, 1
-mov ebx, 0
-int 0x80
- -

About This Page

-

This page is completely separate from your Hugo site and can contain any content you want - code examples, documentation, or anything else.

- -

You can customize this page with your own content, styling, and functionality.

-
- - \ No newline at end of file diff --git a/config.toml b/config.toml deleted file mode 100644 index bdfad32..0000000 --- a/config.toml +++ /dev/null @@ -1,22 +0,0 @@ -baseURL = 'https://timot05.github.io/' -languageCode = 'en-us' -title = 'SARK' -canonifyurls = true - -# Novela settings -theme = "hugo-theme-novela" - -[pagination] -pagerSize = 6 - -[params] -[social] -# twitter= "" -# github= "" -# linkedin= "" -# instagram = "#" -# dribbble = "#" -# youtube = "#" - -[taxonomies] -author = "authors" diff --git a/content/post/drone.md b/content/post/drone.md deleted file mode 100644 index ac8f39d..0000000 --- a/content/post/drone.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: "FPV Drone" -date: 2019-06-01T20:14:11-07:00 -hero: /images/Drone/drone_trim_hero.jpg -draft: true ---- - -![Picture of Drone](/images/Drone/180817_trio.jpg) - -![Picture of Drone](/images/Drone/assembled_drone.png) - -![Picture of Drone](/images/Drone/box_droneV1_controllerV3.jpeg) - -![Picture of Drone](/images/Drone/exploded_drone.png) - -![Picture of Drone](/images/Drone/drone_increments.png) diff --git a/content/post/drops.md b/content/post/drops.md deleted file mode 100644 index 84ecf41..0000000 --- a/content/post/drops.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: "Drops - Modular Dining Pendant lamp" -date: 2019-05-21T20:14:11-07:00 -hero: /images/Drops/drops_module_side.jpeg -draft: true ---- - -The concept for drops came while thinking about a modular version of Photon, my other pendant lamp. Here is the result: - -![Picture of Drops](/images/Drops/drops_installed.jpg) - -Each "droplet" consists of a module that supports an LED. Similarly to Photon, the light can shine directly onto the table surface but is also reflected to the ceiling by the reflector beneath the LED. The reflector prevents light from directly shining into people's eyes. Here is what a module looks like: - -![Picture of Drops](/images/Drops/drops_module_top.jpeg) - -The LED is mounted on an aluminum support that also pulls heat away from the LED and into the fins and the reflector. - -![Picture of Drops](/images/Drops/droplet_explanation.png) - -The LEDs are from Cree with a CRI of 90+ at 2700k temperature. That is some of the best stuff I could find and they look great. - -Just for fun, here is an early prototype of a droplet module: - -![Picture of Drops](/images/Drops/early_droplet_off.jpeg) - -And a rendered view of the housing: - -![Picture of Drops](/images/Drops/housing.jpeg) diff --git a/content/post/motionpilot.md b/content/post/motionpilot.md deleted file mode 100644 index 6de3c89..0000000 --- a/content/post/motionpilot.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: "MotionPilot - FPV Drone Motion Controller" -date: 2020-01-01T20:14:11-07:00 -hero: /images/Motionpilot/controller_hand_V3.jpeg -draft: true ---- - -Our goal with this project was to improve the flight experience of First Person View (FPV) drones that are piloted with cumbersome conventional controllers. This was achieved by introducing motion control and a user interface specifically tailored for FPV. - -![Picture of MotionPilot Controller](/images/Motionpilot/motionpilot_remote.jpg) - -This project has been challenging and incredibly rewarding. It involved designing multiple prototypes, firmware revisions, electronic printed circuit boards and mechanical systems. We manufactured and assembled more than hundreds of prototypes that are still being used by our beta-testers to this day. - -![Picture of MotionPilot Controller](/images/Motionpilot/motionpilot_cover.jpeg) - -The hand motion is tracked using gyroscopes, accelerometers and compasses. The 9 axis are fused together to produce the controller's attitude quaternion that is then being used to define the control outputs. the trigger controls the throttle. - -![Picture of MotionPilot controller](/images/Motionpilot/controller_top.jpeg) - -The main button is used to arm/disarm the drone as well as setting the controller neutral position. The secondary button is used to select one of the three flight modes. - -![Picture of MotionPilot controller](/images/Motionpilot/controller_top_trim.jpeg) - -A USB port allows to charge the battery and change the control configuration. A secondary jack connector allows to daisy chain two controllers together to teach someone how to pilot. - -![Picture of MotionPilot Controller](/images/Motionpilot/controller_bottom_trim.jpeg) diff --git a/content/post/pharaon.md b/content/post/pharaon.md deleted file mode 100644 index ed406a1..0000000 --- a/content/post/pharaon.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: "Pharaon - Stereo Speaker Sound System" -date: 2014-10-30T20:51:35-07:00 -hero: /images/Pharaon/pharaon_pyramid.jpeg -draft: true ---- - -Pharaon is a 2.1 stereo speaker system. The goal of this project was to build something that would catch your eye and make you wonder about it's purpose, without compromising on sound quality. - -![Picture of photon](/images/Pharaon/pharaon_general.jpeg) - -The speakers are built out of plywood and MDF covered in oak. - -![Picture of photon](/images/Pharaon/pharaon_sisters.jpeg) - -The setup uses 7 membranes in total (1 subwoofer, 2 woofers, 2 mediums, 2 tweeters). The subwoofer is powered by a 150 Watt amplifier independently. - -![Picture of photon](/images/Pharaon/pharaon_top_view.jpeg) - -If you plan to get one of those, make sure to warn your neighbors beforehand! - -![Picture of photon](/images/Pharaon/old_pharaon_general.jpeg) - -(Audio material provided by HifiKit.se) diff --git a/content/post/photon.md b/content/post/photon.md deleted file mode 100644 index 4da5c12..0000000 --- a/content/post/photon.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: "Photon - Dining Pendant lamp" -date: 2016-12-20T20:14:11-07:00 -hero: /images/Photon/photon_front.jpg -draft: true ---- - -This lamp started off with a beam of wood. A thin plate of stainless steel floats just under it. The six LEDs that are placed throughout the beam shine a warm light towards the table. Photon also provides a soft ambiance illumination as the light reflects on the steel towards the ceiling and the lamp's sides through the gap between the metal and the wood. - -![General picture of photon](/images/Photon/photon_general_34_top.jpg) - -The sheets of metal are laser cut. The lower reflective plate reflects the light and serves as a heat sink for the LEDs too. - -![Picture of photon](/images/Photon/photon_long_exposure.jpeg) - -![Picture of photon](/images/Photon/photon_general_side.jpg) - -To provide an original design, I selected a four wire square configuration to support the lamp. This wire configuration requires to user to tune the length of each wire to enable the lamp to sit horizontally. To make things simple, I introduced a system that enables to tweak the length using two screws only (one for each rotation axis, X and Y). The height can be changed too. - -![Picture of photon](/images/Photon/photon_close_top_right.jpg) - -The spec sheet for the lamp can be found here. - -![Picture of photon](/images/Photon/photon_design.jpg) diff --git a/content/post/stack.md b/content/post/stack.md deleted file mode 100644 index 6ae2a0c..0000000 --- a/content/post/stack.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: "Stack - Modular Shelving System" -date: 2013-10-07T20:14:11-07:00 -hero: /images/Stack/stack_white_bg_hero.jpg -draft: true ---- - -Stack is a shelving system that consists of a combination of slotted boards of wood and threaded rods. - -![Picture of photon](/images/Stack/STACK_2mx12_5.jpeg) - -By selecting the board dimensions, the number of boards, the number of supporting rods and the threaded rod height, the user can design a shelf specific to his needs. - -![Picture of photon](/images/Stack/stack_general_hero.jpeg) - -For lower shelves, the slots can be replaced with holes. This makes the assembly process more tedious as the nuts have to be threaded all the way. But it does provide a cleaner look. - -![Picture of photon](/images/Stack/stack_built.jpeg) diff --git a/content/post/steel.md b/content/post/steel.md deleted file mode 100644 index 7c1c765..0000000 --- a/content/post/steel.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "Steel - Big Floor Lamp" -date: 2022-08-10T20:14:11-07:00 -hero: /images/Steel/steel_general_hero.jpg -draft: true ---- - -![Picture of Drops](/images/Steel/steel_portfolio.jpg) - -![Picture of Drops](/images/Steel/steel_back.jpg) - -![Picture of Drops](/images/Steel/steel_poulie_side.jpg) diff --git a/content/post/turbine.md b/content/post/turbine.md deleted file mode 100644 index a7eac29..0000000 --- a/content/post/turbine.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: "Wind Turbine - Home Electricity Generation" -date: 2012-07-01T20:14:11-07:00 -hero: /images/Turbine/wind_turbine_hero.jpeg -draft: true ---- - -This wind turbine project was developed during high school. The turbine was charging a lead-acid battery. - -![Picture of wind turbine](/images/Turbine/fandp_motor.jpg) - -![Picture of wind turbine drivetrain](/images/Turbine/wind_turbine_guts.jpg) - -I built a simple charge controller based on a 555 timer chip. The two comparators in the chip could be used to set the high and low cutoff voltage for the charge controller. - -![Picture of wind turbine charge controller](/images/Turbine/555_enclosure.jpg) diff --git a/drone.html b/drone.html new file mode 100644 index 0000000..39fff53 --- /dev/null +++ b/drone.html @@ -0,0 +1,58 @@ + + + + + + FPV Drone - SARK + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+
+

FPV Drone

+
+ FPV Drone Hero + Picture of Drone + + Picture of Drone + + Picture of Drone + + Picture of Drone + + Picture of Drone +
+
+
+ + + + + \ No newline at end of file diff --git a/drops.html b/drops.html new file mode 100644 index 0000000..9962139 --- /dev/null +++ b/drops.html @@ -0,0 +1,82 @@ + + + + + + Drops - Modular Dining Pendant Lamp - SARK + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+
+

Drops - Modular Dining Pendant Lamp

+
+ Drops Lamp Hero +

+ The concept for drops came while thinking about a modular version of Photon, my other pendant lamp. Here is the result: +

+ + Picture of Drops + +

+ Each "droplet" consists of a module that supports an LED. Similarly to Photon, the light can shine directly onto the table surface but is also reflected to the ceiling by the reflector beneath the LED. The reflector prevents light from directly shining into people's eyes. Here is what a module looks like: +

+ + Picture of Drops + +

+ The LED is mounted on an aluminum support that also pulls heat away from the LED and into the fins and the reflector. +

+ + Picture of Drops + +

+ The LEDs are from Cree with a CRI of 90+ at 2700k temperature. That is some of the best stuff I could find and they look great. +

+ +

+ Just for fun, here is an early prototype of a droplet module: +

+ + Picture of Drops + +

+ And a rendered view of the housing: +

+ + Picture of Drops +
+
+
+ + + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..6b2a991 --- /dev/null +++ b/index.html @@ -0,0 +1,150 @@ + + + + + + SARK - Projects + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+ + +
+ + +
+
+ FPV Drone +
+
+

FPV Drone

+

Custom built FPV drone with modular design

+
+
+
+ + + +
+
+ Photon Lamp +
+
+

Photon

+

Dining pendant lamp with warm LED illumination

+
+
+
+ + + +
+
+ Drops Lamp +
+
+

Drops

+

Modular dining pendant lamp system

+
+
+
+ + + +
+
+ Motionpilot Controller +
+
+

Motionpilot

+

Motion control system and controller

+
+
+
+ + + +
+
+ Pharaon Audio +
+
+

Pharaon

+

Audio system and subwoofer design

+
+
+
+ + + +
+
+ Stack System +
+
+

Stack

+

Modular stacking system design

+
+
+
+ + + +
+
+ Steel Lamp +
+
+

Steel

+

Big floor lamp with steel construction

+
+
+
+ + + +
+
+ Wind Turbine +
+
+

Wind Turbine

+

Home electricity generation system

+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/logo.svg b/logo.svg similarity index 100% rename from themes/hugo-theme-novela/layouts/partials/icons/ui/logo.svg rename to logo.svg diff --git a/motionpilot.html b/motionpilot.html new file mode 100644 index 0000000..7a7e988 --- /dev/null +++ b/motionpilot.html @@ -0,0 +1,69 @@ + + + + + + Motionpilot - SARK + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+
+

Motionpilot

+
+ Motionpilot Controller +

+ Our goal with this project was to improve the flight experience of First Person View (FPV) drones that are piloted with cumbersome conventional controllers. This was achieved by introducing motion control and a user interface specifically tailored for FPV. +

+ Picture of MotionPilot Controller +

+ This project has been challenging and incredibly rewarding. It involved designing multiple prototypes, firmware revisions, electronic printed circuit boards and mechanical systems. We manufactured and assembled more than hundreds of prototypes that are still being used by our beta-testers to this day. +

+ Picture of MotionPilot Controller +

+ The hand motion is tracked using gyroscopes, accelerometers and compasses. The 9 axis are fused together to produce the controller's attitude quaternion that is then being used to define the control outputs. the trigger controls the throttle. +

+ Picture of MotionPilot controller +

+ The main button is used to arm/disarm the drone as well as setting the controller neutral position. The secondary button is used to select one of the three flight modes. +

+ Picture of MotionPilot controller +

+ A USB port allows to charge the battery and change the control configuration. A secondary jack connector allows to daisy chain two controllers together to teach someone how to pilot. +

+ Picture of MotionPilot Controller +
+
+
+ + + + + \ No newline at end of file diff --git a/pharaon.html b/pharaon.html new file mode 100644 index 0000000..abc4a5a --- /dev/null +++ b/pharaon.html @@ -0,0 +1,67 @@ + + + + + + Pharaon - SARK + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+
+

Pharaon

+
+ Pharaon Audio +

+ Pharaon is a 2.1 stereo speaker system. The goal of this project was to build something that would catch your eye and make you wonder about it's purpose, without compromising on sound quality. +

+ Picture of photon +

+ The speakers are built out of plywood and MDF covered in oak. +

+ Picture of photon +

+ The setup uses 7 membranes in total (1 subwoofer, 2 woofers, 2 mediums, 2 tweeters). The subwoofer is powered by a 150 Watt amplifier independently. +

+ Picture of photon +

+ If you plan to get one of those, make sure to warn your neighbors beforehand! +

+

+ (Audio material provided by HifiKit.se) +

+
+
+
+ + + + + \ No newline at end of file diff --git a/photon.html b/photon.html new file mode 100644 index 0000000..a02c193 --- /dev/null +++ b/photon.html @@ -0,0 +1,74 @@ + + + + + + Photon - Dining Pendant Lamp - SARK + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+
+

Photon - Dining Pendant Lamp

+
+ Photon Lamp Hero +

+ This lamp started off with a beam of wood. A thin plate of stainless steel floats just under it. The six LEDs that are placed throughout the beam shine a warm light towards the table. Photon also provides a soft ambiance illumination as the light reflects on the steel towards the ceiling and the lamp's sides through the gap between the metal and the wood. +

+ + General picture of photon + +

+ The sheets of metal are laser cut. The lower reflective plate reflects the light and serves as a heat sink for the LEDs too. +

+ + Picture of photon + + Picture of photon + +

+ To provide an original design, I selected a four wire square configuration to support the lamp. This wire configuration requires to user to tune the length of each wire to enable the lamp to sit horizontally. To make things simple, I introduced a system that enables to tweak the length using two screws only (one for each rotation axis, X and Y). The height can be changed too. +

+ + Picture of photon + +

+ The spec sheet for the lamp can be found here. +

+ + Picture of photon +
+
+
+ + + + + \ No newline at end of file diff --git a/stack.html b/stack.html new file mode 100644 index 0000000..3853a59 --- /dev/null +++ b/stack.html @@ -0,0 +1,60 @@ + + + + + + Stack - SARK + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+
+

Stack - Modular Shelving System

+
+ Stack System +

+ Stack is a shelving system that consists of a combination of slotted boards of wood and threaded rods. +

+ Picture of photon +

+ By selecting the board dimensions, the number of boards, the number of supporting rods and the threaded rod height, the user can design a shelf specific to his needs. +

+ Picture of photon +

+ For lower shelves, the slots can be replaced with holes. This makes the assembly process more tedious as the nuts have to be threaded all the way. But it does provide a cleaner look. +

+
+
+
+ + + + + \ No newline at end of file diff --git a/steel.html b/steel.html new file mode 100644 index 0000000..d8d483a --- /dev/null +++ b/steel.html @@ -0,0 +1,54 @@ + + + + + + Steel - Big Floor Lamp - SARK + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+
+

Steel - Big Floor Lamp

+
+ Steel Lamp +

+ Big floor lamp with steel construction. +

+ Steel Portfolio + Steel Back +
+
+
+ + + + + \ No newline at end of file diff --git a/themes/hugo-theme-novela/.forestry/front_matter/templates/author.yml b/themes/hugo-theme-novela/.forestry/front_matter/templates/author.yml deleted file mode 100644 index 64986c5..0000000 --- a/themes/hugo-theme-novela/.forestry/front_matter/templates/author.yml +++ /dev/null @@ -1,45 +0,0 @@ ---- -label: Author -hide_body: true -fields: -- name: title - type: text - config: - required: false - label: Name -- name: bio - type: textarea - default: '' - config: - required: false - wysiwyg: false - schema: - format: markdown - label: Bio -- name: avatar - type: file - config: - maxSize: 250 - label: Avatar Image -- name: social - type: field_group_list - fields: - - name: title - type: text - config: - required: false - label: Title - - name: url - type: text - config: - required: false - label: URL - config: - min: - max: - labelField: - label: Social Media -- name: featured - type: boolean - label: Featured Author - description: Feature this author on the home page diff --git a/themes/hugo-theme-novela/.forestry/front_matter/templates/home-hero.yml b/themes/hugo-theme-novela/.forestry/front_matter/templates/home-hero.yml deleted file mode 100644 index a7c244e..0000000 --- a/themes/hugo-theme-novela/.forestry/front_matter/templates/home-hero.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -label: Home Hero -hide_body: true -fields: -- name: heading - type: text - config: - required: false - label: Heading - description: The text displayed in the hero -- name: maxWidthPX - type: number - label: Max Width - description: The maximum possible width of the hero (in pixels) - default: '652' - config: - required: true - min: - max: - step: diff --git a/themes/hugo-theme-novela/.forestry/front_matter/templates/home.yml b/themes/hugo-theme-novela/.forestry/front_matter/templates/home.yml deleted file mode 100644 index 218ede8..0000000 --- a/themes/hugo-theme-novela/.forestry/front_matter/templates/home.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -label: Home -hide_body: true -fields: -- name: hero - type: include - config: {} - template: home-hero - label: Hero diff --git a/themes/hugo-theme-novela/.forestry/front_matter/templates/post.yml b/themes/hugo-theme-novela/.forestry/front_matter/templates/post.yml deleted file mode 100644 index dd1b254..0000000 --- a/themes/hugo-theme-novela/.forestry/front_matter/templates/post.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -label: Post -hide_body: false -fields: -- name: title - type: text - config: - required: false - label: Title -- name: excerpt - type: text - config: - required: false - label: Excerpt -- name: date - type: datetime - label: Date - description: '' - config: - required: false - date_format: - time_format: - display_utc: false -- name: hero - type: file - config: - maxSize: 250 - label: Hero Image -- name: authors - type: tag_list - default: [] - label: Authors diff --git a/themes/hugo-theme-novela/.forestry/settings.yml b/themes/hugo-theme-novela/.forestry/settings.yml deleted file mode 100644 index 9ba6fc4..0000000 --- a/themes/hugo-theme-novela/.forestry/settings.yml +++ /dev/null @@ -1,48 +0,0 @@ ---- -new_page_extension: md -auto_deploy: false -admin_path: '' -webhook_url: -sections: -- type: heading - label: Content -- type: document - path: content/_index.md - label: Home -- type: directory - path: content/post - label: Posts - create: all - match: "**/*" - templates: - - post -- type: heading - label: Data -- type: directory - path: content/authors - label: Authors - create: all - match: "**/_index.md" - templates: - - author -- type: directory - path: config/_default - label: Config - create: all - match: "**/*" - new_doc_ext: yaml -upload_dir: static/uploads -public_path: "/static/images" -front_matter_path: '' -use_front_matter_path: false -file_template: ":filename:" -build: - preview_env: - - HUGO_ENV=staging - - HUGO_VERSION=0.81.0 - preview_output_directory: public - preview_docker_image: forestryio/hugo:latest - mount_path: "/srv" - working_dir: "/srv" - instant_preview_command: hugo server -D -E -F --port 8080 --bind 0.0.0.0 --renderToDisk - -d public diff --git a/themes/hugo-theme-novela/.gitignore b/themes/hugo-theme-novela/.gitignore deleted file mode 100644 index f0b8c13..0000000 --- a/themes/hugo-theme-novela/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -#public -*.DS_Store diff --git a/themes/hugo-theme-novela/LICENSE b/themes/hugo-theme-novela/LICENSE deleted file mode 100644 index a48726d..0000000 --- a/themes/hugo-theme-novela/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019-present Forestry.io and contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/themes/hugo-theme-novela/README.md b/themes/hugo-theme-novela/README.md deleted file mode 100644 index 72af305..0000000 --- a/themes/hugo-theme-novela/README.md +++ /dev/null @@ -1,123 +0,0 @@ -# Hugo Novela - -A port of [Narative](https://www.narative.co/)'s Gatsby theme [Novela](https://www.narative.co/labs/novela/) - -**This theme requires Hugo extended > 0.65.0** - -![](https://raw.githubusercontent.com/forestryio/hugo-theme-novela/master/images/tn.png) - -The easiest way to get started is to [import this theme in Forestry CMS](https://app.forestry.io/quick-start?repo=forestryio/novela-hugo-starter&engine=hugo&version=0.81.0) in a single click - - - Import this project into Forestry - - -## Install from the command line - -If you don't want to use the [starter](https://github.com/forestryio/novela-hugo-starter), you can start from scratch and just install this theme from the command line. - -Create a new Hugo site and initialize your project as a [Hugo module](https://gohugo.io/hugo-modules/use-modules/): - -``` -hugo new site my-awesome-blog -cd my-awesome-blog -hugo mod init -``` - -Edit your `config.toml` to add the theme settings: - -```toml -# Novela settings -theme = "github.com/forestryio/hugo-theme-novela" - -paginate = 6 - -[social] -twitter= "https://twitter.com/forestryio" -github= "https://github.com/forestryio/novela-hugo-starter" -linkedin= "https://www.linkedin.com/company/forestry.io" -instagram = "#" -dribbble = "#" -youtube = "#" - -[taxonomies] -author = "authors" - -``` - -Create your first draft post and preview it locally: - -``` -hugo new post/my-first-post.md -hugo server -D -``` - -You're good to go! - -## Customization - -### Logo - -Override `/themes/novela/layouts/partials/icons/ui/logo.html` with your own file at `/layouts/partials/icons/ui/logo.html`; include your logo in SVG format for desktop and mobile formats. - -Novela supports light and dark mode. To have your logo respond in kind, add `class="change-fill"` to the svg path(s). - -### Socials - -In order for the Socials to be surfaced in Forestry, you should copy the theme's `config/_default/social.yaml` to your project. - -### Authors - -You should register authors as a taxonomy in your project's `config.yaml`` - -```yaml -taxonomies: - author: authors -``` - -#### Creating authors - -Authors must be added in `content/authors`. -Create a folder per author and add an `_index.md` file in it. - -Here's an example of the front matter fields supported by default: - -```yaml -# /content/authors/firstname-lastname/_index.md ---- -title: Dennis Brotzky -bio: | - Written by You. This is where your author bio lives. Share your work, your - joys and of course, your Twitter handle. -avatar: /images/dennis-brotzky.jpg -featured: true -social: - - title: unsplash - url: https://unsplash.com - - title: github - url: https://github.com - - title: github - url: https://github.com - - title: github - url: https://github.com - - title: github - url: https://github.com ---- -``` - -#### Assigning authors to posts. -Ad the name of the author to the "authors" field: - -```yaml -authors: - - Dennis Brotzky - - Thiago Costa -``` -### Newsletter CTA - -This theme includes a shortcode for a newsletter callout form that you can add to any page. -It uses [formspree.io](//formspree.io/) as proxy to send the actual email. Each month, visitors can send you up to one thousand emails without incurring extra charges. Visit the Formspree site to get get going add your Formspree email to your shortcode like this: - -``` -{{< subscribe email="your@email.com" >}} -``` diff --git a/themes/hugo-theme-novela/archetypes/default.md b/themes/hugo-theme-novela/archetypes/default.md deleted file mode 100644 index 310c614..0000000 --- a/themes/hugo-theme-novela/archetypes/default.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -hero: /images/hero-3.jpg -excerpt: -draft: true ---- diff --git a/themes/hugo-theme-novela/assets/css/prism.css b/themes/hugo-theme-novela/assets/css/prism.css deleted file mode 100644 index cf2bba9..0000000 --- a/themes/hugo-theme-novela/assets/css/prism.css +++ /dev/null @@ -1,231 +0,0 @@ -/* PrismJS 1.21.0 -https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+git+go+json+json5+jsx+tsx+toml+typescript+yaml&plugins=line-numbers+toolbar+copy-to-clipboard */ -/** - * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML - * Based on https://github.com/chriskempson/tomorrow-theme - * @author Rose Pritchard - */ - -code[class*="language-"], -pre[class*="language-"] { - color: #ccc; - background: none; - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; - font-size: 1em; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - word-wrap: normal; - line-height: 1.5; - - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; - - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; - -} - -/* Code blocks */ -pre[class*="language-"] { - padding: 1em; - margin: .5em 0; - overflow: auto; -} - -:not(pre) > code[class*="language-"], -pre[class*="language-"] { - background: #2d2d2d; -} - -/* Inline code */ -:not(pre) > code[class*="language-"] { - padding: .1em; - border-radius: .3em; - white-space: normal; -} - -.token.comment, -.token.block-comment, -.token.prolog, -.token.doctype, -.token.cdata { - color: #999; -} - -.token.punctuation { - color: #ccc; -} - -.token.tag, -.token.attr-name, -.token.namespace, -.token.deleted { - color: #e2777a; -} - -.token.function-name { - color: #6196cc; -} - -.token.boolean, -.token.number, -.token.function { - color: #f08d49; -} - -.token.property, -.token.class-name, -.token.constant, -.token.symbol { - color: #f8c555; -} - -.token.selector, -.token.important, -.token.atrule, -.token.keyword, -.token.builtin { - color: #cc99cd; -} - -.token.string, -.token.char, -.token.attr-value, -.token.regex, -.token.variable { - color: #7ec699; -} - -.token.operator, -.token.entity, -.token.url { - color: #67cdcc; -} - -.token.important, -.token.bold { - font-weight: bold; -} -.token.italic { - font-style: italic; -} - -.token.entity { - cursor: help; -} - -.token.inserted { - color: green; -} - -pre[class*="language-"].line-numbers { - position: relative; - padding-left: 3.8em; - counter-reset: linenumber; -} - -pre[class*="language-"].line-numbers > code { - position: relative; - white-space: inherit; -} - -.line-numbers .line-numbers-rows { - position: absolute; - pointer-events: none; - top: 0; - font-size: 100%; - left: -3.8em; - width: 3em; /* works for line-numbers below 1000 lines */ - letter-spacing: -1px; - border-right: 1px solid #999; - - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -} - - .line-numbers-rows > span { - display: block; - counter-increment: linenumber; - } - - .line-numbers-rows > span:before { - content: counter(linenumber); - color: #999; - display: block; - padding-right: 0.8em; - text-align: right; - } - -div.code-toolbar { - position: relative; -} - -div.code-toolbar > .toolbar { - position: absolute; - top: .3em; - right: .2em; - transition: opacity 0.3s ease-in-out; - opacity: 0; -} - -div.code-toolbar:hover > .toolbar { - opacity: 1; -} - -/* Separate line b/c rules are thrown out if selector is invalid. - IE11 and old Edge versions don't support :focus-within. */ -div.code-toolbar:focus-within > .toolbar { - opacity: 1; -} - -div.code-toolbar > .toolbar .toolbar-item { - display: inline-block; -} - -div.code-toolbar > .toolbar a { - cursor: pointer; -} - -div.code-toolbar > .toolbar button { - background: none; - border: 0; - color: inherit; - font: inherit; - line-height: normal; - overflow: visible; - padding: 0; - -webkit-user-select: none; /* for button */ - -moz-user-select: none; - -ms-user-select: none; -} - -div.code-toolbar > .toolbar a, -div.code-toolbar > .toolbar button, -div.code-toolbar > .toolbar span { - color: #bbb; - font-size: .8em; - padding: 0 .5em; - background: #f5f2f0; - background: rgba(224, 224, 224, 0.2); - box-shadow: 0 2px 0 0 rgba(0,0,0,0.2); - border-radius: .5em; -} - -div.code-toolbar > .toolbar a:hover, -div.code-toolbar > .toolbar a:focus, -div.code-toolbar > .toolbar button:hover, -div.code-toolbar > .toolbar button:focus, -div.code-toolbar > .toolbar span:hover, -div.code-toolbar > .toolbar span:focus { - color: inherit; - text-decoration: none; -} - diff --git a/themes/hugo-theme-novela/assets/js/addFormStyles.js b/themes/hugo-theme-novela/assets/js/addFormStyles.js deleted file mode 100644 index 0dad1d5..0000000 --- a/themes/hugo-theme-novela/assets/js/addFormStyles.js +++ /dev/null @@ -1,27 +0,0 @@ -document.getElementById("submitButton").addEventListener("click", addErrorStyles); -document.getElementById("emailInput").addEventListener("keyup", updateStyles); - -subscriptionForm = document.getElementById("subscriptionForm"); -emailField = document.getElementById("emailInput"); -submitted = false; - -function addErrorStyles(){ - submitted = true; - updateClasses(); -} - -function updateStyles(){ - if (submitted === true){ - updateClasses(); - } -} - -function updateClasses(){ - if(emailField.validity.valid){ - subscriptionForm.classList.remove("submitted-form"); - } - else{ - subscriptionForm.classList.add("submitted-form"); - emailField.classList.add("submitted-input"); - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/js/collapseAuthors.js b/themes/hugo-theme-novela/assets/js/collapseAuthors.js deleted file mode 100644 index a9ec2fd..0000000 --- a/themes/hugo-theme-novela/assets/js/collapseAuthors.js +++ /dev/null @@ -1,22 +0,0 @@ -let collapsed = true; - -function displayCoauthors(){ - document.getElementById("uncollapsedCoauthors").classList.remove("hidden"); -} - -function hideCoauthors(){ - document.getElementById("uncollapsedCoauthors").classList.add("hidden"); -} - -function bindCollapseAuthors() { - const collapsedCoauthorsElement = document.getElementById("collapsedCoauthors"); - - if (collapsedCoauthorsElement === null) { - return; - } - - collapsedCoauthorsElement.addEventListener("click", displayCoauthors); - document.getElementById("uncollapsedAction").addEventListener("click", hideCoauthors); -} - -bindCollapseAuthors(); diff --git a/themes/hugo-theme-novela/assets/js/copyUrl.js b/themes/hugo-theme-novela/assets/js/copyUrl.js deleted file mode 100644 index a850c8d..0000000 --- a/themes/hugo-theme-novela/assets/js/copyUrl.js +++ /dev/null @@ -1,18 +0,0 @@ -document.getElementById("copyButton").addEventListener("click", copyToClipboard); - -let currentUrl = window.location; -let copyTextContainer = document.getElementById("copyText"); -let toolTip = document.getElementById("toolTip"); - -function copyToClipboard(){ - copyTextContainer.value = currentUrl - copyTextContainer.focus(); - copyTextContainer.select(); - document.execCommand("copy"); - - toolTip.style.animationName = "pan-toolbar"; - - setTimeout(function(){ - toolTip.style.removeProperty('animation-name'); - }, 2000); -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/js/initColors.js b/themes/hugo-theme-novela/assets/js/initColors.js deleted file mode 100644 index 66e23bd..0000000 --- a/themes/hugo-theme-novela/assets/js/initColors.js +++ /dev/null @@ -1,58 +0,0 @@ - -let be = document.getElementsByTagName("BODY")[0]; - -initColors(); - -function initColors(){ - if (localStorage.getItem("isLight") === null) { - localStorage.setItem("isLight", 'true'); - } - - if (localStorage.getItem("isLight") === 'false'){ - makeDark(); - } - else{ - makeLight(); - } -} - - -function makeDark(){ - be.style.setProperty('--primary', "#fff"); - be.style.setProperty('--secondary', "#fff"); - be.style.setProperty('--grey', "#73737D"); - be.style.setProperty('--background-color', "#111216"); - be.style.setProperty('--accent', "#E9DAAC"); - be.style.setProperty('--hover', "rgba(255, 255, 255, 0.07)"); - be.style.setProperty('--gradient', "linear-gradient(180deg, #111216 0%, rgba(66, 81, 98, 0.36) 100%)"); - be.style.setProperty('--articleText', "#fff"); - be.style.setProperty('--track', "rgba(255, 255, 255, 0.3)"); - be.style.setProperty('--progress', "#fff"); - be.style.setProperty('--card', "#1D2128"); - be.style.setProperty('--error', "#EE565B"); - be.style.setProperty('--success', "#46B17B"); - be.style.setProperty('--errorBackground', "rgba(238, 86, 91, 0.1)"); - be.style.setProperty('--horizontalRule', "rgba(255, 255, 255, 0.15)"); - be.style.setProperty('--inputBackground', "rgba(255, 255, 255, 0.07)"); - be.style.setProperty('--tooltip', "#000"); -} - -function makeLight(){ - be.style.setProperty('--primary', ""); - be.style.setProperty('--secondary', ""); - be.style.setProperty('--grey', ""); - be.style.setProperty('--background-color', ""); - be.style.setProperty('--accent', ""); - be.style.setProperty('--hover', ""); - be.style.setProperty('--gradient', ""); - be.style.setProperty('--articleText', ""); - be.style.setProperty('--track', ""); - be.style.setProperty('--progress', ""); - be.style.setProperty('--card', ""); - be.style.setProperty('--error', ""); - be.style.setProperty('--success', ""); - be.style.setProperty('--errorBackground', ""); - be.style.setProperty('--horizontalRule', ""); - be.style.setProperty('--inputBackground', ""); - be.style.setProperty('--tooltip', "lightgrey"); -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/js/prism.js b/themes/hugo-theme-novela/assets/js/prism.js deleted file mode 100644 index 5355951..0000000 --- a/themes/hugo-theme-novela/assets/js/prism.js +++ /dev/null @@ -1,19 +0,0 @@ -/* PrismJS 1.21.0 -https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+git+go+json+json5+jsx+tsx+toml+typescript+yaml&plugins=line-numbers+toolbar+copy-to-clipboard */ -var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(u){var c=/\blang(?:uage)?-([\w-]+)\b/i,n=0,M={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return n instanceof W?new W(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/=l.reach);k+=y.value.length,y=y.next){var b=y.value;if(t.length>n.length)return;if(!(b instanceof W)){var x=1;if(h&&y!=t.tail.prev){m.lastIndex=k;var w=m.exec(n);if(!w)break;var A=w.index+(f&&w[1]?w[1].length:0),P=w.index+w[0].length,S=k;for(S+=y.value.length;S<=A;)y=y.next,S+=y.value.length;if(S-=y.value.length,k=S,y.value instanceof W)continue;for(var E=y;E!==t.tail&&(Sl.reach&&(l.reach=j);var C=y.prev;L&&(C=I(t,C,L),k+=L.length),z(t,C,x);var _=new W(o,g?M.tokenize(O,g):O,v,O);y=I(t,C,_),N&&I(t,y,N),1"+a.content+""},!u.document)return u.addEventListener&&(M.disableWorkerMessageHandler||u.addEventListener("message",function(e){var n=JSON.parse(e.data),t=n.language,r=n.code,a=n.immediateClose;u.postMessage(M.highlight(r,M.languages[t],t)),a&&u.close()},!1)),M;var e=M.util.currentScript();function t(){M.manual||M.highlightAll()}if(e&&(M.filename=e.src,e.hasAttribute("data-manual")&&(M.manual=!0)),!M.manual){var r=document.readyState;"loading"===r||"interactive"===r&&e&&e.defer?document.addEventListener("DOMContentLoaded",t):window.requestAnimationFrame?window.requestAnimationFrame(t):window.setTimeout(t,16)}return M}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism); -Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(a,e){var s={};s["language-"+e]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[e]},s.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:s}};n["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var t={};t[a]={pattern:RegExp("(<__[^]*?>)(?:))*\\]\\]>|(?!)".replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",t)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml; -!function(e){var s=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\((?!\s*\))\s*)(?:[^()]|\((?:[^()]|\([^()]*\))*\))+?(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+s.source+"|(?:[^\\\\\r\n()\"']|\\\\[^])*)\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+s.source+")*?(?=\\s*\\{)"),string:{pattern:s,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var t=e.languages.markup;t&&(t.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:t.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},t.tag))}(Prism); -Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}; -Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript; -Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m}; -Prism.languages.go=Prism.languages.extend("clike",{keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,number:/(?:\b0x[a-f\d]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[-+]?\d+)?)i?/i,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0}}),delete Prism.languages.go["class-name"]; -Prism.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json; -!function(n){var e=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;n.languages.json5=n.languages.extend("json",{property:[{pattern:RegExp(e.source+"(?=\\s*:)"),greedy:!0},{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*:)/,alias:"unquoted"}],string:{pattern:e,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+\.?\d*|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(Prism); -!function(i){var t=i.util.clone(i.languages.javascript);i.languages.jsx=i.languages.extend("markup",t),i.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+\s*(?:\s+(?:[\w.:$-]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,i.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,i.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">]+)/i,i.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,i.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},i.languages.jsx.tag),i.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:i.languages.jsx},alias:"language-javascript"}},i.languages.jsx.tag);var o=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(o).join(""):""},p=function(t){for(var n=[],e=0;e"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):0]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},keyword:/\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),delete e.languages.typescript.parameter;var n=e.languages.extend("typescript",{});delete n["class-name"],e.languages.typescript["class-name"].inside=n,e.languages.insertBefore("typescript","function",{"generic-function":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),e.languages.ts=e.languages.typescript}(Prism); -var typescript=Prism.util.clone(Prism.languages.typescript);Prism.languages.tsx=Prism.languages.extend("jsx",typescript); -!function(e){function n(e){return e.replace(/__/g,function(){return"(?:[\\w-]+|'[^'\n\r]*'|\"(?:\\\\.|[^\\\\\"\r\n])*\")"})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n("(^\\s*\\[\\s*(?:\\[\\s*)?)__(?:\\s*\\.\\s*__)*(?=\\s*\\])"),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n("(^\\s*|[{,]\\s*)__(?:\\s*\\.\\s*__)*(?=\\s*=)"),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:true|false)\b/,punctuation:/[.,=[\]{}]/}}(Prism); -!function(n){var t=/[*&][^\s[\]{},]+/,e=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+e.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+e.source+")?)";function a(n,t){t=(t||"").replace(/m/g,"")+"m";var e="([:\\-,[{]\\s*(?:\\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|]|}|\\s*#))".replace(/<>/g,function(){return r}).replace(/<>/g,function(){return n});return RegExp(e,t)}n.languages.yaml={scalar:{pattern:RegExp("([\\-:]\\s*(?:\\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\\2[^\r\n]+)*)".replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp("((?:^|[:\\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)[^\r\n{[\\]},#\\s]+?(?=\\s*:\\s)".replace(/<>/g,function(){return r})),lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a("\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ \t]+)\\d\\d?:\\d{2}:\\d{2}(?:\\.\\d*)?[ \t]*(?:Z|[-+]\\d\\d?(?::\\d{2})?)?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(?::\\d{2}(?:\\.\\d*)?)?"),lookbehind:!0,alias:"number"},boolean:{pattern:a("true|false","i"),lookbehind:!0,alias:"important"},null:{pattern:a("null|~","i"),lookbehind:!0,alias:"important"},string:{pattern:a("(\"|')(?:(?!\\2)[^\\\\\r\n]|\\\\.)*\\2"),lookbehind:!0,greedy:!0},number:{pattern:a("[+-]?(?:0x[\\da-f]+|0o[0-7]+|(?:\\d+\\.?\\d*|\\.?\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)","i"),lookbehind:!0},tag:e,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml}(Prism); -!function(){if("undefined"!=typeof self&&self.Prism&&self.document){var o="line-numbers",a=/\n(?!$)/g,e=Prism.plugins.lineNumbers={getLine:function(e,n){if("PRE"===e.tagName&&e.classList.contains(o)){var t=e.querySelector(".line-numbers-rows"),i=parseInt(e.getAttribute("data-start"),10)||1,r=i+(t.children.length-1);n");(i=document.createElement("span")).setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=l,t.hasAttribute("data-start")&&(t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)),e.element.appendChild(i),u([t]),Prism.hooks.run("line-numbers",e)}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})}function u(e){if(0!=(e=e.filter(function(e){var n=t(e)["white-space"];return"pre-wrap"===n||"pre-line"===n})).length){var n=e.map(function(e){var n=e.querySelector("code"),t=e.querySelector(".line-numbers-rows");if(n&&t){var i=e.querySelector(".line-numbers-sizer"),r=n.textContent.split(a);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var s=i.getBoundingClientRect().height;return i.innerHTML="",{element:e,lines:r,lineHeights:[],oneLinerHeight:s,sizer:i}}}).filter(Boolean);n.forEach(function(e){var i=e.sizer,n=e.lines,r=e.lineHeights,s=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach(function(e,n){if(e&&1 100){ - progressBar.style.animationName = "progress-fade-out"; - setTimeout(function(){ - progressBar.style.opacity = "0"; - }, 500); - } - else{ - progressBar.style.animationName = "progress-fade-in"; - setTimeout(function(){ - progressBar.style.opacity = "1"; - }, 500); - } -} diff --git a/themes/hugo-theme-novela/assets/js/toggleBorder.js b/themes/hugo-theme-novela/assets/js/toggleBorder.js deleted file mode 100644 index a03e3fc..0000000 --- a/themes/hugo-theme-novela/assets/js/toggleBorder.js +++ /dev/null @@ -1,13 +0,0 @@ -window.addEventListener("resize", adjustListBorder); - -let listRemoveWidth = window.matchMedia("(max-width: 1070px)"); -let listAddWidth = window.matchMedia("(min-width: 1070px)"); - -function adjustListBorder(){ - if (listRemoveWidth.matches) { - document.getElementById("articlesList").classList.remove("author-alc"); - } - else if (listAddWidth.matches) { - document.getElementById("articlesList").classList.add("author-alc"); - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/js/toggleColors.js b/themes/hugo-theme-novela/assets/js/toggleColors.js deleted file mode 100644 index 42c1de8..0000000 --- a/themes/hugo-theme-novela/assets/js/toggleColors.js +++ /dev/null @@ -1,104 +0,0 @@ -document.getElementById("themeColorButton").addEventListener("click", toggleColors); - -let bodyElement = document.getElementsByTagName("BODY")[0]; -let moonOrSun = document.getElementById("moonOrSun"); -let sunRays = document.getElementById("sunRays"); -let moonMask = document.getElementById("moonMask"); - -initAnimation(); - -function initAnimation(){ - if (localStorage.getItem("isLight") === 'true'){ - moonMask.style.top = "-8px"; - moonMask.style.right = "-5px"; - moonOrSun.style.transform = "scale(1)" - sunRays.style.transform = "scale(0.1)" - } - else{ - moonMask.style.top = "-25px"; - moonMask.style.right = "-15px"; - moonOrSun.style.transform = "scale(0.5)" - sunRays.style.transform = "scale(0.6)" - } -} - -function toggleColors(){ - if (localStorage.getItem("isLight") === 'true'){ - makeDark(); - - moonMask.classList.add("mask-to-sun-animation"); - moonOrSun.classList.add("to-sun-animation"); - sunRays.classList.add("expand-rays"); - - setTimeout(function(){ - sunRays.classList.remove("expand-rays"); - }, 500); - setTimeout(function(){ - moonMask.classList.remove("mask-to-sun-animation"); - moonOrSun.classList.remove("to-sun-animation"); - initAnimation(); - }, 400); - - localStorage.setItem("isLight", 'false'); - } - else{ - makeLight(); - - moonMask.classList.add("mask-to-moon-animation"); - moonOrSun.classList.add("to-moon-animation"); - sunRays.classList.add("contract-rays"); - - - setTimeout(function(){ - sunRays.classList.remove("contract-rays"); - }, 500); - setTimeout(function(){ - moonMask.classList.remove("mask-to-moon-animation"); - moonOrSun.classList.remove("to-moon-animation"); - sunRays.classList.remove("contract-rays"); - initAnimation(); - }, 400); - - localStorage.setItem("isLight", 'true'); - } -} - -function makeDark(){ - bodyElement.style.setProperty('--primary', "#fff"); - bodyElement.style.setProperty('--secondary', "#fff"); - bodyElement.style.setProperty('--grey', "#73737D"); - bodyElement.style.setProperty('--background-color', "#111216"); - bodyElement.style.setProperty('--accent', "#E9DAAC"); - bodyElement.style.setProperty('--hover', "rgba(255, 255, 255, 0.07)"); - bodyElement.style.setProperty('--gradient', "linear-gradient(180deg, #111216 0%, rgba(66, 81, 98, 0.36) 100%)"); - bodyElement.style.setProperty('--articleText', "#fff"); - bodyElement.style.setProperty('--track', "rgba(255, 255, 255, 0.3)"); - bodyElement.style.setProperty('--progress', "#fff"); - bodyElement.style.setProperty('--card', "#1D2128"); - bodyElement.style.setProperty('--error', "#EE565B"); - bodyElement.style.setProperty('--success', "#46B17B"); - bodyElement.style.setProperty('--errorBackground', "rgba(238, 86, 91, 0.1)"); - bodyElement.style.setProperty('--horizontalRule', "rgba(255, 255, 255, 0.15)"); - bodyElement.style.setProperty('--inputBackground', "rgba(255, 255, 255, 0.07)"); - bodyElement.style.setProperty('--tooltip', "#000"); -} - -function makeLight(){ - bodyElement.style.setProperty('--primary', ""); - bodyElement.style.setProperty('--secondary', ""); - bodyElement.style.setProperty('--grey', ""); - bodyElement.style.setProperty('--background-color', ""); - bodyElement.style.setProperty('--accent', ""); - bodyElement.style.setProperty('--hover', ""); - bodyElement.style.setProperty('--gradient', ""); - bodyElement.style.setProperty('--articleText', ""); - bodyElement.style.setProperty('--track', ""); - bodyElement.style.setProperty('--progress', ""); - bodyElement.style.setProperty('--card', ""); - bodyElement.style.setProperty('--error', ""); - bodyElement.style.setProperty('--success', ""); - bodyElement.style.setProperty('--errorBackground', ""); - bodyElement.style.setProperty('--horizontalRule', ""); - bodyElement.style.setProperty('--inputBackground', ""); - bodyElement.style.setProperty('--tooltip', "lightgrey"); -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/js/toggleLayout.js b/themes/hugo-theme-novela/assets/js/toggleLayout.js deleted file mode 100644 index b89b0b5..0000000 --- a/themes/hugo-theme-novela/assets/js/toggleLayout.js +++ /dev/null @@ -1,32 +0,0 @@ -document.getElementById("btnGrid").addEventListener("click", makeGrid); -document.getElementById("btnRows").addEventListener("click", makeRows); -window.addEventListener("resize", adjustListAtMobile); - -document.getElementById("rows").style.fill = "var(--grey)"; - -let listRemoveWidth = window.matchMedia("(max-width: 735px)"); -let listAddWidth = window.matchMedia("(min-width: 735px)"); -let isList = false; - -function adjustListAtMobile(){ - if (listRemoveWidth.matches) { - document.getElementById("articlesList").classList.remove("articles-list-container-alt"); - } - else if (listAddWidth.matches && isList === true) { - document.getElementById("articlesList").classList.add("articles-list-container-alt"); - } -} - -function makeGrid(){ - document.getElementById("articlesList").classList.remove("articles-list-container-alt"); - document.getElementById("tiles").style.fill = "var(--primary)"; - document.getElementById("rows").style.fill = "var(--grey)"; - isList = false; -} - -function makeRows(){ - document.getElementById("articlesList").classList.add("articles-list-container-alt"); - document.getElementById("rows").style.fill = "var(--primary)"; - document.getElementById("tiles").style.fill = "var(--grey)"; - isList = true; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/js/toggleLogos.js b/themes/hugo-theme-novela/assets/js/toggleLogos.js deleted file mode 100644 index cc9b135..0000000 --- a/themes/hugo-theme-novela/assets/js/toggleLogos.js +++ /dev/null @@ -1,15 +0,0 @@ -window.addEventListener("resize", toggleLogo); - -let lrw = window.matchMedia("(max-width: 735px)"); -let law = window.matchMedia("(min-width: 735px)"); - -function toggleLogo(){ - if (lrw.matches) { - document.getElementById("logo-mobile").classList.remove("hidden"); - document.getElementById("logo-desktop").classList.add("hidden"); - } - else if (law.matches) { - document.getElementById("logo-mobile").classList.add("hidden"); - document.getElementById("logo-desktop").classList.remove("hidden"); - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/anchor.scss b/themes/hugo-theme-novela/assets/scss/anchor.scss deleted file mode 100644 index 43b57c2..0000000 --- a/themes/hugo-theme-novela/assets/scss/anchor.scss +++ /dev/null @@ -1,16 +0,0 @@ -a{ - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - color: var(--accent); -} - -a:visited { - color: var(--accent); - opacity: 0.85; -} - -a:hover, -a:focus { - text-decoration: underline; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/article.scss b/themes/hugo-theme-novela/assets/scss/article.scss deleted file mode 100644 index 918553f..0000000 --- a/themes/hugo-theme-novela/assets/scss/article.scss +++ /dev/null @@ -1,503 +0,0 @@ -/**************************************ARTICLE HEAD**************************************/ - -.article-hero{ - @media screen and (max-width: $phablet){ - &::before { - content: ""; - width: 100%; - height: 20px; - background: var(--primary); - position: absolute; - left: 0; - top: 0; - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - } - - &::after { - content: ""; - width: 100%; - height: 10px; - background: var(--background-color); - position: absolute; - left: 0; - top: 10px; - border-top-left-radius: 25px; - border-top-right-radius: 25px; - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - } - } -} - -.article-meta{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - margin-left: 0; - flex-direction: column; - } -} - -.article-header{ - position: relative; - z-index: 10; - margin:100px auto 120px; - padding-left: 68px; - max-width: 749px; - - @media screen and (max-width: $desktop){ - padding-left: 53px; - max-width: calc(507px + 53px); - margin: 100px auto 70px; - } - - @media screen and (max-width: $tablet){ - padding-left: 0; - margin: 100px auto 70px; - max-width: 480px; - } - - @media screen and (max-width: $phablet){ - margin: 170px auto 180px; - padding: 0 40px; - } - - @media screen and (max-height: 700px) { - margin: 100px auto; - } -} - -.article-hero-heading{ - font-size: 48px; - font-family: var(--serif); - margin-bottom: 25px; - font-weight: bold; - line-height: 1.32; - - @media screen and (max-width: $tablet){ - margin-bottom: 20px; - font-size: 36px; - } - - @media screen and (max-width: $phablet){ - font-size: 32px; - } -} - -.article-hero-subtitle{ - padding: 10px; - max-width: 700px; - margin-left: auto; - margin-right: auto; - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - font-size: 18px; - color: var(--grey); - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - border: 1px solid var(--horizontalRule); - border-radius: 5px; - } - - @media screen and(max-width: $phablet){ - font-size: 14px; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - - &.has-coauthors::before{ - content: ''; - position: absolute; - left: -20px; - right: -20px; - top: -10px; - bottom: -10px; - border: 1px solid var(--horizontalRule); - opacity: 0.5; - border-radius: 5px; - } - - strong { - display: block; - font-weight: 500; - margin-bottom: 5px; - } - } -} - -.article-hero-image{ - position: absolute; - z-index: 1; - width: 100%; - max-width: 944px; - overflow: hidden; - margin: 0 auto; - -webkit-box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.2), - 0 18px 36px -18px rgba(0, 0, 0, 0.22); - box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.2), - 0 18px 36px -18px rgba(0, 0, 0, 0.22); - - img{ - width: 100%; - } - - /*DESKTOP MEDIUM*/ - @media screen and (max-width: $desktop_medium){ - position: relative; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - max-width: 100%; - } - - /*PHABLET*/ - @media screen and (max-width: phablet){ - margin: 0 auto; - width: calc(100vw - 40px); - height: 220px; - - & > div { - height: 220px; - } - } -} - -.article-author-link{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: inherit; - - &:hover{ - text-decoration: none; - } - - &:visited{ - color: inherit; - } - - strong { - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - } - - &:hover strong { - color: var(--primary); - } -} - -.article-author-avatar{ - height: 25px; - width: 25px; - border-radius: 50%; - margin-right: 14px; - background: var(--grey); - overflow: hidden; - - img{ - width: 100%; - } - - .gatsby-image-wrapper > div { - padding-bottom: 100% !important; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - display: none; - } -} - -.hide-on-mobile{ - /*PHABLET*/ - @media screen and (max-width: $phablet){ - display: none; - } -} - -.article-coauthors-container{ - margin-right: 10px; - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 18px; - color: var(--grey); - cursor: pointer; - - &::before { - content: ""; - position: absolute; - left: 0; - right: 0; - top: -16px; - bottom: -16px; - background: var(--card); - -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); - box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); - border-radius: 5px; - z-index: 0; - -webkit-transition: opacity 0.3s; - -o-transition: opacity 0.3s; - transition: opacity 0.3s; - cursor: pointer; - opacity: 0; - } - - &:hover::before { - opacity: 1; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - font-size: 14px; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - - &::before { - -webkit-box-shadow: none; - box-shadow: none; - bottom: -30px; - background: transparent; - } - - - strong { - display: block; - font-weight: semi-bold; - margin-bottom: 5px; - } - } -} - -.article-coauthors-collapsed{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; -} - -.article-coauthors-list{ - position: relative; - height: 25px; - margin-right: 15px; - margin-left: 15px; - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - display: none; - } -} - -.article-coauthors-avatar{ - position: absolute; - height: 25px; - width: 25px; - border-radius: 50%; - z-index: 1; - background: var(--grey); - -webkit-box-shadow: 0 0 0 2px var(--background-color); - box-shadow: 0 0 0 2px var(--background-color); - -webkit-transition: -webkit-box-shadow 0.25s ease; - transition: -webkit-box-shadow 0.25s ease; - -o-transition: box-shadow 0.25s ease; - transition: box-shadow 0.25s ease; - transition: box-shadow 0.25s ease, -webkit-box-shadow 0.25s ease; - overflow: hidden; - pointer-events: none; - - img{ - width: 100%; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - display: none; - } -} - -.article-coauthors-name-container{ - position: relative; - max-width: 260px; - white-space: nowrap; - overflow: hidden; - -o-text-overflow: ellipsis; - text-overflow: ellipsis; - font-weight: 600; - cursor: pointer; - - /*DESKTOP*/ - @media screen and (max-width: $desktop){ - max-width: 120px; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - max-width: 200px; - } -} - -.article-coauthors-icon-container{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - position: relative; - cursor: pointer; - margin-left: 10px; - margin-right: 10px; - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - position: absolute; - right: 0; - bottom: 0; - top: 10px; - height: 100%; - } - -} - -.article-coauthors-list-open{ - position: absolute; - z-index: 2; - left: -21px; - right: -21px; - top: -19px; - padding: 21px; - background: var(--card); - -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); - box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); - border-radius: 5px; - cursor: pointer; - list-style-type: none; - -webkit-transform: translateY(-2px); - -ms-transform: translateY(-2px); - transform: translateY(-2px); - - - li::before{ - display: none; - } -} - -.article-icon-open-container{ - position: absolute; - cursor: pointer; - top: 25px; - right: 10px; - -} - -.article-coauthors-list-item-open{ - padding: 0; - a { - width: 100%; - } - - &:not(:last-child) { - margin-bottom: 10px; - } -} - -.article-coauthor-avatar-open{ - height: 25px; - width: 25px; - border-radius: 50%; - margin-right: 15px; - background: var(--grey); - overflow: hidden; - pointer-events: none; - - img{ - width: 100%; - } - - .gatsby-image-wrapper > div { - padding-bottom: 100% !important; - overflow: hidden; - } -} - -.article-author-name-open{ - position: relative; - cursor: pointer; - color: var(--secondary); - font-weight: 600; -} - -/**************************************ARTICLE BODY**************************************/ - -.post-content{ - padding: 160px 0 35px; -} - -/**************************************ARTICLE NEXT**************************************/ - -.footer-next-heading{ - display: block; - font-size: 1.6rem; - position: relative; - opacity: 0.25; - margin-left: 0; - margin-right: 0; - margin-bottom: 100px; - min-width: 100%; - font-weight: 400; - color: var(--primary); - - /*TABLET*/ - @media screen and (max-width: $tablet){ - margin-bottom: 60px; - } - - &::after { - content: ''; - position: absolute; - background: var(--grey); - width: 62%; - max-width: 100%; - height: 1px; - right: 0; - top: 50%; - - /*TABLET*/ - @media screen and (max-width: $tablet){ - width: 41.7%; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - width: 27.8%; - } - - /*PHONE*/ - @media screen and (max-width: $phone){ - width: 90px; - } - } -} - -.footer-spacer{ - margin-bottom: 65px; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/articles.scss b/themes/hugo-theme-novela/assets/scss/articles.scss deleted file mode 100644 index ca2f01a..0000000 --- a/themes/hugo-theme-novela/assets/scss/articles.scss +++ /dev/null @@ -1,624 +0,0 @@ -/****************************************HEADER****************************************/ - -.subheading-container{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - margin-bottom: 100px; - - /*DESKTOP*/ - @media screen and (max-width: $desktop){ - margin-bottom: 80px; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - margin-bottom: 60px; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - display: none; - } -} - -.grid-controls-container{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - - /*TABLET*/ - @media screen and (max-width: $tablet){ - display: none !important; - } -} - -.heading-container{ - margin: 100px 0; - - /*DESKTOP*/ - @media screen and (max-width: $desktop){ - width: 80%; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - width: 100%; - } -} - -.hero-heading{ - font-style: normal; - font-weight: 600; - font-size: 52px; - font-family: var(--sanserif); - line-height: 1.15; - color: var(--primary); - margin: 0; - - /*DESKTOP*/ - @media screen and (max-width: $desktop){ - font-size: 38px - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - font-size: 32px; - } -} - -.grid-button{ - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - height: 36px; - width: 36px; - border-radius: 50%; - background: transparent; - -webkit-transition: background 0.25s; - -o-transition: background 0.25s; - transition: background 0.25s; - - &:not(:last-child) { - margin-right: 30px; - } - - &:hover { - background: var(--hover); - } - - &[data-a11y="true"]:focus::after { - content: ""; - position: absolute; - left: -10%; - top: -10%; - width: 120%; - height: 120%; - border: 2px solid var(--accent); - background: rgba(255, 255, 255, 0.01); - border-radius: 50%; - } - - svg { - -webkit-transition: opacity 0.2s; - -o-transition: opacity 0.2s; - transition: opacity 0.2s; - - path { - fill: var(--primary); - } - } -} - -/****************************************LIST****************************************/ - -/*LIMIT TO TWO LINES*/ -.limit-to-two-lines, .articles-title, .article-excerpt{ - -o-text-overflow: ellipsis; - text-overflow: ellipsis; - overflow-wrap: normal; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - display: -webkit-box; - white-space: normal; - overflow: hidden; - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - -webkit-line-clamp: 3; - } -} - -/*SHOW DETAILS*/ -.show-details{ - p { - display: -webkit-box; - } - - h2 { - margin-bottom: 10px; - } -} - -.articles-list-container{ - -webkit-transition: opacity 0.25s; - -o-transition: opacity 0.25s; - transition: opacity 0.25s; -} - -.author-alc{ - background-image: -webkit-gradient(linear, left top, left bottom, from(var(--card)), to(var(--background-color))); - background-image: -o-linear-gradient(var(--card), var(--background-color)); - background-image: linear-gradient(var(--card), var(--background-color)); - padding-top: 90px; - - .post-row-alt{ - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - .article-link{ - max-width: 40%!important; - margin: 15px; - } - } -} - -/*LIST TITLE*/ -.list-title{ - position: relative; - display: -ms-grid; - display: grid; - -ms-grid-columns: - '457px 1fr'; - grid-template-columns: - '457px 1fr'; - -ms-grid-rows: 2; - grid-template-rows: 2; - -webkit-column-gap: 30px; - -moz-column-gap: 30px; - column-gap: 30px; - - &:not(:last-child) { - margin-bottom: 75px; - } - - /*DESKTOP MEDIUM*/ - @media screen and (max-width: $desktop_medium){ - grid-template-columns: 1fr 1fr; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - grid-template-columns: 1fr; - - &:not(:last-child) { - margin-bottom: 0; - } - } - -} -.list-title > *:nth-child(1){ - -ms-grid-row: 1; - -ms-grid-column: 1 - -} - -.list-title-alt{ - -ms-grid-columns: - '457px 1fr'; - grid-template-columns: - '457px 1fr'; -} - -.list-item-row{ - display: -ms-grid; - display: grid; - -ms-grid-rows: 1fr; - grid-template-rows: 1fr; - -ms-grid-columns: 1fr 96px 488px; - grid-template-columns: 1fr 488px; - grid-column-gap: 96px; - -ms-grid-rows: 1; - grid-template-rows: 1; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - position: relative; - margin-bottom: 50px; - - /*DESKTOP*/ - @media screen and (max-width: $desktop){ - grid-column-gap: 24px; - grid-template-columns: 1fr 380px; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - grid-template-columns: 1fr; - } - - @media (max-width: 540px) { - background: var(--card); - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - -webkit-box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2); - box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2); - border-bottom-right-radius: 5px; - border-bottom-left-radius: 5px; - } - - -}.list-item-row > *:nth-child(1){ - -ms-grid-row: 1; - -ms-grid-column: 1; - - -}.list-item-row > *:nth-child(2){ - -ms-grid-row: 1; -} - -.list-item-tile{ - position: relative; - - /*TABLET*/ - @media screen and (max-width: $tablet){ - margin-bottom: 60px; - } - - @media (max-width: 540px) { - background: var(--card); - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - margin-bottom: 40px; - -webkit-box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2); - box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2); - border-bottom-right-radius: 5px; - border-bottom-left-radius: 5px; - } -} - -.list-row{ - display: -ms-grid; - display: grid; - -ms-grid-rows: "1fr 1fr"; - grid-template-rows: "1fr 1fr"; -} - -.list-row-alt{ - -ms-grid-rows: "1fr"; - grid-template-rows: "1fr"; -} - -.image-container{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; - position: relative; - height: 280px; - -webkit-box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.22), - 0 18px 36px -18px rgba(0, 0, 0, 0.25); - box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.22), - 0 18px 36px -18px rgba(0, 0, 0, 0.25); - margin-bottom: 30px; - -webkit-transition: -webkit-transform 0.3s var(--ease-out-quad), - -webkit-box-shadow 0.3s var(--ease-out-quad); - transition: -webkit-transform 0.3s var(--ease-out-quad), - -webkit-box-shadow 0.3s var(--ease-out-quad); - -o-transition: transform 0.3s var(--ease-out-quad), - box-shadow 0.3s var(--ease-out-quad); - transition: transform 0.3s var(--ease-out-quad), - box-shadow 0.3s var(--ease-out-quad); - transition: transform 0.3s var(--ease-out-quad), - box-shadow 0.3s var(--ease-out-quad), - -webkit-transform 0.3s var(--ease-out-quad), - -webkit-box-shadow 0.3s var(--ease-out-quad); - - & > div { - height: 100%; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - height: 200px; - margin-bottom: 35px; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - overflow: hidden; - margin-bottom: 0; - -webkit-box-shadow: none; - box-shadow: none; - border-top-right-radius: 5px; - border-top-left-radius: 5px; - } -} - -.article-image{ - -ms-flex-negative: 0; - flex-shrink: 0; - max-width: 100%; - min-height: 100%; - -o-object-fit: cover; - object-fit: cover; -} - -.article-title{ - font-size: 21px; - font-family: var(--serif); - margin-bottom: 35px; - -webkit-transition: color 0.3s ease-in-out; - -o-transition: color 0.3s ease-in-out; - transition: color 0.3s ease-in-out; - - /*DESKTOP*/ - @media screen and (max-width: $desktop){ - margin-bottom: 15px; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - font-size: 24px; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - font-size: 22px; - padding: 0 20px 0; - margin-bottom: 10px; - -webkit-line-clamp: 3; - } -} - -.article-excerpt{ - font-size: 16px; - margin-left: 0; - margin-right: 0; - margin-bottom: 10px; - color: var(--grey); - display: none; - - /*DESKTOP*/ - @media screen and (max-width: $desktop){ - display: -webkit-box; - } - - /*PHABLET*/ - @media screem and (max-width: $phablet){ - margin-bottom: 15px; - max-width: 100%; - padding: 0 20px; - margin-bottom: 20px; - -webkit-line-clamp: 3; - } -} - -.article-metadata{ - font-weight: 600; - font-size: 16px; - color: var(--grey); - opacity: 0.33; - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - max-width: 100%; - padding: 0 20px 30px; - } -} - -.post-row{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - margin-bottom: 100px; - - /*TABLET*/ - @media screen and (max-width: $tablet){ - margin: 0; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - } -} - -.post-row-alt{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - margin-bottom: 100px; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - - .article-link{ - margin-top: 75px; - max-width: 48.3%; - - /*TABLET*/ - @media screen and (max-width: $tablet){ - max-width: 100%; - } - } -} - -.article-link{ - max-width: 39.5%; - position: relative; - display: block; - width: 100%; - top: 0; - left: 0; - border-radius: 5px; - z-index: 1; - -webkit-transition: -webkit-transform 0.33s var(--ease-out-quart); - transition: -webkit-transform 0.33s var(--ease-out-quart); - -o-transition: transform 0.33s var(--ease-out-quart); - transition: transform 0.33s var(--ease-out-quart); - transition: transform 0.33s var(--ease-out-quart), -webkit-transform 0.33s var(--ease-out-quart); - -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - - &:hover{ - text-decoration: none; - } - - &:hover .image-container, &:focus .image-container { - -webkit-transform: translateY(-1px); - -ms-transform: translateY(-1px); - transform: translateY(-1px); - -webkit-box-shadow: 0 50px 80px -20px rgba(0, 0, 0, 0.27), - 0 30px 50px -30px rgba(0, 0, 0, 0.3); - box-shadow: 0 50px 80px -20px rgba(0, 0, 0, 0.27), - 0 30px 50px -30px rgba(0, 0, 0, 0.3); - } - - &:hover h2, - &:focus h2 { - color: var(--accent); - } - - &[data-a11y="true"]:focus::after { - content: ""; - position: absolute; - left: -1.5%; - top: -2%; - width: 103%; - height: 104%; - border: 3px solid var(--accent); - background: rgba(255, 255, 255, 0.01); - border-radius: 5px; - } - - /*DESKTOP MEDIUM*/ - @media screen and (max-width: $desktop_medium){ - max-width: 48.5%; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - min-width: 80% !important; - display: block; - margin-bottom: 60px; - - p{ - padding: 0; - } - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - min-width: 100% !important; - margin-bottom: 40px; - -webkit-box-shadow: 0px 20px 40px rgba(0,0,0,0.2); - box-shadow: 0px 20px 40px rgba(0,0,0,0.2); - - &:hover .image-container { - -webkit-transform: none; - -ms-transform: none; - transform: none; - -webkit-box-shadow: initial; - box-shadow: initial; - } - - &:active { - -webkit-transform: scale(0.97) translateY(3px); - -ms-transform: scale(0.97) translateY(3px); - transform: scale(0.97) translateY(3px); - } - - p{ - padding: 0 20px 0; - } - } -} - -#article-link-bigger{ - max-width: 58.5% !important; - - /*DESKTOP MEDIUM*/ - @media screen and (max-width: $desktop_medium){ - max-width: 48.5% !important; - } -} - -.articles-list-container-alt{ - - .post-row{ - -ms-flex-wrap: wrap !important; - flex-wrap: wrap !important; - margin-bottom: 0; - - .article-link{ - display: -webkit-box !important; - display: -ms-flexbox !important; - display: flex !important; - min-width: 100% !important; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: none; - flex-wrap: none; - - .article-data-outer{ - display: -webkit-box !important; - display: -ms-flexbox !important; - display: flex !important; - min-width: 100% !important; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: none; - flex-wrap: none; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - - .image-container{ - max-width: 46%; - } - - .article-data{ - width: 46%; - } - } - } - - } - } \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/authors.scss b/themes/hugo-theme-novela/assets/scss/authors.scss deleted file mode 100644 index 58b4795..0000000 --- a/themes/hugo-theme-novela/assets/scss/authors.scss +++ /dev/null @@ -1,108 +0,0 @@ -/****************************HERO****************************/ -.author-hero{ - position: relative; - z-index: 1; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - margin: 35px auto 110px; -} - -.author-hero-image{ - position: relative; - z-index: 1; - height: 164px; - width: 164px; - margin-bottom: 35px; - border-radius: 50%; - overflow: hidden; - border: 2px solid var(background-color); - -webkit-box-shadow: 0px 15.619px 31.2381px rgba(0, 0, 0, 0.15); - box-shadow: 0px 15.619px 31.2381px rgba(0, 0, 0, 0.15); - border: 2px solid var(--card); - - img{ - width: 100%; - } - - /*TABLET*/ - @media screen and (max-width: $tablet){ - width: 146px; - height: 146px; - } - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - width: 136px; - height: 136px; - margin-bottom: 25px; - } -} - -.author-heading{ - font-size: 38px; - font-family: var(--sanserif); - color: var(--primary); - margin-bottom: 15px; - font-weight: 600; - text-align: center; -} - -.author-subheading{ - margin: 0 auto; - max-width: 450px; - color: var(--grey); - font-size: 18px; - font-family: var(--sanserif); - line-height: 1.4; - text-align: center; - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - font-size: 14px; - } -} - -.author-social{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - margin-top: 35px; - width: 100%; - - /*PHABLET*/ - @media screen and (max-width: $phablet){ - font-size: 14px; - } -} - -/****************************CONTENT****************************/ -.authors-gradient{ - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 590px; - z-index: 0; - pointer-events: none; - background: var(--gradient); - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/bio.scss b/themes/hugo-theme-novela/assets/scss/bio.scss deleted file mode 100644 index 1382b77..0000000 --- a/themes/hugo-theme-novela/assets/scss/bio.scss +++ /dev/null @@ -1,76 +0,0 @@ -.bio-container{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - position: relative; - left: -10px; -} - -.bio-link{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - - &:hover{ - text-decoration: none; - } -} - -.bio-avatar{ - display: block; - position: relative; - height: 40px; - width: 40px; - border-radius: 50%; - background: rgba(0, 0, 0, 0.25); - margin-right: 16px; - margin: 10px 26px 10px 10px; -} - -.bio-avatar::after { - content: ""; - position: absolute; - left: -5px; - top: -5px; - width: 50px; - height: 50px; - border-radius: 50%; - border: 1px solid rgba(0, 0, 0, 0.25); -} - -.bio-avatar[data-a11y="true"]:focus::after { - content: ""; - position: absolute; - left: -5px; - top: -5px; - width: 50px; - height: 50px; - border: 2px solid var(--accent); -} - -.bio-avatar-inner{ - height: 40px; - width: 40px; - border-radius: 50%; - background: rgba(0, 0, 0, 0.25); - margin-right: 16px; - overflow: hidden; -} - -.bio-text{ - margin-bottom: 0; - max-width: 430px; - font-size: 14px; - line-height: 1.45; - color: var(--grey); -} - -.author-avatar{ - width: 100%; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/blockquote.scss b/themes/hugo-theme-novela/assets/scss/blockquote.scss deleted file mode 100644 index 87dfb8c..0000000 --- a/themes/hugo-theme-novela/assets/scss/blockquote.scss +++ /dev/null @@ -1,36 +0,0 @@ -blockquote{ - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - margin: 15px auto 50px; - color: var(--articleText); - font-family: var(--serif); - font-style: italic; -} - -blockquote > p { - font-family: var(--serif); - max-width: 880px !important; - padding-right: 100px; - padding-bottom: 0; - width: 100%; - margin: 0 auto; - font-size: 36px; - line-height: 1.32; - font-weight: bold; -} - -@media screen and (max-width: 735px) { - blockquote{ - margin: 10px auto 35px; - font-size: 26px; - padding: 0 180px; - } -} - -@media screen and (max-width: 540px) { - blockquote{ - font-size: 36px; - padding: 0 20px 0 40px; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/code.scss b/themes/hugo-theme-novela/assets/scss/code.scss deleted file mode 100644 index 635a00a..0000000 --- a/themes/hugo-theme-novela/assets/scss/code.scss +++ /dev/null @@ -1,25 +0,0 @@ -.code-toolbar{ - max-width: 750px; - margin: 0 auto 35px; - overflow: auto; - font-size: 12px; - - pre{ - padding-top: 2.5em !important; - padding-bottom: 2.5em !important; - padding-left: 5em !important; - padding-right: 5em !important; - border-radius: 5px !important; - background-color: #292c34 !important; - - code{ - color: white; - } - } - - .toolbar-item{ - position: absolute; - top: 1em; - right: 1em; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/global.scss b/themes/hugo-theme-novela/assets/scss/global.scss deleted file mode 100644 index 1310fdd..0000000 --- a/themes/hugo-theme-novela/assets/scss/global.scss +++ /dev/null @@ -1,227 +0,0 @@ -@import "vars.scss"; -@import "anchor.scss"; -@import "bio.scss"; -@import "blockquote.scss"; -@import "headings.scss"; -@import "horizontal-rule.scss"; -@import "image.scss"; -@import "layout.scss"; -@import "lists.scss"; -@import "logo.scss"; -@import "navigation.scss"; -@import "paragraph.scss"; -@import "progress.scss"; -@import "social-links.scss"; -@import "subscription.scss"; -@import "tables.scss"; -@import "section.scss"; -@import "articles.scss"; -@import "home-articles.scss"; -@import "code.scss"; -@import "article.scss"; -@import "authors.scss"; -@import "paginator.scss"; - - -/** - * Thanks to Benjamin De Cock - * https://gist.github.com/bendc/ac03faac0bf2aee25b49e5fd260a727d - */ - :root { - --ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53); - --ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22); - --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94); - --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1); - --ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955); - --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1); -} - -@font-face { - font-family: "-apple-system", "BlinkMacSystemFont", "San Francisco", - "Helvetica Neue", "Helvetica", "Ubuntu", "Roboto", "Noto", "Segoe UI", - "Arial", sans-serif; - font-weight: 400; - font-style: normal; -} - -*, -*:before, -*:after { - -webkit-box-sizing: inherit; - box-sizing: inherit; - margin: 0; - padding: 0; - font-size: inherit; -} - -:root { - -ms-overflow-style: -ms-autohiding-scrollbar; - -webkit-box-sizing: border-box; - box-sizing: border-box; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-rendering: optimizeLegibility; - cursor: default; - font-size: 0.625rem; - line-height: 1.4; -} - -body { - font-family: "-apple-system", "BlinkMacSystemFont", "San Francisco", - "Helvetica Neue", "Helvetica", "Ubuntu", "Roboto", "Noto", "Segoe UI", - "Arial", sans-serif; - font-size: 1.6rem; - margin: 0; - font-weight: 400; - height: 100%; -} - -button, -a { - text-decoration: none; - cursor: pointer; -} - -a:focus { - outline: none; -} - -audio, -canvas, -iframe, -img, -svg, -video { - vertical-align: middle; -} - -input, -textarea, -select, -button { - font-family: "-apple-system", "BlinkMacSystemFont", "San Francisco", - "Helvetica Neue", "Helvetica", "Ubuntu", "Roboto", "Noto", "Segoe UI", - "Arial", sans-serif; -} - -.underline { - text-decoration: underline; -} - -button, -input, -select, -textarea { - color: inherit; - font-family: inherit; - font-style: inherit; - font-weight: inherit; -} - -code, -kbd, -pre, -samp { - font-family: monospace; -} - -fieldset, -button { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: none; - outline: none; - background: transparent; -} - -table { - border-collapse: separate; - border-spacing: 0; -} - -audio:not([controls]) { - display: none; -} - -details { - display: block; -} - -input { - &:focus, - &:active { - outline: none; - } - - &[type="number"] { - width: auto; - } -} - -img.Image__Zoom ~ div { - background: transparent !important; -} - -.Image__Small{ - width: 100%; - max-width: 680px; - margin-left: auto; - margin-right: auto; - margin-bottom: 35px; - img{ - width: 100%; - } -} - -.Image__medium{ - width: 100%; - margin-left: auto; - margin-right: auto; - margin-bottom: 35px; - img{ - width: 100%; - } -} - -.Image__large{ - width: 100%; - margin-bottom: 35px; - img{ - width: 100vw; - position: relative; - left: 50%; - right: 50%; - margin-left: -50vw; - margin-right: -50vw; - } -} - -.author-alc-section{ - padding-left: 0; - padding-right: 0; -} - -.icon-image{ - path{ - fill: var(--primary); - } -} - -img{ - max-width: 100%; - -webkit-animation-name: image-load-in; - animation-name: image-load-in; - -webkit-animation-duration: 0.8s; - animation-duration: 0.8s; -} - -@-webkit-keyframes image-load-in { - 0% {-webkit-filter: blur(8px);filter: blur(8px); opacity: 0;} - 100% {-webkit-filter: blur(0);filter: blur(0); opacity: 1;} -} - -@keyframes image-load-in { - 0% {-webkit-filter: blur(8px);filter: blur(8px); opacity: 0;} - 100% {-webkit-filter: blur(0);filter: blur(0); opacity: 1;} -} diff --git a/themes/hugo-theme-novela/assets/scss/headings.scss b/themes/hugo-theme-novela/assets/scss/headings.scss deleted file mode 100644 index 7cd11c0..0000000 --- a/themes/hugo-theme-novela/assets/scss/headings.scss +++ /dev/null @@ -1,91 +0,0 @@ -h1, h2, h3, h4, h5, h6{ - margin: 0 auto; - font-weight: bold; - color: var(--primary); - font-family: var(--serif); - width: 100%; - max-width: 680px; -} - -h1, h1 *, h2, h2 * { - margin: 25px auto 18px; -} - -h3, h3 * { - margin: 20px auto 10px; -} - -h1{ - font-size: 52px; - line-height: 1.15; -} - -h2{ - font-size: 32px; - line-height: 1.333; -} - -h3{ - font-size: 24px; - line-height: 1.45; -} - -h4{ - font-size: 18px; - line-height: 1.45; -} - -h5{ - font-size: 18px; - line-height: 1.45; -} - -h6{ - font-size: 16px; - line-height: 1.45; -} - -@media screen and (max-width: 1070px){ - h1{ - font-size: 38px; - line-height: 1.2; - } - h2{ - font-size: 21px; - } -} - -@media screen and (max-width: 737px){ - h1, h2{ - margin: 30px auto 18px; - } - h2{ - font-size: 24px; - line-height: 1.45; - } - h3{ - font-size: 22px; - } -} - -@media screen and (max-width: 540px){ - h1{ - font-size: 32px; - line-height: 1.3; - } - h2{ - font-size: 22px; - } - h3{ - font-size: 20px; - } - h4{ - font-size: 16px; - } - h5{ - font-size: 16px; - } - h6{ - font-size: 14px; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/home-articles.scss b/themes/hugo-theme-novela/assets/scss/home-articles.scss deleted file mode 100644 index b8d82c8..0000000 --- a/themes/hugo-theme-novela/assets/scss/home-articles.scss +++ /dev/null @@ -1,17 +0,0 @@ -.articles-gradient{ - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 590px; - z-index: 0; - pointer-events: none; - background: var(--gradient); - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); -} - -.articles-paginator{ - margin-top: 95px; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/horizontal-rule.scss b/themes/hugo-theme-novela/assets/scss/horizontal-rule.scss deleted file mode 100644 index b053d35..0000000 --- a/themes/hugo-theme-novela/assets/scss/horizontal-rule.scss +++ /dev/null @@ -1,32 +0,0 @@ -hr{ - position: relative; - width: 100%; - max-width: 680px; - margin: 50px auto; - border: 0; - height: 14.36px; - background-repeat: repeat-x; - -webkit-box-sizing: border-box; - box-sizing: border-box; - background-position: center; -} - -@media screen and (max-width: 1070px){ - hr{ - max-width: 507px; - } -} - -@media screen and (max-width: 735px){ - hr{ - max-width: 486px; - width: calc(100vw - 40px); - margin: 0px auto 50px; - } -} - -@media screen and (max-width: 340px){ - hr{ - padding: 0 20px; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/image.scss b/themes/hugo-theme-novela/assets/scss/image.scss deleted file mode 100644 index 6491f80..0000000 --- a/themes/hugo-theme-novela/assets/scss/image.scss +++ /dev/null @@ -1,29 +0,0 @@ -.image-placeholder{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; - background: #ccc; - color: #898989; - font-size: 32px; - font-weight: 600; -} - -.image-zoom{ - display: block; - margin: 0 auto; - width: 100%; -} - -@media screen and (max-width: 540px){ - .image-placeholder{ - font-size: 28px; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/layout.scss b/themes/hugo-theme-novela/assets/scss/layout.scss deleted file mode 100644 index 970be75..0000000 --- a/themes/hugo-theme-novela/assets/scss/layout.scss +++ /dev/null @@ -1,8 +0,0 @@ -.layout-styled{ - position: relative; - background: var(--background-color); - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - min-height: 100vh; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/lists.scss b/themes/hugo-theme-novela/assets/scss/lists.scss deleted file mode 100644 index 7703098..0000000 --- a/themes/hugo-theme-novela/assets/scss/lists.scss +++ /dev/null @@ -1,169 +0,0 @@ -ul{ - list-style: none; - counter-reset: list; - color: var(--articleText); - position: relative; - padding: 15px 0 30px 30px; - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - margin: 0 auto; - font-size: 18px; - - width: 100%; - max-width: 680px; -} - -/*DESKTOP*/ -@media screen and (max-width: 1070px){ - ul{ - max-width: 507px; - } -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - ul{ - max-width: 486px; - padding-left: 0px; - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - ul{ - padding-left: 20px; - } -} - -li{ - position: relative; - padding-bottom: 15px; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - ul li{ - padding-left: 30px; - } - - ul li p{ - padding: 0; - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - ul li{ - padding-left: 30px; - } -} - -ul li > *{ - display: inline; -} - -ul li::before{ - width: 3rem; - display: inline-block; - position: absolute; - color: var(--articleText); - content: ""; - position: absolute; - left: -30px; - top: 8px; - height: 8px; - width: 8px; - background: var(--articleText); -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - ul li::before{ - left: 0; - } -} - -ol{ - list-style: none; - counter-reset: list; - color: var(--articleText); - position: relative; - padding: 15px 0 30px 30px; - margin: 0 auto; - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - font-size: 18px; - width: 100%; - max-width: 680px; -} - -/*DESKTOP*/ -@media screen and (max-width: 1070px){ - ol{ - max-width: 507px; - } -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - ol{ - max-width: 486px; - padding-left: 0px; - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - ol{ - padding-left: 20px; - } -} - -ol li{ - position: relative; - padding-bottom: 15px; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - ol li{ - padding-left: 30px; - padding: 0; - } - ol li p{ - padding-left: 30px; - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - ol li{ - padding-left: 30px; - } -} - -ol li > *{ - display: inline; -} - -ol li::before { - width: 3rem; - display: inline-block; - position: absolute; - color: var(--articleText); - counter-increment: list; - content: counter(list) "."; - font-weight: 600; - position: absolute; - left: -3rem; - top: -0.3rem; - font-size: 2rem; -} - -@media screen and (max-width: 735px){ - ol li::before{ - left: 0; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/logo.scss b/themes/hugo-theme-novela/assets/scss/logo.scss deleted file mode 100644 index 8d00dae..0000000 --- a/themes/hugo-theme-novela/assets/scss/logo.scss +++ /dev/null @@ -1,21 +0,0 @@ -#logo-desktop{ - .change-fill{ - fill: var(--primary); - stroke: var(--primary); - } -} - -#logo-mobile{ - path{ - fill: var(--primary); - } -} - -@media screen and (max-width: 735px){ - .Logo__Desktop { - display: none; - } - .Logo__Mobile{ - display: block; - } -} diff --git a/themes/hugo-theme-novela/assets/scss/navigation.scss b/themes/hugo-theme-novela/assets/scss/navigation.scss deleted file mode 100644 index b4fe1c2..0000000 --- a/themes/hugo-theme-novela/assets/scss/navigation.scss +++ /dev/null @@ -1,524 +0,0 @@ -/************************FOOTER************************/ - -.footer-container{ - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - padding-bottom: 80px; - color: var(--grey); -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .footer-container{ - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - padding-bottom: 100px; - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - .footer-container{ - padding-bottom: 50px; - } -} - -.footer-hr{ - position: relative; - margin: 140px auto 50px; - border-bottom: 1px solid var(--horizontalRule); -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .footer-hr{ - margin: 60px auto; - } - .footer-text{ - margin-bottom: 80px; - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - .footer-hr{ - display: none; - } - .footer-text{ - margin: 120px auto 100px; - } -} - -.footer-gradient{ - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 590px; - z-index: 0; - pointer-events: none; - background: var(--gradient); - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - mix-blend-mode: lighten; -} - -/************************HEADER************************/ - -.back-arrow-ico-container{ - -webkit-transition: 0.2s -webkit-transform var(--ease-out-quad); - transition: 0.2s -webkit-transform var(--ease-out-quad); - -o-transition: 0.2s transform var(--ease-out-quad); - transition: 0.2s transform var(--ease-out-quad); - transition: 0.2s transform var(--ease-out-quad), 0.2s -webkit-transform var(--ease-out-quad); - opacity: 0; - padding-right: 30px; - -webkit-animation: fadein 0.3s linear forwards; - animation: fadein 0.3s linear forwards; -} - -@-webkit-keyframes fadein { - to { - opacity: 1; - } -} - -@keyframes fadein { - to { - opacity: 1; - } -} - -/*DESKTOP MEDIUM*/ -@media screen and (max-width: 1280px){ - .back-arrow-ico-container{ - display: none; - } -} - -.nav-container{ - position: relative; - z-index: 100; - padding-top: 100px; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; -} - -@media screen and (max-height: 800px) { - .nav-container{ - padding-top: 50px; - } -} - -/*DESKTOP MEDIUM*/ -@media screen and (max-width: 1280px){ - .nav-container{ - padding-top: 50px; - } -} - -.logo-link{ - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.logo-link[class*="data-ally"]:focus::after { - content: ""; - position: absolute; - left: -10%; - top: -30%; - width: 120%; - height: 160%; - border: 2px solid var(--accent); - background: rgba(255, 255, 255, 0.01); - border-radius: 5px; -} - -.logo-link[class*="back-arrow-ico-container"]{ - -webkit-transform: translateX(-3px); - -ms-transform: translateX(-3px); - transform: translateX(-3px); -} - -.logo-link:hover{ - text-decoration: none; -} - -/*DESKTOP MEDIUM*/ -@media screen and (max-width: 1280px){ - .logo-link{ - left: 0 - } -} - -.nav-controls{ - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - .nav-controls{ - right: -5px; - } -} - -.tool-tip{ - opacity: 0; - -webkit-transform: translateY(6px); - -ms-transform: translateY(6px); - transform: translateY(6px); - position: absolute; - padding: 4px 13px; - border-radius: 5px; - font-size: 14px; - top: -35px; - color: var(--primary); - background-color: var(--tooltip); - -webkit-animation-duration: 2s; - animation-duration: 2s; -} - -@-webkit-keyframes pan-toolbar { - 0% {opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px);} - 30% {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0);} - 70% {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0);} - 100% {opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px);} -} - -@keyframes pan-toolbar { - 0% {opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px);} - 30% {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0);} - 70% {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0);} - 100% {opacity: 0; -webkit-transform: translateY(6px); transform: translateY(6px);} -} - -.icon-wrapper{ - opacity: 0.5; - position: relative; - border-radius: 5px; - width: 40px; - height: 25px; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-transition: opacity 0.3s ease; - -o-transition: opacity 0.3s ease; - transition: opacity 0.3s ease; - margin-left: 30px; -} - -.icon-wrapper:hover{ - opacity: 1; -} - -.icon-wrapper[class*="data-ally"]:focus::after { - content: ""; - position: absolute; - left: 0; - top: -30%; - width: 100%; - height: 160%; - border: 2px solid var(--accent); - background: rgba(255, 255, 255, 0.01); - border-radius: 5px; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .icon-wrapper{ - display: -webkit-inline-box; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-transform: scale(0.708); - -ms-transform: scale(0.708); - transform: scale(0.708); - margin-left: 10px; - } - .icon-wrapper:hover{ - opacity: 0.5; - } -} - -.sun-rays{ - position: relative; - right: -16px; - width: 9px; - height: 9px; - border-radius: 50%; - border: 2px solid - var(--primary); - background: var(--primary); - -webkit-transform: 1; - -ms-transform: 1; - transform: 1; - -webkit-transition: all 0.45s ease; - -o-transition: all 0.45s ease; - transition: all 0.45s ease; - overflow: hidden; - -webkit-box-shadow: 0 -23px 0 var(--primary), - 0 23px 0 var(--primary), - 23px 0 0 var(--primary), - -23px 0 0 var(--primary), - 15px 15px 0 var(--primary), - -15px 15px 0 var(--primary), - 15px -15px 0 var(--primary), - -15px -15px 0 var(--primary); - box-shadow: 0 -23px 0 var(--primary), - 0 23px 0 var(--primary), - 23px 0 0 var(--primary), - -23px 0 0 var(--primary), - 15px 15px 0 var(--primary), - -15px 15px 0 var(--primary), - 15px -15px 0 var(--primary), - -15px -15px 0 var(--primary); - -webkit-transform: scale(0.6); - -ms-transform: scale(0.6); - transform: scale(0.6); -} - -.moon-or-sun{ - position: relative; - width: 24px; - height: 24px; - border-radius: 50%; - border: 2px solid - var(--primary); - background: var(--primary); - -webkit-transform: 1; - -ms-transform: 1; - transform: 1; - -webkit-transition: all 0.45s ease; - -o-transition: all 0.45s ease; - transition: all 0.45s ease; - overflow: hidden; -} - -.moon-mask{ - position: absolute; - right: -1px; - top: -8px; - height: 24px; - width: 24px; - border-radius: 50%; - border: 0; - background: var(--background-color); - -webkit-transform: translate("0, 0"); - -ms-transform: translate("0, 0"); - transform: translate("0, 0"); - opacity: 1; - -webkit-transition: var(--color-mode-transition), -webkit-transform 0.45s ease; - transition: var(--color-mode-transition), -webkit-transform 0.45s ease; - -o-transition: transform 0.45s ease, var(--color-mode-transition); - transition: transform 0.45s ease, var(--color-mode-transition); - transition: transform 0.45s ease, var(--color-mode-transition), -webkit-transform 0.45s ease; -} - -.mask-to-sun-animation{ - -webkit-animation-name: mask-to-sun; - animation-name: mask-to-sun; - -webkit-animation-duration: 0.4s; - animation-duration: 0.4s; -} - -.mask-to-moon-animation{ - -webkit-animation-name: mask-to-moon; - animation-name: mask-to-moon; - -webkit-animation-duration: 0.4s; - animation-duration: 0.4s; -} - -.to-sun-animation{ - -webkit-animation-name: to-sun; - animation-name: to-sun; - -webkit-animation-duration: 0.4s; - animation-duration: 0.4s; -} - -.to-moon-animation{ - -webkit-animation-name: to-moon; - animation-name: to-moon; - -webkit-animation-duration: 0.4s; - animation-duration: 0.4s; -} - -.expand-rays{ - -webkit-animation-name: expand-rays; - animation-name: expand-rays; - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; -} - -.contract-rays{ - -webkit-animation-name: contract-rays; - animation-name: contract-rays; - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; -} - -@-webkit-keyframes mask-to-sun { - from {top: -8px; right: -5px; -webkit-transform: scale(1); transform: scale(1);} - to {top: -25px; right: -15px; -webkit-transform: scale(0.5); transform: scale(0.5);} -} - -@keyframes mask-to-sun { - from {top: -8px; right: -5px; -webkit-transform: scale(1); transform: scale(1);} - to {top: -25px; right: -15px; -webkit-transform: scale(0.5); transform: scale(0.5);} -} - -@-webkit-keyframes mask-to-moon { - from {top: -25px; right: -15px; -webkit-transform: scale(0.5); transform: scale(0.5);} - to {top: -8px; right: -5px; -webkit-transform: scale(1); transform: scale(1);} -} - -@keyframes mask-to-moon { - from {top: -25px; right: -15px; -webkit-transform: scale(0.5); transform: scale(0.5);} - to {top: -8px; right: -5px; -webkit-transform: scale(1); transform: scale(1);} -} - -@-webkit-keyframes to-sun { - from {-webkit-transform: scale(1);transform: scale(1);} - to {-webkit-transform: scale(0.5);transform: scale(0.5);} -} - -@keyframes to-sun { - from {-webkit-transform: scale(1);transform: scale(1);} - to {-webkit-transform: scale(0.5);transform: scale(0.5);} -} - -@-webkit-keyframes to-moon { - from {-webkit-transform: scale(0.5);transform: scale(0.5);} - to {-webkit-transform: scale(1);transform: scale(1);} -} - -@keyframes to-moon { - from {-webkit-transform: scale(0.5);transform: scale(0.5);} - to {-webkit-transform: scale(1);transform: scale(1);} -} - -@-webkit-keyframes expand-rays { - from {-webkit-transform: scale(0.1);transform: scale(0.1);} - to {-webkit-transform: scale(0.6);transform: scale(0.6);} -} - -@keyframes expand-rays { - from {-webkit-transform: scale(0.1);transform: scale(0.1);} - to {-webkit-transform: scale(0.6);transform: scale(0.6);} -} - -@-webkit-keyframes contract-rays { - from {-webkit-transform: scale(0.6);transform: scale(0.6);} - to {-webkit-transform: scale(0.1);transform: scale(0.1);} -} - -@keyframes contract-rays { - from {-webkit-transform: scale(0.6);transform: scale(0.6);} - to {-webkit-transform: scale(0.1);transform: scale(0.1);} -} - - - -.header-hidden{ - position: absolute; - display: inline-block; - opacity: 0; - width: 0px; - height: 0px; - visibility: hidden; - overflow: hidden; -} - -/************************HEADER************************/ - -.page-button{ - font-weight: 600; - font-size: 18px; - text-decoration: none; - color: var(--primary); -} - -.page-button:hover, .page-button:focus{ - opacity: 1; - text-decoration: underline; -} - -.page-number-button{ - font-weight: 400; - font-size: 18px; - text-decoration: none; - color: var(--primary); -} - -.page-number-button:hover, .page-number-button:focus{ - text-decoration: underline; -} - -.spacer{ - opacity: 0.3; -} - -.spacer::before{ - content: "..."; -} - -.mobiler-reference{ - font-weight: 400; - color: var(--primary); -} - -.mobile-reference em{ - font-style: normal; - color: var(--primary); -} - -.frame{ - position: relative; - z-index: 1; - display: -webkit-inline-box; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .frame{ - left: -15px; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/paginator.scss b/themes/hugo-theme-novela/assets/scss/paginator.scss deleted file mode 100644 index 3ef098f..0000000 --- a/themes/hugo-theme-novela/assets/scss/paginator.scss +++ /dev/null @@ -1,48 +0,0 @@ -.pagination{ - z-index: 100; - margin: 0; - margin-top: 95px; - padding: 0; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - - &:hover{ - cursor: pointer; - } - - a:hover{ - color: var(--primary); - } - - .page-item{ - display: block; - width: auto; - height: auto; - padding: 0; - - .page-link{ - display: block; - color: var(--grey); - min-width: 6rem; - } - - .page-next, .page-prev{ - color: var(--primary); - } - - - &::before{ - display: none; - } - } - - .active{ - .page-link{ - color: var(--primary); - } - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/paragraph.scss b/themes/hugo-theme-novela/assets/scss/paragraph.scss deleted file mode 100644 index 52bb4dc..0000000 --- a/themes/hugo-theme-novela/assets/scss/paragraph.scss +++ /dev/null @@ -1,38 +0,0 @@ -p{ - line-height: 1.756; - font-size: 18px; - color: var(--articleText); - font-family: var(--sanserif); - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - margin: 0 auto 35px; - width: 100%; - max-width: 680px; -} - -p b { - font-weight: 800; -} - -/*DESKTOP*/ -@media screen and (max-width: 1070px){ - p{ - max-width: 507px; - } -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - p{ - max-width: 486px; - margin: 0 auto 25px; - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - p{ - padding: 0 20px; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/progress.scss b/themes/hugo-theme-novela/assets/scss/progress.scss deleted file mode 100644 index 93dde98..0000000 --- a/themes/hugo-theme-novela/assets/scss/progress.scss +++ /dev/null @@ -1,111 +0,0 @@ -/*************************ASIDE*************************/ -.aside-container{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - margin: 0 auto; - max-width: 1140px; - z-index: 0; - position: -webkit-sticky; - position: sticky; - top: 30%; - -webkit-animation-name: progress-fade-in; - animation-name: progress-fade-in; - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; - - /*DESKTOP MEDIUM*/ - @media screen and (max-width: $desktop_medium){ - display: none; - } -} - -@-webkit-keyframes progress-fade-in { - from {opacity: 0;} - to {opacity: 1;} -} - -@keyframes progress-fade-in { - from {opacity: 0;} - to {opacity: 1;} -} - -@-webkit-keyframes progress-fade-out { - from {opacity: 1;} - to {opacity: 0;} -} - -@keyframes progress-fade-out { - from {opacity: 1;} - to {opacity: 0;} -} - -.aside-align{ - position: fixed; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-transform: translateY(0px); - -ms-transform: translateY(0px); - transform: translateY(0px); - top: 0; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - height: 100vh; - z-index: 3; - - opacity: 1; - visibility: visible; - -webkit-transition: opacity 0.4s linear, visibility 0.4s linear; - -o-transition: opacity 0.4s linear, visibility 0.4s linear; - transition: opacity 0.4s linear, visibility 0.4s linear; -} - -.overlap-container{ - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - pointer-events: none; - opacity: 0; - -webkit-transition: opacity 0.25s; - -o-transition: opacity 0.25s; - transition: opacity 0.25s; -} - -/*************************PROGRESS*************************/ -.progress-container{ - position: relative; - outline: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.track-line{ - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - height: calc(88vh - 40px); - max-height: 425px; - width: 1px; - background-color: var(--track); - opacity: 0.6; - overflow: hidden; -} - -.progress-line{ - position: absolute; - height: 100%; - top: -100%; - width: 1px; - background-color: var(--progress); - left: 0; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/section.scss b/themes/hugo-theme-novela/assets/scss/section.scss deleted file mode 100644 index cbe2f97..0000000 --- a/themes/hugo-theme-novela/assets/scss/section.scss +++ /dev/null @@ -1,38 +0,0 @@ -.section{ - width: 100%; - max-width: 1220px; - margin: 0 auto; - padding: 0 4rem; - - /*DESKTOP*/ - @media screen and (max-width: 1070px){ - max-width: 850px; - } - - /*PHABLET*/ - @media screen and (max-width: 540px){ - max-width: 100%; - padding: 2rem;; - } - - p{ - /*TABLET*/ - @media screen and (max-width: 735px){ - padding: 0 4rem; - max-width: 567px; - } - } - - -} - -.narrow{ - p{ - /*TABLET*/ - @media screen and (max-width: 735px){ - padding: 0 2rem; - max-width: 527px; - } - } - -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/social-links.scss b/themes/hugo-theme-novela/assets/scss/social-links.scss deleted file mode 100644 index c319bd2..0000000 --- a/themes/hugo-theme-novela/assets/scss/social-links.scss +++ /dev/null @@ -1,73 +0,0 @@ -.social-icon-outer{ - width: 20%; - min-width: 220px; -} - -/*TABLET*/ -@media screen and (max-width: $tablet){ - .authors-sio{ - width: 60%; - } -} - -.social-icon-container{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - min-width: 100%; - position: relative; - margin-left: 3.2rem; - text-decoration: none; - max-width: 16px; - - a{ - margin-right: 25px; - } -} - -.social-icon-container:hover > svg { - fill: var (--primary); - } - -.social-icon-container:hover > * { - -webkit-transition: fill 0.25s var(--ease-in-out-quad); - -o-transition: fill 0.25s var(--ease-in-out-quad); - transition: fill 0.25s var(--ease-in-out-quad); -} - -.social-icon-container:first-of-type { - margin-left: 0; -} - -.social-icon-container:last-child { - margin-right: 0; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .social-icon-container{ - margin: 0 2.2rem; - } -} - -.social-icon-image{ - path{ - fill: var(--grey); - } -} - -.hidden{ - width: 0px; - height: 0px; - visibility: hidden; - opacity: 0; - overflow: hidden; - display: inline-block; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/subscription.scss b/themes/hugo-theme-novela/assets/scss/subscription.scss deleted file mode 100644 index 96ae1a0..0000000 --- a/themes/hugo-theme-novela/assets/scss/subscription.scss +++ /dev/null @@ -1,283 +0,0 @@ -.subscription-container{ - position: relative; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - padding: 64px 0 55px; - margin: 10px auto 100px; - background: var(--card); - -webkit-box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.05); - box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.05); - z-index: 1; - - .subscroiption-text{ - margin-left: 0; - margin-right: 0; - } -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .subscription-container{ - padding: 50px 0 0; - text-align: center; - - .submitted-input{ - max-width: calc(100% - 36px); - } - - .submit-button{ - position: relative; - width: 100%; - left: 0; - border-radius: 0; - height: 60px; - border: none; - border-top: 1px solid var(--theme-ui-colors-horizontalRule,rgba(8,8,11,0.15)); - } - - .submitted-form{ - .submit-button{ - border: none !important; - border-top: 1px solid var(--theme-ui-colors-horizontalRule,rgba(8,8,11,0.15)) !important; - } - } - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - .subscription-container{ - margin: -20px auto 80px; - } -} - -.subscription-content{ - margin: 0 auto; - width: 100%; - max-width: 640px; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .subscription-content{ - h3{ - padding: 0 50px; - } - } -} - -/*PHONE*/ -@media screen and (max-width: 376px){ - .subscription-content{ - h3 { - padding: 0 24px; - } - } -} - -.subscription-heading{ - font-family: var(--serif); - margin-bottom: 20px; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .subscription-heading{ - margin-bottom: 15px; - } -} - -.subscription-text{ - margin: 0 0 30px; - max-width: 680px; - color: var(--grey); - line-height: 1.75; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .subscription-text{ - padding: 0 26px; - margin: 0 auto 25px; - } -} - -.subscription-form{ - position: relative; -} - -.subscription-form::after { - color: var(--accent); - content: ">"; - position: absolute; - left: 21px; - top: 10px; - } - -/*TABLET*/ -@media screen and (max-width: 735px){ - .subscription-form:after{ - left: 34px; - top: 11px; - } -} - -.subscription-input{ - position: relative; - border-radius: 35px; - border: none; - padding: 13px 21px 13px 35px; - width: 471px; - color: var(--primary); - background-color: var(--inputBackground); -} - -.subscription-input.submitted-input:invalid{ - position: relative; - background: var(--theme-ui-colors-errorBackground,rgba(238,86,91,0.1)) !important; - border-radius: 35px; - border: none; - padding: 13px 21px 13px 35px; - width: 471px; - color: var(--primary,#000); - outline: none !important; -} - -input:invalid { - -webkit-box-shadow:0 0 2px 1px transparent; - box-shadow:0 0 2px 1px transparent; -} - -input:focus, -select:focus, -textarea:focus, -button:focus { - outline: none; -} - -.subscription-input.submitted-input:invalid ~ .subscription-error-message{ - opacity: 1; -} - -.subscription-input.submitted-input:invalid ~ .submit-button{ - color: var(--error); - border: 1px solid var(--error); -} - -.submitted-form:after{ - color: var(--error); -} - -.subscription-error-message{ - position: absolute; - left: 35px; - bottom: -20px; - color: var(--theme-ui-colors-error,#EE565B); - font-size: 12px; - opacity: 0; -} - -.subscription-input::-webkit-input-placeholder { - color: var(--track); - opacity: 1; -} - -.subscription-input::-moz-placeholder { - color: var(--track); - opacity: 1; -} - -.subscription-input:-ms-input-placeholder { - color: var(--track); - opacity: 1; -} - -.subscription-input::-ms-input-placeholder { - color: var(--track); - opacity: 1; -} - -.subscription-input::placeholder { - color: var(--track); - opacity: 1; -} - -.subscription-input:-ms-input-placeholder { - color: var(--track); -} - -.subscription-input::-ms-input-placeholder { - color: var(--track); -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .subscription-input{ - width: calc(100% - 36px); - margin: 0 18px; - padding: 14px 14px 14px 30px; - margin-bottom: 30px; - } -} - -.submit-button{ - border: 1px solid var(--accent); - color: var(--accent); - position: absolute; - left: 306px; - top: 3px; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - width: 161px; - height: 38px; - font-weight: 600; - border-radius: 35px; - letter-spacing: 0.42px; - -webkit-transition: border-color 0.2s var(--ease-in-out-quad), - background 0.2s var(--ease-in-out-quad), color 0.2s var(--ease-in-out-quad); - -o-transition: border-color 0.2s var(--ease-in-out-quad), - background 0.2s var(--ease-in-out-quad), color 0.2s var(--ease-in-out-quad); - transition: border-color 0.2s var(--ease-in-out-quad), - background 0.2s var(--ease-in-out-quad), color 0.2s var(--ease-in-out-quad); -} - -.submit-button:disabled { - cursor: not-allowed; -} - -.submit-button svg * { - fill: var(--background-color); -} - -.submit-error{ - position: absolute; - left: 35px; - bottom: -20px; - color: var(--error); - font-size: 12px; -} - -.submit-error a { - color: var (--error); - text-decoration: underline; -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - .submit-error{ - left: 50px; - top: 50px; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/assets/scss/tables.scss b/themes/hugo-theme-novela/assets/scss/tables.scss deleted file mode 100644 index 4bc6397..0000000 --- a/themes/hugo-theme-novela/assets/scss/tables.scss +++ /dev/null @@ -1,107 +0,0 @@ -/*************************************TABLE************************************/ - -table{ - position: relative; - line-height: 1.65; - color: var(--grey); - font-family: var(--sanserif); - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); - background: var(--card); - margin: 45px auto 85px; - width: 100%; - max-width: 1004px; - border: 1px solid var(--horizontalRule); - border-radius: 5px; - overflow: hidden; - border-collapse: separate; -} - -/*DESKTOP*/ -@media screen and (max-width: 1070px){ - table{ - margin: 25px auto 65px; - } -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - table{ - max-width: 486px; - } -} - -/*PHABLET*/ -@media screen and (max-width: 540px){ - table{ - margin: 15px auto 55px; - } -} - -/*************************************TABLE CELL************************************/ - -td{ - border-top: 1px solid var(--horizontalRule); - border-right: 1px solid var(--horizontalRule); - padding: 15px 30px; - font-size: 16px; - background: var(--card); - - &:last-child { - border-right: none; - } -} - -/*DESKTOP*/ -@media screen and (max-width: 1070px){ - td{ - padding: 14px 20px; - } -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - td{ - font-size: 14px; - } -} - -/*************************************TABLE HEAD************************************/ - -thead{ - text-align: left; - border-collapse: collapse; - position: relative; - line-height: 1.756; - font-weight: 600; - color: var(--primary); - font-family: var(--serif); - -webkit-transition: var(--color-mode-transition); - -o-transition: var(--color-mode-transition); - transition: var(--color-mode-transition); -} - -th{ - border-right: 1px solid var(--horizontalRule); - padding: 15px 30px; - - &:last-child { - border-right: none; - } -} - - -/*DESKTOP*/ -@media screen and (max-width: 1070px){ - th{ - padding: 14px 20px; - } -} - -/*TABLET*/ -@media screen and (max-width: 735px){ - th{ - font-size: 14px; - } -} diff --git a/themes/hugo-theme-novela/assets/scss/vars.scss b/themes/hugo-theme-novela/assets/scss/vars.scss deleted file mode 100644 index 612c3dc..0000000 --- a/themes/hugo-theme-novela/assets/scss/vars.scss +++ /dev/null @@ -1,85 +0,0 @@ -/*BREAKPOINTS*/ -$phone_small: 320px; -$phone: 376px; -$phablet: 540px; -$tablet: 735px; -$desktop: 1070px; -$desktop_medium: 1280px; -$desktop_large: 1440px; - -body{ - /*FONTS*/ - --serif: "Merriweather", Georgia, Serif; - --sanserif: "SF Pro Display", "-apple-system", "BlinkMacSystemFont", "San Francisco", "Helvetica Neue", "Helvetica", "Ubuntu", "Roboto", "Noto", "Segoe UI", "Arial", sans-serif; - --monospace: "Operator Mono", Consolas, Menlo, Monaco, source-code-pro, Courier New, monospace; - - /*COLOR MODE TRANSITION*/ - --color-mode-transition: background 0.25s var(--ease-in-out-quad), color 0.25s var(--ease-in-out-quad); - - /*PRIMARY COLORS*/ - --primary: #000; - --secondary: #73737D; - --grey: #73737D; - --background-color: #fafafa; - --accent: #6166DC; - --hover: rgba(0, 0, 0, 0.07); - --gradient: linear-gradient(180deg, rgba(217, 219, 224, 0) 0%, #D9DBE0 100%); - --articleText: #08080B; - --track: rgba(8, 8, 11, 0.3); - --progress: #000; - --card: #fff; - --error: #EE565B; - --success: #46B17B; - --errorBackground: rgba(238, 86, 91, 0.1); - --horizontalRule: rgba(8, 8, 11, 0.15); - --inputBackground: rgba(0, 0, 0, 0.05); - --tooltip: lightgrey; - - /*DARK COLORS*/ - --dark-grey: #73737D; - --dark-primary: #fff; - --dark-secondary: #fff; - --dark-accent: #E9DAAC; - --dark-background: #111216; - --dark-hover: rgba(255, 255, 255, 0.07); - --dark-gradient: linear-gradient(180deg, #111216 0%, rgba(66, 81, 98, 0.36) 100%); - --dark-articleText: #fff; - --dark-track: rgba(255, 255, 255, 0.3); - --dark-progress: #fff; - --dark-card: #1D2128; - --dark-error: #EE565B; - --dark-success: #46B17B; - --dark-errorBackground: rgba(238, 86, 91, 0.1); - --dark-horizontalRule: rgba(255, 255, 255, 0.15); - --dark-inputBackground: rgba(255, 255, 255, 0.07); - - /*PRISM*/ - --token: #fff; - --languageJavascript: #e8696b; - --javascript: #e8696b; - --background: #292c34; - --comment: #5e6a76; - --string: #a8e2a8; - --var: #b3bac5; - --number: #e4854d; - --constant: #b3bac5; - --plain: #fff; - --doctype: #e8696b; - --tag: #e8696b; - --keyword: #d49fd4; - --boolean: #ff5874; - --function: #5F8DC3; - --parameter: #F9965D; - --className: #ffcf74; - --attrName: #bf87ba; - --attrValue: #a8e2a8; - --interpolation: #fff; - --punctuation: #5FA8AA; - --property: #80cbc4; - --propertyAccess: #fff; - --namespace: #b2ccd6; - --highlight: rgba(255,255,255,0.07); - --highlightBorder: #e1bde2; - --dom: #5F8DC3; - --operator: #5FA8AA; -} \ No newline at end of file diff --git a/themes/hugo-theme-novela/config.yaml b/themes/hugo-theme-novela/config.yaml deleted file mode 100644 index 66da84e..0000000 --- a/themes/hugo-theme-novela/config.yaml +++ /dev/null @@ -1,4 +0,0 @@ -baseURL: "https://example.com" -languageCode: "en-us" -title: "Hugo Novela" -pygmentsstyle: 'monokai' diff --git a/themes/hugo-theme-novela/config/_default/social.yaml b/themes/hugo-theme-novela/config/_default/social.yaml deleted file mode 100644 index a3a5a1d..0000000 --- a/themes/hugo-theme-novela/config/_default/social.yaml +++ /dev/null @@ -1,11 +0,0 @@ -twitter: "https://twitter.com/narative" -github: "https://github.com/narative" -instagram: "https://instagram.com/narative.co" -linkedin: "https://www.linkedin.com/company/narative/" -dribbble: "https://dribbble.com/narativestudio" -youtube: "https://youtube.com" -facebook: "" -medium: "" -patreon: "" -paypal: "" -unsplash: "" diff --git a/themes/hugo-theme-novela/exampleSite/config.yaml b/themes/hugo-theme-novela/exampleSite/config.yaml deleted file mode 100644 index 1be8d3d..0000000 --- a/themes/hugo-theme-novela/exampleSite/config.yaml +++ /dev/null @@ -1,14 +0,0 @@ -baseURL: "https://example.com" -languageCode: "en-us" -title: "Hugo Novela" -pygmentsstyle: 'monokai' -paginate: 6 -social: - twitter: "#" - github: "#" - instagram: "#" - linkedin: "#" - dribbble: "#" - youtube: "#" -taxonomies: - author: authors diff --git a/themes/hugo-theme-novela/exampleSite/content/_index.md b/themes/hugo-theme-novela/exampleSite/content/_index.md deleted file mode 100644 index f4c461c..0000000 --- a/themes/hugo-theme-novela/exampleSite/content/_index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -hero: - heading: Welcome to Novela, the simplest way to start publishing with Hugo. - maxWidthPX: 652 -seo: - image: /images/hero-2.jpg ---- diff --git a/themes/hugo-theme-novela/exampleSite/content/about.md b/themes/hugo-theme-novela/exampleSite/content/about.md deleted file mode 100644 index 1c78f31..0000000 --- a/themes/hugo-theme-novela/exampleSite/content/about.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: About ---- - -Etiam porta sem malesuada magna mollis euismod. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec id elit non mi porta gravida at eget metus. Donec sed odio dui. - -Donec sed odio dui. Nulla vitae elit libero, a pharetra augue. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. - -Nulla vitae elit libero, a pharetra augue. Cras mattis consectetur purus sit amet fermentum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. - -Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Vestibulum id ligula porta felis euismod semper. Etiam porta sem malesuada magna mollis euismod. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. \ No newline at end of file diff --git a/themes/hugo-theme-novela/exampleSite/content/authors/hugo-authors/_index.md b/themes/hugo-theme-novela/exampleSite/content/authors/hugo-authors/_index.md deleted file mode 100644 index fe08f80..0000000 --- a/themes/hugo-theme-novela/exampleSite/content/authors/hugo-authors/_index.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Hugo Authors -bio: | - Written by You. This is where your author bio lives. Share your work, your - joys and of course, your Twitter handle. -avatar: /images/profile-01.jpeg -featured: true -social: - - title: github - url: https://github.com - - title: github - url: https://github.com - - title: github - url: https://github.com - - title: github - url: https://github.com - - title: github - url: https://github.com ---- \ No newline at end of file diff --git a/themes/hugo-theme-novela/exampleSite/content/post/emoji-support.md b/themes/hugo-theme-novela/exampleSite/content/post/emoji-support.md deleted file mode 100644 index 1c6774c..0000000 --- a/themes/hugo-theme-novela/exampleSite/content/post/emoji-support.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: Emoji Support -date: 2019-03-05 -hero: "/images/hero-3.jpg" -excerpt: Guide to emoji usage in Hugo -authors: - - Hugo Authors - ---- - -Emoji can be enabled in a Hugo project in a number of ways. - -The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). - -To enable emoji globally, set `enableEmoji` to `true` in your site’s [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g. - - -

🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:

-
- -The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. - -*** - -**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g. - -```css -.emoji { -font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols; -} -``` - -{{< css.inline >}} - -{{< /css.inline >}} diff --git a/themes/hugo-theme-novela/exampleSite/content/post/markdown-syntax.md b/themes/hugo-theme-novela/exampleSite/content/post/markdown-syntax.md deleted file mode 100644 index f9b3b4e..0000000 --- a/themes/hugo-theme-novela/exampleSite/content/post/markdown-syntax.md +++ /dev/null @@ -1,125 +0,0 @@ ---- -title: Markdown Syntax Guide -date: 2019-03-11 -hero: "/images/hero-2.jpg" -excerpt: Sample article showcasing basic Markdown syntax and formatting for HTML elements. -authors: - - Hugo Authors - ---- - -This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. - - -## Headings - -The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. - -# H1 -## H2 -### H3 -#### H4 -##### H5 -###### H6 - -## Paragraph - -Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. - -Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. - -## Blockquotes - -The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. - -#### Blockquote without attribution - -> Tiam, ad mint andaepu dandae nostion secatur sequo quae. -> **Note** that you can use *Markdown syntax* within a blockquote. - -#### Blockquote with attribution - -> Don't communicate by sharing memory, share memory by communicating. -> — Rob Pike[^1] - - -[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. - -## Tables - -Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. - - Name | Age ---------|------ - Bob | 27 - Alice | 23 - -#### Inline Markdown within tables - -| Inline    | Markdown    | In    | Table | -| ---------- | --------- | ----------------- | ---------- | -| *italics* | **bold** | ~~strikethrough~~    | `code` | - -## Code Blocks - -#### Code block with backticks - -```html -html - - - - - Example HTML5 Document - - -

Test

- - -``` - -#### Code block with Hugo's internal highlight shortcode -{{< highlight html >}} - - - - - Example HTML5 Document - - -

Test

- - -{{< /highlight >}} - -## List Types - -#### Ordered List - -1. First item -2. Second item -3. Third item - -#### Unordered List - -* List item -* Another item -* And another item - -#### Nested list - -* Item -1. First Sub-item -2. Second Sub-item - -## Other Elements — abbr, sub, sup, kbd, mark - -GIF is a bitmap image format. - -H2O - -Xn + Yn = Zn - -Press CTRL+ALT+Delete to end the session. - -Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/themes/hugo-theme-novela/exampleSite/content/post/math-typesetting.mmark b/themes/hugo-theme-novela/exampleSite/content/post/math-typesetting.mmark deleted file mode 100644 index 2c1f412..0000000 --- a/themes/hugo-theme-novela/exampleSite/content/post/math-typesetting.mmark +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: Math Typesetting -date: 2019-03-08 -hero: /images/hero-6.jpg -excerpt: A brief guide to setup KaTeX -authors: - - Hugo Authors - ---- - -Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. - - -In this example we will be using [KaTeX](https://katex.org/) - -- Create a partial under `/layouts/partials/math.html` -- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. -- Include the partial in your templates like so: - -```go -{{ if or .Params.math .Site.Params.math }} -{{ partial "math.html" . }} -{{ end }} -``` -- To enable KaTex globally set the parameter `math` to `true` in a project's configuration -- To enable KaTex on a per page basis include the parameter `math: true` in content files. - -**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html) -{{< math.inline >}} -{{ if or .Page.Params.math .Site.Params.math }} - - - - -{{ end }} -{{}} - -### Examples - -Inline math: $$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ - -Block math: - -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ diff --git a/themes/hugo-theme-novela/exampleSite/content/post/placeholder-text.md b/themes/hugo-theme-novela/exampleSite/content/post/placeholder-text.md deleted file mode 100644 index 8e8a710..0000000 --- a/themes/hugo-theme-novela/exampleSite/content/post/placeholder-text.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: Placeholder Text -date: 2019-03-09 -hero: /images/hero-4.jpg -excerpt: Lorem Ipsum Dolor Si Amet -authors: - - Hugo Authors - ---- - -Lorem est tota propiore conpellat pectoribus de -pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice -subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc -caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis -lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. - -1. Exierant elisi ambit vivere dedere -2. Duce pollice -3. Eris modo -4. Spargitque ferrea quos palude - -Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus -silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria -tractus malis. - -1. Comas hunc haec pietate fetum procerum dixit -2. Post torum vates letum Tiresia -3. Flumen querellas -4. Arcanaque montibus omnes -5. Quidem et - -# Vagus elidunt - - - -[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) - -## Mane refeci capiebant unda mulcebat - -Victa caducifer, malo vulnere contra -dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere -furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. - -Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli -Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare -Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert -ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae -vulnus haerentia iuste et exercebat, sui et. - -Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem -Propoetides **parte**. - -{{< css.inline >}} - -{{< /css.inline >}} diff --git a/themes/hugo-theme-novela/images/screenshot.png b/themes/hugo-theme-novela/images/screenshot.png deleted file mode 100644 index 0db8474..0000000 Binary files a/themes/hugo-theme-novela/images/screenshot.png and /dev/null differ diff --git a/themes/hugo-theme-novela/images/tn.png b/themes/hugo-theme-novela/images/tn.png deleted file mode 100644 index a4f4d78..0000000 Binary files a/themes/hugo-theme-novela/images/tn.png and /dev/null differ diff --git a/themes/hugo-theme-novela/layouts/_default/baseof.html b/themes/hugo-theme-novela/layouts/_default/baseof.html deleted file mode 100644 index fae16ec..0000000 --- a/themes/hugo-theme-novela/layouts/_default/baseof.html +++ /dev/null @@ -1,26 +0,0 @@ - - -{{ partial "head/head.html" . }} - - - - {{ $script := resources.Get "js/initColors.js" }} - - -
- - {{ partial "header.html" . }} - - {{ block "main" . }} - - {{ end }} - - {{ partial "footer.html" . }} - -
- - {{ $script := resources.Get "js/prism.js" }} - - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/_default/list.html b/themes/hugo-theme-novela/layouts/_default/list.html deleted file mode 100644 index 2e92034..0000000 --- a/themes/hugo-theme-novela/layouts/_default/list.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ define "main" }} - {{ partial "articles/hero.html" . }} - {{ partial "articles/articles.html" . }} -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/_default/single.html b/themes/hugo-theme-novela/layouts/_default/single.html deleted file mode 100644 index 9d56cd0..0000000 --- a/themes/hugo-theme-novela/layouts/_default/single.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ define "main" }} - -
- - {{ partial "page/hero.html" . }} - -
- {{ .Content }} -
- -
- -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/authors/list.html b/themes/hugo-theme-novela/layouts/authors/list.html deleted file mode 100644 index 6a87729..0000000 --- a/themes/hugo-theme-novela/layouts/authors/list.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -
-
- {{ partial "author/hero.html" . }} - {{ partial "author/articles_list.html" . }} -
-
-
- -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/index.html b/themes/hugo-theme-novela/layouts/index.html deleted file mode 100644 index 5bd83c4..0000000 --- a/themes/hugo-theme-novela/layouts/index.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ define "main" }} - -{{ partial "articles/hero.html" . }} -{{ partial "articles/articles.html" . }} - -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/article/authors.html b/themes/hugo-theme-novela/layouts/partials/article/authors.html deleted file mode 100644 index 3e1274d..0000000 --- a/themes/hugo-theme-novela/layouts/partials/article/authors.html +++ /dev/null @@ -1,61 +0,0 @@ - -{{ $authors := partialCached "func/GetArticleAuthors" . .File.UniqueID }} -{{ if eq (len $authors) 1 }} - {{ with $author := index $authors 0 }} - - {{ end }} -{{ else }} -
- {{ $avatarsWidth:= mul (len $authors) 15 }} - -
- {{ range $index, $author := $authors }} - {{ with .avatar }} -
- -
- {{ end }} - {{ end }} -
- - {{ range $index, $author := $authors }} - {{ .firstname }}{{ if ne (add $index 1) (len $authors) }},{{ end }} - {{ end }} - -
- {{ partial "icons/ui/toggle-open.html" . }} -
-
- - -
-{{ end }} - -{{ $script := resources.Get "js/collapseAuthors.js" }} - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/article/hero.html b/themes/hugo-theme-novela/layouts/partials/article/hero.html deleted file mode 100644 index f17f860..0000000 --- a/themes/hugo-theme-novela/layouts/partials/article/hero.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-
-

{{ .Page.Params.Title }}

-
- -
-
- {{ with .Page.Params.hero }} -
- -
- {{ end }} -
-
diff --git a/themes/hugo-theme-novela/layouts/partials/article/next.html b/themes/hugo-theme-novela/layouts/partials/article/next.html deleted file mode 100644 index c219737..0000000 --- a/themes/hugo-theme-novela/layouts/partials/article/next.html +++ /dev/null @@ -1,58 +0,0 @@ -{{/* - Prints the next 2 articles in the same section or, if less or 2 found, the first (and potentially second) of the section. - - @author @regisphilibert @mountainbug95 - - @context Type Page (.) - - @access public - -*/}} - -{{/* declaring next empty slice */}} -{{ $next := slice }} -{{/* Checking if current article has a PrevInSection (Prev as we are ordering dsc here.) */}} -{{ with .PrevInSection }} - {{ $next = $next | append . }} - {{/* Checking for that "next" article own "next" to fill the "second next" */}} - {{ with .PrevInSection }} - {{ $next = $next | append . }} - {{ end }} -{{ end }} -{{/* If the number of found "next article" is less than two we need to find the first and potentially second article -of the whole section and append them to our $next slice. */}} -{{ $diff := sub 2 (len $next) }} -{{ if $diff }} - {{/* We use that diff number (if > 0) to grab the first x number of articles */}} - {{ $articles := partialCached "func/GetArticles" . "articles"}} - {{ $next = $next | append (first $diff $articles) }} -{{ end }} -
- - - -
diff --git a/themes/hugo-theme-novela/layouts/partials/article/progress.html b/themes/hugo-theme-novela/layouts/partials/article/progress.html deleted file mode 100644 index 3925b76..0000000 --- a/themes/hugo-theme-novela/layouts/partials/article/progress.html +++ /dev/null @@ -1,14 +0,0 @@ - diff --git a/themes/hugo-theme-novela/layouts/partials/articles/articles.html b/themes/hugo-theme-novela/layouts/partials/articles/articles.html deleted file mode 100644 index cbadd49..0000000 --- a/themes/hugo-theme-novela/layouts/partials/articles/articles.html +++ /dev/null @@ -1,8 +0,0 @@ - -
- {{ partial "articles/list.html" . }} -
- -
-
-
\ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/articles/hero.html b/themes/hugo-theme-novela/layouts/partials/articles/hero.html deleted file mode 100644 index c49258d..0000000 --- a/themes/hugo-theme-novela/layouts/partials/articles/hero.html +++ /dev/null @@ -1,19 +0,0 @@ -
-
-

{{ .Page.Params.hero.heading }}

-
-
- {{ partial "bio.html" . }} -
- - -
-
-
- -{{ $script := resources.Get "js/toggleLayout.js" }} - diff --git a/themes/hugo-theme-novela/layouts/partials/articles/list.html b/themes/hugo-theme-novela/layouts/partials/articles/list.html deleted file mode 100644 index 0ab9aa4..0000000 --- a/themes/hugo-theme-novela/layouts/partials/articles/list.html +++ /dev/null @@ -1,55 +0,0 @@ -
-
- {{ $posts := partialCached "func/GetArticles" . "articles" }} - {{ $paginator := .Paginate $posts }} - {{ $biggerFirst := true }} - {{ $biggerPlaced := false }} - {{ range $index, $article := $paginator.Pages }} - {{ $counter := mod $index 2 }} - {{ if not $counter }} -
- {{ end }} - -
-
- -
-
-

- {{ $article.Params.title }} -

-

- {{ $article.Params.excerpt }} -

- -
-
-
- {{ $counter := mod (add $index 1) 2 }} - {{ $len := (where .Pages "Type" "posts") }} - {{ if or (eq $counter 0) (eq (add $index 1) $len) }} -
- {{ $biggerPlaced = false }} - {{ if $biggerFirst }} - {{ $biggerFirst = false }} - {{ else }} - {{ $biggerFirst = true }} - {{ end }} - {{ end }} - {{ end }} -
- {{ partial "paginator/paginator.html" . }} -
diff --git a/themes/hugo-theme-novela/layouts/partials/author/articles_list.html b/themes/hugo-theme-novela/layouts/partials/author/articles_list.html deleted file mode 100644 index 58f5795..0000000 --- a/themes/hugo-theme-novela/layouts/partials/author/articles_list.html +++ /dev/null @@ -1,39 +0,0 @@ -
-
- {{ $articles := .Pages }} - {{ $paginator := .Paginate .Pages }} -
- {{ $scratch := newScratch }} - {{ $scratch.Set "numPages" (len $paginator.Pages) }} - {{ range $index, $article := $paginator.Pages }} - {{ $counter := mod $index 2 }} - -
-
- -
-
-

- {{ .Params.title }} -

-

- {{ .Params.excerpt }} -

- -
-
-
- {{ if eq ($scratch.Get "numPages") (add $index 1) }} - - - {{ end }} - {{ end }} -
-
- {{ partial "paginator/paginator.html" . }} -
- -{{ $script := resources.Get "js/toggleBorder.js" }} - diff --git a/themes/hugo-theme-novela/layouts/partials/author/hero.html b/themes/hugo-theme-novela/layouts/partials/author/hero.html deleted file mode 100644 index 787a1bc..0000000 --- a/themes/hugo-theme-novela/layouts/partials/author/hero.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
- {{ with .Params.avatar }} -
- -
- {{ end }} -

{{ .Title }}

-

{{ .Params.bio }}

-
- {{ partial "author/social_links.html" . }} -
-
-
\ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/author/social_links.html b/themes/hugo-theme-novela/layouts/partials/author/social_links.html deleted file mode 100644 index b9a1eda..0000000 --- a/themes/hugo-theme-novela/layouts/partials/author/social_links.html +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/bio.html b/themes/hugo-theme-novela/layouts/partials/bio.html deleted file mode 100644 index ecf65af..0000000 --- a/themes/hugo-theme-novela/layouts/partials/bio.html +++ /dev/null @@ -1,20 +0,0 @@ -
- {{ range site.Taxonomies.authors }} - {{ with .Page }} - {{ if .Params.featured }} - - {{ with .Params.avatar }} -
-
- -
-
- {{ end }} - {{ with .Params.bio }} -

{{ . }}

- {{ end }} -
- {{ end }} - {{ end }} - {{ end }} -
\ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/footer.html b/themes/hugo-theme-novela/layouts/partials/footer.html deleted file mode 100644 index 8055cea..0000000 --- a/themes/hugo-theme-novela/layouts/partials/footer.html +++ /dev/null @@ -1,10 +0,0 @@ - -
- - -
\ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/func/GetArticleAuthors.html b/themes/hugo-theme-novela/layouts/partials/func/GetArticleAuthors.html deleted file mode 100644 index 0106f0e..0000000 --- a/themes/hugo-theme-novela/layouts/partials/func/GetArticleAuthors.html +++ /dev/null @@ -1,39 +0,0 @@ -{{/* - GetArticle Authors - Retrieve the authors assigned to a given article - - @author @regisphilibert - - @context Page (.) The article in quest - - @access public - - @return Slice - - String (.name) - - String (.URL) - - String (.name) - - String (.firstname) - - @example - Go Template - {{ $authors := partialCached "func/GetArticleAuthors" . .File.UniqueID }} -*/}} -{{ $authors := slice }} -{{ with .Params.authors }} - {{ range $name := . }} - {{ with site.GetPage (printf "/%s/%s" "authors" ($name | urlize)) }} - {{ $firstname := "" }} - {{ $name := "" }} - {{ $avatar := false }} - {{ with .Title }} - {{ $name = . }} - {{ $firstname = index (split . " ") 0 }} - {{ end }} - {{ with .Params.avatar }} - {{ $avatar = . }} - {{ end }} - {{ $authors = $authors | append (dict "URL" .RelPermalink "name" $name "firstname" $firstname "avatar" $avatar) }} - {{ end }} - {{ end }} -{{ end }} - -{{ return $authors }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/func/GetArticles.html b/themes/hugo-theme-novela/layouts/partials/func/GetArticles.html deleted file mode 100644 index 76115e3..0000000 --- a/themes/hugo-theme-novela/layouts/partials/func/GetArticles.html +++ /dev/null @@ -1,21 +0,0 @@ -{{/* - GetArticles - Retrieve article or posts - - @author @regisphilibert - - @context Page (.) - - @access public - - @return Collection - - Page (.) - - @example - Go Template - {{ $articles := partialCached "func/GetArticles" . "articles" }} -*/}} -{{ $articles := slice }} -{{ with where site.RegularPages "Type" "post" }} - {{ $articles = . }} -{{ end }} -{{ return $articles }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/head/head.html b/themes/hugo-theme-novela/layouts/partials/head/head.html deleted file mode 100644 index 1920322..0000000 --- a/themes/hugo-theme-novela/layouts/partials/head/head.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - {{ $style := resources.Get "scss/global.scss" | toCSS | minify | fingerprint }} - - {{ $prism := resources.Get "css/prism.css" }} - - - {{ partial "seo/print.html" . }} - {{ with .Params.forestry_instant_preview_id }} - {{- safeHTML (printf "" .) -}} - {{ end -}} - diff --git a/themes/hugo-theme-novela/layouts/partials/header.html b/themes/hugo-theme-novela/layouts/partials/header.html deleted file mode 100644 index 52ebd85..0000000 --- a/themes/hugo-theme-novela/layouts/partials/header.html +++ /dev/null @@ -1,32 +0,0 @@ -
- -
- -{{ $script := resources.Get "js/toggleLogos.js" }} - - -{{ $script := resources.Get "js/toggleColors.js" }} - - -{{ $script := resources.Get "js/copyUrl.js" }} - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/dribbble.html b/themes/hugo-theme-novela/layouts/partials/icons/social/dribbble.html deleted file mode 100644 index 8c5d52b..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/dribbble.html +++ /dev/null @@ -1,13 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/facebook.html b/themes/hugo-theme-novela/layouts/partials/icons/social/facebook.html deleted file mode 100644 index acf27b3..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/facebook.html +++ /dev/null @@ -1,15 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/github.html b/themes/hugo-theme-novela/layouts/partials/icons/social/github.html deleted file mode 100644 index 27e4fad..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/github.html +++ /dev/null @@ -1,15 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/instagram.html b/themes/hugo-theme-novela/layouts/partials/icons/social/instagram.html deleted file mode 100644 index 534b531..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/instagram.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/linkedin.html b/themes/hugo-theme-novela/layouts/partials/icons/social/linkedin.html deleted file mode 100644 index 7df0150..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/linkedin.html +++ /dev/null @@ -1,16 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/medium.html b/themes/hugo-theme-novela/layouts/partials/icons/social/medium.html deleted file mode 100644 index e1de2fd..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/medium.html +++ /dev/null @@ -1,15 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/patreon.html b/themes/hugo-theme-novela/layouts/partials/icons/social/patreon.html deleted file mode 100644 index ef191a5..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/patreon.html +++ /dev/null @@ -1,14 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/paypal.html b/themes/hugo-theme-novela/layouts/partials/icons/social/paypal.html deleted file mode 100644 index 8001a8a..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/paypal.html +++ /dev/null @@ -1,12 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/twitter.html b/themes/hugo-theme-novela/layouts/partials/icons/social/twitter.html deleted file mode 100644 index da13655..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/twitter.html +++ /dev/null @@ -1,16 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/unsplash.html b/themes/hugo-theme-novela/layouts/partials/icons/social/unsplash.html deleted file mode 100644 index e69b3e7..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/unsplash.html +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/social/youtube.html b/themes/hugo-theme-novela/layouts/partials/icons/social/youtube.html deleted file mode 100644 index bc1cbfc..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/social/youtube.html +++ /dev/null @@ -1,59 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/check-mark-icon.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/check-mark-icon.html deleted file mode 100644 index 18b8356..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/check-mark-icon.html +++ /dev/null @@ -1,12 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/link.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/link.html deleted file mode 100644 index 8d71c67..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/link.html +++ /dev/null @@ -1,15 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/logo.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/logo.html deleted file mode 100644 index 43c2111..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/logo.html +++ /dev/null @@ -1,19 +0,0 @@ -
- - - logo - Created with Sketch. - - - -
diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/logo_.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/logo_.html deleted file mode 100644 index 08700ca..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/logo_.html +++ /dev/null @@ -1,108 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/logo_color_switch.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/logo_color_switch.html deleted file mode 100644 index 2c7ebc1..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/logo_color_switch.html +++ /dev/null @@ -1,19 +0,0 @@ -
- - - SARK_BLACK - Created with Sketch. - - - -
diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/rows.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/rows.html deleted file mode 100644 index d58db01..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/rows.html +++ /dev/null @@ -1,12 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/tiles.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/tiles.html deleted file mode 100644 index 49a8c40..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/tiles.html +++ /dev/null @@ -1,12 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/toggle-closed.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/toggle-closed.html deleted file mode 100644 index 932cf61..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/toggle-closed.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/icons/ui/toggle-open.html b/themes/hugo-theme-novela/layouts/partials/icons/ui/toggle-open.html deleted file mode 100644 index 7fcc7ba..0000000 --- a/themes/hugo-theme-novela/layouts/partials/icons/ui/toggle-open.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/page/hero.html b/themes/hugo-theme-novela/layouts/partials/page/hero.html deleted file mode 100644 index f2e1671..0000000 --- a/themes/hugo-theme-novela/layouts/partials/page/hero.html +++ /dev/null @@ -1,12 +0,0 @@ -
-
-
-

{{ .Page.Params.Title }}

-
- {{ with .Params.hero }} -
- -
- {{ end }} -
-
\ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/paginator/paginator.html b/themes/hugo-theme-novela/layouts/partials/paginator/paginator.html deleted file mode 100644 index bb90a4a..0000000 --- a/themes/hugo-theme-novela/layouts/partials/paginator/paginator.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ $pag := $.Paginator }} -{{ if gt $pag.TotalPages 1 }} - -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/seo/debug.html b/themes/hugo-theme-novela/layouts/partials/seo/debug.html deleted file mode 100755 index 20de7ad..0000000 --- a/themes/hugo-theme-novela/layouts/partials/seo/debug.html +++ /dev/null @@ -1,34 +0,0 @@ -{{/* - Prints a YAML representation of the SEO object - Useful to go through a projects's page and check the formated object (used for og, twitter etc...) - Styling uses Tailwind. - - @author the New Dynamic - - @access public - - @context Page - - @example - Go Template - {{ partial "seo/debug.html" . }} -*/}} -{{if ne (getenv "HUGO_ENV") "production" }} - -
-
-		{{ partial "seo/get" . | transform.Remarshal "yaml" }}
-	
-
-{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/seo/extend.html b/themes/hugo-theme-novela/layouts/partials/seo/extend.html deleted file mode 100755 index ab71513..0000000 --- a/themes/hugo-theme-novela/layouts/partials/seo/extend.html +++ /dev/null @@ -1,25 +0,0 @@ -{{/* - Add/Edit SEO Scratch Object - - @author The New Dynamic - - @access public - - @context Page - - User does not load the partial, as the component will. - This allows to overwrite some SEO object keys with project's own. - Project's partial should live under `layouts/partials/seo/extend.html` - - @example - In Partial - {{- if eq "Type" "recipe" -}} - {{- .Scratch.SetInMap "seo" "type" "article" -}} - {{- end -}} - - {{- $locales := dict "fr" "fr_FR" "en" "en_US" -}} - {{- .Scratch.SetInMap "seo" "locale" (index $locales .Lang) -}} - - {{- if .IsHome -}} - {{- .Scratch.SetInMap "seo" "title" "Welcome Home" -}} - {{- end -}} - */}} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/seo/get.html b/themes/hugo-theme-novela/layouts/partials/seo/get.html deleted file mode 100755 index e495081..0000000 --- a/themes/hugo-theme-novela/layouts/partials/seo/get.html +++ /dev/null @@ -1,22 +0,0 @@ -{{/* - Retrieve SEO object from a page and returns it as a json string - - @author The New Dynamic - - @access public - - @context Page - - @return SEO object as a json string - - @example - Go Template - To store - {{ $seo := partial "seo/get" . | transform.Unmarshal }} - To print (for debug purposes) - - {{ partial "seo/get" . | transform.Remarshal "yaml" }} - - */}} -{{- with .Scratch.Get "seo" -}} - {{- . | jsonify -}} -{{- end -}} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/seo/jsonld.html b/themes/hugo-theme-novela/layouts/partials/seo/jsonld.html deleted file mode 100755 index 7b7c90f..0000000 --- a/themes/hugo-theme-novela/layouts/partials/seo/jsonld.html +++ /dev/null @@ -1,51 +0,0 @@ -{{/* - Print JSONLd script tag - - @author The New Dynamic - - @access private - - @context map [page (Page), seo (Map)] - - Result to achieve: - { - [x] "@context": "http://schema.org", - [x] "@type": "Article", - [x] "headline": "Extra! Extra! Read alla bout it", - [ ] "alternativeHeadline": "This article is also about robots and stuff", - [x] "image": "http://example.com/image.jpg", - [ ] "author": "Patrick Coombe", - [ ] "award": "Best article ever written", - [ ] "editor": "Craig Mount", - [ ] "genre": "search engine optimization", - [ ] "keywords": "seo sales b2b", - [x] "wordcount": "1120", - [ ] "publisher": "Book Publisher Inc", - [x] "url": "http://www.example.com", - [x] "datePublished": "2015-09-20", - [ ] "dateCreated": "2015-09-20", - [x] "dateModified": "2015-09-20", - [x] "description": "We love to do stuff to help people and stuff", - [ ] "articleBody": "You can paste your entire post in here, and yes it can get really really long." - } -*/}} - -{{- $s := newScratch -}} -{{- $s.Set "seo" dict -}} -{{- $s.SetInMap "seo" "@context" "https://schema.org" -}} -{{- $s.SetInMap "seo" "@type" .seo.type -}} -{{- $s.SetInMap "seo" "headline" .page.Title -}} -{{- $s.SetInMap "seo" "image" .seo.image -}} -{{- $s.SetInMap "seo" "wordcount" (.page.WordCount | string) -}} -{{- $s.SetInMap "seo" "url" .page.Permalink -}} -{{- $s.SetInMap "seo" "datePublished" .seo.published_time -}} -{{- $s.SetInMap "seo" "dateModified" .seo.updated_time -}} -{{- $s.SetInMap "seo" "description" .seo.description -}} - -{{ with .author -}} - {{ $s.SetInMap "seo" "author" . -}} -{{ end -}} - - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/seo/print.html b/themes/hugo-theme-novela/layouts/partials/seo/print.html deleted file mode 100755 index 3cd9cb9..0000000 --- a/themes/hugo-theme-novela/layouts/partials/seo/print.html +++ /dev/null @@ -1,160 +0,0 @@ -{{/* - Structure SEO Data for a given page - + print tags - + print jsonld - - @author The New Dynamic - - @access public - - @context Page - - @example - Go Template - {{ partial "seo/tags" . }} - - TODO: - - [ ] Improve type test on "events", `article` seems very opinated. - - [ ] Find a reasonable default image when `site.Params.default_image` is not set. - - [ ] Twitter can sport "author" handle on top of the site's. Devise a test for author? - - [ ] Maybe consider another approach to set the twitter_card (summary, etc...) - - [ ] Not sure about image size. Following https://docs.imgix.com/best-practices/improving-seo-traffic, we have a - square of 800x800 */}} - - -{{/*------------------------------ - BUILDING SCRATCH SEO OBJECT - ------------------------------ */}} - -{{/* Adding the seo map to scratch which will recieve SEO key/value pairs. */}} -{{- $.Scratch.Set "seo" dict -}} - -{{/* Dates - ----------------------------- */}} - -{{- if not .PublishDate.IsZero -}} -{{- $.Scratch.SetInMap "seo" "published_time" (.PublishDate.Format "2006-01-02T15:04:05-07:00") -}} -{{- else if not .Date.IsZero -}} -{{- $.Scratch.SetInMap "seo" "published_time" (.Date.Format "2006-01-02T15:04:05-07:00") -}} -{{- end -}} -{{- if not .Lastmod.IsZero -}} -{{- $.Scratch.SetInMap "seo" "updated_time" (.Lastmod.Format "2006-01-02T15:04:05-07:00") -}} -{{- end -}} - - -{{/* Description - ---------------------------- - We use the following order of precedence - 1. SEO Description, then, if not found, - 2. Description, then if not found, - 3. Summary then, if not found, - 4. site description */}} -{{ $description := "" }} -{{/* 1. SEO Description */}} -{{- if .Params.seo.description -}} - {{- $description = .Params.seo.description -}} -{{/* 2. Description - As it could potentially contain HTML tags, we strip them with plainify */}} -{{- else if .Params.description -}} - {{- $description = .Params.description | plainify -}} -{{/* 3. Summary */}} -{{- else if .Summary -}} - {{- $description = .Summary -}} -{{- else -}} -{{/* 4. site description */}} - {{ $description = .Site.Params.Description }} -{{- end -}} - -{{- $.Scratch.SetInMap "seo" "description" $description -}} - -{{/* Title - ---------------------------- - We use the following logic - 1. Every pages: `{.Title} | {.Site.Title}` - 2. Homepage: , only {.Site.Title} */}} -{{- if not .IsHome -}} - {{/* 1. `{.Title} | {.Site.Title}` */}} - {{- $.Scratch.SetInMap "seo" "title" (printf "%s | %s" .Title .Site.Title ) -}} -{{- else -}} - {{/* 2. `{.Site.Title}` */}} - {{- $.Scratch.SetInMap "seo" "title" .Site.Title -}} -{{- end -}} - -{{/* Site Name - ---------------------------- */}} -{{- with .Param "seo.site_name" -}} - {{- $.Scratch.SetInMap "seo" "site_name" . -}} -{{- else -}} - {{- $.Scratch.SetInMap "seo" "site_name" .Site.Title -}} -{{- end -}} - -{{/* Twitter - ---------------------------- */}} -{{/* Default twitter_card is "summary_large_image" */}} -{{- $.Scratch.SetInMap "seo" "twitter_card" "summary_large_image" -}} - -{{/* We check the site config sports a Social.twitter and use as handle */}} -{{- with .Site.Social.twitter -}} - {{- $.Scratch.SetInMap "seo" "twitter_handle" (printf "@%s" .) -}} -{{- end -}} - - -{{/* Image - ---------------------------- */}} - -{{- $img := "/uploads/default.jpg" -}} -{{- with .Site.Params.seo.default_image -}} - {{- $img = . -}} -{{- end -}} - -{{- with .Params.seo.image -}} - {{- $img = . -}} -{{ else }} - {{/* If no SEO IMAGE is set, we look for the .Params.images slice - and use the first one if it has an `image` key */}} - {{- with .Params.hero -}} - {{- $img = . -}} - {{- end -}} - {{- with .Params.avatar -}} - {{- $img = . -}} - {{- end -}} -{{- end -}} - - -{{- $.Scratch.SetInMap "seo" "image" ($img | absURL) -}} - -{{/* Type - ---------------------------- */}} -{{- $.Scratch.SetInMap "seo" "type" "website" -}} - -{{- if in (slice "blog" "news") .Type -}} - {{- $.Scratch.SetInMap "seo" "type" "article" -}} -{{ else if in (slice "article") .Type }} - {{- $.Scratch.SetInMap "seo" "type" "event" -}} -{{- end -}} - - -{{/* Locale - ---------------------------- */}} -{{- $.Scratch.SetInMap "seo" "locale" "en_US" -}} - -{{/* Canonical ----------------------------- */}} -{{ with .Params.seo.canonical }} - {{- $.Scratch.SetInMap "seo" "canonical" (. | absURL) -}} -{{ else }} -{{- $.Scratch.SetInMap "seo" "canonical" .Permalink -}} -{{ end }} - -{{/*------------------------------ - RETRIEVING PROJECT'S OWN DATA - ------------------------------ */}} -{{- partial "seo/extend" . -}} - -{{ partial "seo/tags" (dict "page" $ "seo" ($.Scratch.Get "seo")) }} -{{ with .Site.Params.seo.jsonld }} - {{ partial "seo/jsonld" (dict "page" $ "seo" ($.Scratch.Get "seo")) }} -{{ end }} - -{{ with .Site.Params.seo.debug }} - {{ partial "seo/debug" $ }} -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/seo/tags.html b/themes/hugo-theme-novela/layouts/partials/seo/tags.html deleted file mode 100755 index 798aeff..0000000 --- a/themes/hugo-theme-novela/layouts/partials/seo/tags.html +++ /dev/null @@ -1,44 +0,0 @@ -{{/* - Print SEO meta tags - - @author The New Dynamic - - @access private - - @context map [page (Page), seo (Map)] */}} - -{{/*------------------------------ - WRITING TAGS - ------------------------------ */}} -{{- $seo := .seo -}} - -{{ $seo.title }} - - - - - - - - -{{- with ($seo.image_width) -}} - -{{- end -}} -{{- with ($seo.image_height) -}} - -{{- end -}} - - -{{ with $seo.canonical }} - -{{ end }} -{{ with $seo.twitter_handle }} - - -{{ end }} - - - -{{- with $seo.updated_time }} - -{{- end }} \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/social-links/social-links.html b/themes/hugo-theme-novela/layouts/partials/social-links/social-links.html deleted file mode 100644 index 2d500be..0000000 --- a/themes/hugo-theme-novela/layouts/partials/social-links/social-links.html +++ /dev/null @@ -1,11 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/partials/subscription/subscription.html b/themes/hugo-theme-novela/layouts/partials/subscription/subscription.html deleted file mode 100644 index d5a4267..0000000 --- a/themes/hugo-theme-novela/layouts/partials/subscription/subscription.html +++ /dev/null @@ -1,39 +0,0 @@ -{{ $email := . }} -{{ $action := printf "https://formspree.io/%s.tld" $email }} -
-
-
-

- Join our email list and get notified about new content -

-

- Be the first to receive our latest content with the ability to - opt-out at anytime. We promise to not spam your inbox or share your - email with any third parties. -

-
- - -
- The email you entered is not valid. -
-
-
-
-
- -{{ $script := resources.Get "js/addFormStyles.js" }} - \ No newline at end of file diff --git a/themes/hugo-theme-novela/layouts/post/single.html b/themes/hugo-theme-novela/layouts/post/single.html deleted file mode 100644 index dc6b3a8..0000000 --- a/themes/hugo-theme-novela/layouts/post/single.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ define "main" }} - -
- - {{ partial "article/hero.html" . }} - - {{ partial "article/progress" . }} - -
- {{ .Content }} -
- - - {{ partial "article/next.html" . }} -
- -{{ $script := resources.Get "js/progressBar.js" }} - -{{ end }} diff --git a/themes/hugo-theme-novela/layouts/shortcodes/subscribe.html b/themes/hugo-theme-novela/layouts/shortcodes/subscribe.html deleted file mode 100644 index 5c31541..0000000 --- a/themes/hugo-theme-novela/layouts/shortcodes/subscribe.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ with .Get "email" }} - {{ partial "subscription/subscription.html" . }} -{{ end }} diff --git a/themes/hugo-theme-novela/netlify.toml b/themes/hugo-theme-novela/netlify.toml deleted file mode 100644 index 8bc1d65..0000000 --- a/themes/hugo-theme-novela/netlify.toml +++ /dev/null @@ -1,10 +0,0 @@ -[build] -publish = "public" -command = "hugo --gc --minify" - -[build.environment] -HUGO_VERSION = "0.69.0" - -# This is a starter template for Netlify builds. See the following links for more: -# https://www.netlify.com/docs/continuous-deployment/#deploy-contexts -# https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond/ diff --git a/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/global.scss_48b060fe05b0a273d182ef83c0605941.content b/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/global.scss_48b060fe05b0a273d182ef83c0605941.content deleted file mode 100644 index dd9e694..0000000 --- a/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/global.scss_48b060fe05b0a273d182ef83c0605941.content +++ /dev/null @@ -1 +0,0 @@ -body{--serif: "Merriweather", Georgia, Serif;--sanserif: "SF Pro Display", "-apple-system", "BlinkMacSystemFont", "San Francisco", "Helvetica Neue", "Helvetica", "Ubuntu", "Roboto", "Noto", "Segoe UI", "Arial", sans-serif;--monospace: "Operator Mono", Consolas, Menlo, Monaco, source-code-pro, Courier New, monospace;--color-mode-transition: background 0.25s var(--ease-in-out-quad), color 0.25s var(--ease-in-out-quad);--primary: #000;--secondary: #73737D;--grey: #73737D;--background-color: #fafafa;--accent: #6166DC;--hover: rgba(0, 0, 0, 0.07);--gradient: linear-gradient(180deg, rgba(217, 219, 224, 0) 0%, #D9DBE0 100%);--articleText: #08080B;--track: rgba(8, 8, 11, 0.3);--progress: #000;--card: #fff;--error: #EE565B;--success: #46B17B;--errorBackground: rgba(238, 86, 91, 0.1);--horizontalRule: rgba(8, 8, 11, 0.15);--inputBackground: rgba(0, 0, 0, 0.05);--tooltip: lightgrey;--dark-grey: #73737D;--dark-primary: #fff;--dark-secondary: #fff;--dark-accent: #E9DAAC;--dark-background: #111216;--dark-hover: rgba(255, 255, 255, 0.07);--dark-gradient: linear-gradient(180deg, #111216 0%, rgba(66, 81, 98, 0.36) 100%);--dark-articleText: #fff;--dark-track: rgba(255, 255, 255, 0.3);--dark-progress: #fff;--dark-card: #1D2128;--dark-error: #EE565B;--dark-success: #46B17B;--dark-errorBackground: rgba(238, 86, 91, 0.1);--dark-horizontalRule: rgba(255, 255, 255, 0.15);--dark-inputBackground: rgba(255, 255, 255, 0.07);--token: #fff;--languageJavascript: #e8696b;--javascript: #e8696b;--background: #292c34;--comment: #5e6a76;--string: #a8e2a8;--var: #b3bac5;--number: #e4854d;--constant: #b3bac5;--plain: #fff;--doctype: #e8696b;--tag: #e8696b;--keyword: #d49fd4;--boolean: #ff5874;--function: #5F8DC3;--parameter: #F9965D;--className: #ffcf74;--attrName: #bf87ba;--attrValue: #a8e2a8;--interpolation: #fff;--punctuation: #5FA8AA;--property: #80cbc4;--propertyAccess: #fff;--namespace: #b2ccd6;--highlight: rgba(255,255,255,0.07);--highlightBorder: #e1bde2;--dom: #5F8DC3;--operator: #5FA8AA}a{-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition);color:var(--accent)}a:visited{color:var(--accent);opacity:.85}a:hover,a:focus{text-decoration:underline}.bio-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;left:-10px}.bio-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bio-link:hover{text-decoration:none}.bio-avatar{display:block;position:relative;height:40px;width:40px;border-radius:50%;background:rgba(0,0,0,.25);margin-right:16px;margin:10px 26px 10px 10px}.bio-avatar::after{content:"";position:absolute;left:-5px;top:-5px;width:50px;height:50px;border-radius:50%;border:1px solid rgba(0,0,0,.25)}.bio-avatar[data-a11y=true]:focus::after{content:"";position:absolute;left:-5px;top:-5px;width:50px;height:50px;border:2px solid var(--accent)}.bio-avatar-inner{height:40px;width:40px;border-radius:50%;background:rgba(0,0,0,.25);margin-right:16px;overflow:hidden}.bio-text{margin-bottom:0;max-width:430px;font-size:14px;line-height:1.45;color:var(--grey)}.author-avatar{width:100%}blockquote{-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition);margin:15px auto 50px;color:var(--articleText);font-family:var(--serif);font-style:italic}blockquote>p{font-family:var(--serif);max-width:880px!important;padding-right:100px;padding-bottom:0;width:100%;margin:0 auto;font-size:36px;line-height:1.32;font-weight:700}@media screen and (max-width:735px){blockquote{margin:10px auto 35px;font-size:26px;padding:0 180px}}@media screen and (max-width:540px){blockquote{font-size:36px;padding:0 20px 0 40px}}h1,h2,h3,h4,h5,h6{margin:0 auto;font-weight:700;color:var(--primary);font-family:var(--serif);width:100%;max-width:680px}h1,h1 *,h2,h2 *{margin:25px auto 18px}h3,h3 *{margin:20px auto 10px}h1{font-size:52px;line-height:1.15}h2{font-size:32px;line-height:1.333}h3{font-size:24px;line-height:1.45}h4{font-size:18px;line-height:1.45}h5{font-size:18px;line-height:1.45}h6{font-size:16px;line-height:1.45}@media screen and (max-width:1070px){h1{font-size:38px;line-height:1.2}h2{font-size:21px}}@media screen and (max-width:737px){h1,h2{margin:30px auto 18px}h2{font-size:24px;line-height:1.45}h3{font-size:22px}}@media screen and (max-width:540px){h1{font-size:32px;line-height:1.3}h2{font-size:22px}h3{font-size:20px}h4{font-size:16px}h5{font-size:16px}h6{font-size:14px}}hr{position:relative;width:100%;max-width:680px;margin:50px auto;border:0;height:14.36px;background-repeat:repeat-x;-webkit-box-sizing:border-box;box-sizing:border-box;background-position:50%}@media screen and (max-width:1070px){hr{max-width:507px}}@media screen and (max-width:735px){hr{max-width:486px;width:calc(100vw - 40px);margin:0 auto 50px}}@media screen and (max-width:340px){hr{padding:0 20px}}.image-placeholder{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background:#ccc;color:#898989;font-size:32px;font-weight:600}.image-zoom{display:block;margin:0 auto;width:100%}@media screen and (max-width:540px){.image-placeholder{font-size:28px}}.layout-styled{position:relative;background:var(--background-color);-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition);min-height:100vh}ul{list-style:none;counter-reset:list;color:var(--articleText);position:relative;padding:15px 0 30px 30px;-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition);margin:0 auto;font-size:18px;width:100%;max-width:680px}@media screen and (max-width:1070px){ul{max-width:507px}}@media screen and (max-width:735px){ul{max-width:486px;padding-left:0}}@media screen and (max-width:540px){ul{padding-left:20px}}li{position:relative;padding-bottom:15px}@media screen and (max-width:735px){ul li{padding-left:30px}ul li p{padding:0}}@media screen and (max-width:540px){ul li{padding-left:30px}}ul li>*{display:inline}ul li::before{width:3rem;display:inline-block;position:absolute;color:var(--articleText);content:"";position:absolute;left:-30px;top:8px;height:8px;width:8px;background:var(--articleText)}@media screen and (max-width:735px){ul li::before{left:0}}ol{list-style:none;counter-reset:list;color:var(--articleText);position:relative;padding:15px 0 30px 30px;margin:0 auto;-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition);font-size:18px;width:100%;max-width:680px}@media screen and (max-width:1070px){ol{max-width:507px}}@media screen and (max-width:735px){ol{max-width:486px;padding-left:0}}@media screen and (max-width:540px){ol{padding-left:20px}}ol li{position:relative;padding-bottom:15px}@media screen and (max-width:735px){ol li{padding-left:30px;padding:0}ol li p{padding-left:30px}}@media screen and (max-width:540px){ol li{padding-left:30px}}ol li>*{display:inline}ol li::before{width:3rem;display:inline-block;position:absolute;color:var(--articleText);counter-increment:list;content:counter(list)".";font-weight:600;position:absolute;left:-3rem;top:-.3rem;font-size:2rem}@media screen and (max-width:735px){ol li::before{left:0}}#logo-desktop .change-fill{fill:var(--primary)}#logo-mobile path{fill:var(--primary)}@media screen and (max-width:735px){.Logo__Desktop{display:none}.Logo__Mobile{display:block}}.footer-container{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:80px;color:var(--grey)}@media screen and (max-width:735px){.footer-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-bottom:100px}}@media screen and (max-width:540px){.footer-container{padding-bottom:50px}}.footer-hr{position:relative;margin:140px auto 50px;border-bottom:1px solid var(--horizontalRule)}@media screen and (max-width:735px){.footer-hr{margin:60px auto}.footer-text{margin-bottom:80px}}@media screen and (max-width:540px){.footer-hr{display:none}.footer-text{margin:120px auto 100px}}.footer-gradient{position:absolute;bottom:0;left:0;width:100%;height:590px;z-index:0;pointer-events:none;background:var(--gradient);-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition);mix-blend-mode:lighten}.back-arrow-ico-container{-webkit-transition:.2s -webkit-transform var(--ease-out-quad);transition:.2s -webkit-transform var(--ease-out-quad);-o-transition:.2s transform var(--ease-out-quad);transition:.2s transform var(--ease-out-quad);transition:.2s transform var(--ease-out-quad),.2s -webkit-transform var(--ease-out-quad);opacity:0;padding-right:30px;-webkit-animation:fadein .3s linear forwards;animation:fadein .3s linear forwards}@-webkit-keyframes fadein{to{opacity:1}}@keyframes fadein{to{opacity:1}}@media screen and (max-width:1280px){.back-arrow-ico-container{display:none}}.nav-container{position:relative;z-index:100;padding-top:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media screen and (max-height:800px){.nav-container{padding-top:50px}}@media screen and (max-width:1280px){.nav-container{padding-top:50px}}.logo-link{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.logo-link[class*=data-ally]:focus::after{content:"";position:absolute;left:-10%;top:-30%;width:120%;height:160%;border:2px solid var(--accent);background:rgba(255,255,255,.01);border-radius:5px}.logo-link[class*=back-arrow-ico-container]{-webkit-transform:translateX(-3px);-ms-transform:translateX(-3px);transform:translateX(-3px)}.logo-link:hover{text-decoration:none}@media screen and (max-width:1280px){.logo-link{left:0}}.nav-controls{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:540px){.nav-controls{right:-5px}}.tool-tip{opacity:0;-webkit-transform:translateY(6px);-ms-transform:translateY(6px);transform:translateY(6px);position:absolute;padding:4px 13px;border-radius:5px;font-size:14px;top:-35px;color:var(--primary);background-color:var(--tooltip);-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes pan-toolbar{0%{opacity:0;-webkit-transform:translateY(6px);transform:translateY(6px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(6px);transform:translateY(6px)}}@keyframes pan-toolbar{0%{opacity:0;-webkit-transform:translateY(6px);transform:translateY(6px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(6px);transform:translateY(6px)}}.icon-wrapper{opacity:.5;position:relative;border-radius:5px;width:40px;height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease;margin-left:30px}.icon-wrapper:hover{opacity:1}.icon-wrapper[class*=data-ally]:focus::after{content:"";position:absolute;left:0;top:-30%;width:100%;height:160%;border:2px solid var(--accent);background:rgba(255,255,255,.01);border-radius:5px}@media screen and (max-width:735px){.icon-wrapper{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-transform:scale(0.708);-ms-transform:scale(0.708);transform:scale(0.708);margin-left:10px}.icon-wrapper:hover{opacity:.5}}.sun-rays{position:relative;right:-16px;width:9px;height:9px;border-radius:50%;border:2px solid var(--primary);background:var(--primary);-webkit-transform:1;-ms-transform:1;transform:1;-webkit-transition:all .45s ease;-o-transition:all .45s ease;transition:all .45s ease;overflow:hidden;-webkit-box-shadow:0 -23px 0 var(--primary),0 23px 0 var(--primary),23px 0 0 var(--primary),-23px 0 0 var(--primary),15px 15px 0 var(--primary),-15px 15px 0 var(--primary),15px -15px 0 var(--primary),-15px -15px 0 var(--primary);box-shadow:0 -23px 0 var(--primary),0 23px 0 var(--primary),23px 0 0 var(--primary),-23px 0 0 var(--primary),15px 15px 0 var(--primary),-15px 15px 0 var(--primary),15px -15px 0 var(--primary),-15px -15px 0 var(--primary);-webkit-transform:scale(0.6);-ms-transform:scale(0.6);transform:scale(0.6)}.moon-or-sun{position:relative;width:24px;height:24px;border-radius:50%;border:2px solid var(--primary);background:var(--primary);-webkit-transform:1;-ms-transform:1;transform:1;-webkit-transition:all .45s ease;-o-transition:all .45s ease;transition:all .45s ease;overflow:hidden}.moon-mask{position:absolute;right:-1px;top:-8px;height:24px;width:24px;border-radius:50%;border:0;background:var(--background-color);-webkit-transform:translate("0, 0");-ms-transform:translate("0, 0");transform:translate("0, 0");opacity:1;-webkit-transition:var(--color-mode-transition),-webkit-transform .45s ease;transition:var(--color-mode-transition),-webkit-transform .45s ease;-o-transition:transform .45s ease,var(--color-mode-transition);transition:transform .45s ease,var(--color-mode-transition);transition:transform .45s ease,var(--color-mode-transition),-webkit-transform .45s ease}.mask-to-sun-animation{-webkit-animation-name:mask-to-sun;animation-name:mask-to-sun;-webkit-animation-duration:.4s;animation-duration:.4s}.mask-to-moon-animation{-webkit-animation-name:mask-to-moon;animation-name:mask-to-moon;-webkit-animation-duration:.4s;animation-duration:.4s}.to-sun-animation{-webkit-animation-name:to-sun;animation-name:to-sun;-webkit-animation-duration:.4s;animation-duration:.4s}.to-moon-animation{-webkit-animation-name:to-moon;animation-name:to-moon;-webkit-animation-duration:.4s;animation-duration:.4s}.expand-rays{-webkit-animation-name:expand-rays;animation-name:expand-rays;-webkit-animation-duration:.5s;animation-duration:.5s}.contract-rays{-webkit-animation-name:contract-rays;animation-name:contract-rays;-webkit-animation-duration:.5s;animation-duration:.5s}@-webkit-keyframes mask-to-sun{from{top:-8px;right:-5px;-webkit-transform:scale(1);transform:scale(1)}to{top:-25px;right:-15px;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes mask-to-sun{from{top:-8px;right:-5px;-webkit-transform:scale(1);transform:scale(1)}to{top:-25px;right:-15px;-webkit-transform:scale(0.5);transform:scale(0.5)}}@-webkit-keyframes mask-to-moon{from{top:-25px;right:-15px;-webkit-transform:scale(0.5);transform:scale(0.5)}to{top:-8px;right:-5px;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mask-to-moon{from{top:-25px;right:-15px;-webkit-transform:scale(0.5);transform:scale(0.5)}to{top:-8px;right:-5px;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes to-sun{from{-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes to-sun{from{-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:scale(0.5);transform:scale(0.5)}}@-webkit-keyframes to-moon{from{-webkit-transform:scale(0.5);transform:scale(0.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes to-moon{from{-webkit-transform:scale(0.5);transform:scale(0.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes expand-rays{from{-webkit-transform:scale(0.1);transform:scale(0.1)}to{-webkit-transform:scale(0.6);transform:scale(0.6)}}@keyframes expand-rays{from{-webkit-transform:scale(0.1);transform:scale(0.1)}to{-webkit-transform:scale(0.6);transform:scale(0.6)}}@-webkit-keyframes contract-rays{from{-webkit-transform:scale(0.6);transform:scale(0.6)}to{-webkit-transform:scale(0.1);transform:scale(0.1)}}@keyframes contract-rays{from{-webkit-transform:scale(0.6);transform:scale(0.6)}to{-webkit-transform:scale(0.1);transform:scale(0.1)}}.header-hidden{position:absolute;display:inline-block;opacity:0;width:0;height:0;visibility:hidden;overflow:hidden}.page-button{font-weight:600;font-size:18px;text-decoration:none;color:var(--primary)}.page-button:hover,.page-button:focus{opacity:1;text-decoration:underline}.page-number-button{font-weight:400;font-size:18px;text-decoration:none;color:var(--primary)}.page-number-button:hover,.page-number-button:focus{text-decoration:underline}.spacer{opacity:.3}.spacer::before{content:"..."}.mobiler-reference{font-weight:400;color:var(--primary)}.mobile-reference em{font-style:normal;color:var(--primary)}.frame{position:relative;z-index:1;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:735px){.frame{left:-15px}}p{line-height:1.756;font-size:18px;color:var(--articleText);font-family:var(--sanserif);-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition);margin:0 auto 35px;width:100%;max-width:680px}p b{font-weight:800}@media screen and (max-width:1070px){p{max-width:507px}}@media screen and (max-width:735px){p{max-width:486px;margin:0 auto 25px}}@media screen and (max-width:540px){p{padding:0 20px}}.aside-container{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 auto;max-width:1140px;z-index:0;position:-webkit-sticky;position:sticky;top:30%;-webkit-animation-name:progress-fade-in;animation-name:progress-fade-in;-webkit-animation-duration:.5s;animation-duration:.5s}@media screen and (max-width:1280px){.aside-container{display:none}}@-webkit-keyframes progress-fade-in{from{opacity:0}to{opacity:1}}@keyframes progress-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes progress-fade-out{from{opacity:1}to{opacity:0}}@keyframes progress-fade-out{from{opacity:1}to{opacity:0}}.aside-align{position:fixed;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transform:translateY(0px);-ms-transform:translateY(0px);transform:translateY(0px);top:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100vh;z-index:3;opacity:1;visibility:visible;-webkit-transition:opacity .4s linear,visibility .4s linear;-o-transition:opacity .4s linear,visibility .4s linear;transition:opacity .4s linear,visibility .4s linear}.overlap-container{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;opacity:0;-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.progress-container{position:relative;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.track-line{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:calc(88vh - 40px);max-height:425px;width:1px;background-color:var(--track);opacity:.6;overflow:hidden}.progress-line{position:absolute;height:100%;top:-100%;width:1px;background-color:var(--progress);left:0}.social-icon-outer{width:20%;min-width:220px}@media screen and (max-width:735px){.authors-sio{width:60%}}.social-icon-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-width:100%;position:relative;margin-left:3.2rem;text-decoration:none;max-width:16px}.social-icon-container a{margin-right:25px}.social-icon-container:hover>svg{fill:var --primary}.social-icon-container:hover>*{-webkit-transition:fill .25s var(--ease-in-out-quad);-o-transition:fill .25s var(--ease-in-out-quad);transition:fill .25s var(--ease-in-out-quad)}.social-icon-container:first-of-type{margin-left:0}.social-icon-container:last-child{margin-right:0}@media screen and (max-width:735px){.social-icon-container{margin:0 2.2rem}}.social-icon-image path{fill:var(--grey)}.hidden{width:0;height:0;visibility:hidden;opacity:0;overflow:hidden;display:inline-block}.subscription-container{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:64px 0 55px;margin:10px auto 100px;background:var(--card);-webkit-box-shadow:0 4px 50px rgba(0,0,0,.05);box-shadow:0 4px 50px rgba(0,0,0,.05);z-index:1}.subscription-container .subscroiption-text{margin-left:0;margin-right:0}@media screen and (max-width:735px){.subscription-container{padding:50px 0 0;text-align:center}.subscription-container .submitted-input{max-width:calc(100% - 36px)}.subscription-container .submit-button{position:relative;width:100%;left:0;border-radius:0;height:60px;border:none;border-top:1px solid var(--theme-ui-colors-horizontalRule,rgba(8,8,11,0.15))}.subscription-container .submitted-form .submit-button{border:none!important;border-top:1px solid var(--theme-ui-colors-horizontalRule,rgba(8,8,11,0.15))!important}}@media screen and (max-width:540px){.subscription-container{margin:-20px auto 80px}}.subscription-content{margin:0 auto;width:100%;max-width:640px}@media screen and (max-width:735px){.subscription-content h3{padding:0 50px}}@media screen and (max-width:376px){.subscription-content h3{padding:0 24px}}.subscription-heading{font-family:var(--serif);margin-bottom:20px}@media screen and (max-width:735px){.subscription-heading{margin-bottom:15px}}.subscription-text{margin:0 0 30px;max-width:680px;color:var(--grey);line-height:1.75}@media screen and (max-width:735px){.subscription-text{padding:0 26px;margin:0 auto 25px}}.subscription-form{position:relative}.subscription-form::after{color:var(--accent);content:">";position:absolute;left:21px;top:10px}@media screen and (max-width:735px){.subscription-form:after{left:34px;top:11px}}.subscription-input{position:relative;border-radius:35px;border:none;padding:13px 21px 13px 35px;width:471px;color:var(--primary);background-color:var(--inputBackground)}.subscription-input.submitted-input:invalid{position:relative;background:var(--theme-ui-colors-errorBackground,rgba(238,86,91,0.1))!important;border-radius:35px;border:none;padding:13px 21px 13px 35px;width:471px;color:var(--primary,#000);outline:none!important}input:invalid{-webkit-box-shadow:0 0 2px 1px transparent;box-shadow:0 0 2px 1px transparent}input:focus,select:focus,textarea:focus,button:focus{outline:none}.subscription-input.submitted-input:invalid~.subscription-error-message{opacity:1}.subscription-input.submitted-input:invalid~.submit-button{color:var(--error);border:1px solid var(--error)}.submitted-form:after{color:var(--error)}.subscription-error-message{position:absolute;left:35px;bottom:-20px;color:var(--theme-ui-colors-error,#EE565B);font-size:12px;opacity:0}.subscription-input::-webkit-input-placeholder{color:var(--track);opacity:1}.subscription-input::-moz-placeholder{color:var(--track);opacity:1}.subscription-input:-ms-input-placeholder{color:var(--track);opacity:1}.subscription-input::-ms-input-placeholder{color:var(--track);opacity:1}.subscription-input::placeholder{color:var(--track);opacity:1}.subscription-input:-ms-input-placeholder{color:var(--track)}.subscription-input::-ms-input-placeholder{color:var(--track)}@media screen and (max-width:735px){.subscription-input{width:calc(100% - 36px);margin:0 18px;padding:14px 14px 14px 30px;margin-bottom:30px}}.submit-button{border:1px solid var(--accent);color:var(--accent);position:absolute;left:306px;top:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:161px;height:38px;font-weight:600;border-radius:35px;letter-spacing:.42px;-webkit-transition:border-color .2s var(--ease-in-out-quad),background .2s var(--ease-in-out-quad),color .2s var(--ease-in-out-quad);-o-transition:border-color .2s var(--ease-in-out-quad),background .2s var(--ease-in-out-quad),color .2s var(--ease-in-out-quad);transition:border-color .2s var(--ease-in-out-quad),background .2s var(--ease-in-out-quad),color .2s var(--ease-in-out-quad)}.submit-button:disabled{cursor:not-allowed}.submit-button svg *{fill:var(--background-color)}.submit-error{position:absolute;left:35px;bottom:-20px;color:var(--error);font-size:12px}.submit-error a{color:var --error;text-decoration:underline}@media screen and (max-width:735px){.submit-error{left:50px;top:50px}}table{position:relative;line-height:1.65;color:var(--grey);font-family:var(--sanserif);-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition);background:var(--card);margin:45px auto 85px;width:100%;max-width:1004px;border:1px solid var(--horizontalRule);border-radius:5px;overflow:hidden;border-collapse:separate}@media screen and (max-width:1070px){table{margin:25px auto 65px}}@media screen and (max-width:735px){table{max-width:486px}}@media screen and (max-width:540px){table{margin:15px auto 55px}}td{border-top:1px solid var(--horizontalRule);padding:15px 30px;font-size:16px;background:var(--card)}@media screen and (max-width:1070px){td{padding:14px 20px}}@media screen and (max-width:735px){td{font-size:14px}}thead{text-align:left;border-collapse:collapse;position:relative;line-height:1.756;font-weight:600;color:var(--primary);font-family:var(--serif);-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition)}.section{width:100%;max-width:1220px;margin:0 auto;padding:0 4rem}@media screen and (max-width:1070px){.section{max-width:850px}}@media screen and (max-width:540px){.section{max-width:100%;padding:2rem}}.section p{}@media screen and (max-width:735px){.section p{padding:0 4rem;max-width:567px}}.narrow p{}@media screen and (max-width:735px){.narrow p{padding:0 2rem;max-width:527px}}.subheading-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:100px}@media screen and (max-width:1070px){.subheading-container{margin-bottom:80px}}@media screen and (max-width:735px){.subheading-container{margin-bottom:60px}}@media screen and (max-width:540px){.subheading-container{display:none}}.grid-controls-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:735px){.grid-controls-container{display:none!important}}.heading-container{margin:100px 0}@media screen and (max-width:1070px){.heading-container{width:80%}}@media screen and (max-width:735px){.heading-container{width:100%}}.hero-heading{font-style:normal;font-weight:600;font-size:52px;font-family:var(--sanserif);line-height:1.15;color:var(--primary);margin:0}@media screen and (max-width:1070px){.hero-heading{font-size:38px}}@media screen and (max-width:540px){.hero-heading{font-size:32px}}.grid-button{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:36px;width:36px;border-radius:50%;background:0 0;-webkit-transition:background .25s;-o-transition:background .25s;transition:background .25s}.grid-button:not(:last-child){margin-right:30px}.grid-button:hover{background:var(--hover)}.grid-button[data-a11y=true]:focus::after{content:"";position:absolute;left:-10%;top:-10%;width:120%;height:120%;border:2px solid var(--accent);background:rgba(255,255,255,.01);border-radius:50%}.grid-button svg{-webkit-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.grid-button svg path{fill:var(--primary)}.limit-to-two-lines,.articles-title,.article-excerpt{-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow-wrap:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;white-space:normal;overflow:hidden}@media screen and (max-width:540px){.limit-to-two-lines,.articles-title,.article-excerpt{-webkit-line-clamp:3}}.show-details p{display:-webkit-box}.show-details h2{margin-bottom:10px}.articles-list-container{-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.author-alc{background-image:-webkit-gradient(linear,left top,left bottom,from(var(--card)),to(var(--background-color)));background-image:-o-linear-gradient(var(--card),var(--background-color));background-image:linear-gradient(var(--card),var(--background-color));padding-top:90px}.author-alc .post-row-alt{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.author-alc .post-row-alt .article-link{max-width:40%!important;margin:15px}.list-title{position:relative;display:-ms-grid;display:grid;-ms-grid-columns:'457px 1fr';grid-template-columns:'457px 1fr';-ms-grid-rows:2;grid-template-rows:2;-webkit-column-gap:30px;-moz-column-gap:30px;column-gap:30px}.list-title:not(:last-child){margin-bottom:75px}@media screen and (max-width:1280px){.list-title{grid-template-columns:1fr 1fr}}@media screen and (max-width:735px){.list-title{grid-template-columns:1fr}.list-title:not(:last-child){margin-bottom:0}}.list-title>*:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.list-title-alt{-ms-grid-columns:'457px 1fr';grid-template-columns:'457px 1fr'}.list-item-row{display:-ms-grid;display:grid;-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:1fr 96px 488px;grid-template-columns:1fr 488px;grid-column-gap:96px;-ms-grid-rows:1;grid-template-rows:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;margin-bottom:50px}@media screen and (max-width:1070px){.list-item-row{grid-column-gap:24px;grid-template-columns:1fr 380px}}@media screen and (max-width:735px){.list-item-row{grid-template-columns:1fr}}@media(max-width:540px){.list-item-row{background:var(--card)}}@media screen and (max-width:540px){.list-item-row{-webkit-box-shadow:0 20px 40px rgba(0,0,0,.2);box-shadow:0 20px 40px rgba(0,0,0,.2);border-bottom-right-radius:5px;border-bottom-left-radius:5px}}.list-item-row>*:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.list-item-row>*:nth-child(2){-ms-grid-row:1}.list-item-tile{position:relative}@media screen and (max-width:735px){.list-item-tile{margin-bottom:60px}}@media(max-width:540px){.list-item-tile{background:var(--card)}}@media screen and (max-width:540px){.list-item-tile{margin-bottom:40px;-webkit-box-shadow:0 20px 40px rgba(0,0,0,.2);box-shadow:0 20px 40px rgba(0,0,0,.2);border-bottom-right-radius:5px;border-bottom-left-radius:5px}}.list-row{display:-ms-grid;display:grid;-ms-grid-rows:"1fr 1fr";grid-template-rows:"1fr 1fr"}.list-row-alt{-ms-grid-rows:"1fr";grid-template-rows:"1fr"}.image-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;position:relative;height:280px;-webkit-box-shadow:0 30px 60px -10px rgba(0,0,0,.22),0 18px 36px -18px rgba(0,0,0,.25);box-shadow:0 30px 60px -10px rgba(0,0,0,.22),0 18px 36px -18px rgba(0,0,0,.25);margin-bottom:30px;-webkit-transition:-webkit-transform .3s var(--ease-out-quad),-webkit-box-shadow .3s var(--ease-out-quad);transition:-webkit-transform .3s var(--ease-out-quad),-webkit-box-shadow .3s var(--ease-out-quad);-o-transition:transform .3s var(--ease-out-quad),box-shadow .3s var(--ease-out-quad);transition:transform .3s var(--ease-out-quad),box-shadow .3s var(--ease-out-quad);transition:transform .3s var(--ease-out-quad),box-shadow .3s var(--ease-out-quad),-webkit-transform .3s var(--ease-out-quad),-webkit-box-shadow .3s var(--ease-out-quad)}.image-container>div{height:100%}@media screen and (max-width:735px){.image-container{height:200px;margin-bottom:35px}}@media screen and (max-width:540px){.image-container{overflow:hidden;margin-bottom:0;-webkit-box-shadow:none;box-shadow:none;border-top-right-radius:5px;border-top-left-radius:5px}}.article-image{-ms-flex-negative:0;flex-shrink:0;max-width:100%;min-height:100%;-o-object-fit:cover;object-fit:cover}.article-title{font-size:21px;font-family:var(--serif);margin-bottom:35px;-webkit-transition:color .3s ease-in-out;-o-transition:color .3s ease-in-out;transition:color .3s ease-in-out}@media screen and (max-width:1070px){.article-title{margin-bottom:15px}}@media screen and (max-width:735px){.article-title{font-size:24px}}@media screen and (max-width:540px){.article-title{font-size:22px;padding:0 20px;margin-bottom:10px;-webkit-line-clamp:3}}.article-excerpt{font-size:16px;margin-left:0;margin-right:0;margin-bottom:10px;color:var(--grey);display:none}@media screen and (max-width:1070px){.article-excerpt{display:-webkit-box}}@media screem and (max-width:540px){.article-excerpt{margin-bottom:15px;max-width:100%;padding:0 20px;margin-bottom:20px;-webkit-line-clamp:3}}.article-metadata{font-weight:600;font-size:16px;color:var(--grey);opacity:.33}@media screen and (max-width:540px){.article-metadata{max-width:100%;padding:0 20px 30px}}.post-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;margin-bottom:100px}@media screen and (max-width:735px){.post-row{margin:0;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}.post-row-alt{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;margin-bottom:100px;-ms-flex-wrap:wrap;flex-wrap:wrap}.post-row-alt .article-link{margin-top:75px;max-width:48.3%}@media screen and (max-width:735px){.post-row-alt .article-link{max-width:100%}}.article-link{max-width:39.5%;position:relative;display:block;width:100%;top:0;left:0;border-radius:5px;z-index:1;-webkit-transition:-webkit-transform .33s var(--ease-out-quart);transition:-webkit-transform .33s var(--ease-out-quart);-o-transition:transform .33s var(--ease-out-quart);transition:transform .33s var(--ease-out-quart);transition:transform .33s var(--ease-out-quart),-webkit-transform .33s var(--ease-out-quart);-webkit-tap-highlight-color:transparent}.article-link:hover{text-decoration:none}.article-link:hover .image-container,.article-link:focus .image-container{-webkit-transform:translateY(-1px);-ms-transform:translateY(-1px);transform:translateY(-1px);-webkit-box-shadow:0 50px 80px -20px rgba(0,0,0,.27),0 30px 50px -30px rgba(0,0,0,.3);box-shadow:0 50px 80px -20px rgba(0,0,0,.27),0 30px 50px -30px rgba(0,0,0,.3)}.article-link:hover h2,.article-link:focus h2{color:var(--accent)}.article-link[data-a11y=true]:focus::after{content:"";position:absolute;left:-1.5%;top:-2%;width:103%;height:104%;border:3px solid var(--accent);background:rgba(255,255,255,.01);border-radius:5px}@media screen and (max-width:1280px){.article-link{max-width:48.5%}}@media screen and (max-width:735px){.article-link{min-width:80%!important;display:block;margin-bottom:60px}.article-link p{padding:0}}@media screen and (max-width:540px){.article-link{min-width:100%!important;margin-bottom:40px;-webkit-box-shadow:0 20px 40px rgba(0,0,0,.2);box-shadow:0 20px 40px rgba(0,0,0,.2)}.article-link:hover .image-container{-webkit-transform:none;-ms-transform:none;transform:none;-webkit-box-shadow:initial;box-shadow:initial}.article-link:active{-webkit-transform:scale(0.97)translateY(3px);-ms-transform:scale(0.97)translateY(3px);transform:scale(0.97)translateY(3px)}.article-link p{padding:0 20px}}#article-link-bigger{max-width:58.5%!important}@media screen and (max-width:1280px){#article-link-bigger{max-width:48.5%!important}}.articles-list-container-alt .post-row{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important;margin-bottom:0}.articles-list-container-alt .post-row .article-link{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;min-width:100%!important;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;flex-wrap:none}.articles-list-container-alt .post-row .article-link .article-data-outer{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;min-width:100%!important;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:none;flex-wrap:none;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.articles-list-container-alt .post-row .article-link .article-data-outer .image-container{max-width:46%}.articles-list-container-alt .post-row .article-link .article-data-outer .article-data{width:46%}.articles-gradient{position:absolute;bottom:0;left:0;width:100%;height:590px;z-index:0;pointer-events:none;background:var(--gradient);-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition)}.articles-paginator{margin-top:95px}.code-toolbar{max-width:750px;margin:0 auto 35px;overflow:auto;font-size:12px}.code-toolbar pre{padding-top:2.5em!important;padding-bottom:2.5em!important;padding-left:5em!important;padding-right:5em!important;border-radius:5px!important;background-color:#292c34!important}.code-toolbar pre code{color:#fff}.code-toolbar .toolbar-item{position:absolute;top:1em;right:1em}@media screen and (max-width:540px){.article-hero::before{content:"";width:100%;height:20px;background:var(--primary);position:absolute;left:0;top:0;-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition)}.article-hero::after{content:"";width:100%;height:10px;background:var(--background-color);position:absolute;left:0;top:10px;border-top-left-radius:25px;border-top-right-radius:25px;-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition)}}.article-meta{display:-webkit-box;display:-ms-flexbox;display:flex}@media screen and (max-width:540px){.article-meta{margin-left:0;flex-direction:column}}.article-header{position:relative;z-index:10;margin:100px auto 120px;padding-left:68px;max-width:749px}@media screen and (max-width:1070px){.article-header{padding-left:53px;max-width:calc(507px + 53px);margin:100px auto 70px}}@media screen and (max-width:735px){.article-header{padding-left:0;margin:100px auto 70px;max-width:480px}}@media screen and (max-width:540px){.article-header{margin:170px auto 180px;padding:0 40px}}@media screen and (max-height:700px){.article-header{margin:100px auto}}.article-hero-heading{font-size:48px;font-family:var(--serif);margin-bottom:25px;font-weight:700;line-height:1.32}@media screen and (max-width:735px){.article-hero-heading{margin-bottom:20px;font-size:36px}}@media screen and (max-width:540px){.article-hero-heading{font-size:32px}}.article-hero-subtitle{padding:10px;max-width:700px;margin-left:auto;margin-right:auto;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:18px;color:var(--grey)}@media screen and (max-width:540px){.article-hero-subtitle{border:1px solid var(--horizontalRule);border-radius:5px}}@media screen and (max-width:540px){.article-hero-subtitle{font-size:14px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.article-hero-subtitle.has-coauthors::before{content:'';position:absolute;left:-20px;right:-20px;top:-10px;bottom:-10px;border:1px solid var(--horizontalRule);opacity:.5;border-radius:5px}.article-hero-subtitle strong{display:block;font-weight:500;margin-bottom:5px}}.article-hero-image{position:absolute;z-index:1;width:100%;max-width:944px;overflow:hidden;margin:0 auto;-webkit-box-shadow:0 30px 60px -10px rgba(0,0,0,.2),0 18px 36px -18px rgba(0,0,0,.22);box-shadow:0 30px 60px -10px rgba(0,0,0,.2),0 18px 36px -18px rgba(0,0,0,.22)}.article-hero-image img{width:100%}@media screen and (max-width:1280px){.article-hero-image{position:relative}}@media screen and (max-width:735px){.article-hero-image{max-width:100%}}@media screen and (max-width:phablet){.article-hero-image{margin:0 auto;width:calc(100vw - 40px);height:220px}.article-hero-image>div{height:220px}}.article-author-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:inherit}.article-author-link:hover{text-decoration:none}.article-author-link:visited{color:inherit}.article-author-link strong{-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition)}.article-author-link:hover strong{color:var(--primary)}.article-author-avatar{height:25px;width:25px;border-radius:50%;margin-right:14px;background:var(--grey);overflow:hidden}.article-author-avatar img{width:100%}.article-author-avatar .gatsby-image-wrapper>div{padding-bottom:100%!important}@media screen and (max-width:540px){.article-author-avatar{display:none}}.hide-on-mobile{}@media screen and (max-width:540px){.hide-on-mobile{display:none}}.article-coauthors-container{margin-right:10px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:18px;color:var(--grey);cursor:pointer}.article-coauthors-container::before{content:"";position:absolute;left:0;right:0;top:-16px;bottom:-16px;background:var(--card);-webkit-box-shadow:0 0 15px rgba(0,0,0,.1);box-shadow:0 0 15px rgba(0,0,0,.1);border-radius:5px;z-index:0;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s;cursor:pointer;opacity:0}.article-coauthors-container:hover::before{opacity:1}@media screen and (max-width:540px){.article-coauthors-container{font-size:14px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.article-coauthors-container::before{-webkit-box-shadow:none;box-shadow:none;bottom:-30px;background:0 0}.article-coauthors-container strong{display:block;font-weight:semi-bold;margin-bottom:5px}}.article-coauthors-collapsed{display:-webkit-box;display:-ms-flexbox;display:flex}.article-coauthors-list{position:relative;height:25px;margin-right:15px;margin-left:15px}@media screen and (max-width:540px){.article-coauthors-list{display:none}}.article-coauthors-avatar{position:absolute;height:25px;width:25px;border-radius:50%;z-index:1;background:var(--grey);-webkit-box-shadow:0 0 0 2px var(--background-color);box-shadow:0 0 0 2px var(--background-color);-webkit-transition:-webkit-box-shadow .25s ease;transition:-webkit-box-shadow .25s ease;-o-transition:box-shadow .25s ease;transition:box-shadow .25s ease;transition:box-shadow .25s ease,-webkit-box-shadow .25s ease;overflow:hidden;pointer-events:none}.article-coauthors-avatar img{width:100%}@media screen and (max-width:540px){.article-coauthors-avatar{display:none}}.article-coauthors-name-container{position:relative;max-width:260px;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;font-weight:600;cursor:pointer}@media screen and (max-width:1070px){.article-coauthors-name-container{max-width:120px}}@media screen and (max-width:540px){.article-coauthors-name-container{max-width:200px}}.article-coauthors-icon-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;cursor:pointer;margin-left:10px;margin-right:10px}@media screen and (max-width:540px){.article-coauthors-icon-container{position:absolute;right:0;bottom:0;top:10px;height:100%}}.article-coauthors-list-open{position:absolute;z-index:2;left:-21px;right:-21px;top:-19px;padding:21px;background:var(--card);-webkit-box-shadow:0 0 15px rgba(0,0,0,.1);box-shadow:0 0 15px rgba(0,0,0,.1);border-radius:5px;cursor:pointer;list-style-type:none;-webkit-transform:translateY(-2px);-ms-transform:translateY(-2px);transform:translateY(-2px)}.article-coauthors-list-open li::before{display:none}.article-icon-open-container{position:absolute;cursor:pointer;top:25px;right:10px}.article-coauthors-list-item-open{padding:0}.article-coauthors-list-item-open a{width:100%}.article-coauthors-list-item-open:not(:last-child){margin-bottom:10px}.article-coauthor-avatar-open{height:25px;width:25px;border-radius:50%;margin-right:15px;background:var(--grey);overflow:hidden;pointer-events:none}.article-coauthor-avatar-open img{width:100%}.article-coauthor-avatar-open .gatsby-image-wrapper>div{padding-bottom:100%!important;overflow:hidden}.article-author-name-open{position:relative;cursor:pointer;color:var(--secondary);font-weight:600}.post-content{padding:160px 0 35px}.footer-next-heading{display:block;font-size:1.6rem;position:relative;opacity:.25;margin-left:0;margin-right:0;margin-bottom:100px;min-width:100%;font-weight:400;color:var(--primary)}@media screen and (max-width:735px){.footer-next-heading{margin-bottom:60px}}.footer-next-heading::after{content:'';position:absolute;background:var(--grey);width:62%;max-width:100%;height:1px;right:0;top:50%}@media screen and (max-width:735px){.footer-next-heading::after{width:41.7%}}@media screen and (max-width:540px){.footer-next-heading::after{width:27.8%}}@media screen and (max-width:376px){.footer-next-heading::after{width:90px}}.footer-spacer{margin-bottom:65px}.author-hero{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:35px auto 110px}.author-hero-image{position:relative;z-index:1;height:164px;width:164px;margin-bottom:35px;border-radius:50%;overflow:hidden;border:2px solid var(background-color);-webkit-box-shadow:0 15.619px 31.2381px rgba(0,0,0,.15);box-shadow:0 15.619px 31.2381px rgba(0,0,0,.15);border:2px solid var(--card)}.author-hero-image img{width:100%}@media screen and (max-width:735px){.author-hero-image{width:146px;height:146px}}@media screen and (max-width:540px){.author-hero-image{width:136px;height:136px;margin-bottom:25px}}.author-heading{font-size:38px;font-family:var(--sanserif);color:var(--primary);margin-bottom:15px;font-weight:600;text-align:center}.author-subheading{margin:0 auto;max-width:450px;color:var(--grey);font-size:18px;font-family:var(--sanserif);line-height:1.4;text-align:center}@media screen and (max-width:540px){.author-subheading{font-size:14px}}.author-social{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:35px;width:100%}@media screen and (max-width:540px){.author-social{font-size:14px}}.authors-gradient{position:absolute;bottom:0;left:0;width:100%;height:590px;z-index:0;pointer-events:none;background:var(--gradient);-webkit-transition:var(--color-mode-transition);-o-transition:var(--color-mode-transition);transition:var(--color-mode-transition)}.pagination{z-index:100;margin:0;margin-top:95px;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.pagination:hover{cursor:pointer}.pagination a:hover{color:var(--primary)}.pagination .page-item{display:block;width:auto;height:auto;padding:0}.pagination .page-item .page-link{display:block;color:var(--grey);min-width:6rem}.pagination .page-item .page-next,.pagination .page-item .page-prev{color:var(--primary)}.pagination .page-item::before{display:none}.pagination .active .page-link{color:var(--primary)}:root{--ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);--ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22);--ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);--ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);--ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);--ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1)}@font-face{font-family:-apple-system,blinkmacsystemfont,san francisco,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-weight:400;font-style:normal}*,*:before,*:after{-webkit-box-sizing:inherit;box-sizing:inherit;margin:0;padding:0;font-size:inherit}:root{-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;cursor:default;font-size:.625rem;line-height:1.4}body{font-family:-apple-system,blinkmacsystemfont,san francisco,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:1.6rem;margin:0;font-weight:400;height:100%}button,a{text-decoration:none;cursor:pointer}a:focus{outline:none}audio,canvas,iframe,img,svg,video{vertical-align:middle}input,textarea,select,button{font-family:-apple-system,blinkmacsystemfont,san francisco,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif}.underline{text-decoration:underline}button,input,select,textarea{color:inherit;font-family:inherit;font-style:inherit;font-weight:inherit}code,kbd,pre,samp{font-family:monospace}fieldset,button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:none;background:0 0}table{border-collapse:separate;border-spacing:0}audio:not([controls]){display:none}details{display:block}input:focus,input:active{outline:none}input[type=number]{width:auto}img.Image__Zoom~div{background:0 0!important}.Image__Small{width:100%;max-width:680px;margin-left:auto;margin-right:auto;margin-bottom:35px}.Image__Small img{width:100%}.Image__medium{width:100%;margin-left:auto;margin-right:auto;margin-bottom:35px}.Image__medium img{width:100%}.Image__large{width:100%;margin-bottom:35px}.Image__large img{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}.author-alc-section{padding-left:0;padding-right:0}.icon-image path{fill:var(--primary)}img{-webkit-animation-name:image-load-in;animation-name:image-load-in;-webkit-animation-duration:.8s;animation-duration:.8s}@-webkit-keyframes image-load-in{0%{-webkit-filter:blur(8px);filter:blur(8px);opacity:0}100%{-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes image-load-in{0%{-webkit-filter:blur(8px);filter:blur(8px);opacity:0}100%{-webkit-filter:blur(0);filter:blur(0);opacity:1}} \ No newline at end of file diff --git a/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/global.scss_48b060fe05b0a273d182ef83c0605941.json b/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/global.scss_48b060fe05b0a273d182ef83c0605941.json deleted file mode 100644 index 613bff4..0000000 --- a/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/global.scss_48b060fe05b0a273d182ef83c0605941.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"scss/global.min.fb4dd79813ef5075eb6e0a596ca103e09f51efc11a614d013d4d9049d60904b1.css","MediaType":"text/css","Data":{"Integrity":"sha256-+03XmBPvUHXrbgpZbKED4J9R78EaYU0BPU2QSdYJBLE="}} \ No newline at end of file diff --git a/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.content b/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.content deleted file mode 100644 index 6f2ddb9..0000000 --- a/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.content +++ /dev/null @@ -1 +0,0 @@ -@import "/Users/tannersmith/theNewDynamic/theme-narrative-hugo/hugo/narative/assets/css/global.css" \ No newline at end of file diff --git a/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.json b/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.json deleted file mode 100644 index 103bdc3..0000000 --- a/themes/hugo-theme-novela/resources/_gen/assets/scss/scss/main.scss_48b060fe05b0a273d182ef83c0605941.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"scss/main.min.0516f37d101dd5f2e4db165a5d58e9d22c2a8ed35021e5372d1ecb4bc9482039.css","MediaType":"text/css","Data":{"Integrity":"sha256-BRbzfRAd1fLk2xZaXVjp0iwqjtNQIeU3LR7LS8lIIDk="}} \ No newline at end of file diff --git a/themes/hugo-theme-novela/theme.toml b/themes/hugo-theme-novela/theme.toml deleted file mode 100644 index 5d0a3dc..0000000 --- a/themes/hugo-theme-novela/theme.toml +++ /dev/null @@ -1,18 +0,0 @@ -name = "Hugo Novela" -license = "MIT" -licenselink = "https://github.com/forestryio/hugo-theme-novela/blob/master/LICENSE" -description = "A Hugo port of the Novela theme by Narative" -homepage = "https://hugo-novela-forestry.netlify.com/" -tags = ["blog"] -features = ["dark mode", "grid view"] -min_version = "0.65.0" - -[author] - name = "The New Dynamic" - homepage = "https://www.thenewdynamic.com/" - -# If porting an existing theme -[original] - author = "Narative" - homepage = "https://www.narative.co/" - repo = "https://github.com/narative/gatsby-theme-novela" diff --git a/turbine.html b/turbine.html new file mode 100644 index 0000000..7bdfff8 --- /dev/null +++ b/turbine.html @@ -0,0 +1,62 @@ + + + + + + Wind Turbine - Home Electricity Generation - SARK + + + + + + +
+
+
+ SARK + +
+
+
+ + +
+
+

Wind Turbine - Home Electricity Generation

+
+ Wind Turbine +

+ This wind turbine project was developed during high school. The turbine was charging a lead-acid battery. +

+ + Picture of wind turbine + +

+ I built a simple charge controller based on a 555 timer chip. The two comparators in the chip could be used to set the high and low cutoff voltage for the charge controller. +

+ + Picture of wind turbine drivetrain + + Picture of wind turbine charge controller +
+
+
+ + + + + \ No newline at end of file