Giter Site home page Giter Site logo

uw-upl.github.io's Introduction

Undergraduate Projects Lab Website

uw-upl.github.io

This website will eventually exist at upl.cs.wisc.edu.

Contributions and issue reports are welcomed!

We use Angular to template data found in the content/ directory. Since GitHub is hosting this page, we have no access to a back-end.

To Serve Locally

Make sure you have Python installed.

Run the following terminal command:

$ python -m SimpleHTTPServer <port number> # defaults to 8000

If you're using Powershell, set the environment variable:

$env:path="$env:Path;C:\Python27"

Then you can open your web browser to http://localhost:<port number> to see how the site will appear when served from GitHub.

How to edit the stylesheets

Sass

Do not edit style.css directly -- it is generated by sass. You can install sass on the command line using gem:

$ sudo gem install sass

Refer to the official install page for more details.

What to do

sass/style.scss is the root stylesheet for the website. It is (mostly) made up of imports of the other, partial stylesheets in sass/. The rules you're looking for are probably found in one of these files.

_variables.scss is a very useful file -- it defines basic variables used in many places on the site (such as the shade of red we use). Look at it before making any changes.

After you've changed one or more .scss files, you can regenerate the main style.css with the following command:

$ sass sass/style.scss:style.css

You can pass the --watch flag to sass if you want sass to automatically regenerate style.css when you save changes.

uw-upl.github.io's People

Contributors

mjneil avatar lozord avatar zthomae avatar leondinh avatar katamaritaco avatar marshmue avatar mikecook9994 avatar simplywondrous avatar bhans117 avatar melutzke avatar

Watchers

James Cloos avatar  avatar

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.