on master help sign in
merge master
60ba94dMorgan Sutherland
README.md+2
@@ -1,5 +1,7 @@
1# urbit.org
1# urbit.org
2
2
3+[![Netlify Status](https://api.netlify.com/api/v1/badges/71f99a93-7b2e-4e10-b74d-7cbbb2e6dacd/deploy-status)](https://app.netlify.com/sites/urbit-org/deploys)
4+
3The website for the Urbit project.
5The website for the Urbit project.
4
6
5## Build
7## Build
sass/_main.scss+4−4
@@ -73,7 +73,6 @@ iframe {
73
73
74.content-nav-icon {
74.content-nav-icon {
75 position: fixed;
75 position: fixed;
76− left: (4rem / 4);
77 top: (24rem / 4);
76 top: (24rem / 4);
78 width: 10px;
77 width: 10px;
79 height: 10px;
78 height: 10px;
@@ -201,7 +200,6 @@ iframe {
201 supported by Chrome and Opera */
200 supported by Chrome and Opera */
202 &__navigation {
201 &__navigation {
203 display: none;
202 display: none;
204− padding-top: (9rem / 4);
205 }
203 }
206 &__nav-icon {
204 &__nav-icon {
207 position: absolute;
205 position: absolute;
@@ -234,14 +232,16 @@ iframe {
234}
232}
235
233
236.has-active-main-nav {
234.has-active-main-nav {
235+ overflow: hidden;
237 .header {
236 .header {
238 z-index: 4;
237 z-index: 4;
238+ background: #000;
239+ height: 100%;
239 &__navigation {
240 &__navigation {
240 position: fixed;
241 position: fixed;
241 height: 100%;
242 height: 100%;
242 width: 100%;
243 width: 100%;
243− background: #000;
244− overflow-y: hidden;
244+ overflow-y: scroll;
245 display: block;
245 display: block;
246 }
246 }
247 &__nav-icon {
247 &__nav-icon {
sass/_responsive.scss+7
@@ -1,3 +1,8 @@
1+@media only screen and (max-width: 1080px) {
2+ .header, .main-wrapper {
3+ padding-left: 2%;
4+ }
5+}
1@media only screen and (max-width: 800px) {
6@media only screen and (max-width: 800px) {
2 .container--fixed, .content-nav {
7 .container--fixed, .content-nav {
3 margin: 0;
8 margin: 0;
@@ -42,6 +47,7 @@
42 .header {
47 .header {
43 &__navigation {
48 &__navigation {
44 overflow-y: scroll;
49 overflow-y: scroll;
50+ -webkit-overflow-scrolling: touch;
45 }
51 }
46 }
52 }
47 }
53 }
@@ -57,6 +63,7 @@
57 padding: 0 (4rem / 4);
63 padding: 0 (4rem / 4);
58 background: white;
64 background: white;
59 overflow-y: scroll;
65 overflow-y: scroll;
66+ -webkit-overflow-scrolling: touch;
60 }
67 }
61 .content-nav {
68 .content-nav {
62 display: block;
69 display: block;
templates/base.html+1−1
@@ -9,7 +9,7 @@
9 <meta name="author" content="{{ config.extra.author.name }}">
9 <meta name="author" content="{{ config.extra.author.name }}">
10 <link rel="icon" type="image/png" href="/images/favicon.ico" />
10 <link rel="icon" type="image/png" href="/images/favicon.ico" />
11 <link rel="alternative" type="application/rss+xml" title="Urbit RSS" href="/rss.xml" />
11 <link rel="alternative" type="application/rss+xml" title="Urbit RSS" href="/rss.xml" />
12− <title>{{ config.title }}</title>
12+ <title>{% block title %}{% endblock title %} - {{ config.title }}</title>
13 <!-- stylesheets -->
13 <!-- stylesheets -->
14 <link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
14 <link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
15 <style type="text/css">
15 <style type="text/css">
templates/doc.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ page.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}
templates/index.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4{% include "partials/top-alert.html" %}
4{% include "partials/top-alert.html" %}
5<div class="wrapper">
5<div class="wrapper">
templates/page.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ page.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}
templates/partials/navigation.html+1−1
@@ -7,7 +7,7 @@
7 <div class="wrapper">
7 <div class="wrapper">
8 <div class="container">
8 <div class="container">
9 <div class="nav-column">
9 <div class="nav-column">
10− <div class="nav-links mb24">
10+ <div class="nav-links mb24 mt9">
11 <ul class="list">
11 <ul class="list">
12 {% for item in config.extra.urbit_menu %}
12 {% for item in config.extra.urbit_menu %}
13 <li class="list__item">
13 <li class="list__item">
templates/partials/search-overlay.htmlnew file+15
@@ -0,0 +1,15 @@
1+{% block content %}
2+<div id="search-overlay" class="search-overlay">
3+ <div class="wrapper">
4+ <div id="search-window" class="pop-up">
5+ <div class="search-bar">
6+ <input id="search" autocomplete="off" type="search" class="search-bar__input" placeholder="Go to...">
7+ </div>
8+ <div class="search-results">
9+ <div class="search-results__header mb2"></div>
10+ <ul class="list search-results__items"></ul>
11+ </div>
12+ </div>
13+ </div>
14+</div>
15+{% endblock content %}
templates/posts/list.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} Posts {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}
templates/posts/single.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ term.name }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}
templates/primer.html+13−13
@@ -6,7 +6,7 @@
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="description" content="{{ config.description }}">
7 <meta name="description" content="{{ config.description }}">
8 <meta name="author" content="{{ config.extra.author.name }}">
8 <meta name="author" content="{{ config.extra.author.name }}">
9− <title>{{ config.title }}</title>
9+ <title>Primer - {{ config.title }}</title>
10 <!-- stylesheets -->
10 <!-- stylesheets -->
11 <link rel="stylesheet" href="{{ config.base_url }}/styles.css" >
11 <link rel="stylesheet" href="{{ config.base_url }}/styles.css" >
12 <link rel="stylesheet" href="{{ config.base_url }}/primer.css" >
12 <link rel="stylesheet" href="{{ config.base_url }}/primer.css" >
@@ -105,15 +105,15 @@
105 <div class="row mb-8">
105 <div class="row mb-8">
106 <div class="col-md-12">
106 <div class="col-md-12">
107 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-urbit-is-for">
107 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-urbit-is-for">
108− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">1.</div>
108+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(1)</div>
109− <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Aegean: What Urbit is For</div>
109+ <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Aegean: What Urbit is for</div>
110 </a>
110 </a>
111 </div>
111 </div>
112 </div>
112 </div>
113 <div class="row mb-8">
113 <div class="row mb-8">
114 <div class="col-md-12">
114 <div class="col-md-12">
115 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-arvo-is">
115 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-arvo-is">
116− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">2.</div>
116+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(2)</div>
117 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Arvo: What Urbit is</div>
117 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Arvo: What Urbit is</div>
118 </a>
118 </a>
119 </div>
119 </div>
@@ -121,7 +121,7 @@
121 <div class="row mb-8">
121 <div class="row mb-8">
122 <div class="col-md-12">
122 <div class="col-md-12">
123 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-azimuth-is">
123 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-azimuth-is">
124− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">3.</div>
124+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(3)</div>
125 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth: What Urbit is</div>
125 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth: What Urbit is</div>
126 </a>
126 </a>
127 </div>
127 </div>
@@ -129,7 +129,7 @@
129 <div class="row mb-8">
129 <div class="row mb-8">
130 <div class="col-md-12">
130 <div class="col-md-12">
131 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#history">
131 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#history">
132− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">4.</div>
132+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(3)</div>
133 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">History</div>
133 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">History</div>
134 </a>
134 </a>
135 </div>
135 </div>
@@ -137,7 +137,7 @@
137 <div class="row mb-8">
137 <div class="row mb-8">
138 <div class="col-md-12">
138 <div class="col-md-12">
139 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#azimuth-distribution">
139 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#azimuth-distribution">
140− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">5.</div>
140+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(5)</div>
141 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth distribution</div>
141 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth distribution</div>
142 </a>
142 </a>
143 </div>
143 </div>
@@ -158,7 +158,7 @@
158 <div class="row mb-4">
158 <div class="row mb-4">
159 <div class="col-md-10 col-md-offset-1">
159 <div class="col-md-10 col-md-offset-1">
160 <a class="row h2 h-font white text-decoration-none" href="#what-urbit-is-for">
160 <a class="row h2 h-font white text-decoration-none" href="#what-urbit-is-for">
161− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">1.</div>
161+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(1)</div>
162 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Aegean: What Urbit is For</div>
162 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Aegean: What Urbit is For</div>
163 </a>
163 </a>
164 </div>
164 </div>
@@ -166,7 +166,7 @@
166 <div class="row mb-4">
166 <div class="row mb-4">
167 <div class="col-md-10 col-md-offset-1">
167 <div class="col-md-10 col-md-offset-1">
168 <a class="row h2 h-font white text-decoration-none" href="#what-arvo-is">
168 <a class="row h2 h-font white text-decoration-none" href="#what-arvo-is">
169− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">2.</div>
169+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(2)</div>
170 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Arvo: What Urbit is</div>
170 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Arvo: What Urbit is</div>
171 </a>
171 </a>
172 </div>
172 </div>
@@ -174,7 +174,7 @@
174 <div class="row mb-4">
174 <div class="row mb-4">
175 <div class="col-md-10 col-md-offset-1">
175 <div class="col-md-10 col-md-offset-1">
176 <a class="row h2 h-font white text-decoration-none" href="#what-azimuth-is">
176 <a class="row h2 h-font white text-decoration-none" href="#what-azimuth-is">
177− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">3.</div>
177+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(3)</div>
178 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth: What Urbit is</div>
178 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth: What Urbit is</div>
179 </a>
179 </a>
180 </div>
180 </div>
@@ -182,7 +182,7 @@
182 <div class="row mb-4">
182 <div class="row mb-4">
183 <div class="col-md-10 col-md-offset-1">
183 <div class="col-md-10 col-md-offset-1">
184 <a class="row h2 h-font white text-decoration-none" href="#history">
184 <a class="row h2 h-font white text-decoration-none" href="#history">
185− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">4.</div>
185+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(4)</div>
186 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">History</div>
186 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">History</div>
187 </a>
187 </a>
188 </div>
188 </div>
@@ -190,7 +190,7 @@
190 <div class="row mb-4">
190 <div class="row mb-4">
191 <div class="col-md-10 col-md-offset-1">
191 <div class="col-md-10 col-md-offset-1">
192 <a class="row h2 h-font white text-decoration-none" href="#azimuth-distribution">
192 <a class="row h2 h-font white text-decoration-none" href="#azimuth-distribution">
193− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">5.</div>
193+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(5)</div>
194 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth distribution</div>
194 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth distribution</div>
195 </a>
195 </a>
196 </div>
196 </div>
@@ -1022,7 +1022,7 @@
1022 <div class="mb-6">
1022 <div class="mb-6">
1023 <h4 class="mb-1">Contact</h4>
1023 <h4 class="mb-1">Contact</h4>
1024 <div class="text-mono text-400">~zod</div>
1024 <div class="text-mono text-400">~zod</div>
1025− <div><a class="text-mono" href="/cdn-cgi/l/email-protection#dca9aebeb5a89ca9aebeb5a8f2b3aebb"><span class="__cf_email__" data-cfemail="7e0d0b0e0e110c0a3e0b0c1c170a50110c19">[email&#160;protected]</span></a></div>
1025+ <div><a class="text-mono" href="mailto:support@urbit.org">support@urbit.org</a></div>
1026 </div>
1026 </div>
1027 </div>
1027 </div>
1028 <div class="col-sm-10 col-md-3 col-sm-offset-1">
1028 <div class="col-sm-10 col-md-3 col-sm-offset-1">
templates/sections/docs.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}
templates/sections/docs/chapters.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}