summaryrefslogtreecommitdiffstats
path: root/public/help/sv/wiki_syntax_detailed_textile.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/help/sv/wiki_syntax_detailed_textile.html')
-rw-r--r--public/help/sv/wiki_syntax_detailed_textile.html45
1 files changed, 20 insertions, 25 deletions
diff --git a/public/help/sv/wiki_syntax_detailed_textile.html b/public/help/sv/wiki_syntax_detailed_textile.html
index 46f8c2ce9..09f3210ef 100644
--- a/public/help/sv/wiki_syntax_detailed_textile.html
+++ b/public/help/sv/wiki_syntax_detailed_textile.html
@@ -12,28 +12,23 @@
margin: 1em 1em 1em 1.6em;
padding: 2px;
background-color: #fafafa;
- border: 1px solid #dadada;
- width:95%;
+ border: 1px solid #e2e2e2;
+ width: auto;
overflow-x: auto;
+ overflow-y: hidden;
}
a.new { color: #b73535; }
- .syntaxhl .line-numbers { padding: 2px 4px 2px 4px; background-color: #eee; margin:0 }
- .syntaxhl .comment { color:#666; }
-
- .syntaxhl .class { color:#B06; font-weight:bold }
+ .syntaxhl .class { color:#258; font-weight:bold }
+ .syntaxhl .comment { color:#385; }
.syntaxhl .delimiter { color:black }
.syntaxhl .function { color:#06B; font-weight:bold }
-
- .syntaxhl .inline { background: #eee }
- .syntaxhl .inline .inline-delimiter { font-weight: bold; color: #888 }
-
+ .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black }
+ .syntaxhl .inline-delimiter { font-weight: bold; color: #666 }
.syntaxhl .instance-variable { color:#33B }
- .syntaxhl .reserved { color:#080; font-weight:bold }
-
- .syntaxhl .string { background-color:#fff0f0; color: #D20; }
- .syntaxhl .string .delimiter { color:#710 }
-
+ .syntaxhl .keyword { color:#939; font-weight:bold }
+ .syntaxhl .string .content { color: #46a }
+ .syntaxhl .string .delimiter { color:#46a }
</style>
</head>
@@ -318,16 +313,16 @@ It can be expanded by clicking a link.
<p>Example:</p>
-<pre><code class="ruby syntaxhl"><span class="line-numbers"> 1</span> <span class="comment"># The Greeter class</span>
-<span class="line-numbers"> 2</span> <span class="reserved">class</span> <span class="class">Greeter</span>
-<span class="line-numbers"> 3</span> <span class="reserved">def</span> <span class="function">initialize</span>(name)
-<span class="line-numbers"> 4</span> <span class="instance-variable">@name</span> = name.capitalize
-<span class="line-numbers"> 5</span> <span class="reserved">end</span>
-<span class="line-numbers"> 6</span>
-<span class="line-numbers"> 7</span> <span class="reserved">def</span> <span class="function">salute</span>
-<span class="line-numbers"> 8</span> puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span>
-<span class="line-numbers"> 9</span> <span class="reserved">end</span>
-<span class="line-numbers"><strong>10</strong></span> <span class="reserved">end</span></code>
+<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="comment"># The Greeter class</span>
+<span class="keyword">class</span> <span class="class">Greeter</span>
+ <span class="keyword">def</span> <span class="function">initialize</span>(name)
+ <span class="instance-variable">@name</span> = name.capitalize
+ <span class="keyword">end</span>
+
+ <span class="keyword">def</span> <span class="function">salute</span>
+ puts <span class="string"><span class="delimiter">"</span><span class="content">Hello </span><span class="inline"><span class="inline-delimiter">#{</span><span class="instance-variable">@name</span><span class="inline-delimiter">}</span></span><span class="content">!</span><span class="delimiter">"</span></span>
+ <span class="keyword">end</span>
+<span class="keyword">end</span></span></code>
</pre>
</body>
</html>
id='n53' href='#n53'>53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173