Commit 8a9bef62 authored by Star Neptune R. Sy's avatar Star Neptune R. Sy

css linked successfully

parent 6d3e2d37
body { body {
/*background-color:rgb(167, 36, 75);*/ background-color:rgb(167, 36, 75);
background-color:rgb(0, 0, 0);
} }
div.heading{ div.heading{
...@@ -8,8 +7,11 @@ div.heading{ ...@@ -8,8 +7,11 @@ div.heading{
background-color: rgb(214, 255, 246); background-color: rgb(214, 255, 246);
margin-left: 20%; margin-left: 20%;
margin-right: 20%; margin-right: 20%;
margin-bottom: 2cm;
padding-top: 10px; padding-top: 10px;
padding-bottom: 15px; padding-bottom: 15px;
padding-left: 20px;
padding-right: 20px;
border-radius: 0.5cm; border-radius: 0.5cm;
border-width: 15px; border-width: 15px;
...@@ -18,6 +20,7 @@ div.heading{ ...@@ -18,6 +20,7 @@ div.heading{
box-shadow: 0px 20px 40px 0px rgb(65, 2, 23), box-shadow: 0px 20px 40px 0px rgb(65, 2, 23),
0px 0px 40px 0px rgb(175, 212, 204) inset; 0px 0px 40px 0px rgb(175, 212, 204) inset;
} }
h1.pageTitle{ h1.pageTitle{
...@@ -42,19 +45,19 @@ div.content{ ...@@ -42,19 +45,19 @@ div.content{
box-shadow: 0px 20px 40px 0px rgb(65, 2, 23); box-shadow: 0px 20px 40px 0px rgb(65, 2, 23);
} }
li{ li {
background-color: rgb(214, 255, 246); background-color: rgb(214, 255, 246);
font-size: 14pt; font-size: 14pt;
transition: all 0.5s; transition: all 0.5s;
} }
li:hover{ li:hover {
background-color: rgb(255, 209, 228); background-color: rgb(255, 209, 228);
font-size: 20pt; font-size: 20pt;
transition: all 0.5s; transition: all 0.5s;
} }
div.navigation{ div.navigation {
background-color: rgb(255, 248, 238); background-color: rgb(255, 248, 238);
border-radius: 5px; border-radius: 5px;
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block style %} {% static 'assignments/makeItBeautiful.css' %} {% endblock %} {% block style %} {% static 'assignments/frontEnd.css' %} {% endblock %}
{% block title %} Add Assignment {% endblock %} {% block title %} Add Assignment {% endblock %}
{% block heading %} Add a new assignment {% endblock %} {% block heading %} <h1 class="pageTitle"> Add a new assignment </h1>{% endblock %}
{% block content %} {% block content %}
<form id="addAssignment" method="post"> <form id="addAssignment" method="post">
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %}
{% block webTitle %} {{object.assignment_name}} {% endblock %} {% block style %} {% static 'assignments/frontEnd.css' %} {% endblock %}
{% block pageTitle %} {{object.assignment_name}} {% endblock %} {% block title %} {{object.assignment_name}} {% endblock %}
{% block heading %} <h1 class="pageTitle"> {{object.assignment_name}} </h1> {% endblock %}
{% block content %} {% block content %}
<h2> {{object.course}} - {{object.section}} </h2> <h2> {{object.course}} - {{object.section}} </h2>
...@@ -12,6 +15,6 @@ ...@@ -12,6 +15,6 @@
</p> </p>
{% endblock %} {% endblock %}
{% block otherButtons %} {% block navigation %}
<button class="buttonLink" onclick="window.location.href='../../{{ object.get_absolute_url }}/edit';"> <b>Edit Assignment</b> </button> <button class="buttonLink" onclick="window.location.href='../../{{ object.get_absolute_url }}/edit';"> <b>Edit Assignment</b> </button>
{% endblock %} {% endblock %}
\ No newline at end of file
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %}
{% block webTitle %} Edit Assignment {% endblock %} {% block style %} {% static 'assignments/frontEnd.css' %} {% endblock %}
{% block pageTitle %} Edit Assignment {% endblock %} {% block title %} Edit Assignment {% endblock %}
{% block heading %} <h1 class="pageTitle"> Edit Assignment </h1> {% endblock %}
{% block content %} {% block content %}
<form id="editAssignment" method="post"> <form id="editAssignment" method="post">
...@@ -13,6 +16,6 @@ ...@@ -13,6 +16,6 @@
</form> </form>
{% endblock %} {% endblock %}
{% block otherButtons %} {% block navigation %}
<button class="buttonLink" form="editAssignment" onclick="window.location.href='assignments/';"> <b>Save changes to assignment</b> </button> <button class="buttonLink" form="editAssignment" onclick="window.location.href='assignments/';"> <b>Save changes to assignment</b> </button>
{% endblock %} {% endblock %}
\ No newline at end of file
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block style %} {% static 'assignments/makeItBeautiful.css' %} {% endblock %} {% block style %} {% static 'assignments/frontEnd.css' %} {% endblock %}
{% block title %} Widget's Assignments {% endblock %} {% block title %} Widget's Assignments {% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment