Steve Losh avatar Steve Losh committed 8ffc9e2

A few minor style changes.

Comments (0)

Files changed (3)

site-media/styles/ljstyle.css

 }
 
 div#canvas {
-    width: 60em;
+    width: 70em;
     margin: auto;
     text-align: left;
 }

site-media/styles/playlistsstyle.css

 
 .playlists_playlist_table_entry td {
     background-color: #e5e5e5;
-    padding: 0.2em;
+    padding: 0.5em;
     padding-left: 0.4em;
     padding-right: 0.4em;
 }
 
-.playlists_playlist_table_header td {
-    font-size: 1.2em;
-    font=weight: bold;
+.playlists_playlist_table_entry td.playlists_track_num {
+    text-align: center;
+}
+
+.playlists_playlist_table_header th {
+    font-weight: bold;
     background-color: inherit;
 }
 

templates/playlists/single_playlist.html

 <h1>{{ playlist.name }}'{% if not ends %}s{% endif %} set on {{ playlist.date|date:"F j, Y" }}</h1>
 	<table id="playlists_playlist_table">
 		<tr class="playlists_playlist_table_header">
-			<td>#</td>
-			<td>Title</td>
-			<td>Artist</td>
-			<td>Album</td>
-			<td>Length</td>
-			<td>BPM</td>
+			<th>#</th>
+			<th>Title</th>
+			<th>Artist</th>
+			<th>Album</th>
+			<th>BPM</th>
 		</tr>
 	{% for track in playlist.playlisttrack_set.all %}
 		<tr class="playlists_playlist_table_entry">
-			<td>{{ track.number }}</td>
+			<td class="playlists_track_num">{{ track.number }}</td>
 			<td>{{ track.song.title }}</td>
 			<td>{{ track.song.artist }}</td>
 			<td>{{ track.song.album }}</td>
-			<td>{{ track.song.length }}</td>
 			<td>{% if track.song.bpm %}{{ track.song.bpm }}{% endif %}</td>
 		</tr>
 	{% endfor %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.