Sha256: a0572a0fda96576de6587588e0c038b1f720e65c80338368770d4e4643d4e2e2

Contents?: true

Size: 943 Bytes

Versions: 49

Compression:

Stored size: 943 Bytes

Contents

// 
// Global theme styling
// 

// Scroll padding for all scroll targets on page used with
// native CSS smooth scrolling
// 
// https://caniuse.com/?search=scroll-padding

html {
    scroll-padding-top: 4.5rem;
}

body {
    position: relative;
    overflow-x: hidden;
}

// Adjust the line height of paragraphs

p {
    line-height: $line-height-lg;
}

// Spacing and heading styling for page sections

.page-section {
    padding: 6rem 0;

    h2.section-heading {
        font-size: 2.5rem;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    h3.section-subheading {
        font-size: 1rem;
        font-weight: 400;
        font-style: italic;
        font-family: $subheadings-font-family;
        margin-bottom: 4rem;
    }
}

// Increase the padding on sections when screen size is greater
// than the medium breakpoint (set by Bootstrap)

@include media-breakpoint-up(md) {
    section {
        padding: 9rem 0;
    }
}

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.3.5 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.3.4 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.3.3 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.3.2 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.3.1 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.3.0 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.43 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.42 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.41 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.40 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.39 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.38 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.37 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.36 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.35 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.34 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.33 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.32 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss
rails_app_generator-0.2.31 after_templates/application/printspeak/app/assets/stylesheets/page/_global.scss