Skip to content

Commit

Permalink
Bump version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bananaappletw committed Oct 25, 2017
0 parents commit 7285488
Show file tree
Hide file tree
Showing 41 changed files with 2,152 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/.bundle/
/.yardoc
/_yardoc/
/coverage/
/doc/
/pkg/
/spec/reports/
/tmp/
Gemfile.lock
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"

# Specify your gem's dependencies in bulma-sass.gemspec
gemspec
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 bananaappletw

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Bulma-sass

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bulma/sass`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'bulma-sass'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install bulma-sass

## Usage

Import Bulma styles in `app/assets/stylesheets/application.scss`

```css
@import "bulma";
```
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require "bundler/gem_tasks"
task :default => :spec
9 changes: 9 additions & 0 deletions app/assets/stylesheets/bulma.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@charset "utf-8"

@import bulma/utilities/utilities
@import bulma/config/variables
@import bulma/config/generated-variables
@import bulma/base/base
@import bulma/elements/elements
@import bulma/components/components
@import bulma/layout/layout
6 changes: 6 additions & 0 deletions app/assets/stylesheets/bulma/base/base.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@charset "utf-8"

@import generic
@import content
@import highlight
@import helpers
51 changes: 51 additions & 0 deletions app/assets/stylesheets/bulma/base/content.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
.content
&:not(:last-child)
margin-bottom: 20px
h1,
h2,
h3,
h4,
h5,
h6
color: $text-strong
font-weight: 300
line-height: 1.125
margin-bottom: 20px
h1,
h2,
h3
&:not(:first-child)
margin-top: 40px
h1
font-size: 2em
h2
font-size: 1.75em
h3
font-size: 1.5em
h4
font-size: 1.25em
h5
font-size: 1.125em
h6
font-size: 1em
p:not(:last-child)
margin-bottom: 1em
li + li
margin-top: 0.25em
ol
list-style: decimal outside
margin: 1em 2em
ul
list-style: disc outside
margin: 1em 2em
ul
list-style-type: circle
margin-top: 0.5em
ul
list-style-type: square
blockquote
background: $background
border-left: 5px solid $border
padding: 1.5em
&:not(:last-child)
margin-bottom: 1em
101 changes: 101 additions & 0 deletions app/assets/stylesheets/bulma/base/generic.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
html
background: $body-background
font-size: $size-normal
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
min-width: 300px
overflow-x: hidden
overflow-y: scroll
text-rendering: optimizeLegibility

body,
button,
input,
select,
textarea
font-family: $family-primary

code,
pre
-moz-osx-font-smoothing: auto
-webkit-font-smoothing: auto
font-family: monospace
line-height: 1.25

body
color: $text
font-size: 1rem
line-height: 1.428571428571429

a
color: $link
cursor: pointer
text-decoration: none
transition: none $speed $easing
&:hover
color: $link-hover

code
background: $code-background
color: $code
font-size: 12px
font-weight: normal
padding: 1px 2px 2px

hr
border-top-color: $border
margin: 20px 0

img
max-height: 100%
max-width: 100%

input[type="checkbox"],
input[type="radio"]
vertical-align: baseline

small
font-size: $size-small

strong
color: $text-strong

article,
aside,
figure,
footer,
header,
hgroup,
section
display: block

pre
background: $pre-background
color: $pre
white-space: pre
word-wrap: normal
code
background: $pre-background
color: $pre
display: block
overflow-x: auto
padding: 16px 20px

table
width: 100%
th,
td
text-align: left
vertical-align: top
th
color: $text-strong

.container
margin: 0 auto
max-width: 960px
position: relative

.fa
font-size: 21px
text-align: center
vertical-align: top
27 changes: 27 additions & 0 deletions app/assets/stylesheets/bulma/base/helpers.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.is-centered
text-align: center

.is-left
text-align: left

.is-right
text-align: right

.is-block
display: block

.is-disabled
pointer-events: none

.is-inline
display: inline

.is-marginless
margin: 0 !important

.is-unselectable
-webkit-touch-callout: none
-webkit-user-select: none
-moz-user-select: none
-ms-user-select: none
user-select: none
123 changes: 123 additions & 0 deletions app/assets/stylesheets/bulma/base/highlight.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
.highlight
background-color: #fdf6e3
color: #586e75
.c
color: #93a1a1
.err,
.g
color: #586e75
.k
color: #859900
.l,
.n
color: #586e75
.o
color: #859900
.x
color: #cb4b16
.p
color: #586e75
.cm
color: #93a1a1
.cp
color: #859900
.c1
color: #93a1a1
.cs
color: #859900
.gd
color: #2aa198
.ge
color: #586e75
font-style: italic
.gr
color: #dc322f
.gh
color: #cb4b16
.gi
color: #859900
.go,
.gp
color: #586e75
.gs
color: #586e75
font-weight: bold
.gu
color: #cb4b16
.gt
color: #586e75
.kc
color: #cb4b16
.kd
color: #268bd2
.kn,
.kp
color: #859900
.kr
color: #268bd2
.kt
color: #dc322f
.ld
color: #586e75
.m,
.s
color: #2aa198
.na
color: #B58900
.nb
color: #586e75
.nc
color: #268bd2
.no
color: #cb4b16
.nd
color: #268bd2
.ni,
.ne
color: #cb4b16
.nf
color: #268bd2
.nl,
.nn,
.nx,
.py
color: #586e75
.nt,
.nv
color: #268bd2
.ow
color: #859900
.w
color: #586e75
.mf,
.mh,
.mi,
.mo
color: #2aa198
.sb
color: #93a1a1
.sc
color: #2aa198
.sd
color: #586e75
.s2
color: #2aa198
.se
color: #cb4b16
.sh
color: #586e75
.si,
.sx
color: #2aa198
.sr
color: #dc322f
.s1,
.ss
color: #2aa198
.bp,
.vc,
.vg,
.vi
color: #268bd2
.il
color: #2aa198
Loading

0 comments on commit 7285488

Please sign in to comment.