CSS Files and Styles added

parent cf9b5575
...@@ -2,6 +2,20 @@ ...@@ -2,6 +2,20 @@
{% load static %} {% load static %}
{% block title %} Widget's Announcement Board {% endblock %} {% block title %} Widget's Announcement Board {% endblock %}
{% block styles %}
<style>
body {
background-color: rgb(170, 168, 180);
font-family: Georgia, serif;
font-size: 16px;
color: black;
}
h1{
text-align: center;
}
</style>
{% endblock %}
{% block content %} {% block content %}
<h1>Welcome to Widget's Announcement Board!</h1> <h1>Welcome to Widget's Announcement Board!</h1>
<h2>Announcements:</h2> <h2>Announcements:</h2>
......
...@@ -2,6 +2,20 @@ ...@@ -2,6 +2,20 @@
{% load static %} {% load static %}
{% block title %} Widget's Assignments {% endblock %} {% block title %} Widget's Assignments {% endblock %}
{% block styles %}
<style>
body {
background-color: rgb(154, 176, 147);
font-family: Georgia, serif;
font-size: 16px;
color: rgb(18, 6, 1);
}
h1{
text-align: center;
}
</style>
{% endblock %}
{% block content %} {% block content %}
<h1>Welcome to Widget's Assignments </h1> <h1>Welcome to Widget's Assignments </h1>
<ul> <ul>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
{% block title %}Widget V2{% endblock %} {% block title %}Widget V2{% endblock %}
{% block content %} {% block content %}
<link rel="stylesheet" href="{% static 'main_style.css' %}">
<h1> Welcome to Widget! </h1> <h1> Welcome to Widget! </h1>
<ul> <ul>
{% for user in users %} {% for user in users %}
...@@ -17,8 +18,8 @@ ...@@ -17,8 +18,8 @@
<p> <p>
<a href="/Announcement/announcements">Announcements</a><br> <a href="/Announcement/announcements">Announcements</a><br>
<a href="/Forum/forum">Forum</a><br> <a href="/Forum/forum"> Forum </a><br>
<a href="/Assignments/assignments">Assignments</a><br> <a href="/Assignments/assignments"> Assignments </a><br>
<a href="/Calendar">Calendar</a> <a href="/Calendar">Calendar </a><br>
</p> </p>
{% endblock %} {% endblock %}
\ No newline at end of file
No preview for this file type
h1{
text-align: center;
color:darkcyan;
}
ul{
text-align: center;
font-family: Georgia, serif;
font-size: 16px;
list-style-type: none;
line-height: 2;
text-decoration: none;
}
button{
background-color: #40E0D0;
font: Georgia, serif;
border: none;
color: black;
padding: 10px 30px;
text-align: center;
text-decoration: none;
position: relative;
left: 44%;
cursor: pointer;
}
p{
font-family: Georgia, serif;
text-align: center;
}
\ No newline at end of file
...@@ -125,6 +125,7 @@ USE_TZ = True ...@@ -125,6 +125,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.2/howto/static-files/ # https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
......
...@@ -2,6 +2,19 @@ ...@@ -2,6 +2,19 @@
{% load static %} {% load static %}
{% block title %} Widget's Calendar of Activities {% endblock %} {% block title %} Widget's Calendar of Activities {% endblock %}
{% block styles %}
<style>
body {
background-color: beige;
font-family: Georgia, serif;
font-size: 16px;
color: black;
}
h1{
text-align: center;
}
</style>
{% endblock %}
{% block content %} {% block content %}
<h1>Widget's Calendar of Activities</h1> <h1>Widget's Calendar of Activities</h1>
<ul> <ul>
......
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