more homepage styling

This commit is contained in:
Idaapayo 2021-05-24 19:32:57 +03:00
parent 8640b07b2a
commit d42eb0df77
10 changed files with 122 additions and 85 deletions

View File

@ -1 +1,2 @@
:title: How It Works
:title: How It Works
:template: how-it-works

View File

@ -6,7 +6,7 @@
padding: 20px;
}
.height-row{
height: 60%;
height: 80%;
}
.img-style{
padding-left: 180px;
@ -24,6 +24,26 @@
max-height: 400px;
max-width: 300px;
}
.words-col-wrapper{
box-sizing: border-box;
margin: auto;
border-style: solid;
border-color: #0040D0;
max-height: 600px;
max-width: 400px;
}
.h2-title{
padding-top: 30px;
font-size: 30px;
text-align: center;
}
.row-2-words{
font-size: 20px;
text-align: center;
}
.row-margin{
margin-bottom: 50px;
}
@media only screen and (max-width: 480px){
.img-style{
padding-left: 20px;
@ -35,12 +55,9 @@
font-size: 30px;
}
.wrapper-col{
margin-top: 20px;
margin-left: 70px;
/*margin-right: 20px;*/
margin: auto;
max-width: 200px;
max-height: 400px;
border-color: #ff4c85;
/*border-color: #ff4c85;*/
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@ -7,8 +7,8 @@
{% endblock %}
{% block content %}
<div class="container-fluid">
<div class="row gx-0 height-row">
<div class="container-fluid overflow-hidden">
<div class="row row-margin h-80">
<div class="col-lg-6 col-md-12 col-sm-12">
<img src="{{SITEURL}}/theme/images/home-imgs/home-img1.gif" class=" img-fluid img-style" alt="img-gif" >
</div>
@ -19,5 +19,17 @@
</div>
</div>
</div>
<div class="row row-margin">
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="words-col-wrapper">
<h2 class="h2-title">Ending poverty lies in building communities</h2>
<p class="row-2-words">Through Community Inclusion Currencies people have a way to exchange goods and services and incubate projects and businesses, without relying on scarce national currency and volatile markets.</p>
<a href="{{SITEURL}}/pages/how-it-works.html" class="butt-style">how it works</a>
</div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12">
<img class="img-fluid" src="{{SITEURL}}/theme/images/home-imgs/home-img2.webp">
</div>
</div>
</div>
{% endblock %}

View File

View File

@ -49,8 +49,8 @@
</nav>
<!--</div>-->
<div class="container-fluid">
<div class="row gx-0 height-row">
<div class="container-fluid overflow-hidden">
<div class="row row-margin h-80">
<div class="col-lg-6 col-md-12 col-sm-12">
<img src="../theme/images/home-imgs/home-img1.gif" class=" img-fluid img-style" alt="img-gif" >
</div>
@ -61,6 +61,18 @@
</div>
</div>
</div>
<div class="row row-margin">
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="words-col-wrapper">
<h2 class="h2-title">Ending poverty lies in building communities</h2>
<p class="row-2-words">Through Community Inclusion Currencies people have a way to exchange goods and services and incubate projects and businesses, without relying on scarce national currency and volatile markets.</p>
<a href="../pages/how-it-works.html" class="butt-style">how it works</a>
</div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12">
<img class="img-fluid" src="../theme/images/home-imgs/home-img2.webp">
</div>
</div>
</div>
</body>

View File

@ -1,58 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>grassroots-pelican - How It Works</title>
<meta charset="utf-8" />
<meta name="ida" content="Pelican"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../theme/css/style.css">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
<script src="https://use.fontawesome.com/5932321f98.js"></script>
</head>
<body id="base-index" class="base-home">
<!--<div class="d-flex">-->
<nav class="navbar sticky-top navbar-expand-lg navbar-light">
<a class ="navbar-brand" href="#">
<img id="nav-logo" src="../theme/images/ge-logo-resizeimage.png" alt="logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item" ><a class="nav-link" href="../pages/about-us.html">About us</a></li>
<li class="nav-item" ><a class="nav-link" href="../pages/food-forests.html">Food Forests</a></li>
<li class="nav-item" ><a class="nav-link" href="../pages/get-involved.html">Get Involved</a></li>
<li class="nav-item" ><a class="nav-link" href="../pages/home.html">Home</a></li>
<li class="nav-item" ><a class="nav-link" href="../pages/how-it-works.html">How It Works</a></li>
<li class="nav-item" ><a class="nav-link" href="../pages/media.html">Media</a></li>
<li class="nav-item" ><a class="nav-link" href="../pages/research.html">Research</a></li>
<li class="nav-item" ><a class="nav-link" href="../pages/sarafu-network.html">Sarafu Network</a></li>
<li class="nav-item" ><a class="nav-link" href="../category/blog.html">blog</a></li>
</ul>
</div>
</nav>
<!--</div>-->
<h1>How It Works</h1>
</body>
</html>

View File

@ -6,7 +6,7 @@
padding: 20px;
}
.height-row{
height: 60%;
height: 80%;
}
.img-style{
padding-left: 180px;
@ -24,6 +24,26 @@
max-height: 400px;
max-width: 300px;
}
.words-col-wrapper{
box-sizing: border-box;
margin: auto;
border-style: solid;
border-color: #0040D0;
max-height: 600px;
max-width: 400px;
}
.h2-title{
padding-top: 30px;
font-size: 30px;
text-align: center;
}
.row-2-words{
font-size: 20px;
text-align: center;
}
.row-margin{
margin-bottom: 50px;
}
@media only screen and (max-width: 480px){
.img-style{
padding-left: 20px;
@ -35,12 +55,9 @@
font-size: 30px;
}
.wrapper-col{
margin-top: 20px;
margin-left: 70px;
/*margin-right: 20px;*/
margin: auto;
max-width: 200px;
max-height: 400px;
border-color: #ff4c85;
/*border-color: #ff4c85;*/
}
}

View File

@ -1,9 +1,6 @@
.row-one-words{
text-align: center;
font-size: 40px;
padding-top: 100px;
padding-left: 150px;
padding-right: 150px;
}
.row-one-img{
padding: 20px;
@ -12,12 +9,51 @@
height: 60%;
}
.img-style{
height: 400px;
width: 400px;
padding-left: 180px;
padding-top: 60px;
max-height: 700px;
max-width: 700px;
}
/*.wrapper-col{*/
/* !*left: 25%; !important;*!*/
/* padding-right: 40px; !important;*/
/* padding-left: 40px; !important;*/
/*}*/
.wrapper-col{
margin-top: 100px;
margin-left: 150px;
border-style: solid;
border-color: #ffffff;
box-sizing: border-box;
max-height: 400px;
max-width: 300px;
}
.words-col-wrapper{
box-sizing: border-box;
margin: auto;
border-style: solid;
border-color: #0040D0;
max-height: 500px;
max-width: 400px;
}
.h2-title{
font-size: 30px;
text-align: center;
}
.row-2-words{
font-size: 20px;
text-align: center;
}
@media only screen and (max-width: 480px){
.img-style{
padding-left: 20px;
padding-top: 10px;
max-height: 400px;
max-width: 400px;
}
.row-one-words{
font-size: 30px;
}
.wrapper-col{
margin: auto;
max-width: 200px;
max-height: 400px;
/*border-color: #ff4c85;*/
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB