1
0
Fork 0
forked from wezm/wezm.net

Remove test code

This commit is contained in:
Wesley Moore 2009-11-22 13:44:20 +11:00
parent 29c67e61af
commit 1fb67f4947
2 changed files with 2 additions and 22 deletions

View file

@ -11,10 +11,6 @@
<body> <body>
<div id="main"> <div id="main">
<h1><%= @item[:title] %></h1> <h1><%= @item[:title] %></h1>
<p class="georgia">Something that seems to be a regression on the iPhone relative to all previous iPods is that song titles get truncated. Even in the original iPod the Now Playing screen would scroll the current song title so that you could read it all when it didn't fit on screen. Later model iPods also scrolled text that was wider than the screen when browsing menus. It seems the iPhone 3G does neither of these. I tried the three main views: Now Playing, List view (flip side of album art in now playing screen) and the track browsing screen. All three are pictured at the end of this post (which incidently was written using the very cool iPhone WordPress app). It seems the only way to see the full track name is to rotate the iPhone into the Coverflow view where the text fits given the added width of the screen. If anyone has any better suggestions I'd love to hear them.</p>
<%= yield %> <%= yield %>
</div> </div>
</body> </body>

View file

@ -2,18 +2,12 @@
font-family: "Titillium"; font-family: "Titillium";
src: url(/fonts/TitilliumMaps26L001.otf) format("opentype"); src: url(/fonts/TitilliumMaps26L001.otf) format("opentype");
} }
/*@font-face {
font-family: "Contra";
src: url(/fonts/CONTRA__.ttf) format("truetype");
}
@font-face {
font-family: "League Gothic";
src: url(/fonts/League%20Gothic.otf) format("opentype");
}*/
body { body {
font-family: Constantia, Georgia, "Bitstream Vera Serif", "Liberation Serif", serif; font-family: Constantia, Georgia, "Bitstream Vera Serif", "Liberation Serif", serif;
font-size: 62.5%; font-size: 62.5%;
background: #fff;
padding: 1em;
} }
p { p {
@ -22,25 +16,15 @@ p {
margin: 1em 0; margin: 1em 0;
} }
p.georgia {
font-family: Georgia, Palatino, Times, 'Times New Roman', sans-serif;
}
h1 { h1 {
font-size: 4.5em; font-size: 4.5em;
} }
h1,h2,h3,h4,h5,h6 { h1,h2,h3,h4,h5,h6 {
/* font-family: "League Gothic", Contra, Titillium, Calibri, Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;*/
font-family: Titillium, Calibri, Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif; font-family: Titillium, Calibri, Helvetica, "Liberation Sans", "Bitstream Vera Sans", Tahoma, Geneva, Arial, sans-serif;
margin: 0.75em 0 0.25em 0; margin: 0.75em 0 0.25em 0;
} }
body {
background: #fff;
padding: 1em;
}
a { a {
text-decoration: none; text-decoration: none;
} }