Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Initial commit - Bulma v0.6.2
Browse files Browse the repository at this point in the history
Converted from: https://github.com/jgthms/bulma/releases/tag/0.6.2

Many thanks to Jeremy Thomas (@jgthms) and other Bulma contributors
  • Loading branch information
j1mc committed Feb 17, 2018
0 parents commit a005d45
Show file tree
Hide file tree
Showing 48 changed files with 6,714 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 Jeremy Thomas

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.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# bulma-scss

This is a port of the [Bulma](https://github.com/jgthms/bulma) project SASS
files to the SCSS syntax.

Currently, these files are based on Bulma version 0.6.2, and will be updated
with later releases.

I've converted these files using
[this script](https://gist.github.com/Prezto/e72e77e0f35352f5fcf5881b73b7d81b),
so you are free to perform the conversion yourself - I only thought I would
save others the trouble.
3 changes: 3 additions & 0 deletions base/_all.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import "minireset";
@import "generic";
@import "helpers";
152 changes: 152 additions & 0 deletions base/_generic.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
$body-background-color: $white !default;
$body-size: 16px !default;
$body-rendering: optimizeLegibility !default;
$body-family: $family-primary !default;
$body-color: $text !default;
$body-weight: $weight-normal !default;
$body-line-height: 1.5 !default;

$code-family: $family-code !default;
$code-padding: 0.25em 0.5em 0.25em !default;
$code-weight: normal !default;
$code-size: 0.875em !default;

$hr-background-color: $border !default;
$hr-height: 1px !default;
$hr-margin: 1.5rem 0 !default;

$strong-color: $text-strong !default;
$strong-weight: $weight-bold !default;

html {
background-color: $body-background-color;
font-size: $body-size;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
min-width: 300px;
overflow-x: hidden;
overflow-y: scroll;
text-rendering: $body-rendering;
text-size-adjust: 100%;
}

article,
aside,
figure,
footer,
header,
hgroup,
section {
display: block;
}

body,
button,
input,
select,
textarea {
font-family: $body-family;
}

code,
pre {
-moz-osx-font-smoothing: auto;
-webkit-font-smoothing: auto;
font-family: $code-family;
}

body {
color: $body-color;
font-size: 1rem;
font-weight: $body-weight;
line-height: $body-line-height;
}

// Inline

a {
color: $link;
cursor: pointer;
text-decoration: none;

strong {
color: currentColor;
}

&:hover {
color: $link-hover;
}
}

code {
background-color: $code-background;
color: $code;
font-size: $code-size;
font-weight: $code-weight;
padding: $code-padding;
}

hr {
background-color: $hr-background-color;
border: none;
display: block;
height: $hr-height;
margin: $hr-margin;
}

img {
height: auto;
max-width: 100%;
}

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

small {
font-size: 0.875em;
}

span {
font-style: inherit;
font-weight: inherit;
}

strong {
color: $strong-color;
font-weight: $strong-weight;
}

// Block

pre {
@include overflow-touch;

background-color: $pre-background;
color: $pre;
font-size: 0.875em;
overflow-x: auto;
padding: 1.25rem 1.5rem;
white-space: pre;
word-wrap: normal;

code {
background-color: transparent;
color: currentColor;
font-size: 1em;
padding: 0;
}
}

table {
td,
th {
text-align: left;
vertical-align: top;
}

th {
color: $text-strong;
}
}
Loading

0 comments on commit a005d45

Please sign in to comment.