scratch – Diff between revs 113 and 114
?pathlinks?
Rev 113 | Rev 114 | |||
---|---|---|---|---|
Line 1... | Line -... | |||
1 | <style> |
- | ||
2 | @font-face { |
- | ||
3 | font-family: Nautical; |
- | ||
4 | src: url('//grimore.org/opt/fonts/Nautical.eot'); |
- | ||
5 | src: url('//grimore.org/opt/fonts/Nautical.eot?#iefix') format('embedded-opentype'), url('//grimore.org/opt/fonts/Nautical.woff') format('woff'), url('//grimore.org/opt/fonts/Nautical.ttf') format('truetype'), url('//grimore.org/opt/fonts/Nautical.otf') format('opentype'), url('//grimore.org/opt/fonts/Nautical.svg#Nautical') format('svg'); |
- | ||
6 | font-weight: 300; |
- | ||
7 | font-style: normal; |
- | ||
8 | font-stretch: normal; |
- | ||
9 | unicode-range: U+0-10FFFF; |
- | ||
10 | } |
- | ||
11 | #grimore-projects { |
- | ||
12 | height: 2.10em; |
- | ||
13 | width: 100%; |
- | ||
14 | background-color: #591a11; |
- | ||
15 | font: normal 9pt/1.7 Copperplate, 'Copperplate Gothic Light', Nautical; |
- | ||
16 | } |
- | ||
17 | #grimore-projects ul { |
- | ||
18 | margin: 0; |
- | ||
19 | padding: 0; |
- | ||
20 | list-style-type: none; |
- | ||
21 | text-align: center; |
- | ||
22 | } |
- | ||
23 | #grimore-projects ul li { |
- | ||
24 | display: block; |
- | ||
25 | background-color: #591a11; |
- | ||
26 | padding: 0; |
- | ||
27 | margin: 0; |
- | ||
28 | } |
- | ||
29 | #grimore-projects ul li a { |
- | ||
30 | text-decoration: none; |
- | ||
31 | padding: .2em 1em; |
- | ||
32 | color: #fff; |
- | ||
33 | background-color: #591a11; |
- | ||
34 | float: left; |
- | ||
35 | } |
- | ||
36 | #grimore-projects ul li a:hover { |
- | ||
37 | color: #fff; |
- | ||
38 | background-color: #7e7ebe; |
- | ||
39 | } |
- | ||
40 | .this-page { |
- | ||
41 | color: #fff !important; |
- | ||
42 | background-color: #7e7ebe !important; |
- | ||
43 | } |
- | ||
44 | </style> |
- | ||
45 | <div id="grimore-projects"> |
- | ||
46 | <ul> |
- | ||
47 | <li> |
- | ||
48 | <a href='//grimore.org'>Grimore</a> |
- | ||
49 | </li> |
- | ||
50 | <li> |
- | ||
51 | <a href='//corrade.grimore.org'>Corrade</a> |
- | ||
52 | </li> |
- | ||
53 | <li> |
- | ||
54 | <a href='//cydia.grimore.org'>Cydia</a> |
- | ||
55 | </li> |
- | ||
56 | <li> |
- | ||
57 | <a href='//debian.grimore.org'>Debian</a> |
- | ||
58 | </li> |
- | ||
59 | <li> |
- | ||
60 | <a href='//scratch.grimore.org'>Scratch</a> |
- | ||
61 | </li> |
- | ||
62 | <li> |
- | ||
63 | <a href='//trac.grimore.org'>Trac</a> |
- | ||
64 | </li> |
- | ||
65 | <li> |
- | ||
66 | <a href='//websvn.grimore.org'>SVN</a> |
- | ||
67 | </li> |
- | ||
68 | </ul> |
- | ||
69 | </div> |
- | ||
70 | <script type="text/javascript"> |
- | ||
71 | //gist.github.com/ryanve/6153436 |
- | ||
72 | (function(anchors, url, i, a) { |
- | ||
73 | while ((a = anchors[i++]) && a.classList) |
- | ||
74 | a.href === url && a.classList.add('this-page'); |
- | ||
75 | }(document.getElementsByTagName('a'), location.href, 0)); |
- | ||
76 | </script> |
- |