Sha256: 9f7349bdfcb23b78b9b08ea037f0567a1bd0cd24fffded5d0c56aeb6149a03e2

Contents?: true

Size: 1.81 KB

Versions: 5

Compression:

Stored size: 1.81 KB

Contents

////
/// @group page-typography
////

/// Base typography for page.
$page-typography: () !default;

/// Typography for content text.
$page-content-text-typography: () !default;

/// Typography for content text in phone layout.
$page-content-text-phone-typography: () !default

/// Base font size for page content
$page-content-font-size: 1em !default;

/// Base font size for page content in phone layout
$page-content-phone-font-size: 0.7em !default;


// Deprecated. Use typography variables above.

$page-font-family: $standard-font !default;
$page-font-size: 16px !default;
$page-content-text-font-family: $page-font-family !default;
$page-content-text-font-size: 1.2em !default;
$page-content-text-line-height: 1.5em !default;
$page-content-list-margin: 1em !default;
$page-content-list-indent: 40px !default;

@import "./page/anchors";
@import "./page/colors";
@import "./page/header";
@import "./page/hyphenate";
@import "./page/paddings";
@import "./page/content_text_margin";
@import "./page/scroller";
@import "./page/shadow";

@import "./page/line_lengths";

.page {
  @include typography(
    $page-typography,
    (
      font-family: $page-font-family,
      font-size: $page-font-size
    )
  );

  .content {
    font-size: $page-content-font-size;

    @include phone {
      font-size: $page-content-phone-font-size;
    }
  }

  .page_text > * {
    @include typography(
      $page-content-text-typography,
      (
        font-family: $page-content-text-font-family,
        font-size: $page-content-text-font-size,
        line-height: $page-content-text-line-height
      )
    );

    @include phone {
      @include typography($page-content-text-phone-typography);
    }
  }

  .page_text > .paragraph ul,
  .page_text > .paragraph ol {
    margin: $page-content-list-margin 0;
    padding: 0 0 0 $page-content-list-indent;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pageflow-15.7.1 app/assets/stylesheets/pageflow/themes/default/page.scss
pageflow-15.7.0 app/assets/stylesheets/pageflow/themes/default/page.scss
pageflow-15.6.1 app/assets/stylesheets/pageflow/themes/default/page.scss
pageflow-15.6.0 app/assets/stylesheets/pageflow/themes/default/page.scss
pageflow-15.5.0 app/assets/stylesheets/pageflow/themes/default/page.scss