From e1b74cab416e734f87e74e8a5ae17c0623250b21 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 5 Oct 2022 16:46:51 +0200 Subject: [PATCH] fix tft mobile --- content/tft/index.md | 59 +++++++--------------------- css/index.css | 7 ++++ templates/shortcodes/tft_header.html | 4 +- templates/shortcodes/tft_links.html | 4 +- 4 files changed, 25 insertions(+), 49 deletions(-) diff --git a/content/tft/index.md b/content/tft/index.md index 111fcee10..6a2b3420d 100644 --- a/content/tft/index.md +++ b/content/tft/index.md @@ -5,25 +5,15 @@ page_template: "tft_header.html" insert_anchor_links: "left" --- -
-
-
-
-
-
-
- -{% row(style="center narrow") %} +{% row(style="center mtop narrow") %} ## Decentralizing
**the Internet Economy** ThreeFold creates an entirely new decentralized Internet economy that allows anyone to join the world’s fastest growing market – the Internet. -{% end %} - -{% row(style="center narrow") %} +
@@ -32,6 +22,7 @@ ThreeFold creates an entirely new decentralized Internet economy that allows any {% end %} + {% tft_header() %} ## **DECENTRALIZING
THE INTERNET ECONOMY** @@ -42,10 +33,7 @@ ThreeFold creates an entirely new decentralized Internet economy that allows any -{% row(style="center ") %} - -
-
+{% row(style="center mtop ") %} ## Meeting **Emerging Demand** @@ -54,7 +42,7 @@ Data has become the most valuable commodity on earth, the Internet infrastructur {% end %} -{% row(style="center") %} +{% row(style="center mbottom") %} ![Image](tft_125zb.png#medium) @@ -77,12 +65,6 @@ That is a number with 21 zeroes! {% end %} -
- -
- - - {% row(style="center between margin") %} @@ -98,7 +80,7 @@ While many projects have created bits and pieces of what a decentralized Interne ![Image](tft_table.png#mx-auto) - + {% end %} @@ -120,16 +102,11 @@ TFT is a utility token that allows people to hold current and future Internet ca {% end %} -
- -
- -
-{% row(style="center narrow") %} +{% row(style="center narrow mtop") %} ## Open **Network** @@ -138,7 +115,9 @@ TFT is a utility token that allows people to hold current and future Internet ca {% end %} -{% row(style="center") %} +
+ +{% row(style="center mbottom") %} -{% row(style="center") %} +{% row(style="center mtop") %} ## Join the **Movement** @@ -234,25 +213,15 @@ Get TFT today and participate in the realization of a truly decentralized world. {% end %} -{% row(style="lean") %} +{% row(style="lean mbottom") %} ![Image](tft_join_internet.png#mx-auto) - - {% end %} - -
- -
- -
- - -{% row(style="center") %} +{% row(style="center margin") %} ## **Believers in TFT** diff --git a/css/index.css b/css/index.css index e299dd14e..e841c90be 100644 --- a/css/index.css +++ b/css/index.css @@ -217,6 +217,13 @@ button a { px-12 } +.long-text a{ + padding-left: 2rem; + padding-right: 2rem; + --tw-text-opacity: 1; + color: rgb(0 0 0 / var(--tw-text-opacity)); +} + a { border-width: 0px; } diff --git a/templates/shortcodes/tft_header.html b/templates/shortcodes/tft_header.html index b56fc2f67..d1c9b1304 100644 --- a/templates/shortcodes/tft_header.html +++ b/templates/shortcodes/tft_header.html @@ -1,8 +1,8 @@ {% block content %}
- + class="relative lg:pb-24 pb-10 flex flex-col sm:grid sm:grid-cols-2 sm:gap-10 xl:flex xl:flex-row md:py-2 lg:py-2 lg:items-center text-center mx-auto justify-center"> + {% set link = page.permalink ~ "cointelegraph_logo.png"%} cointelegraph diff --git a/templates/shortcodes/tft_links.html b/templates/shortcodes/tft_links.html index 1756513e9..05d79da88 100644 --- a/templates/shortcodes/tft_links.html +++ b/templates/shortcodes/tft_links.html @@ -9,13 +9,13 @@ href="https://library.threefold.me/info/threefold#/tokens/threefold__tft_stellar_dex" target="_blank"> {% set link = page.permalink ~ "stellar_logo.png"%} - stellar + stellar {% set link = page.permalink ~ "pancack_button.png"%} - pancakeswap + pancakeswap {% set link = page.permalink ~ "iinch_button.png"%}