Commit 0e00de76 authored by Sharmaine Chua's avatar Sharmaine Chua

updated added some css to the lab

parent 597c1efa
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
{% block content %} {% block content %}
<h1>Sharm's Favorite Authors:</h1> <h1>Sharm's Favorite Authors:</h1>
{% for object in object_list %} {% for object in object_list %}
<p> <p><strong>
<a href="{{ object.get_absolute_url }}"> <a href="{{ object.get_absolute_url }}">
<li> <li>
{{ object }} {{ object }}
</li> </li>
</a> </a>
</p> </strong></p>
{% endfor %} {% endfor %}
<br><br><br> <br><br><br>
......
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
{% block content %} {% block content %}
<h1>Sharm's Favorite Books:</h1> <h1>Sharm's Favorite Books:</h1>
{% for object in object_list %} {% for object in object_list %}
<p> <p><strong>
<a href="{{ object.get_absolute_url }}"> <a href="{{ object.get_absolute_url }}">
<li> <li>
{{ object.title }} {{ object.title }}
</li> </li>
</a> </a>
</p> </strong></p>
{% endfor %} {% endfor %}
<br><br><br> <br><br><br>
......
...@@ -3,10 +3,11 @@ ...@@ -3,10 +3,11 @@
{% block content %} {% block content %}
<center> <center>
<h1>Welcome to Sharm's Database of Favorite Books and Authors!</h1> <h1>Welcome to Sharm's <br> Database of Favorite Books and Authors!</h1>
<h3>I like to read romance books to romanticize my life. (this is why im marupok) <br> <h3>I like to read romance books to romanticize my life. (this is why im marupok) <br>
Also the books here are not the books I have read because I forgot their titles... <br> Also the books here are not the books I have read because I forgot their titles... <br>
im sorry...<br></h3> im sorry...<br></br></br>
<i>ALSO MEET MY DOG CALVIN AKA CAVY HES SUPER CUTE!!!</i></h3>
<br><br><br><br><br> <br><br><br><br><br>
......
h1 { h1 {
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif; "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
color: #afcaff; color: #192841;
} }
h2 { h2 {
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
...@@ -13,5 +13,19 @@ h3 { ...@@ -13,5 +13,19 @@ h3 {
} }
p { p {
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif; "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
} }
\ No newline at end of file body {
background-image: url(calvin.jpg);
background-position: right;
background-size: 20%;
background-repeat: repeat-y;
}
title {
min-width: 100px;
margin-top: 25px;
margin-left: 135px;
margin-bottom: 20px;
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
\ No newline at end of file
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> {% load static %}
<link rel="stylesheet" href="style.css"> <head>
<title>{% block title %}My Favorite Books and Authors{% endblock %}</title> <link rel="stylesheet" href=" {% static '/css/style.css' %}">
</head> <title>{% block title %}My Favorite Books and Authors{% endblock %}</title>
<body style ="background-color: #8ecced;" > </head>
<div id="content"> <body style ="background-color: #8ecced;" >
{% block content %}{% endblock %} <div class="home-container">
</div> <div id="content">
</body> {% block content %}{% endblock %}
</div>
</div>
</body>
</html> </html>
\ No newline at end of file
This diff is collapsed.
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