Skip to content

Change navbar color to #f6d9ef. Related to Issue #4 #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions portal/static/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.custom_navbar_grid {
background-color: #520916;
}

.custom_navbar_brand {
background-color: #520916;
font-family: "Orbitron", sans-serif;
color: #EE264D;
font-weight: bold;
}

.custom_navbar_link {
background-color: #520916;
font-family: "Press Start 2P", sans-serif;
color: #FAF4F0 !important;
font-weight: lighter !important;
}

.custom_body_head {
font-family: "Orbitron", sans-serif;
color: #EE264D;
}

.custom_body_paragraph {
font-family: "Inter", sans-serif;
color: #212529;
}
2 changes: 1 addition & 1 deletion portal/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@

.navbar .form-control {
padding: .75rem 1rem;
}
}
28 changes: 23 additions & 5 deletions templates/portal/base.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% load i18n %}
{% load django_bootstrap5 %}
{% load static %}

<!DOCTYPE html>
<html>
Expand All @@ -13,25 +14,42 @@
{% block extra_head %}
<script src="https://kit.fontawesome.com/8774ceef9d.js" crossorigin="anonymous"></script>
{% endblock extra_head %}

<!-- Add google font (Orbitron, Start 2P, Inter) <link> tags to the <head> section -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:[email protected]&display=swap" rel="stylesheet">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">

{% bootstrap_css %}
{% bootstrap_javascript %}
{# Display django.contrib.messages as Bootstrap alerts #}
{% bootstrap_messages %}

<link rel="stylesheet" href="{% static 'main.css' %}">
</head>
<body>
{% block body %}
{% endblock %}
<nav class="navbar navbar-expand-md navbar-dark bg-dark" aria-label="Fourth navbar example">
<div class="container-fluid">
<a class="navbar-brand" href="/">PyLadiesCon Portal</a>
<!-- navbar-dark bg-dark -->
<nav class="navbar navbar-expand-md custom_navbar_grid" aria-label="Fourth navbar example">
<div class="container-fluid custom_navbar_brand">
<a class="navbar-brand custom_navbar_brand" href="/">PyLadiesCon</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsExample04" aria-controls="navbarsExample04" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarsExample04">
<div class="collapse navbar-collapse custom_navbar_grid" id="navbarsExample04">
<ul class="navbar-nav me-auto mb-2 mb-md-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/">Home</a>
<a class="nav-link active custom_navbar_link" aria-current="page" href="/">Home</a>
</li>
{% if user.is_authenticated %}

Expand Down
4 changes: 2 additions & 2 deletions templates/portal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ <h3 class="fs-2 text-body-emphasis">Speaker Portal</h3>
{% else %}
<div class="p-5 text-center bg-body-tertiary rounded-3">
<svg class="bi mt-4 mb-3" style="color: var(--bs-indigo);" width="100" height="100"><use xlink:href="#bootstrap"></use></svg>
<h1 class="text-body-emphasis">PyLadiesCon Web Portal</h1>
<p class="col-lg-8 mx-auto fs-5 text-muted">
<h1 class="text-body-emphasis custom_body_head">PyLadiesCon Web Portal</h1>
<p class="col-lg-8 mx-auto fs-5 text-muted custom_body_paragraph">
Welcome to our PyLadiesCon Conference Management Portal.
<br> Sign up to volunteer with us.
</p>
Expand Down