mirror of
https://github.com/jgthms/bulma
synced 2026-03-23 13:29:35 -07:00
Generic customisation
This commit is contained in:
@@ -140,7 +140,6 @@ a {
|
|||||||
color: #00d1b2;
|
color: #00d1b2;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: none 86ms ease-out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
@@ -150,7 +149,7 @@ a:hover {
|
|||||||
code {
|
code {
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
color: #ff3860;
|
color: #ff3860;
|
||||||
font-size: 0.8em;
|
font-size: 0.875em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
padding: 0.25em 0.5em 0.25em;
|
padding: 0.25em 0.5em 0.25em;
|
||||||
}
|
}
|
||||||
@@ -190,7 +189,7 @@ strong {
|
|||||||
pre {
|
pre {
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
color: #4a4a4a;
|
color: #4a4a4a;
|
||||||
font-size: 0.8em;
|
font-size: 0.875em;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
}
|
}
|
||||||
@@ -205,10 +204,6 @@ pre code {
|
|||||||
padding: 1.25rem 1.5rem;
|
padding: 1.25rem 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
table td,
|
table td,
|
||||||
table th {
|
table th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|||||||
@@ -1,12 +1,32 @@
|
|||||||
|
$body-background-color: #fff !default
|
||||||
|
$body-size: 16px !default
|
||||||
|
$body-rendering: optimizeLegibility !default
|
||||||
|
$body-family: $family-sans-serif !default
|
||||||
|
$body-color: $text !default
|
||||||
|
$body-weight: $weight-normal !default
|
||||||
|
$body-line-height: 1.5 !default
|
||||||
|
|
||||||
|
$code-family: $family-monospace !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
|
html
|
||||||
background-color: $body-background
|
background-color: $body-background-color
|
||||||
font-size: $body-size
|
font-size: $body-size
|
||||||
-moz-osx-font-smoothing: grayscale
|
-moz-osx-font-smoothing: grayscale
|
||||||
-webkit-font-smoothing: antialiased
|
-webkit-font-smoothing: antialiased
|
||||||
min-width: 300px
|
min-width: 300px
|
||||||
overflow-x: hidden
|
overflow-x: hidden
|
||||||
overflow-y: scroll
|
overflow-y: scroll
|
||||||
text-rendering: $render-mode
|
text-rendering: $body-rendering
|
||||||
|
|
||||||
article,
|
article,
|
||||||
aside,
|
aside,
|
||||||
@@ -22,19 +42,19 @@ button,
|
|||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
textarea
|
textarea
|
||||||
font-family: $family-primary
|
font-family: $body-family
|
||||||
|
|
||||||
code,
|
code,
|
||||||
pre
|
pre
|
||||||
-moz-osx-font-smoothing: auto
|
-moz-osx-font-smoothing: auto
|
||||||
-webkit-font-smoothing: auto
|
-webkit-font-smoothing: auto
|
||||||
font-family: $family-code
|
font-family: $code-family
|
||||||
|
|
||||||
body
|
body
|
||||||
color: $text
|
color: $body-color
|
||||||
font-size: 1rem
|
font-size: 1rem
|
||||||
font-weight: $weight-normal
|
font-weight: $body-weight
|
||||||
line-height: 1.5
|
line-height: $body-line-height
|
||||||
|
|
||||||
// Inline
|
// Inline
|
||||||
|
|
||||||
@@ -42,23 +62,22 @@ a
|
|||||||
color: $link
|
color: $link
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
transition: none $speed $easing
|
|
||||||
&:hover
|
&:hover
|
||||||
color: $link-hover
|
color: $link-hover
|
||||||
|
|
||||||
code
|
code
|
||||||
background-color: $code-background
|
background-color: $code-background
|
||||||
color: $code
|
color: $code
|
||||||
font-size: 0.8em
|
font-size: $code-size
|
||||||
font-weight: normal
|
font-weight: $code-weight
|
||||||
padding: 0.25em 0.5em 0.25em
|
padding: $code-padding
|
||||||
|
|
||||||
hr
|
hr
|
||||||
background-color: $border
|
background-color: $hr-background-color
|
||||||
border: none
|
border: none
|
||||||
display: block
|
display: block
|
||||||
height: 1px
|
height: $hr-height
|
||||||
margin: 1.5rem 0
|
margin: $hr-margin
|
||||||
|
|
||||||
img
|
img
|
||||||
height: auto
|
height: auto
|
||||||
@@ -76,15 +95,15 @@ span
|
|||||||
font-weight: inherit
|
font-weight: inherit
|
||||||
|
|
||||||
strong
|
strong
|
||||||
color: $text-strong
|
color: $strong-color
|
||||||
font-weight: $weight-bold
|
font-weight: $strong-weight
|
||||||
|
|
||||||
// Block
|
// Block
|
||||||
|
|
||||||
pre
|
pre
|
||||||
background-color: $pre-background
|
background-color: $pre-background
|
||||||
color: $pre
|
color: $pre
|
||||||
font-size: 0.8em
|
font-size: 0.875em
|
||||||
white-space: pre
|
white-space: pre
|
||||||
word-wrap: normal
|
word-wrap: normal
|
||||||
code
|
code
|
||||||
@@ -97,7 +116,6 @@ pre
|
|||||||
padding: 1.25rem 1.5rem
|
padding: 1.25rem 1.5rem
|
||||||
|
|
||||||
table
|
table
|
||||||
width: 100%
|
|
||||||
td,
|
td,
|
||||||
th
|
th
|
||||||
text-align: left
|
text-align: left
|
||||||
|
|||||||
@@ -41,11 +41,6 @@ $weight-normal: 400 !default
|
|||||||
$weight-semibold: 500 !default
|
$weight-semibold: 500 !default
|
||||||
$weight-bold: 700 !default
|
$weight-bold: 700 !default
|
||||||
|
|
||||||
// Body
|
|
||||||
|
|
||||||
$body-background: #fff !default
|
|
||||||
$body-size: 16px !default
|
|
||||||
|
|
||||||
// Responsiveness
|
// Responsiveness
|
||||||
|
|
||||||
// The container gap, which acts as the offset for breakpoints
|
// The container gap, which acts as the offset for breakpoints
|
||||||
|
|||||||
Reference in New Issue
Block a user