File: link_icons.html.haml

package info (click to toggle)
ruby-compass 0.12.2~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 8,308 kB
  • sloc: ruby: 10,474; makefile: 42; xml: 14
file content (61 lines) | stat: -rw-r--r-- 2,324 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
!!!
%html{ :lang => "en" }
  %head
    %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
    %title
      Blueprint Link Icons Sample Page
    /
      Framework CSS
    %link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
    %link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
    /
      [if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
    %link{ :href => "../stylesheets/link_icons.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
  %body
    .container
      %h1
        A Link Icons Example Page
      %hr
      %h2.alt
        This sample page demonstrates what you can do with the Link Icons plugin.
      %hr
      .span-12
        %h3
          External Links
        %a{ :href => "http://www.no-such-website.com/" }
          A Normal External Link
        %a{ :href => "http://www.google.com" }
          A Visited External Link
        %a{ :href => "mailto:donald@duck.com" }
          An Email Link
      .span-12.last
        %h3
          Document Links
        %a{ :href => "http://www.no-such-website.com/sample.pdf" }
          A .pdf Link
        %a{ :href => "http://www.no-such-website.com/sample.doc" }
          A .doc Link
        %a{ :href => "http://www.no-such-website.com/sample.xls" }
          A .xls Link
      .span-12
        %h3
          Misc Links
        %a{ :href => "http://www.no-such-website.com/sample.rss" }
          An RSS Link
        %a{ :href => "http://www.no-such-website.com/sample.rdf" }
          An Atom Link
        %a{ :href => "aim:chatmeup" }
          A Instant Messenger Link
      .span-12.last
        %h3
          Turning Icons Off
        %a.noicon{ :href => "http://www.no-such-website.com/" }
          A Normal External Link
        %a.noicon{ :href => "http://www.google.com" }
          A Visited External Link
        %a.noicon{ :href => "mailto:donald@duck.com" }
          An Email Link
      .span-24
        %p
          %a.noicon{ :href => "http://validator.w3.org/check?uri=referer" }
            %img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }