Browse Source

Cleanup typography/landing page.

pull/55/head
Ned Zimmerman 7 years ago
parent
commit
7039436317
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 4
      assets/styles/components/_forms.scss
  2. 14
      assets/styles/layouts/_front-page.scss
  3. 2
      assets/styles/layouts/_header.scss
  4. 6
      dist/mix-manifest.json
  5. 2
      dist/scripts/aldine.js
  6. 2
      dist/scripts/customizer.js
  7. 2
      dist/styles/aldine.css
  8. 4
      partials/content-page-catalog.php

4
assets/styles/components/_forms.scss

@ -1,7 +1,5 @@
label {
margin-bottom: 1rem;
margin: 0 0 1rem;
font-family: $font-family-sans-serif;
}

14
assets/styles/layouts/_front-page.scss

@ -10,24 +10,31 @@
margin: 4rem 0 8rem;
.slider {
width: 100%;
max-width: 22.9375rem;
margin: 0 auto;
position: relative;
}
.books {
position: relative;
display: flex;
width: calc(100% - 4rem);
margin: 0 auto;
flex-direction: column;
align-items: center;
padding-left: 0;
z-index: 99;
}
.booknav {
position: absolute;
margin-top: 0;
top: 0;
left: calc(50vw - 14.03125rem);
left: 0;
width: 100%;
max-width: 28.0625rem;
height: calc(100%);
height: 100%;
display: flex;
flex-direction: row;
justify-content: center;
@ -41,10 +48,13 @@
position: absolute;
width: rem(25);
height: 100%;
margin-top: 0;
svg {
width: rem(25);
height: rem(25);
margin-top: 0;
path {
fill: var(--primary, $brand);
}

2
assets/styles/layouts/_header.scss

@ -55,7 +55,7 @@
}
}
.page .header {
.page:not(.home) .header {
height: 240px;
@media #{$breakpoint-large} {

6
dist/mix-manifest.json vendored

@ -1,6 +1,6 @@
{
"/scripts/aldine.js": "/scripts/aldine.js?id=b3e9fc98283f6851d026",
"/styles/aldine.css": "/styles/aldine.css?id=90a4ad6aa23e2dd61bd8",
"/scripts/aldine.js": "/scripts/aldine.js?id=c8641d03dfb38dc75e0d",
"/styles/aldine.css": "/styles/aldine.css?id=7fca925f82ab0be23d54",
"/styles/editor.css": "/styles/editor.css?id=10e3f4b144847aa8d75e",
"/scripts/customizer.js": "/scripts/customizer.js?id=b7707466ef7695673a2e"
"/scripts/customizer.js": "/scripts/customizer.js?id=f1f1f4225cba4c1b35f2"
}

2
dist/scripts/aldine.js vendored

File diff suppressed because one or more lines are too long

2
dist/scripts/customizer.js vendored

File diff suppressed because one or more lines are too long

2
dist/styles/aldine.css vendored

File diff suppressed because one or more lines are too long

4
partials/content-page-catalog.php

@ -66,11 +66,11 @@ $subject_groups = ( defined( 'PB_PLUGIN_VERSION' ) ) ? \Pressbooks\Metadata\get_
</ul>
</div>
</div>
<div class="books">
<ul class="books">
<?php foreach ( $catalog_data['books'] as $book ) :
include( locate_template( 'partials/book.php' ) );
endforeach; ?>
</div>
</ul>
<?php if ( $catalog_data['pages'] > 1 ) : ?>
<nav class="catalog-navigation">
<?php if ( $previous_page ) : ?><a class="previous" data-page="<?php echo $previous_page; ?>" href="<?php echo network_home_url( "/catalog/page/$previous_page/" ); ?>"><?php _e( 'Previous', 'pressbooks-aldine' ); ?></a><?php endif; ?>

Loading…
Cancel
Save