GithubHelp home page GithubHelp logo

palkerecsenyi / magic Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.47 MB

MagicCSS: CSS-only framework for colourful websites.

Home Page: https://palkerecsenyi.github.io/magic/docs/

License: GNU General Public License v3.0

CSS 99.51% Ruby 0.49%
scss framework html css-framework css

magic's Introduction

Magic.CSS

Magic.CSS is a simple and responsive CSS library, made with SASS. It's inspired by (though not directly derived from) Bootstrap and Materialize. Each component is made with minimal markup to increase neatness, and they come with extensive, user-friendly documentation.

npm version

Setup

To set up Magic on your website, simply add this to the <head> of your page:

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/magical-css@latest/dist/magic.css">

Please note that if a new version of Magic is released, your website will receive it automatically, which may mean that some parts of your page change. To get a fixed version, see the jsDelivr docs: https://www.jsdelivr.com.

To install Magic, uncompiled SCSS, docs and more, do one of the following:

npm install magical-css
yarn add magical-css
bower install magical-css

Clone https://github.com/palkerecsenyi/magic.git

For the proper functionality of Magic, please double check that the fonts are linked correctly at the start of dist/magic.css. If using a CDN, this works automatically.

Usage

Magical Library tries to avoid default styles (globally referencing elements rather than classes) wherever possible, to make it as non-destructive in complex projects as possible. Class names are designed to be very evident. For a full usage guide, see the Wiki of this repository.

Attributions

Two fonts are used: Noto Sans by Google and Roboto by Christian Robertson.

Documentation

To use Magic, you'll need to read the official documentation. It's currently available through Github pages at https://palkerecsenyi.github.io/magic/docs/. The documentation is, in fact, made with Magic!

That's it. Enjoy!

magic's People

Contributors

tti0 avatar

Stargazers

wfd2018 avatar Geza Kerecsenyi avatar

Watchers

Pal Kerecsenyi avatar Geza Kerecsenyi avatar

magic's Issues

[BUG] Fix modal width

Section(s)

This issue works on the marked sections of Magic [PICK ONE OR MORE]:

  • Components (e.g. box, button, errors)

Type

This issue is a bug report.

Description

Models are currently very narrow, especially on mobile devices. Will make them wider and review their box styling.

Fix CSS link in Buttons doc

Section(s)

This issue works on the marked sections of Magic (tick one or more):

  • Components (e.g. box, button, errors)
  • Layout (e.g. container, grid, type)
  • Deployment (e.g. package.json, travis.yml, etc)
  • Documentation
  • Fonts
  • Other

Type

This issue is a bug report.

Description

The documentation for buttons does not appear to have CSS linked correctly, so displays unstyled HTML instead.

[FEATURE] Formatting for <select>

Section(s)

This issue works on the marked sections of Magic [PICK ONE OR MORE]:

  • Components (e.g. box, button, errors)

Type

This issue is a feature proposal

Description

Mainly for CodeDragon purposes, but certainly useful to other Magic users as well.
Could nicer-than-default formatting please be added to the <select> HTML form element, in a similar way to the default formatting on <input type="checkbox"> and <input type="text"> currently works. See screenshot for comparison below, from CodeDragon.

image

Thanks!
@tti0

Fix scrolling on navigation

Section(s)

This issue works on the marked sections of Magic (tick one or more):

  • Components (e.g. box, button, errors)
  • Layout (e.g. container, grid, type)
  • Deployment (e.g. package.json, travis.yml, etc)
  • Documentation
  • Fonts
  • Other

Type

This issue is a bug report.

Description

Scrolling ends too early in addon navbar, when the objects don't fit.
image

Redesign gradient buttons

Section(s)

This issue works on the marked sections of Magic:

  • Components (e.g. box, button, errors)
  • Layout (e.g. container, grid, type)
  • Deployment (e.g. package.json, travis.yml, etc)
  • Documentation
  • Fonts
  • Other

Type

This issue is a feature proposal.

Description

Gradient buttons are a bit dodgy, will redesign them.

Feature request: Titles

The navbar of a page is styled and formatted correctly, especially with the SVG logos, however, for sites without logos, a style for a large "page title" element class would be ideal.

@tti0

Improve blue gradient

Section(s)

This issue works on the marked sections of Magic (tick one or more):

  • Components (e.g. box, button, errors)
  • Layout (e.g. container, grid, type)
  • Deployment (e.g. package.json, travis.yml, etc)
  • Documentation
  • Fonts
  • Other

Type

This issue is a bug report.

Description

The blue gradient is more purple than blue.
image

White links in notification

Section(s)

This issue works on the marked sections of Magic:

  • Components (e.g. box, button, errors)
  • Layout (e.g. container, grid, type)

Type

This issue is a feature proposal.

Description

This is mainly a feature request for CodeDragon, and the remodelling of the user settings page. I attempted to try doing this myself and PR into the main repo, but couldn't build the SCSS.

It consists of adding:

&.white{
    color: #fff;
}

into the link section, to allow for easier white links anywhere with class = "link white", or alternatively doing something to make all links in notifications white, like in the footer. I'd release as 0.7.3 for easier deployment to CDr over NPM.

[BUG] Documentation typo

Minor documentation typo on Typography page at dark bordered table code demo. Says dark as attribute rather than class.

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.