--- tour/index.html
+++ tour/index.2.html
@@ -36,14 +36,41 @@
margin: 2em 0 1.5em;
}
-p, ul {
+p {
margin: 0 0 1.5em 0;
}
+kbd {
+ font-size: larger;
+ background: #ffe;
+}
+#content pre {
+ width: 12em;
+ margin: 0 auto 1.5em;
+}
+
+/* Lists */
+ul, ol {
+ padding: 0 5%;
+ margin: 0 0 1.5em 0;
+}
+ol li {
+ list-style-type: decimal;
+}
+li {
+ margin: 0 0 .7em 1em;
+}
+ul.replace {
+ padding: .7em 5%;
+ background: white;
+}
+ul.replace li:last-child {
+ margin-bottom: 0;
+}
dt {
- padding: .8em 3% 0;
+ padding: .7em 3% 0;
margin: 0;
}
dd {
- padding: .5em 6% .8em;
- margin: 0 0 8px;
+ padding: .5em 8% .7em;
+ margin: 0 0 .5em;
}
dd p {
@@ -56,12 +83,4 @@
background: white;
}
-kbd {
- font-size: larger;
- background: #ffe;
-}
-#content pre {
- width: 12em;
- margin: 0 auto 1.5em;
-}
/* Images */
@@ -129,4 +148,5 @@
/* Tables */
table {
+ table-layout: fixed;
width: 100%;
background: white;
@@ -135,19 +155,19 @@
td {
vertical-align: middle;
- padding: .5em 1em;
+ padding: .5em 1em .3em;
}
-.commands td, .lists td {
+.commands tr, .lists tr {
border-bottom: 4px solid #f5f5ed;
}
.commands td:first-child, .lists td:first-child {
text-align: right;
- width: 30%;
- border-right: 2px solid #f5f5ed;
+ width: 28%;
+ padding-right: 0;
}
.commands.calculate td:first-child {
- width: 42%;
+ width: 40%;
}
.commands.modes td:first-child {
- width: 48%;
+ width: 43%;
}
.lists {
@@ -157,8 +177,4 @@
margin: 0;
}
-.lists.third td:first-child {
- width: 40%;
- margin: 0;
-}
.operations {
table-layout: fixed;
@@ -180,4 +196,41 @@
}
+@media (max-width: 35em) {
+ .commands td {
+ display: block;
+ }
+ .lists td {
+ display: inline-block;
+ }
+ .commands td, .lists td {
+ padding: 0;
+ border: none;
+ }
+ .commands td:first-child, .lists td:first-child {
+ width: auto;
+ text-align: left;
+ position: relative;
+ right: 1em;
+ margin-bottom: .2em;
+ }
+ .commands.calculate td:first-child,
+ .commands.modes td:first-child {
+ width: auto;
+ }
+ .commands tr, .lists tr {
+ display: block;
+ padding: .4em .5em .2em 1.5em;
+ }
+ .operations {
+ table-layout: auto;
+ }
+ .operations td {
+ padding: .5em;
+ }
+ .operations.replacements td:first-child {
+ width: auto;
+ }
+}
+
@media (min-width: 55em) {
.intro {
@@ -206,9 +259,7 @@
p.number {
position: relative;
- padding-top: 2em;
+ z-index: -1;
font-size: 4em;
- }
- td {
- padding: .5em 1em;
+ padding-top: 2em;
}
.lists {
@@ -537,16 +588,13 @@
jump anyway.
-
-
- C-u 3 C-p | Back 3 lines |
- C-u 10 C-f | Forward 10 characters |
- M-1 M-0 C-f | Forward 10 characters |
-
-
- C-u C-n | Forward 4 lines |
- C-u C-u C-n | Forward 16 lines |
- C-u C-u C-u C-n | Forward 64 lines |
-
-
+
+ C-u 3 C-p | Back 3 lines |
+ C-u 10 C-f | Forward 10 characters |
+ M-1 M-0 C-f | Forward 10 characters |
+ C-u C-n | Forward 4 lines |
+ C-u C-u C-n | Forward 16 lines |
+ C-u C-u C-u C-n | Forward 64 lines |
+
+
You can jump directly to a particular line number in a buffer:
@@ -655,8 +703,12 @@
argument for C-k can be used to kill multiple lines:
-
- C-k | Kill line |
- C-u 10 C-k | Kill 10 lines |
-
+
+
+
+ C-u 10 C-k | Kill 10 lines |
+
+
The following commands operate on the region, and are the closest analogs to
@@ -692,5 +744,5 @@
through previously killed items.
-
+
C-y | Yanks last killed text |
M-y | Replace yanked text with previously killed
@@ -775,5 +827,5 @@
These commands help you to issue previously issued queries:
-
+
C-s C-s | Search for most recently searched item |
C-s M-p | Previous item in search history |
@@ -805,5 +857,5 @@
the search string. Here are some of the options available at each prompt:
-
+
- Type y to replace the current match.
- Type n to skip to the next match without replacing.
@@ -915,5 +967,5 @@
- M-d C-d M-u, [SPC] C-y C-n C-a
+ M-d C-d M-u, [SPC] C-y C-n C-a
After we record that key sequence as a macro, we can type M-0 F4 to
@@ -969,6 +1021,6 @@
For example, if I remember that I want to activate narrowing, but
don't remember how, I can type C-h a narrow RET which shows a brief
- list of commands having to do with narrow, one of which is M-x
- narrow-to-region.
+ list of commands having to do with narrow, one of which is M-x
+ narrow-to-region.
More useful features
|