Skip to content

Commit 5037117

Browse files
authored
Add legal (#11)
* add legal page
1 parent cf58260 commit 5037117

File tree

6 files changed

+176
-79
lines changed

6 files changed

+176
-79
lines changed

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
+++
22
title = "number zero"
33
description = "Less net work for networks"
4-
+++
4+
+++

content/legal.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,54 @@ template = "page.html"
5353
[extra]
5454
+++
5555

56-
This is the legal page
56+
Our content licensing policies are based on those of the [Google Developer](https://developers.google.com/terms/site-policies) website.
57+
58+
We are pleased to license much of the documentation on n0.computer under terms that explicitly encourage people to take, modify, reuse, re-purpose, and remix our work as they see fit.
59+
60+
You will find the following notice at the bottom of many pages on the n0.computer website:
61+
62+
> Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. For details, see our [Site Policies](/legal).
63+
64+
When you see a page with this notice you are free to use nearly everything on the page in your own creations. For example, you could quote the text in a book, cut-and-paste sections to your blog, record it as an audiobook for the visually impaired, or even translate it into Swahili. Really. That's what open content licenses are all about. We just ask that you give us attribution when you reuse our work.
65+
66+
You may also find the following notice on the bottom of some pages:
67+
68+
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies.
69+
70+
When you see this notice, you are free to use the content, and in addition you are free to use the computer source code that appears in the content (such as in examples) in the code of your own projects.
71+
72+
73+
## What is not licensed?
74+
75+
We say "nearly everything" as there are a few simple conditions that apply.
76+
77+
number 0's trademarks and other brand features are not included in this license. For example, the number 0 logo is not covered, and neither are our trade dress, our other trademarks, or our brand features. You are not allowed to use these without our permission.
78+
79+
In some cases, a page may include content consisting of images, audio or video material, or a link to content on a different webpage (such as videos or slide decks). This content is not covered by the license, unless specifically noted.
80+
81+
## Attribution
82+
83+
Proper attribution is required when you reuse or create modified versions of content that appears on a page made available under the terms of the Creative Commons Attribution license. The complete requirements for attribution can be found in section 3 of the Creative Commons legal code.
84+
85+
In practice we ask that you provide attribution to number 0 to the best of the ability of the medium in which you are producing the work.
86+
87+
There are several typical ways in which this might apply:
88+
89+
### Exact Reproductions
90+
91+
If your online work exactly reproduces text or images from this site, in whole or in part, please include a paragraph at the bottom of your page that reads:
92+
93+
> Portions of this page are reproduced from work created and shared by number 0 and used according to terms described in the Creative Commons 4.0 Attribution License.
94+
95+
Also, please link back to the original source page so that readers can refer to it for more information.
96+
97+
### Modified Versions
98+
99+
If your online work shows modified text or images based on the content from this site, please include a paragraph at the bottom of your page that reads:
100+
101+
> Portions of this page are modifications based on work created and shared by number 0 and used according to terms described in the Creative Commons 4.0 Attribution License.
102+
103+
Again, please link back to the original source page so that readers can refer to it for more information. This is even more important when the content has been modified.
104+
105+
### Other Media
106+
If you produce non-hypertext works, such as books, audio, or video, we ask that you make a best effort to include a spoken or written attribution in the spirit of the messages above.

src/styles/style.css

Lines changed: 53 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,72 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&family=Space+Mono&display=swap');
1+
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&family=Space+Mono&display=swap");
22

33
@tailwind base;
44
@tailwind components;
55
@tailwind utilities;
66

7+
#page-content h1 {
8+
font-size: 28px;
9+
}
10+
#page-content h2 {
11+
font-size: 24px;
12+
}
13+
#page-content h3 {
14+
font-size: 22px;
15+
}
16+
#page-content h4 {
17+
font-size: 20px;
18+
}
719

8-
.blog #page-content h1 { font-size: 28px; }
9-
.blog #page-content h2 { font-size: 24px; }
10-
.blog #page-content h3 { font-size: 22px; }
11-
.blog #page-content h4 { font-size: 20px; }
12-
13-
.blog #page-content h1,
14-
.blog #page-content h2,
15-
.blog #page-content h3,
16-
.blog #page-content h4,
17-
.blog #page-content h5,
18-
.blog #page-content h6 {
19-
margin-top: 12px;
20-
margin-bottom: 12px;
20+
#page-content h1,
21+
#page-content h2,
22+
#page-content h3,
23+
#page-content h4,
24+
#page-content h5,
25+
#page-content h6 {
26+
margin-top: 12px;
27+
margin-bottom: 12px;
2128
}
2229

23-
.blog #page-content p {
24-
margin-bottom: 16px;
25-
line-height: 1.5em;
26-
/* color: #cfd7e6; */
30+
#page-content p {
31+
margin-bottom: 16px;
32+
line-height: 1.5em;
33+
/* color: #cfd7e6; */
2734
}
2835

29-
.blog #page-content ul { list-style: disc; }
30-
.blog #page-content ol { list-style: bullets; }
36+
#page-content ul {
37+
list-style: disc;
38+
}
39+
#page-content ol {
40+
list-style: bullets;
41+
}
3142

32-
.blog #page-content ol,
33-
.blog #page-content ul {
34-
padding-left: 20px;
35-
line-height: 1.45em;
36-
margin-bottom: 14px;
37-
margin-top: 14px;
38-
/* color: #b9c0cd; */
43+
#page-content ol,
44+
#page-content ul {
45+
padding-left: 20px;
46+
line-height: 1.45em;
47+
margin-bottom: 14px;
48+
margin-top: 14px;
49+
/* color: #b9c0cd; */
3950
}
4051

41-
.blog #page-content ol li,
42-
.blog #page-content ul li {
43-
margin-bottom: 5px;
52+
#page-content ol li,
53+
#page-content ul li {
54+
margin-bottom: 5px;
4455
}
4556

46-
.blog #page-content blockquote {
47-
padding-left: 20px;
48-
margin-top: 20px;
49-
margin-bottom: 20px;
50-
font-style: italic;
57+
#page-content blockquote {
58+
padding-left: 20px;
59+
margin-top: 20px;
60+
margin-bottom: 20px;
61+
font-style: italic;
5162
}
5263

53-
.blog #page-content a {
54-
text-decoration: underline;
55-
text-decoration-style: dotted;
56-
text-decoration-color: #b9c0cd;
64+
#page-content a {
65+
text-decoration: underline;
66+
text-decoration-style: dotted;
67+
text-decoration-color: #b9c0cd;
5768
}
5869

59-
.blog #page-content aside {
60-
font-style: italic;
61-
}
70+
#page-content aside {
71+
font-style: italic;
72+
}

static/styles/style.css

Lines changed: 57 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ img, video {
331331
margin-bottom: 2rem;
332332
}
333333

334+
.mt-5 {
335+
margin-top: 1.25rem;
336+
}
337+
334338
.block {
335339
display: block;
336340
}
@@ -403,6 +407,18 @@ img, video {
403407
max-width: 42rem;
404408
}
405409

410+
.max-w-3xl {
411+
max-width: 48rem;
412+
}
413+
414+
.max-w-4xl {
415+
max-width: 56rem;
416+
}
417+
418+
.max-w-xl {
419+
max-width: 36rem;
420+
}
421+
406422
.flex-1 {
407423
flex: 1;
408424
}
@@ -516,6 +532,14 @@ img, video {
516532
padding: .5rem;
517533
}
518534

535+
.p-4 {
536+
padding: 1rem;
537+
}
538+
539+
.p-6 {
540+
padding: 1.5rem;
541+
}
542+
519543
.px-4 {
520544
padding-left: 1rem;
521545
padding-right: 1rem;
@@ -640,6 +664,11 @@ img, video {
640664
line-height: 1.75rem;
641665
}
642666

667+
.text-xs {
668+
font-size: .75rem;
669+
line-height: 1rem;
670+
}
671+
643672
.font-bold {
644673
font-weight: 700;
645674
}
@@ -719,6 +748,11 @@ img, video {
719748
color: rgb(209 213 219 / var(--tw-text-opacity));
720749
}
721750

751+
.text-n0gray-700 {
752+
--tw-text-opacity: 1;
753+
color: rgb(63 63 70 / var(--tw-text-opacity));
754+
}
755+
722756
.shadow-inner {
723757
--tw-shadow: inset 0 2px 4px 0 #0000000d;
724758
--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
@@ -753,63 +787,63 @@ img, video {
753787
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
754788
}
755789

756-
.blog #page-content h1 {
790+
#page-content h1 {
757791
font-size: 28px;
758792
}
759793

760-
.blog #page-content h2 {
794+
#page-content h2 {
761795
font-size: 24px;
762796
}
763797

764-
.blog #page-content h3 {
798+
#page-content h3 {
765799
font-size: 22px;
766800
}
767801

768-
.blog #page-content h4 {
802+
#page-content h4 {
769803
font-size: 20px;
770804
}
771805

772-
.blog #page-content h1, .blog #page-content h2, .blog #page-content h3, .blog #page-content h4, .blog #page-content h5, .blog #page-content h6 {
806+
#page-content h1, #page-content h2, #page-content h3, #page-content h4, #page-content h5, #page-content h6 {
773807
margin-top: 12px;
774808
margin-bottom: 12px;
775809
}
776810

777-
.blog #page-content p {
811+
#page-content p {
778812
margin-bottom: 16px;
779813
line-height: 1.5em;
780814
}
781815

782-
.blog #page-content ul {
816+
#page-content ul {
783817
list-style: disc;
784818
}
785819

786-
.blog #page-content ol {
820+
#page-content ol {
787821
list-style: bullets;
788822
}
789823

790-
.blog #page-content ol, .blog #page-content ul {
824+
#page-content ol, #page-content ul {
791825
margin-top: 14px;
792826
margin-bottom: 14px;
793827
padding-left: 20px;
794828
line-height: 1.45em;
795829
}
796830

797-
.blog #page-content ol li, .blog #page-content ul li {
831+
#page-content ol li, #page-content ul li {
798832
margin-bottom: 5px;
799833
}
800834

801-
.blog #page-content blockquote {
835+
#page-content blockquote {
802836
margin-top: 20px;
803837
margin-bottom: 20px;
804838
padding-left: 20px;
805839
font-style: italic;
806840
}
807841

808-
.blog #page-content a {
842+
#page-content a {
809843
text-decoration: underline dotted #b9c0cd;
810844
}
811845

812-
.blog #page-content aside {
846+
#page-content aside {
813847
font-style: italic;
814848
}
815849

@@ -923,6 +957,11 @@ img, video {
923957
padding-bottom: 20rem;
924958
}
925959

960+
.sm\:px-10 {
961+
padding-left: 2.5rem;
962+
padding-right: 2.5rem;
963+
}
964+
926965
.sm\:pr-0 {
927966
padding-right: 0;
928967
}
@@ -950,6 +989,11 @@ img, video {
950989
.md\:w-3\/4 {
951990
width: 75%;
952991
}
992+
993+
.md\:px-10 {
994+
padding-left: 2.5rem;
995+
padding-right: 2.5rem;
996+
}
953997
}
954998

955999
@media (min-width: 1024px) {

templates/layout.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<img class="block md:hidden h-8 w-auto" src="img/logos/wordmark-small-salmon.svg" alt="Number Zero">
7070
<img class="hidden md:block h-8 w-auto" src="img/logos/wordmark-full-salmon.svg" alt="Number Zero">
7171
</a>
72-
72+
7373
<div class="hidden inset-y-0 sm:block sm:pr-0 sm:inset-auto">
7474
<div class="flex space-x-5">
7575
<!-- Current: "bg-n0gray-900 text-white", Default: "text-n0gray-400 hover:bg-n0gray-700 hover:text-white" -->
@@ -120,6 +120,9 @@
120120
<a href="/legal" target="blank" class="mx-4">legal</a>
121121
</div>
122122
</div>
123+
<div class="w-full max-w-6xl mx-auto mt-5 p-6 md:px-10">
124+
<p class="text-xs text-n0gray-700">Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License.<br />For details, see our Site Policies.</p>
125+
</div>
123126
</footer>
124127
{% endblock footer %}
125128

0 commit comments

Comments
 (0)