Back to Login PagesLogin Page

Foundation Brand

Uses the site's own green-and-gold palette for a consistent, on-brand feel.

About This Template

Built directly from the Fatima Hope Foundation design tokens (--color-primary green and --color-secondary gold), this style matches the rest of the site exactly and is the natural default if a real login page is ever added to the app.

Login PageCategory
HTML & CSSFormat
On-brandGreenGold
Full Preview
Foundation Brand login page template preview
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Foundation Brand Login Page Template — Free HTML & CSS</title>
<meta name="description" content="Free on-brand login page template using a green-and-gold nonprofit color palette. Free HTML & CSS code you can restyle with your own brand colors.">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://fatimahopefoundation.com/templates/login-pages/08-foundation-brand">

<meta property="og:type" content="website">
<meta property="og:title" content="Foundation Brand Login Page Template — Free HTML & CSS">
<meta property="og:description" content="Free on-brand login page template using a green-and-gold nonprofit color palette. Free HTML & CSS code you can restyle with your own brand colors.">
<meta property="og:url" content="https://fatimahopefoundation.com/templates/login-pages/08-foundation-brand">
<meta property="og:image" content="https://fatimahopefoundation.com/images/login/08-foundation-brand.png">
<meta property="og:site_name" content="Fatima Hope Foundation">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Foundation Brand Login Page Template — Free HTML & CSS">
<meta name="twitter:description" content="Free on-brand login page template using a green-and-gold nonprofit color palette. Free HTML & CSS code you can restyle with your own brand colors.">
<meta name="twitter:image" content="https://fatimahopefoundation.com/images/login/08-foundation-brand.png">

<link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="login-wrap">
    <section class="login-card">
      <div class="brand-mark">FHF</div>
      <h1>Welcome back</h1>
      <p class="subtitle">Sign in to continue supporting our mission</p>

      <form class="login-form">
        <label class="field">
          <span>Email address</span>
          <input type="email" placeholder="you@example.com" required>
        </label>
        <label class="field">
          <span>Password</span>
          <input type="password" placeholder="••••••••" required>
        </label>

        <div class="row-between">
          <label class="checkbox">
            <input type="checkbox">
            <span>Remember me</span>
          </label>
          <a href="#" class="link">Forgot password?</a>
        </div>

        <button type="submit" class="btn-primary">Sign In</button>
      </form>

      <div class="divider"><span>or continue with</span></div>

      <div class="social-row">
        <button class="btn-social" type="button">Google</button>
        <button class="btn-social" type="button">Facebook</button>
      </div>

      <p class="footer-text">New to Fatima Hope Foundation? <a href="#">Create an account</a></p>
    </section>
  </main>
</body>
</html>
style.css
:root {
  --color-primary: #0F6A44;
  --color-primary-dark: #0B4F33;
  --color-primary-light: #15925E;
  --color-secondary: #D4AF37;
  --color-secondary-light: #E6C965;
  --color-bg: #F8FAFC;
  --color-text: #1F2937;
  --color-text-muted: #6B7280;
  --color-border: rgba(31, 41, 55, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  min-height: 100vh;
  color: var(--color-text);
  background: linear-gradient(160deg, #F8FAFC 0%, #EAF5EF 55%, #F8FAFC 100%);
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 1px 2px rgba(15, 106, 68, 0.04), 0 20px 40px rgba(15, 106, 68, 0.1);
}

.brand-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  box-shadow: 0 8px 20px rgba(15, 106, 68, 0.3);
}

h1 { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.subtitle { text-align: center; color: var(--color-text-muted); font-size: 14px; margin-bottom: 28px; }

.login-form { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #374151; }

.field input {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d7dce2;
  font-weight: 400;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 106, 68, 0.12);
}

.row-between { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.checkbox { display: flex; align-items: center; gap: 8px; color: #374151; cursor: pointer; }
.checkbox input { accent-color: var(--color-primary); }
.link { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

.btn-primary {
  margin-top: 4px;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .15s, transform .1s;
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(15, 106, 68, 0.35); }
.btn-primary:active { transform: scale(0.98); }

.divider { display: flex; align-items: center; text-align: center; color: #9aa4b2; font-size: 12px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }
.divider span { padding: 0 12px; }

.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.btn-social {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d7dce2;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.btn-social:hover { border-color: var(--color-secondary); background: #FDF8EC; }

.footer-text { margin-top: 24px; text-align: center; font-size: 13px; color: var(--color-text-muted); }
.footer-text a { color: var(--color-primary); font-weight: 700; text-decoration: none; }
.footer-text a:hover { text-decoration: underline; }