Browse Source

Change font and input style

raylu 14 years ago
parent
commit
24437b55bd
3 changed files with 7 additions and 5 deletions
  1. 4 3
      pyc/templates/base.html
  2. 1 1
      pyc/templates/submit.html
  3. 2 1
      static/style.css

+ 4 - 3
pyc/templates/base.html

@@ -3,7 +3,8 @@
 <head>
 	<meta charset="UTF-8">
 	<title>pyc</title>
-	<link href="/static/style.css" rel="stylesheet" type="text/css" charset="utf8">
+	<link href="/static/style.css" rel="stylesheet" type="text/css">
+	<link href="http://fonts.googleapis.com/css?family=Play" rel="stylesheet" type="text/css">
 </head>
 <body>
 <div id="wrap">
@@ -16,12 +17,12 @@
 		<div class="nav">
 			<a href="{% url grader.views.index %}">Home</a>
 
-			<p>Labs:
+			<p>Labs:</p>
 			<ol>
 			{% for lab in labs %}
 				<li><a href="/lab/{{ lab.id }}/">{{ lab.name }}</a></li>
 			{% endfor %}
-			</ol></p>
+			</ol>
 
 			<a href="{% url grader.views.faq %}">FAQ</a>
 		</div>

+ 1 - 1
pyc/templates/submit.html

@@ -13,7 +13,7 @@
 <p>
 <form method="POST" enctype="multipart/form-data">
 {{ form }}
-<input type="submit">
+<br><input type="submit">
 {% csrf_token %}
 </form>
 </p>

+ 2 - 1
static/style.css

@@ -1,6 +1,7 @@
 body {
 	background-color: #000;
 	color: #eee;
+	font-family: 'Play', serif;
 }
 
 a, a:visited, a:active {
@@ -55,5 +56,5 @@ table#lab {
 input {
 	background-color: #111;
 	color: #eee;
-	border: 1 solid #eee;
+	border: 1px solid #eee;
 }