Rename legal_page layout to page container

this way it is broader applicable, blogs & pods will also use this layout
This commit is contained in:
davegson 2020-05-13 09:19:25 +02:00
parent 59fc2eb26a
commit 7207c0a147
6 changed files with 13 additions and 7 deletions

View file

@ -2,7 +2,7 @@
layout: page layout: page
--- ---
<section style="padding-top: 10rem; padding-bottom: 10rem;" id="legal-page"> <section style="padding-top: 10rem; padding-bottom: 10rem;" id="page-container">
<div class="items-center h-full"> <div class="items-center h-full">
<div class="container mx-auto px-8 sm:px-0 flex"> <div class="container mx-auto px-8 sm:px-0 flex">
<div class="max-w-screen-lg mx-auto px-4 sm:px-6 lg:flex"> <div class="max-w-screen-lg mx-auto px-4 sm:px-6 lg:flex">

View file

@ -1,5 +1,5 @@
--- ---
layout: page layout: page_container
title: "Blog" title: "Blog"
heading: "Blog" heading: "Blog"
subheading: "Announcements and things we'd like to share" subheading: "Announcements and things we'd like to share"

View file

@ -1,4 +1,4 @@
#legal-page content { #page-container content {
p { p {
padding-top: 1.8rem; padding-top: 1.8rem;
color: #898989; color: #898989;
@ -30,9 +30,15 @@
} }
h2 { h2 {
font-size: 1.875rem;
padding-top: 4rem; padding-top: 4rem;
font-weight: 800; font-weight: 800;
font-size: 1.875rem; }
h3 {
font-size: 1.2rem;
padding-top: 1rem;
font-weight: 800;
} }
ul { ul {

View file

@ -2,4 +2,4 @@
--- ---
@import "global"; @import "global";
@import "legal_pages"; @import "page_container";

View file

@ -1,5 +1,5 @@
--- ---
layout: legal_page layout: page_container
title: Privacy Policy title: Privacy Policy
heading: Privacy Policy heading: Privacy Policy
--- ---

View file

@ -1,5 +1,5 @@
--- ---
layout: legal_page layout: page_container
title: Terms of Service title: Terms of Service
heading: Terms of Service heading: Terms of Service
--- ---