Socket
Socket
Sign inDemoInstall

@centerforopenscience/osf-style

Package Overview
Dependencies
0
Maintainers
7
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @centerforopenscience/osf-style

OSF Style Guide


Version published
Maintainers
7
Install size
266 kB
Created

Changelog

Source

[1.9.0] - 2019-03-04

Added

  • Styling from ember-osf-preprints to remove preprint word on smaller screens

Changed

  • Padding and margins on branded navbars to prevent line breaks and overlaps

Readme

Source

OSF Style Guidelines

This project aims to bring together resources to build Design and Layout of OSF components. As you are working with OSF please use this project as reference for how elements on your page should look and how the HTML and CSS should be used. This is a collaborative project so feel free to suggest changes or Pull Requests.

Quick Start

  • Clone the remote repo to your local

      $ git clone https://github.com/CenterForOpenScience/osf-style.git
      $ cd osf-style
    
  • Install the dependent libraries (listed in package.json) with npm

      $ npm install
    
  • Run gulp to view the website at http://localhost:8000/

      $ npm run gulp
    

With the help of gulp, every change in repo code will automatically be compiled and changed after saving.

Possible Issues

  • If npm is not installed (-bash : npm: command not found), please install node.js in which it contains npm.

  • If SASS is not installed (bash: sass: command not found), you should run the following command:

      $ sudo gem install sass
    

Click here for more details about installation of SASS.

Libraries Used Here

This Project relies on these technologies for its workflow so it's important to familiarize yourself before starting.

  1. Npm Node package management, for server side dependencies and making gulp work. We will use it to install all the dependent libraries(such as Gulp) in package.json.

  2. Gulp
    Builds the distribution by running important tasks including concatenation, minification(we are not doing this yet, but will), compiling less files.

  3. Bootstrap
    Forms the basic design with flat colors taken from elsewhere. If you are working with html you need to use the Bootstrap syntax.

  4. SASS Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.

Keywords

FAQs

Last updated on 04 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc