summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pocketCSS.md22
-rw-r--r--pocketHelp.md8
2 files changed, 15 insertions, 15 deletions
diff --git a/pocketCSS.md b/pocketCSS.md
index 527feb0..b50c4c2 100644
--- a/pocketCSS.md
+++ b/pocketCSS.md
@@ -11,7 +11,7 @@
## Simple selectors
-<p class="micro">assume throughout that `E` and `F` are elements, they can have attribute `foo` e.g. <code style="white-space: nowrap">&lt;e foo="bar"&gt;</code> you can replace these with any elements or attributes.</p>
+<p class="micro">assume throughout that `E` and `F` are elements, they can have attribute `foo` e.g. <code style="white-space: nowrap"><e foo="bar"></code> you can replace these with any elements or attributes.</p>
<p class="micro">In HTML, elements in CSS can be uppercase like these examples. In XHTML, elements must be lower case. Classes and IDs are <strong>always</strong> case sensitive</p>
<span class="micro"><strong>universal selector</strong>, match any element</span>
@@ -20,17 +20,17 @@
<span class="micro"><strong>type</strong> (or element) selector</span>
`E`
-<span class="micro"><strong>ID selector</strong> an E element with ID equal to "myid", e.g. `&lt;e id="myid"&gt;`</span>
+<span class="micro"><strong>ID selector</strong> an E element with ID equal to "myid", e.g. `<e id="myid">`</span>
`E#myid`
-<span class="micro"><strong>class selector</strong> an E element whose class is "myclass", e.g. `&lt;e class="myclass"&gt;`</span>
+<span class="micro"><strong>class selector</strong> an E element whose class is "myclass", e.g. `<e class="myclass">`</span>
`E.myclass`
---
---
-## Combinators <abbr class="amp" title="and">&amp;</abbr> negation
+## Combinators <abbr class="amp" title="and">&</abbr> negation
<span class="micro"><strong>descendant combinator</strong> to style an F element, which is a descendant of an E element</span>
`E F`
@@ -56,22 +56,22 @@
<span class="micro">element E with a "foo" attribute</span>
`E[foo]`
-<span class="micro">E&#8217;s attribute `foo`, value exactly equal to `bar`</span>
+<span class="micro">E’s attribute `foo`, value exactly equal to `bar`</span>
`E[foo="bar"]`
-<span class="micro">E&#8217;s attribute `foo`, value is whitespace-separated values, one of which is exactly "bar"</span>
+<span class="micro">E’s attribute `foo`, value is whitespace-separated values, one of which is exactly "bar"</span>
`E[foo~="bar"]`
-<span class="micro">E&#8217;s attribute `foo`, value begins exactly "bar"</span>
+<span class="micro">E’s attribute `foo`, value begins exactly "bar"</span>
`E[foo^="bar"]`
-<span class="micro">E&#8217;s attribute `foo`, value ends exactly "bar"</span>
+<span class="micro">E’s attribute `foo`, value ends exactly "bar"</span>
`E[foo$="bar"]`
-<span class="micro">E&#8217;s attribute `foo`, value contains substring "bar"</span>
+<span class="micro">E’s attribute `foo`, value contains substring "bar"</span>
`E[foo*="bar"]`
-<span class="micro">E&#8217;s attribute `foo` has a hyphen-separated list of values beginning (from the left) with "en"</span>
+<span class="micro">E’s attribute `foo` has a hyphen-separated list of values beginning (from the left) with "en"</span>
`E[foo|="en"]`
---
@@ -155,7 +155,7 @@
---
-## Forms <abbr class="amp" title="and">&amp;</abbr> <span style="white-space: nowrap">Pseudo-elements</span>
+## Forms <abbr class="amp" title="and">&</abbr> <span style="white-space: nowrap">Pseudo-elements</span>
<span class="micro">a user interface element E which is enabled</span>
`E:enabled`
diff --git a/pocketHelp.md b/pocketHelp.md
index 36772b0..27e3a40 100644
--- a/pocketHelp.md
+++ b/pocketHelp.md
@@ -37,7 +37,7 @@
---
-## find <abbr class="amp" title="and">&amp;</abbr> open
+## find <abbr class="amp" title="and">&</abbr> open
<span class="micro">list all files recursively in subdomains</span>
`find .`
@@ -64,7 +64,7 @@
---
-## move, remove <abbr class="amp" title="and">&amp;</abbr> copy
+## move, remove <abbr class="amp" title="and">&</abbr> copy
<span class="micro">move or rename a file or directory</span>
`mv oldname newname`
@@ -119,7 +119,7 @@
---
-## subversion <abbr class="amp" title="and">&amp;</abbr> download
+## subversion <abbr class="amp" title="and">&</abbr> download
<span class="micro">is this directory checked out from svn? and where?</span>
`svn info`
@@ -143,7 +143,7 @@
---
-## help <abbr class="amp" title="and">&amp;</abbr> information
+## help <abbr class="amp" title="and">&</abbr> information
<span class="micro">run any command as root</span>
`sudo your-command-here`