<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://notiz.blog/wp-content/plugins/pretty-feeds/pretty-feed-v4.xsl" type="text/xsl" media="screen" ?>


<!--

	Feeds whisper secrets,
	In the RSS Club's embrace,
	Knowledge blooms in grace.

-->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:source="http://source.scripting.com/"
xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Selector &#8211; notizBlog</title>
	<atom:link href="https://notiz.blog/tag/selector/feed/" rel="self" type="application/rss+xml" />
	<link>https://notiz.blog</link>
	<description>a weblog mainly about the open, portable, interoperable, small, social, synaptic, semantic, structured, distributed, (re-)decentralized, independent, microformatted and federated social web</description>
	<lastBuildDate>Fri, 19 May 2023 21:19:51 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://notiz.blog/wp-content/uploads/2019/10/cropped-notizblog-icon-1-32x32.png</url>
	<title>Selector &#8211; notizBlog</title>
	<link>https://notiz.blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<source:blogroll>https://reader.pfefferle.org/i/?a=opml&amp;get=c_2</source:blogroll>
<creativeCommons:license>https://creativecommons.org/licenses/by-sa/4.0/</creativeCommons:license>
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/>
<atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/>
<atom:link rel="hub" href="https://switchboard.p3k.io/"/>
<atom:link rel="self" href="https://notiz.blog/tag/selector/feed/"/>
<atom:link rel="search" type="application/opensearchdescription+xml" title="Search notizBlog" href="https://notiz.blog/wp-api/opensearch/1.1/document" />	<item>
		<title>CSS für XFN rel-tags</title>
		<link>https://notiz.blog/2006/12/05/css-fuer-xfn-rel-tags/</link>
					<comments>https://notiz.blog/2006/12/05/css-fuer-xfn-rel-tags/#comments</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Tue, 05 Dec 2006 14:15:37 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Mikroformate]]></category>
		<category><![CDATA[Selector]]></category>
		<category><![CDATA[XFN]]></category>
		<guid isPermaLink="false">http://notizblog.org/2006/12/05/css-fuer-xfn-rel-tags/</guid>

					<description><![CDATA[Da mir die neuen XFN Icons von Wolfgang Bartelme und Chris Messina recht gut gefallen, hab ich sie mal in mein CSS eingebaut. Das schwierige daran war, kombinationen von XFN Beziehungen mit CSS abzubilden. Ein Beispiel: Deshalb hab ich für mich die Hierarchie festgelegt: me professional: co-worker, colleague friendship (at most one): friend, acquaintance, contact [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Da mir die neuen <a href="http://microformats.org/wiki/icons">XFN Icons</a> von <a href="https://www.bartelme.at/">Wolfgang Bartelme</a> und <a href="https://factoryjoe.com/">Chris Messina</a> recht gut gefallen, hab ich sie mal in mein CSS eingebaut. Das schwierige daran war, kombinationen von XFN Beziehungen mit CSS abzubilden. Ein Beispiel:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"https://notiz.blog"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"friend met colleague"</span>&gt;</span>...<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span></code></span></pre>


<p>Deshalb hab ich für mich die Hierarchie festgelegt:</p>



<ul class="wp-block-list"><li>me</li><li>professional: co-worker, colleague</li><li>friendship (at most one): friend, acquaintance, contact</li><li>romantic: muse crush date sweetheart</li></ul>



<p>Das heißt im Klartext: Wenn ich einen rel-tag wie z.B. <code>rel="friend met colleague"</code> wird nur <em>friend</em> und <em>met</em> berücksichtigt weil das für mich höherwertig is. Wenn ihr ne andere Reihenfolge wollt, könnt ihr das ganze einfach in der CSS Datei umstellen (das Wichtigste unten).</p>



<p>Ich habe das ganze mit den in CSS 2.1 definierten <a href="https://www.w3.org/TR/CSS21/selector.html#attribute-selectors">Selectors</a> realisiert und mit Firefox 2.0 und IE7 getestet.</p>



<p><strong>Beispiel CSS Code:</strong></p>


<pre class="wp-block-code"><span><code class="hljs language-css"><span class="hljs-selector-tag">a</span><span class="hljs-selector-pseudo">:hover</span><span class="hljs-selector-attr">&#91;rel~=<span class="hljs-string">"me"</span>]</span> {
  <span class="hljs-attribute">background</span>: <span class="hljs-built_in">url</span>(images/xfn-me.png) no-repeat right; <span class="hljs-attribute">padding-right</span>: <span class="hljs-number">25px</span>;
}

<span class="hljs-selector-tag">a</span><span class="hljs-selector-pseudo">:hover</span><span class="hljs-selector-attr">&#91;rel~=<span class="hljs-string">"co-worker"</span>]</span>, <span class="hljs-selector-tag">a</span><span class="hljs-selector-pseudo">:hover</span><span class="hljs-selector-attr">&#91;rel~=<span class="hljs-string">"colleague"</span>]</span> {
  <span class="hljs-attribute">background</span>: <span class="hljs-built_in">url</span>(images/xfn-colleague.png) no-repeat right; <span class="hljs-attribute">padding-right</span>: <span class="hljs-number">25px</span>;
}

<span class="hljs-selector-tag">a</span><span class="hljs-selector-pseudo">:hover</span><span class="hljs-selector-attr">&#91;rel~=<span class="hljs-string">"co-worker"</span>]</span><span class="hljs-selector-attr">&#91;rel~=<span class="hljs-string">"met"</span>]</span>, <span class="hljs-selector-tag">a</span><span class="hljs-selector-pseudo">:hover</span><span class="hljs-selector-attr">&#91;rel~=<span class="hljs-string">"colleague"</span>]</span><span class="hljs-selector-attr">&#91;rel~=<span class="hljs-string">"met"</span>]</span> {
  <span class="hljs-attribute">background</span>: <span class="hljs-built_in">url</span>(images/xfn-colleague.png) no-repeat right; <span class="hljs-attribute">padding-right</span>: <span class="hljs-number">25px</span>;
}</code></span></pre>


<p><a href="https://notiz.blog/wp-content/uploads/2006/12/xfn.css">Komplette CSS Datei runterladen</a></p>



<p>Beispiele: <a href="https://notiz.blog">ME</a>, <a href="#">FRIEND COLLEAGUE</a>, <a href="#">COLLEAGUE</a>, <a href="#">COLLEAGUE MET</a>, <a href="#">FRIEND MUSE</a>, <a href="#">FRIEND MUSE MET</a>.</p>



<p>Würde mich sehr über Kommentare und Anregungen freuen&#8230;</p>
<p>RSS readers like you are the unsung heroes of the internet. Keep up the good work!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2006/12/05/css-fuer-xfn-rel-tags/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
