on master help sign in
typography fixes
commit84c5f250fcb57814c3251ef17a6ca4b184e3aec9 authorMorgan Sutherland <morgan@morgansutherland.com> dateThu 23 May 2019, 14:20 (7 years ago) parent9fc5039
7 files changed+59−45
content/privacy.md+1 sass/_main.scss+41−11 sass/_responsive.scss−19 templates/page.html+2−2 templates/partials/navigation.html+13−11 templates/posts/list.html+1−1 templates/sections/docs.html+1−1
content/privacy.md+1
@@ -1,6 +1,7 @@
11+++
22title = "Privacy Policy"
33+++
4+
45## Scope of this Privacy Policy
56
67Tlon Corporation ('Tlon,' 'we,' 'our,' and/or 'us') values the privacy of individuals who use Urbit software, our websites, and related services (collectively, our 'Services'). This privacy policy (the 'Privacy Policy') explains how we collect, use, and share information from users of our Services ('Users'). By using our Services, you agree to the collection, use, disclosure, and procedures this Privacy Policy describes. Beyond the Privacy Policy, your use of our Services is also subject to our Terms of Service.
sass/_main.scss+41−11
@@ -347,28 +347,58 @@ h1, h2, h3, h4 {
347347 font-weight: 700;
348348}
349349h1 {
350− font-size: 12rem;
351− line-height: 16rem;
350+ font-size: 8rem;
351+ line-height: 8rem;
352352}
353353h2 {
354− font-size: 8rem;
355− line-height: 12rem;
354+ font-size: 6rem;
355+ line-height: 6rem;
356356}
357357h3 {
358− font-size: 6rem;
359− line-height: 8rem;
358+ font-size: 5rem;
359+ line-height: 5rem;
360360}
361361h4 {
362− font-size: 5rem;
363− line-height: 6rem;
362+ font-size: 4.5rem;
363+ line-height: 4.5rem;
364364}
365−h5, p, li {
365+h5 {
366366 font-size: 4rem;
367− line-height: 6rem;
367+ line-height: 4rem;
368+}
369+
370+.article {
371+ h1 {
372+ margin-bottom: 7rem;
373+ }
374+ h2 {
375+ margin-top: 8rem;
376+ margin-bottom: 4rem;
377+ }
378+ h3 {
379+ margin-top: 7rem;
380+ margin-bottom: 3rem;
381+ }
382+ h4 {
383+ margin-top: 6.5rem;
384+ margin-bottom: 2.5rem;
385+ }
386+ h5 {
387+ margin-top: 6rem;
388+ margin-bottom: 2rem;
389+ }
390+}
391+
392+li {
393+ font-size: 4rem;
394+ line-height: 8rem;
368395 font-weight: 400;
369396}
370397
371398p, .p {
399+ font-size: 4rem;
400+ font-weight: 400;
401+ line-height: 8rem;
372402 margin: 0 0 4rem;
373403}
374404
@@ -377,7 +407,7 @@ pre, code {
377407 background-color: #eee !important;
378408 color: #000 !important;
379409 overflow-y: scroll;
380− font-weight: 500;
410+ font-weight: 400;
381411 span {
382412 color: #000 !important;
383413 }
sass/_responsive.scss−19
@@ -1,22 +1,3 @@
1−@media only screen and (min-width: 800px) {
2− h1 {
3− font-size: 8rem;
4− line-height: 12rem;
5− }
6− h2 {
7− font-size: 6rem;
8− line-height: 8rem;
9− }
10− h3 {
11− font-size: 5rem;
12− line-height: 6rem;
13− }
14− h4 {
15− font-size: 4rem;
16− line-height: 6rem;
17− }
18−}
19−
201@media only screen and (max-width: 800px) {
212 .container--fixed, .content-nav {
223 margin: 0;
templates/page.html+2−2
@@ -39,8 +39,8 @@
3939 <div class="content posts__content pb40">
4040 <article class="article">
4141 <!-- header -->
42− <h4 class="mb16"><code>&#126;{% if page.date %}{{ page.date | date(format="%Y.%m.%d") }}{% endif %}</code></h4>
43− <h1 class="mt8 mb8">{{ page.title }}</h1>
42+ <!-- <h4 class="mb8"><code>&#126;{% if page.date %}{{ page.date | date(format="%Y.%m.%d") }}{% endif %}</code></h4> -->
43+ <h1 class="mb8">{{ page.title }}</h1>
4444 <!-- body -->
4545 {{ page.content | safe }}
4646 </article>
templates/partials/navigation.html+13−11
@@ -7,17 +7,19 @@
77 <div class="wrapper">
88 <div class="container">
99 <div class="nav-column">
10− <ul class="list">
11− {% for item in config.extra.urbit_menu %}
12− <li class="list__item">
13− <h2 class="mb6">
14− <a href="{{ item.url | replace(from="$BASE_URL", to=config.base_url) }}">
15− {{ item.name }}
16− </a>
17− </h2>
18− </li>
19− {% endfor %}
20− </ul>
10+ <div class="nav-links mb24">
11+ <ul class="list">
12+ {% for item in config.extra.urbit_menu %}
13+ <li class="list__item">
14+ <h2 class="mt0 mb6">
15+ <a href="{{ item.url | replace(from="$BASE_URL", to=config.base_url) }}">
16+ {{ item.name }}
17+ </a>
18+ </h2>
19+ </li>
20+ {% endfor %}
21+ </ul>
22+ </div>
2123 <section class="mt9 mb6">
2224 <h4 class="mb1">Follow</h4>
2325 <ul class="list">
templates/posts/list.html+1−1
@@ -28,7 +28,7 @@
2828 </div>
2929 <div class="container">
3030 <div class="content-nav-spacer"></div>
31− <article class="article content posts__content">
31+ <article class="content posts__content">
3232 <h1 class="mb8">Posts</h1>
3333 <ul class="list">
3434 {% set posts = get_section(path="posts/_index.md") %}
templates/sections/docs.html+1−1
@@ -12,7 +12,7 @@
1212 </div>
1313 <div class="container ml8">
1414 <div class="content-nav-spacer"></div>
15− <article class=" article content">
15+ <article class="article content">
1616 <!-- header -->
1717 <h1>{{ section.title }}</h1>
1818 <!-- body -->