Skip to content

Commit 6d7d7a2

Browse files
committed
Merge pull request #8 from ChalamiuS/restyling-attempt
Restyling attempt
2 parents f12b502 + 74ffc82 commit 6d7d7a2

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

index.html

+13-13
Original file line numberDiff line numberDiff line change
@@ -10,54 +10,54 @@
1010
</head>
1111
<body>
1212
<div class="page">
13-
<div id="toc">
13+
<div id="toc" class="section">
1414
<h3 style="text-align: center;"><a href="#0">Table of Contents</a></h3>
1515
<ol>
1616
<li><a href="#s1" class="toci">The basics</a>
17-
<ul>
17+
<ol>
1818
<li><a href="#s11" class="toci">Downloading AutoHotkey</a></li>
1919
<li><a href="#s12" class="toci">How to create a script</a></li>
2020
<li><a href="#s13" class="toci">You cannot merge commands</a></li>
2121
<li><a href="#s14" class="toci">Other basic info</a></li>
22-
</ul>
22+
</ol>
2323
</li>
2424
<li><a href="#s2" class="toci">Hotkeys & Hotstrings</a>
25-
<ul>
25+
<ol>
2626
<li><a href="#s21" class="toci">Keys and symbols</a></li>
2727
<li><a href="#s22" class="toci">Window specific</a></li>
2828
<li><a href="#s23" class="toci">Multiple hotkeys per file</a></li>
2929
<li><a href="#s24" class="toci">Examples</a></li>
30-
</ul>
30+
</ol>
3131
</li>
3232
<li><a href="#s3" class="toci">Sending key strokes</a>
33-
<ul>
33+
<ol>
3434
<li><a href="#s31" class="toci">Games</a></li>
35-
</ul>
35+
</ol>
3636
</li>
3737
<li><a href="#s4" class="toci">Running programs & website</a></li>
3838
<li><a href="#s5" class="toci">Commands vs. Functions()</a>
39-
<ul>
39+
<ol>
4040
<li><a href="#s51" class="toci">Code blocks</a></li>
41-
</ul>
41+
</ol>
4242
</li>
4343
<li>
4444
<a href="#s6" class="toci">Variables</a>
45-
<ul>
45+
<ol>
4646
<li><a href="#s61" class="toci">When to use percents</a></li>
4747
<li><a href="#s62" class="toci">Getting user input</a></li>
4848
<li><a href="#s63" class="toci">Other Examples?</a></li>
49-
</ul>
49+
</ol>
5050
</li>
5151
<li>
5252
<a href="#s7" class="toci">Other helpful goodies</a>
53-
<ul>
53+
<ol>
5454
<li><a href="#s71" class="toci">The mysterious []'s</a></li>
5555
<li><a href="#s72" class="toci">Finding your AHK version</a></li>
5656
<li><a href="#s73" class="toci">Trial and Error</a></li>
5757
<li><a href="#s74" class="toci">Indentation</a></li>
5858
<li><a href="#s75" class="toci">Asking for Help</a></li>
5959
<li><a href="#s76" class="toci">Other links</a></li>
60-
</ul>
60+
</ol>
6161
</li>
6262
</ol>
6363
</div>

style.css

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#toc
22
{
3-
border: 1px solid #bbb;
43
padding:.2em;
5-
width: 350px;
4+
font-size: 11pt;
65
}
76

87

@@ -16,6 +15,11 @@ p
1615
line-height: 1.35em;
1716
}
1817

18+
#toc > ol > li > ol > li
19+
{
20+
list-style-type: lower-alpha;
21+
}
22+
1923
ol, ul
2024
{
2125
margin-top: 5px;
@@ -40,15 +44,14 @@ pre
4044
width: 960px;
4145
margin-left: auto;
4246
margin-right: auto;
43-
background-color: #efefef;
47+
background-color: #fff;
4448
padding: .5em;
49+
box-shadow: 0px 4px 5px 5px #ddd;
4550
}
4651

4752
body
4853
{
49-
background-color: White;
50-
color: black;
51-
font-size: 100%;
54+
background-color: #efefef;
5255
font-family: Verdana, Arial, Helvetica, sans-serif, "MS sans serif";
5356
}
5457

@@ -97,7 +100,7 @@ h1:hover,h3:hover
97100
color: #327906;
98101
font-weight: 500;
99102
font-family: "Andale Mono", "Courier New", Courier, monospace;
100-
background-color: #dddddd;
103+
background-color: #efefef;
101104
padding-left: 3px;
102105
padding-right: 3px;
103106
border-top: #c4c4c4;

0 commit comments

Comments
 (0)