Browse Source

Fix pages.

pull/25/head
Ned Zimmerman 7 years ago
parent
commit
f6ace5936e
  1. 14
      resources/assets/styles/layouts/_pages.scss
  2. 6
      resources/views/page.blade.php
  3. 4
      yarn.lock

14
resources/assets/styles/layouts/_pages.scss

@ -25,11 +25,7 @@
}
}
.wrap {
padding: 0 rem(8);
}
.content {
.page-content {
flex-direction: column;
justify-content: center;
align-items: center;
@ -51,16 +47,12 @@
@media (min-width: $medium) {
.page {
.wrap {
margin-top: rem(-366);
}
.page-header h1 {
font-size: rem(48);
line-height: (56/48);
}
.content {
.page-content {
width: rem(775);
min-height: rem(494);
margin: rem(-600) auto rem(119);
@ -80,7 +72,7 @@
@media (min-width: $large) {
.page {
.content {
.page-content {
width: rem(1115);
}
}

6
resources/views/page.blade.php

@ -2,7 +2,9 @@
@section('content')
@while(have_posts()) @php(the_post())
@include('partials.page-header')
@include('partials.content-page')
<section class="page-content">
@include('partials.page-header')
@include('partials.content-page')
</section>
@endwhile
@endsection

4
yarn.lock

@ -63,9 +63,9 @@ adjust-sourcemap-loader@^1.1.0:
object-path "^0.9.2"
regex-parser "^2.2.1"
"aetna@github:pressbooks/aetna#825dc3e":
"aetna@github:pressbooks/aetna#3a0a323":
version "0.1.0"
resolved "https://codeload.github.com/pressbooks/aetna/tar.gz/825dc3e585b98b72c7d47d883afa56f2a4d4b810"
resolved "https://codeload.github.com/pressbooks/aetna/tar.gz/3a0a32315b48877bf7ef30c384fad9d3b92f875f"
dependencies:
tachyons-sass "~4.8"

Loading…
Cancel
Save