correct max-width

This commit is contained in:
Raghavendra Kamath
2018-04-13 19:55:03 +05:30
parent a4efb927bc
commit 1593d4dced
3 changed files with 34 additions and 20 deletions

View File

@@ -10,7 +10,7 @@
{% block body %} {% block body %}
<body class="bg-light-grey text-dark-grey" data-path="{{ path }}"> <body class="bg-light-grey text-dark-grey" data-path="{{ path }}">
<div class="outter-container m0auto"> <div class="bg-white outter-container m0auto">
{%- block navbar -%}{% include "templates/includes/navbar/navbar.html" %}{%- endblock -%} {%- block navbar -%}{% include "templates/includes/navbar/navbar.html" %}{%- endblock -%}
{% block content %} {% block content %}
{{ content }} {{ content }}

View File

@@ -2,7 +2,7 @@
{% block hero %}{% endblock %} {% block hero %}{% endblock %}
{% block content %} {% block content %}
<main class="page"> <main class="page">
<div class="flex" id="page-{{ name or route }}" <div class="inner-container m0auto flex" id="page-{{ name or route }}"
data-path="{{ pathname }}" {%- if page_or_generator=="Generator" %} data-doctype="{{ doctype }}"{% endif %}> data-path="{{ pathname }}" {%- if page_or_generator=="Generator" %} data-doctype="{{ doctype }}"{% endif %}>
<div class="page-sidebar flex-1 border-right"> <div class="page-sidebar flex-1 border-right">
{% include "foundation/templates/includes/sidebar/sidebar.html" %} {% include "foundation/templates/includes/sidebar/sidebar.html" %}

View File

@@ -5,25 +5,39 @@
{% from "foundation/templates/includes/macros.html" import media %} {% from "foundation/templates/includes/macros.html" import media %}
{% block content%} {% block content%}
<div class="page"> <main class="bg-white">
<section class='top-spacer hero text-center about'> <div class="inner-container m0auto page">
<div class="container"> <section class='top-spacer hero text-center about'>
<img class="about-img bottom-spacer" src="/assets/foundation/img/community-colored.jpg"> <div class="container">
<h1 class="header-1">ERPNext Foundation</h1> <img class="about-img bottom-spacer" src="/assets/foundation/img/community-colored.jpg">
<p class="intro-copy text-medium">We are a Non Profit Foundation representing a community of ERPNext Users, Developers and Service Providers. Our goal is to provide a platform for the ERPNext Community to <h1 class="header-1">ERPNext Foundation</h1>
come together, join hands and build assets to help build and enhance ERPNext around the world.</p><p class="intro-copy text-medium"> ERPNext Foundation aims to be a community driven organization and run in a transparent manner. If you want to be more involved in the ERPNext Community, read the <a href="/faq" class="secondary-link" target="_blank">FAQ</a>. <p class="intro-copy text-medium">We are a Non Profit
</div> Foundation representing a community of ERPNext
</section> Users, Developers and Service Providers. Our
<div class="page-content"> goal is to provide a platform for the ERPNext
<section class="container"> Community to come together, join hands and build assets to
<hr> help build and enhance ERPNext around the
<h1>{{ doc.team_members_heading }}</h1> world.
{% for member in doc.team_members %} </p>
{{ media(member.full_name, member.bio, member.image_link) }} <p class="intro-copy text-medium">
{% endfor %} ERPNext Foundation aims to be a community
<p><a href="/contact">Want to talk to someone in the foundation? Get in touch</a></p> driven organization and run in a transparent
</section> manner. If you want to be more involved in the
ERPNext Community, read the <a href="/faq" class="secondary-link" target="_blank">FAQ</a>.
</p>
</div> </div>
</section>
<div class="page-content">
<section class="container">
<hr>
<h1>{{ doc.team_members_heading }}</h1>
{% for member in doc.team_members %}
{{ media(member.full_name, member.bio, member.image_link) }}
{% endfor %}
<p><a href="/contact">Want to talk to someone in the foundation? Get in touch</a></p>
</section>
</div> </div>
</div>
</main>
{% endblock %} {% endblock %}