Skip to content

Commit ff5e869

Browse files
authored
Fix COC Styling (#109)
* Fix container div so that it displays like the rest of the site * Update anchor links to use scroll margin to account for sticky nav
1 parent 7a361c1 commit ff5e869

1 file changed

Lines changed: 137 additions & 72 deletions

File tree

app/views/static/coc.html.erb

Lines changed: 137 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,145 @@
1-
<main class="text-center p-3 max-w-screen-xl md:max-w-screen-md">
2-
<div class="flex flex-col gap-6">
3-
<div class="coc text-left">
4-
<h1 class="mt-4">Toronto Ruby Code of Conduct</h1>
5-
<h2 class="mt-6 mb-2">Table of Contents</h2>
6-
<ul class="pl-6">
7-
<li><a href="#1-purpose">1. Purpose</a></li>
8-
<li><a href="#2-open-sourceculturetech-citizenship">2. Open Source/Culture/Tech Citizenship</a></li>
9-
<li><a href="#3-expected-behaviour">3. Expected Behaviour</a></li>
10-
<li><a href="#4-unacceptable-behaviour">4. Unacceptable Behaviour</a></li>
11-
<li><a href="#5-consequences-of-unacceptable-behaviour">5. Consequences of Unacceptable Behaviour</a></li>
12-
<li><a href="#6-if-you-witness-or-are-subject-to-unacceptable-behaviour">6. If You Witness or Are Subject to Unacceptable Behaviour</a></li>
13-
<li><a href="#7-addressing-grievances">7. Addressing Grievances</a></li>
14-
<li><a href="#8-scope">8. Scope</a></li>
15-
<li><a href="#9-contact-information">9. Contact Information</a></li>
16-
<li><a href="#10-license-and-attribution">10. License and attribution</a></li>
17-
</ul>
18-
19-
<h2 id="1-purpose" class="mt-6 mb-2">1. Purpose</h2>
20-
<p>A primary goal of Toronto Ruby is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, gender identity, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).</p>
21-
22-
<p>This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.</p>
23-
24-
<p>We invite all those who participate in Toronto Ruby to help us create safe and positive experiences for everyone.</p>
25-
26-
<h2 id="2-open-sourceculturetech-citizenship" class="mt-6 mb-2">2. Open Source/Culture/Tech Citizenship</h2>
27-
<p>A supplemental goal of this Code of Conduct is to increase open [source/culture/tech] citizenship by encouraging participants to recognize and strengthen the relationships between our actions and their effects on our community.</p>
28-
29-
<p>Communities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society.</p>
30-
31-
<p>If you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know.</p>
32-
33-
<h2 id="3-expected-behaviour" class="mt-6 mb-2">3. Expected Behaviour</h2>
34-
<p>
35-
<ul class="pl-6 list-disc">
36-
<li>Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.</li>
37-
<li>Exercise consideration and respect in your speech and actions.</li>
38-
<li>Attempt collaboration before conflict.</li>
39-
<li>Refrain from demeaning, discriminatory, or harassing behavior and speech.</li>
40-
<li>Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.</li>
1+
<div class="py-16">
2+
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
3+
<div class="text-center mb-12">
4+
<h1 class="mb-4">Toronto Ruby's Code of Conduct</h1>
5+
<div class="coc text-left">
6+
<h2 class="mt-6 mb-2">Table of Contents</h2>
7+
<ul class="pl-6">
8+
<li><a href="#1-purpose">1. Purpose</a></li>
9+
<li><a href="#2-open-sourceculturetech-citizenship">2. Open Source/Culture/Tech Citizenship</a></li>
10+
<li><a href="#3-expected-behaviour">3. Expected Behaviour</a></li>
11+
<li><a href="#4-unacceptable-behaviour">4. Unacceptable Behaviour</a></li>
12+
<li><a href="#5-consequences-of-unacceptable-behaviour">5. Consequences of Unacceptable Behaviour</a></li>
13+
<li><a href="#6-if-you-witness-or-are-subject-to-unacceptable-behaviour">6. If You Witness or Are Subject to Unacceptable Behaviour</a></li>
14+
<li><a href="#7-addressing-grievances">7. Addressing Grievances</a></li>
15+
<li><a href="#8-scope">8. Scope</a></li>
16+
<li><a href="#9-contact-information">9. Contact Information</a></li>
17+
<li><a href="#10-license-and-attribution">10. License and attribution</a></li>
4118
</ul>
42-
</p>
4319

44-
<h2 id="4-unacceptable-behaviour" class="mt-6 mb-2">4. Unacceptable Behaviour</h2>
45-
<p>Unacceptable behaviors include: intimidating, harassing, abusive, discriminatory, derogatory or demeaning speech or actions by any participant in our community online, at all related events and in one-on-one communications carried out in the context of community business. Community event venues may be shared with members of the public; please be respectful to all patrons of these locations.</p>
46-
47-
<p>Harassment includes: harmful or prejudicial verbal or written comments related to gender, sexual orientation, race, religion, disability; inappropriate use of nudity and/or sexual images in public spaces (including presentation slides); deliberate intimidation, stalking or following; harassing photography or recording; sustained disruption of talks or other events; inappropriate physical contact, and unwelcome sexual attention.</p>
48-
49-
<h2 id="5-consequences-of-unacceptable-behaviour" class="mt-6 mb-2">5. Consequences of Unacceptable Behaviour</h2>
50-
<p>Unacceptable behavior from any community member, including sponsors and those with decision-making authority, will not be tolerated.</p>
51-
52-
<p>Anyone asked to stop unacceptable behavior is expected to comply immediately. If a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event).</p>
53-
54-
<h2 id="6-if-you-witness-or-are-subject-to-unacceptable-behaviour" class="mt-6 mb-2">6. If You Witness or Are Subject to Unacceptable Behaviour</h2>
55-
<p>If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible.</p>
56-
57-
<p>Additionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.</p>
58-
59-
<h2 id="7-addressing-grievances" class="mt-6 mb-2">7. Addressing Grievances</h2>
60-
<p>If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify a Toronto Ruby organizer with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.</p>
61-
62-
<h2 id="8-scope" class="mt-6 mb-2">8. Scope</h2>
63-
<p>We expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues—online and in-person—as well as in all one-on-one communications pertaining to community business.</p>
64-
65-
<h2 id="9-contact-information" class="mt-6 mb-2">9. Contact Information</h2>
66-
<p>If you believe that someone is violating the code of conduct, or have any other concerns, please contact a Toronto Ruby organizer or event staff immediately. They can be reached by emailing <a href="mailto:info@toronto-ruby.com">info@toronto-ruby.com</a>.</p>
67-
68-
<p>In case of a conflict of interest, you can reach out to the organizers individually. More information for individual contacts can be found on the <a href="/about">about page</a>.</p>
69-
70-
<h2 id="10-license-and-attribution" class="mt-6 mb-2">10. License and Attribution</h2>
71-
<p>Toronto Ruby Code of Conduct is distributed under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. It is based on the <a href="https://pdxruby.org/CONDUCT" target="_blank">pdx.rb Code of Conduct</a>.</p>
20+
<h2 id="1-purpose" class="mt-6 mb-2 scroll-mt-20">1. Purpose</h2>
21+
<p>A primary goal of Toronto Ruby is to be inclusive to the largest
22+
number of contributors, with the most varied and diverse backgrounds
23+
possible. As such, we are committed to providing a friendly, safe and
24+
welcoming environment for all, regardless of gender, gender identity,
25+
sexual orientation, ability, ethnicity, socioeconomic status, and
26+
religion (or lack thereof).</p>
27+
28+
<p>This code of conduct outlines our expectations for all those who
29+
participate in our community, as well as the consequences for
30+
unacceptable behavior.</p>
31+
32+
<p>We invite all those who participate in Toronto Ruby to help us create
33+
safe and positive experiences for everyone.</p>
34+
35+
<h2 id="2-open-sourceculturetech-citizenship" class="mt-6 mb-2 scroll-mt-20">2. Open Source/Culture/Tech Citizenship</h2
36+
<p>A supplemental goal of this Code of Conduct is to increase open
37+
[source/culture/tech] citizenship by encouraging participants to
38+
recognize and strengthen the relationships between our actions and
39+
their effects on our community.</p>
40+
41+
<p>Communities mirror the societies in which they exist and positive
42+
action is essential to counteract the many forms of inequality and
43+
abuses of power that exist in society.</p>
44+
45+
<p>If you see someone who is making an extra effort to ensure our
46+
community is welcoming, friendly, and encourages all participants to
47+
contribute to the fullest extent, we want to know.</p>
48+
49+
<h2 id="3-expected-behaviour" class="mt-6 mb-2 scroll-mt-20">3. Expected Behaviour</h2>
50+
<p>
51+
<ul class="pl-6 list-disc">
52+
<li>Participate in an authentic and active way. In doing so, you
53+
contribute to the health and longevity of this community.</li>
54+
<li>Exercise consideration and respect in your speech and actions.</li>
55+
<li>Attempt collaboration before conflict.</li>
56+
<li>Refrain from demeaning, discriminatory, or harassing behavior and
57+
speech.</li>
58+
<li>Be mindful of your surroundings and of your fellow participants.
59+
Alert community leaders if you notice a dangerous situation,
60+
someone in distress, or violations of this Code of Conduct, even
61+
if they seem inconsequential.</li>
62+
</ul>
63+
</p>
64+
65+
<h2 id="4-unacceptable-behaviour" class="mt-6 mb-2 scroll-mt-20">4. Unacceptable Behaviour</h2>
66+
<p>Unacceptable behaviors include: intimidating, harassing, abusive,
67+
discriminatory, derogatory or demeaning speech or actions by any
68+
participant in our community online, at all related events and in
69+
one-on-one communications carried out in the context of community
70+
business. Community event venues may be shared with members of the
71+
public; please be respectful to all patrons of these locations.</p>
72+
73+
<p>Harassment includes: harmful or prejudicial verbal or written
74+
comments related to gender, sexual orientation, race, religion,
75+
disability; inappropriate use of nudity and/or sexual images in
76+
public spaces (including presentation slides); deliberate
77+
intimidation, stalking or following; harassing photography or
78+
recording; sustained disruption of talks or other events;
79+
inappropriate physical contact, and unwelcome sexual attention.</p>
80+
81+
<h2 id="5-consequences-of-unacceptable-behaviour" class="mt-6 mb-2 scroll-mt-20">
82+
5. Consequences of Unacceptable Behaviour
83+
</h2>
84+
<p>Unacceptable behavior from any community member, including sponsors
85+
and those with decision-making authority, will not be tolerated.</p>
86+
87+
<p>Anyone asked to stop unacceptable behavior is expected to comply
88+
immediately. If a community member engages in unacceptable behavior,
89+
the community organizers may take any action they deem appropriate,
90+
up to and including a temporary ban or permanent expulsion from the
91+
community without warning (and without refund in the case of a paid
92+
event).</p>
93+
94+
<h2 id="6-if-you-witness-or-are-subject-to-unacceptable-behaviour" class="mt-6 mb-2 scroll-mt-20">
95+
6. If You Witness or Are Subject to Unacceptable Behaviour
96+
</h2>
97+
<p>If you are subject to or witness unacceptable behavior, or have any
98+
other concerns, please notify a community organizer as soon as
99+
possible.</p>
100+
101+
<p>Additionally, community organizers are available to help community
102+
members engage with local law enforcement or to otherwise help those
103+
experiencing unacceptable behavior feel safe. In the context of
104+
in-person events, organizers will also provide escorts as desired by
105+
the person experiencing distress.</p>
106+
107+
<h2 id="7-addressing-grievances" class="mt-6 mb-2 scroll-mt-20">7. Addressing Grievances</h2>
108+
<p>If you feel you have been falsely or unfairly accused of violating
109+
this Code of Conduct, you should notify a Toronto Ruby organizer with
110+
a concise description of your grievance. Your grievance will be
111+
handled in accordance with our existing governing policies.</p>
112+
113+
<h2 id="8-scope" class="mt-6 mb-2 scroll-mt-20">8. Scope</h2>
114+
<p>We expect all community participants (contributors, paid or
115+
otherwise; sponsors; and other guests) to abide by this Code of
116+
Conduct in all community venues—online and in-person—as well as in
117+
all one-on-one communications pertaining to community business.</p>
118+
119+
<h2 id="9-contact-information" class="mt-6 mb-2 scroll-mt-20">9. Contact Information</h2>
120+
<p>If you believe that someone is violating the code of conduct, or have
121+
any other concerns, please contact a Toronto Ruby organizer or event
122+
staff immediately. They can be reached by emailing
123+
<a href="mailto:info@toronto-ruby.com">info@toronto-ruby.com</a>.</p>
124+
125+
<p>In case of a conflict of interest, you can reach out to the
126+
organizers individually. More information for individual contacts can
127+
be found on the
128+
<a href="/about">about page</a>.</p>
129+
130+
<h2 id="10-license-and-attribution" class="mt-6 mb-2 scroll-mt-20">10. License and Attribution</h2>
131+
<p>Toronto Ruby Code of Conduct is distributed under a Creative Commons
132+
Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. It
133+
is based on the
134+
<a href="https://pdxruby.org/CONDUCT" target="_blank">pdx.rb Code of Conduct</a>.</p>
135+
</div>
72136
</div>
73137
</div>
74-
</main>
138+
</div>
139+
75140
<% content_for :page_title do %>
76-
Code of Conduct
141+
Code of Conduct
77142
<% end %>
78143
<% content_for :page_description do %>
79-
Toronto Ruby's Code of Conduct
144+
Toronto Ruby's Code of Conduct
80145
<% end %>

0 commit comments

Comments
 (0)