GithubHelp home page GithubHelp logo

scottylabs / scottylabs.github.io Goto Github PK

View Code? Open in Web Editor NEW
7.0 21.0 37.0 89.97 MB

The Scottylabs.org website.

Home Page: http://scottylabs.org

License: MIT License

CSS 25.88% JavaScript 5.60% HTML 45.53% Ruby 0.10% Less 22.89%

scottylabs.github.io's Introduction

The Scottylabs.org website.


Screen Shot 2020-01-08 at 4 32 34 PM


This is the main website of Scotty Labs. We're using Jekyll on GitHub Pages.

Installation

Make sure you have a recent version of Ruby installed and run

$ gem install bundler
$ bundle install

If that failed, and you're on OS X, you might have to run this:

gem install nokogiri -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 --use-system-libraries

and then re-run bundle install.

Once you've done that, you can preview the site locally by running

$ jekyll serve

If the above doesn't work, try running

$ bundle exec jekyll serve

This will compile the static files, including all Sass assets. Then, in your browser, navigate to http://localhost:4000/ to view the generated site.

I want to...

This is a typical Jekyll project. The Jekyll documentation online is really well put together; you should give it a skim. In the mean time, here's a list of points where you might want to look:

... change the style of the site.

Since this is a Jekyll site, the repetitive content is pulled out into templates. These files are located in _includes/ and _layouts/. Altering these files will alter all files based off of them. You can tell if a file is based off another file if it includes the line layout: <something> or {% include <something> %} somewhere inside it.

To change the stylesheets, you should look in assets/css/. Here' you'll see that we're using Sass, which is a CSS preprocessor. This just means we're using a language that compiles to CSS, instead of writing CSS directly. Look it up online for more information. The main.scss file @imports the files which are located in the folder _sass/. To change the styles, you'll want to change the files located in there.

... add content to the site.

Any file or folder that doesn't start with an underscore will end up being a web page visible to users. To add content, simply create a file that doesn't have a leading underscore.

Jekyll allows you to write content using Markdown, a language that compiles to HTML. You should probably use Markdown, not HTML, to create content. For an example of how this is done, see the frontend/ folder, which contains numerous examples of using Markdown files to generate content. Feel free to use these files as starting points for generating your own content.

License

MIT License. See LICENSE. (c) 2015 ScottyLabs

scottylabs.github.io's People

Contributors

anbenson avatar ayoubmansar avatar bezi avatar crcmowry avatar drewinglis avatar gramliu avatar ishikasaxena avatar jackm321 avatar jayaygee avatar jeffc avatar jez avatar juliat avatar jzhanson avatar klung16 avatar mcvellaa avatar richardg999 avatar ronncc avatar skrulcik avatar stephanieyou avatar tkadur avatar tomshen avatar tpoulos avatar westin avatar yiblet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scottylabs.github.io's Issues

line-height on About and Events is different

If you compare the space between lines (which is what the CSS property line-height controls) for the About section and the Events section on https://scottylabs.org/, you'll notice they're significantly different. Now that you see it, you can't unsee it.

Looks like the issue is because the text for the About section is a <p> element, whereas the text for some of the other sections including Events are <h3> elements.

Font/image size

Err... why is everything so big? In the max size fluid layout, I mean. It's a little uncomfortable.

For the most part, though, everything looks really great. :) I'm up for helping with small tasks, btw.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.