diff --git a/foundation/public/css/erpnext-org-theme.css b/foundation/public/css/erpnext-org-theme.css index 49c0c37a..0d4c289b 100644 --- a/foundation/public/css/erpnext-org-theme.css +++ b/foundation/public/css/erpnext-org-theme.css @@ -2,6 +2,31 @@ .wrapper { text-align: center; } +.navbar { + padding: 1rem 2.5rem; +} +.navbar-header { + display: flex; + justify-content: space-between; +} +.navbar-icon { + width: 25px; + margin-right: .5rem; + padding-bottom: 0.07rem; +} +.navbar-brand { + font-size: 1rem; + font-weight: bold; + text-decoration: none; + color: #36414C; +} +.navbar-brand:hover { + text-decoration: none; + color: #2E3338; +} +.navbar-brand:visited { + color: #36414C; +} .container { max-width: 1366px; margin: 0 auto; @@ -26,6 +51,14 @@ .domain-links { font-size: 1.5rem; } +.centered-text { + max-width: 300px; + text-align: center; + margin: 0 auto; +} +.info { + line-height: 2; +} .list.grid-of-four { grid-gap: 4rem; } @@ -81,6 +114,14 @@ .gray-bg { background-color: #fafbfc; } +.community-bg { + background-image: linear-gradient(to bottom, rgba(117, 116, 254, 0.52), #7574fe), url("/assets/foundation/img/community.jpg"); + background-size: cover; + background-repeat: no-repeat; + color: #fff; + background-position: center; + background-attachment: fixed; +} .secondary-link { color: #6c7680; transition: color 0.5s ease-in; diff --git a/foundation/public/img/community.jpg b/foundation/public/img/community.jpg new file mode 100644 index 00000000..0fe18231 Binary files /dev/null and b/foundation/public/img/community.jpg differ diff --git a/foundation/public/less/erpnext-org-theme.less b/foundation/public/less/erpnext-org-theme.less index e9b16337..3a233640 100644 --- a/foundation/public/less/erpnext-org-theme.less +++ b/foundation/public/less/erpnext-org-theme.less @@ -4,6 +4,32 @@ .wrapper { text-align:center; } +.navbar{ + padding: 1rem 2.5rem; +} +.navbar-header { + display: flex; + justify-content: space-between; +} +.navbar-icon { + width: 25px; + margin-right: .5rem; + padding-bottom: 0.07rem; +} +.navbar-brand { + font-size: 1rem; + font-weight: bold; + text-decoration: none; + color: @text-color; + + &:hover{ + text-decoration:none; + color: @text-dark; + } +} +.navbar-brand:visited{ + color: @text-color; +} .container { max-width: 1366px; @@ -33,6 +59,17 @@ text-align:center; .domain-links{ font-size: 1.5rem; } + +.centered-text{ + max-width: 300px; + text-align:center; + margin: 0 auto; +} +.info { + line-height: 2; +} + + .list.grid-of-four{ grid-gap: 4rem; } @@ -95,6 +132,14 @@ text-align:center; background-color: @light-bg; } +.community-bg { + background-image: linear-gradient(to bottom, rgba(117, 116, 254, 0.52), rgb(117, 116, 254)), url("/assets/foundation/img/community.jpg"); + background-size: cover; + background-repeat: no-repeat; + color: #fff; + background-position: center; + background-attachment: fixed; +} .secondary-link{ color:@text-light; @@ -105,14 +150,14 @@ text-align:center; } .three-column { - display: flex; - justify-content: space-between; + display: flex; + justify-content: space-between; } .bulleted-list { - margin: 0; - list-style: circle; - padding-left: 1em; + margin: 0; + list-style: circle; + padding-left: 1em; } .bulleted-list li { @@ -120,21 +165,21 @@ text-align:center; } .row { - display: flex; - text-align: left; - justify-content: space-between; - margin-bottom: 8rem; + display: flex; + text-align: left; + justify-content: space-between; + margin-bottom: 8rem; } .footer-list { - padding-left: 0; - padding: ; + padding-left: 0; + padding: ; } .list-unstyled li { - list-style: none; - margin: 1em 0; + list-style: none; + margin: 1em 0; } .top-spacer { -margin-top: 3rem; + margin-top: 3rem; } diff --git a/foundation/templates/base.html b/foundation/templates/base.html index cae092b6..1e06ba5c 100644 --- a/foundation/templates/base.html +++ b/foundation/templates/base.html @@ -21,6 +21,7 @@
+ {%- block navbar -%}{% include "foundation/templates/includes/navbar/navbar.html" %}{%- endblock -%} {% block content %} {{ content }} {% endblock %} diff --git a/foundation/templates/includes/footer/footer.html b/foundation/templates/includes/footer/footer.html index 2293f82d..39e59097 100644 --- a/foundation/templates/includes/footer/footer.html +++ b/foundation/templates/includes/footer/footer.html @@ -42,6 +42,9 @@
  • Memberships
  • +
  • + Fellow +
  • Bounties
  • diff --git a/foundation/templates/includes/navbar/navbar.html b/foundation/templates/includes/navbar/navbar.html new file mode 100644 index 00000000..96f24e3f --- /dev/null +++ b/foundation/templates/includes/navbar/navbar.html @@ -0,0 +1,20 @@ + diff --git a/foundation/www/index.html b/foundation/www/index.html index c36aa6cc..dc4564f5 100644 --- a/foundation/www/index.html +++ b/foundation/www/index.html @@ -50,15 +50,10 @@
    -
    -
    -

    Amazing Community

    -

    The forum is the hub of activity related to ERPNext. You can ask a question, find developers or hire service providers.

    - Become a Member -
    -
    - -
    +
    +

    ERPNext Foundation

    +

    ERPNext Foundation is a community of ERPNext Users, Developers and Service Providers. The goal of the ERPNext Foundation is to provide a platform for the ERPNext Community to come together, join hands and build assets to help build and enhance ERPNext around the world.

    + Become a Member
    @@ -75,7 +70,7 @@ 2nd Indonesian Meetup
  • - 2nd Indonesian Meetup + 2nd Indonesian Meetup