You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by be...@apache.org on 2021/02/22 05:26:06 UTC
[incubator-wayang-website] 27/37: Fix lateral movement
This is an automated email from the ASF dual-hosted git repository.
bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git
commit b1388d34372ba9a6abcaaf9dff35afb8a49e2958
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Mon Feb 15 02:30:47 2021 -0300
Fix lateral movement
---
_includes/footer.html | 2 +-
_layouts/about.html | 6 +++---
_layouts/home.html | 57 ++++++++++++++++++++++++++-------------------------
_layouts/post.html | 2 +-
empty.md | 4 ++++
5 files changed, 38 insertions(+), 33 deletions(-)
diff --git a/_includes/footer.html b/_includes/footer.html
index ddf83a4..63676cc 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,4 +1,4 @@
-<footer class="footer position-sticky sticky-bottom mb-n3 mx-n3 mb-4">
+<footer class="footer position-sticky sticky-bottom">
<nav class="navbar navbar-light bg-light " style="background: #A6A6A6;">
<div class="container">
<div class="row justify-content-center">
diff --git a/_layouts/about.html b/_layouts/about.html
index 467644e..7996077 100644
--- a/_layouts/about.html
+++ b/_layouts/about.html
@@ -32,17 +32,17 @@ layout: post
</div>
</section>
-<div class="subtitle-post row d-flex align-items-center mt-5 shadow" >
+<div class="subtitle-post d-flex align-items-center mt-5 shadow" >
<div class="col" style="text-align: center">
<h1 style="color: white; font-size: 4em">Features</h1>
</div>
</div>
-<section id="feature_about">
+<section id="feature_about" class="container-fluid">
{% assign vec_order = "order-2, order-1" | split: ", " %}
{% assign row = 1 %}
{% for item in site.data.features %}
- <div class="row" style="padding: 1em;margin-bottom: 0.3em">
+ <div class="row">
<div class="container">
<div class="row d-flex flex-nowrap">
<div class="col-sm-12 col-md-3 col-md-push-9 text-center align-self-center p-2 {{vec_order[0]}}">
diff --git a/_layouts/home.html b/_layouts/home.html
index 88ab611..d5fdd87 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -2,37 +2,40 @@
layout: default
---
<section id="full-screen-2" class="container-fluid p-0">
- <div class="row h-100 p-5">
- <div class="col-md-6 h-100">
+ <div class="container h-100">
+ <div class="row h-100">
+ <div class="col-md-6 h-100">
- </div>
- <div class="col-md-6 h-100 p-5" >
- <div class="row h-50">
- <div class="col h-100 d-flex align-content-end flex-wrap" >
- <h1 class="p-2 display-4 tx-shadow">
- {{ page.section-1.title }}
- </h1>
- </div>
</div>
- <div class="row h-50">
- <div class="col h-100 tx-shadow pr-5">
- <p class="lead">
- <strong>
- {{ page.section-1.text }}
- </strong>
- </p>
+ <div class="col-md-6 h-100" >
+ <div class="row h-50">
+ <div class="col h-100 d-flex align-content-end flex-wrap" >
+ <h1 class="p-2 display-4 tx-shadow">
+ {{ page.section-1.title }}
+ </h1>
+ </div>
+ </div>
+ <div class="row h-50">
+ <div class="col h-100 tx-shadow">
+ <p class="lead">
+ <strong>
+ {{ page.section-1.text }}
+ </strong>
+ </p>
+ </div>
</div>
</div>
</div>
</div>
+
</section>
<section class="container-fluid p-0">
- <div class="row d-flex justify-content-center">
+ <div class="d-flex justify-content-center">
<p class="display-4 p-2">
{{ page.section-2.title }}
</p>
</div>
- <div class="row d-flex justify-content-center">
+ <div class="d-flex justify-content-center">
<p class="lead p-2">
<strong>
{{ page.section-2.text }}
@@ -40,14 +43,14 @@ layout: default
</p>
</div>
</section>
-<section id="full-screen" class="container-fluid p-0">
+<section id="full-screen" class="p-0">
<div class="container">
- <div class="row d-flex justify-content-center tx-shadow">
+ <div class="d-flex justify-content-center tx-shadow">
<p class="display-4 p-2">
{{ page.section-3.title }}
</p>
</div>
- <div class="row d-flex justify-content-center tx-shadow">
+ <div class="d-flex justify-content-center tx-shadow">
<p class="lead p-2">
<strong>
{{ page.section-3.text }}
@@ -55,10 +58,9 @@ layout: default
</p>
</div>
</div>
-
{% assign col = 1 %}
- <div class="row container-circle mb-3">
- <div class="container">
+ <div class="container">
+ <div class="container-circle mb-3">
<div class="row">
{% for item in site.data.features %}
<div class="col-md-4" style="text-align: center">
@@ -74,7 +76,7 @@ layout: default
</div>
</div>
</div>
- <div class="row container-circle mb-3">
+ <div class="container-circle mb-3">
<div class="container">
<div class="row">
{% assign col = 0 %}
@@ -85,5 +87,4 @@ layout: default
</div>
</div>
</div>
-</section>
-{{content}}
\ No newline at end of file
+</section>
\ No newline at end of file
diff --git a/_layouts/post.html b/_layouts/post.html
index 313758b..aae4ac9 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -3,7 +3,7 @@ layout: default
---
-<div class="title-post row mb-3 mt-n5 d-flex align-items-center shadow" >
+<div class="title-post mb-3 mt-n5 d-flex align-items-center shadow" >
<div class="col pt-4" style="text-align: center">
<h1 class="mb-n2 mt-1" style="color: white; font-size: 4em">{{page.title}}</h1>
{% if page.subtitle %}
diff --git a/empty.md b/empty.md
new file mode 100644
index 0000000..2fb17c5
--- /dev/null
+++ b/empty.md
@@ -0,0 +1,4 @@
+---
+layout: post
+title: "Publications"
+---
\ No newline at end of file