<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Mat Bowles</title>
  <link>https://matgb.dreamwidth.org/</link>
  <description>Mat Bowles - Dreamwidth Studios</description>
  <lastBuildDate>Sun, 28 Nov 2010 22:03:47 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>matgb</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/713064/17442</url>
    <title>Mat Bowles</title>
    <link>https://matgb.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://matgb.dreamwidth.org/379483.html</guid>
  <pubDate>Sun, 28 Nov 2010 22:03:47 GMT</pubDate>
  <title>Making blogs display better on mobile devices</title>
  <link>https://matgb.dreamwidth.org/379483.html</link>
  <description>I&apos;m trying to fix some issues with my and Jennie&apos;s layout for display on mobile devices, if anyone knows enough about either the DW style system or CSS media types to help, the question is over at &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;https://style-system.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/community.png&apos; alt=&apos;[community profile] &apos; width=&apos;16&apos; height=&apos;16&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://style-system.dreamwidth.org/&apos;&gt;&lt;b&gt;style_system&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://style-system.dreamwidth.org/36726.html&quot; title=&quot;Using @media commands to print separate stylesheets?&quot;&gt;Using &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;b&gt;media&lt;/b&gt;&lt;/span&gt; commands to print separate stylesheets?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Essentially, it&apos;s considered good practice to have a different stylesheet for different sorts of browsers. For example, on my computer, the browser needs to be told that I want the sidebar to the right, how wide the boxes should be, etc.  But on my phone browser, that information is actually worse than useless, as it can&apos;t make use of it, I pay for the bandwidth to download it anyway, and some mobile browsers will try and display it if told to even though it can&apos;t work properly.&lt;br /&gt;&lt;br /&gt;I&apos;ve had reports from some readers, here and on friends journals, that most DW layouts are unreadable in certain devices (a Palm Pre being a specific example--I can&apos;t check).  I think this is both a good thing to learn to do, and will be useful overall for the site.&lt;br /&gt;&lt;br /&gt;Wondering around cvarious places, wordpress.com hosted blogs do it by not giving any style information to a mobile device, so you just get default browser stuff, which looks ugly, wordpress self-hosted blogs use a variety of tools--some good &amp; some bad, LJ and DW styles don&apos;t do anything specific, but seem to degrade gracefully, and Blogger hosted blogs are almost impossible to navigate using Opera Mobile and I still can&apos;t figure out what it is in the code they&apos;re doing that borks it that badly.  &lt;br /&gt;&lt;br /&gt;If anyone can spot it, I can code a fix for friends using Blogger. Because that&apos;d make my life much happier.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=matgb&amp;ditemid=379483&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://matgb.dreamwidth.org/379483.html</comments>
  <category>css</category>
  <category>dreamwidth: layout</category>
  <category>style system</category>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://matgb.dreamwidth.org/362303.html</guid>
  <pubDate>Thu, 07 May 2009 16:28:59 GMT</pubDate>
  <title>[DW] Profile link icons update.</title>
  <link>https://matgb.dreamwidth.org/362303.html</link>
  <description>In my &lt;a href=&quot;http://matgb.dreamwidth.org/361968.html&quot; title=&quot;[LJ/DW] Making profile icons look cool in your layout&quot;&gt;Monday post about icons&lt;/a&gt;, I gave replacement codes for the 5 icons that DW commonly uses as well as the 3 that LJ commonly uses.  I missed one that DW uses, namely direct links to LJs using the new custom site code.&lt;br /&gt;&lt;br /&gt;If you didn&apos;t know, rather than the old &lt;strong&gt;[lj-user=&quot;matgb&quot;]&lt;/strong&gt; code, DW has replaced it with &lt;strong&gt;[user name=&quot;matgb&quot;]&lt;/strong&gt;, ie removing the LJ bit given, obviously, it&apos;s not on LJ. But cunningly, they&apos;ve also added another option, if you code &lt;strong&gt;[user name=&quot;matgb&quot; &lt;em&gt;site&lt;/em&gt;=&quot;livejournal.com&quot;]&lt;/strong&gt; it will link to matgb on LJ, not DW. And it&apos;ll take the LJ usericon from the LJ server as well.&lt;br /&gt;&lt;br /&gt;Which would be cool. Except it doesn&apos;t auto-discover whether it&apos;s a person, community or feed. So my post &lt;a href=&quot;http://matgb.dreamwidth.org/362185.html&quot; title=&quot;Social media inward looking wankery&quot;&gt;Tuesday&lt;/a&gt; mentioning the Russian President&apos;s blog displayed it as a person, not as a community. Which I think is slightly unintuitive and misleading. So I&apos;ve fixed that.&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;leftbox&quot;&gt;&lt;textarea&gt;
.ljuser img[src=&quot;http://www.livejournal.com/img/userinfo.gif&quot;] {
background-color:transparent;
background-image: url(http://www.livejournal.com/img/pencil.gif);
padding: 17px 17px 0 2px !important;
}
&lt;/textarea&gt;&lt;/span&gt;I&apos;ve added &lt;i&gt;another&lt;/i&gt; bit of code for DW so that off-site links to &lt;i&gt;LJ&lt;/i&gt;s instead display the LJ pencil, to show it&apos;s something on LJ, not a bloke regardless of what it is on LJ. So, if you look at this post on DW using my style, it&apos;ll show the little pencil when I repeat the link. Look: &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;http://blog-medvedev.livejournal.com/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/external/lj-community.gif&apos; alt=&apos;[livejournal.com profile] &apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; width=&apos;16&apos; height=&apos;16&apos;/&gt;&lt;/a&gt;&lt;a href=&apos;http://blog-medvedev.livejournal.com/&apos;&gt;&lt;b&gt;blog_medvedev&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;.  I suspect I could keep doing these for ages—if you regularly link to IJ, WP, JF or whatever people, y&apos;know what? Sort your own code out, ask me if you need help.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=matgb&amp;ditemid=362303&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://matgb.dreamwidth.org/362303.html</comments>
  <category>dreamwidth: layout</category>
  <category>css</category>
  <category>dreamwidth</category>
  <lj:security>public</lj:security>
  <lj:reply-count>7</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://matgb.dreamwidth.org/361968.html</guid>
  <pubDate>Mon, 04 May 2009 18:13:10 GMT</pubDate>
  <title>[LJ/DW] Making profile icons look cool in your layout</title>
  <link>https://matgb.dreamwidth.org/361968.html</link>
  <description>One of the things I like about journalling platforms based on the LJ codebase is the easy shortcut for usernames that&apos;ll link to  both the blog itself &lt;i&gt;and&lt;/i&gt; the profile, with that nice little logo for the profile link.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ETA&lt;/b&gt;: At the top, unfortunately. The site where some of my icons was hosted, dammitja.net appears to be down, I&apos;ll be contacting the site owner ASAP, but in the meantime, the code does work, but won&apos;t display properly here using the icons I liked :-(&lt;br /&gt;&lt;raw&gt;&lt;br /&gt;&lt;span class=&quot;leftbox&quot;&gt;&lt;table&gt;&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;LJ&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;DW&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;Mine&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;User&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://l-stat.livejournal.com/img/userinfo.gif&quot; alt=&quot;LJ User Icon&quot; /&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://s.dreamwidth.org/img/silk/identity/user.png&quot; alt=&quot;DW User Icon&quot; /&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://dammitja.net/lj/opp/drwho06.gif&quot; alt=&quot;Little Colin Baker&quot; /&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;Community&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://l-stat.livejournal.com/img/community.gif&quot; alt=&quot;LJ Comm Icon&quot; /&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://s.dreamwidth.org/img/silk/identity/community.png&quot; alt=&quot;DW Comm Icon&quot; /&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://pics.livejournal.com/snapesbabe/pic/000fzf79&quot; alt=&quot;Little Tardis!&quot; /&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;br /&gt;Feed&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://l-stat.livejournal.com/img/syndicated.gif&quot; alt=&quot;LJ Feed Icon&quot; /&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://s.dreamwidth.org/img/silk/identity/feed.png&quot; alt=&quot;DW Feed Icon&quot; /&gt;&lt;br /&gt;&lt;/td&gt;
&lt;td&gt;&lt;br /&gt;&lt;img src=&quot;http://pics.livejournal.com/snapesbabe/pic/000fxssg&quot; alt=&quot;Little Dalek!&quot; /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;br /&gt;Others&lt;/td&gt;
&lt;td&gt;&lt;img src=&quot;http://dammitja.net/lj/opp/drwho05.gif&quot; alt=&quot;Little Peter!&quot; /&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src=&quot;http://dammitja.net/lj/opp/flibble.gif&quot; alt=&quot;Little Mr Flibble!&quot; /&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src=&quot;http://www.livejournal.com/img/pencil.gif&quot; alt=&quot;LJ userbloke&quot; /&gt;&lt;br /&gt;&lt;/table&gt;&lt;/span&gt;&lt;/raw&gt;Thing is, the nice little logo doesn&apos;t always suit the style of the place it&apos;s appearing in, or the colour scheme of the layout.  So, given I know how to replace them, I thought I&apos;d update the code and add some new tweaks.  As always, CSS hackery, playing with CSS is both fun and easy, I highly recommend it for people of a web-savvy nature.&lt;br /&gt;&lt;br /&gt;I have, naturally, chosen a Doctor Who theme to my replacement images—feel free to replace them with something else if you wish. I forget where I got the original code for to do this, it&apos;s heavily updated now, but I&apos;d like to credit the author, so if you know, gimme a link?&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;leftbox&quot;&gt;&lt;textarea align=&quot;left&quot; hspace=&quot;5&quot;&gt;.ljuser img {
width: 0;
height: 0;
background-repeat: no-repeat;
background-color:transparent;
/* so that IE users will still see an image */
background-image: url(http://pics.livejournal.com/snapesbabe/pic/000fxssg);
padding: 19px 15px 0 2px !important;
}
.ljuser img[src=&quot;http://s.dreamwidth.org/img/silk/identity/user.png&quot;] {
background-color:transparent;
background-image: url(http://dammitja.net/lj/opp/drwho06.gif);
padding: 19px 15px 0 2px !important;
}
.ljuser img[src=&quot;http://s.dreamwidth.org/img/silk/identity/community.png&quot;] {
background-color:transparent;
background-image: url(http://pics.livejournal.com/snapesbabe/pic/000fzf79);
padding: 18px 11px 0 2px !important;
}
.ljuser img[src=&quot;http://s.dreamwidth.org/img/silk/identity/feed.png&quot;] {
background-color:transparent;
background-image: url(http://pics.livejournal.com/snapesbabe/pic/000fxssg);
padding: 18px 15px 0 2px !important;
}
.ljuser img[src=&quot;http://s.dreamwidth.org/img/silk/identity/user_staff.png&quot;] {
background-color:transparent;
background-image: url(http://dammitja.net/lj/opp/drwho05.gif);
padding: 18px 15px 0 2px !important;
}
.ljuser img[src=&quot;http://s.dreamwidth.org/img/silk/identity/openid.png&quot;] {
background-color:transparent;
background-image: url(http://dammitja.net/lj/opp/flibble.gif);
padding: 18px 15px 0 2px !important;
}
.ljuser img[src=&quot;http://s.dreamwidth.org/img/external/lj-userinfo.gif&quot;] {
background-color:transparent;
background-image: url(http://www.livejournal.com/img/pencil.gif);
padding: 17px 17px 0 2px !important;
}&lt;/textarea&gt;&lt;/span&gt;Anyway. Dreamwidth users should go to the &lt;a href=&quot;http://www.dreamwidth.org/customize/options.bml?group=customcss&quot;&gt;DW Custom CSS page&lt;/a&gt; and paste the code into the big box. &lt;br clear=&quot;all&quot; /&gt;&lt;br /&gt;&lt;span class=&quot;leftbox&quot;&gt;&lt;textarea align=&quot;left&quot; hspace=&quot;5&quot;&gt;.ljuser img {
width: 0;
height: 0;
background-repeat: no-repeat;
background-color:transparent;
/* so that IE users will still see an image */
background-image: url(http://pics.livejournal.com/snapesbabe/pic/000fxssg);
padding: 19px 15px 0 2px !important;
}
.ljuser img[src=&quot;http://l-stat.livejournal.com/img/userinfo.gif&quot;] {
background-color:transparent;
background-image: url(http://dammitja.net/lj/opp/drwho06.gif);
padding: 19px 15px 0 2px !important;
}
.ljuser img[src=&quot;http://l-stat.livejournal.com/img/community.gif&quot;] {
background-color:transparent;
background-image: url(http://pics.livejournal.com/snapesbabe/pic/000fzf79);
padding: 18px 11px 0 2px !important;
}
.ljuser img[src=&quot;http://l-stat.livejournal.com/img/syndicated.gif&quot;] {
background-color:transparent;
background-image: url(http://pics.livejournal.com/snapesbabe/pic/000fxssg);
padding: 18px 11px 0 2px !important;
}&lt;/textarea&gt;&lt;/span&gt;Livejournal users should go to the &lt;a href=&quot;http://www.livejournal.com/customize/options.bml?group=customcss&quot;&gt;LJ Custom CSS&lt;/a&gt; page and, go on, have a guess...&lt;br /&gt;&lt;br /&gt;Yup, copy and paste the code into the box. One little caveat—it&apos;s replacing images taken from l-stat.livejournal.com, if LJ changes their &lt;abbr title=&quot;Content Delivery Network&quot;&gt;CDN&lt;/abbr&gt; again, then the URL might change and the code&apos;ll stop working, I&apos;ll update it as soon as I know to, it&apos;s likely to be a simple change the letter hack (it used to be p-stat.*)&lt;br /&gt;&lt;br /&gt;The Colin icon is taken from &lt;span style=&apos;white-space: nowrap;&apos;&gt;&lt;a href=&apos;http://allah-sulu.livejournal.com/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/external/lj-userinfo.gif&apos; alt=&apos;[livejournal.com profile] &apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; width=&apos;17&apos; height=&apos;17&apos;/&gt;&lt;/a&gt;&lt;a href=&apos;http://allah-sulu.livejournal.com/&apos;&gt;&lt;b&gt;allah_sulu&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&apos;s &lt;a href=&quot;http://allah-sulu.livejournal.com/959743.html&quot;&gt;Ten Doctor&lt;/a&gt;&apos;s. If you want to use &lt;a href=&quot;http://dammitja.net/lj/asmt/&quot;&gt;different images&lt;/a&gt;, then replacing the image location is fairly easy, just make sure you also change the dimensions in the &apos;padding&apos; area, the first two are effectively height and width.  &lt;br /&gt;&lt;br /&gt;I &lt;s title=&quot;No replacement meant the Dalek everywhere, which I knew from the following sentence, I are dim&quot;&gt;deliberately haven&apos;t done one for OpenID accounts, I might change my mind on that but I think the OpenID logo ought to be got used to. I&apos;m considering a DW staff replacement, but not sure what I should go for (either Five or &lt;img src=&quot;http://dammitja.net/lj/opp/usercan2.gif&quot; style=&quot;width: 17px; height: 17px; border: 0&quot; alt=&quot;&quot; /&gt; appeal a bit).&lt;/s&gt; Haven&apos;t bothered with sponsored Comms, probably ought to, not doing so means the image won&apos;t show up at all.&lt;br /&gt;&lt;br /&gt;As always, feel free to link or comment with questions, etc.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=matgb&amp;ditemid=361968&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://matgb.dreamwidth.org/361968.html</comments>
  <category>lj: layout</category>
  <category>doctor who</category>
  <category>css</category>
  <category>dreamwidth: layout</category>
  <lj:security>public</lj:security>
  <lj:reply-count>15</lj:reply-count>
</item>
</channel>
</rss>
