Skip to content

Commit

Permalink
Fixed Dark Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavmehndiratta committed Mar 21, 2023
1 parent 4c1365a commit 49aaa3e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 14 deletions.
17 changes: 14 additions & 3 deletions introduction/static/css/dark-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ a.article:hover {
}
.bp {
font-size: 1em;
font-height: 1.2em;
color: rgb(255, 255, 255);
}
.coll {
Expand All @@ -275,7 +274,7 @@ a.article:hover {
padding: 18px;
display: none;
overflow: hidden;
background-color: #f1f1f199;
background-color: #444c53;
border-radius: 1rem;
}
.display {
Expand All @@ -298,6 +297,10 @@ code {
.pg{
display: none;
}

ul, li {
color:#ffffff
}
/* ---------------------------------------------------
MEDIAQUERIES
----------------------------------------------------- */
Expand Down Expand Up @@ -373,7 +376,7 @@ code {
code {
padding: 2px 4px;
font-size: 90%;
color: #033157;
color: #94edfa;
border-radius: 4px;
background-color: #159c8100;
}
Expand Down Expand Up @@ -512,4 +515,12 @@ h2 {

.requiredField {
color: #26282B
}

.jumbotron {
color:#26282B
}

.container li {
color: #6c757d!important
}
29 changes: 18 additions & 11 deletions introduction/templates/registration/register.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{% extends "introduction/base.html" %}
{% block content %}

{% load crispy_forms_tags %}
{% load crispy_forms_tags %}

<!--Register-->
<div class="container py-5">
<h1>Register</h1>
<form method="POST">
{% csrf_token %}
{{ register_form|crispy }}
<button class="btn btn-primary" type="submit">Register</button>
</form>
<p class="text-center">If you already have an account, <button type="submit" class="btn btn-info" style="margin-bottom:20px"><a href="/login" style="color: rgb(255, 255, 255); text-decoration: none;">Login</a></button>
instead.</p>
<div style="display: flex; flex-direction: row; flex-wrap: wrap">
<div class="card mx-auto" style="width: 35rem; margin: 10px">
<div class="conatiner border border-info rounded">

<!--Register-->
<div class="container py-5">
<h1 style="color: #26282b;">Register</h1>
<form method="POST">
{% csrf_token %}
{{ register_form|crispy }}
<button class="btn btn-primary" type="submit">Register</button>
</form>
<br>
<p style="color:#26282b;">If you already have an account, <a href="/login" style="color:#027bff">Login</a> instead.</p>
</div>
</div>
</div>
</div>

{% endblock %}

0 comments on commit 49aaa3e

Please sign in to comment.