forked from simonwhitaker/github-fork-ribbon-css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
150 lines (142 loc) · 5.5 KB
/
index.html
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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Fork me on Github CSS Ribbon</title>
<link rel="stylesheet" href="http:https://oss.maxcdn.com/libs/normalize-css/3.0.0/normalize.min.css">
<style>
/* This is just the styling for this page. See below for the CSS for the ribbon itself. */
html {
font: 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2 {
font-weight: 400;
}
pre {
background-color: #222;
color: white;
padding: 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
pre:before {
content: "$ ";
color: #999;
}
.content {
width: 560px;
margin: 0 auto;
padding-top: 80px;
color: #444;
}
a, a:visited {
color: #c00;
}
.content p {
font-weight: 200;
}
/* The default background color is #c00 */
.right-bottom .github-fork-ribbon {
background-color: #c00;
}
.right .github-fork-ribbon {
background-color: #c00;
}
.left-bottom .github-fork-ribbon {
background-color: #c00;
}
</style>
<!-- START COPYING HERE -->
<link rel="stylesheet" href="gh-fork-ribbon.css">
<!--[if lt IE 9]>
<link rel="stylesheet" href="gh-fork-ribbon.ie.css">
<![endif]-->
<!-- END COPYING HERE -->
</head>
<body>
<!-- TOP RIGHT RIBBON: START COPYING HERE -->
<div class="github-fork-ribbon-wrapper right">
<div class="github-fork-ribbon">
<a href="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/BetaNYC/betanyc-support-ribbon-css">We support BetaNYC!</a>
</div>
</div>
<!-- TOP RIGHT RIBBON: END COPYING HERE -->
<!-- TOP LEFT RIBBON: START COPYING HERE -->
<div class="github-fork-ribbon-wrapper left">
<div class="github-fork-ribbon">
<a href="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/BetaNYC/betanyc-support-ribbon-css">I support BetaNYC!</a>
</div>
</div>
<!-- TOP LEFT RIBBON: END COPYING HERE -->
<div class="content">
<h1>Support BetaNYC – CSS ribbon</h1>
<p>
<strong><a href="http:https://betanyc.us" target="_blank">BetaNYC</a></strong> is
building a connected city by the people, for the people,
for 21st Century. BetaNYC is NYC’s civic technology and open government
vanguard. They are an organizing force for local civic engagement - a network
of civic-minded volunteers who contribute their skills toward government and
community service.
</p>
<p>
If the BetaNYC community has helped you in any way, please show your support by
adding a ribbon to your landing page. Our network is a word of mouth, we need
your help to grow stronger. If you can, please consider making a
<a href="https://secure.codeforamerica.org/page/contribute/betanyc" target="_blank">donation</a> or linking
to our <a href="https://secure.codeforamerica.org/page/contribute/betanyc" target="_blank">donation</a> page.
Either act helps us sustain NYC civic technology ecosystem.
</p>
<h2>About the ribbon</h2>
<p>
This is a pure CSS implementation of the famous
<a href="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/BetaNYC/betanyc-support-ribbon-css">Fork me on GitHub CSS</a> ribbon to show support for BetaNYC.
</p>
<h2>Usage</h2>
<p>
To use it on your site, just view source and
copy the two marked sections (one the CSS, the
other the HTML tag). You'll also need to grab
the <a href="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/BetaNYC/betanyc-support-ribbon-css">CSS files here</a>.
</p>
<p>
Feel free to link to the following BetaNYC sites:
<ul>
<li><a href="http:https://betanyc.us" target="_blank">BetaNYC Landing Page</a>
<li><a href="https://secure.codeforamerica.org/page/contribute/betanyc" target="_blank">BetaNYC Donation Page on Code for America</a>
<li><a href="http:https://bit.ly/betanyc-dev" target="_blank">BetaNYC Developers List</a>
<li>Alternatively, <a href="https://github.com/BetaNYC/betanyc-support-ribbon-css/fork">fork this civic project</a>!
</ul>
</p>
<p>
</p>
<h2>Using with Bower</h2>
<p>
You can install the CSS files
using <a href="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/bower/bower">Bower</a>.
</p>
<pre>bower install github-fork-ribbon-css</pre>
<h2>About</h2>
<p>
This project was written by
<a href="http:https://twitter.com/s1mn/">Simon Whitaker</a> and forked by <a href="http:https://noneck.org" target="_blank">noneck</a>.
GitHub nor Simon Whitaker have endorsed in any way.
</p>
</div>
<!-- BOTTOM RIGHT RIBBON: START COPYING HERE -->
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href="http:https://betanyc.us">JOIN BetaNYC TODAY!</a>
</div>
</div>
<!-- BOTTOM RIGHT RIBBON: END COPYING HERE -->
<!-- BOTTOM LEFT RIBBON: START COPYING HERE -->
<div class="github-fork-ribbon-wrapper left-bottom">
<div class="github-fork-ribbon">
<a href="https://secure.codeforamerica.org/page/contribute/betanyc">Donate to BetaNYC!</a>
</div>
</div>
<!-- BOTTOM LEFT RIBBON: END COPYING HERE -->
</body>
</html>