mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-17 03:13:57 +02:00
Updated core module's variables
The variables in core have been moved to the top of the file and the corresponding values and descriptions in the falvor files updated as required.
This commit is contained in:
@@ -881,3 +881,11 @@
|
||||
- Updated `mini-sucroa`: Removed `horizontal` tables, added `sticky` for `header` and `footer`, added `tooltip`, disabled legacy support in `utility`. Updated the rest of the components as required (minor changes).
|
||||
- Updated `mini-sucroa` flavor description.
|
||||
- Decided to drop `mini-classic`, not worth it in the long run. See #57 for details.
|
||||
|
||||
# v2.1.1 Development log
|
||||
|
||||
## 20170329
|
||||
|
||||
- Started code cleanup and updating.
|
||||
- Updated `core` by moving all of the variable definitions and defaults at the top of the module's file.
|
||||
- Updated both flavor files to deal with the indentation and column problems (only for the `core` module so far). Readability is a lot better, but consistency is a little bit worse. For all intents and purposes, this is the way to go for this release, as the previous styling was impossible to read for the most part in many setups.
|
||||
|
@@ -51,8 +51,7 @@ $blockquote-sidebar-style: 3px solid #616161; // Style for the sidebar o
|
||||
$blockquote-cite-font-size: 0.85em; // Font size for citation of <blockquote>
|
||||
$blockquote-cite-fore-color: #616161; // Text color for citation of <blockquote>
|
||||
$blockquote-cite-left-position: 10px; // Left padding for citation of <blockquote>
|
||||
$blockquote-cite-bottom-position: // Bottom padding for citation of <blockquote>
|
||||
0;
|
||||
$blockquote-cite-bottom-position: 0; // Bottom padding for citation of <blockquote>
|
||||
$blockquote-border-style: 0; // Border style for <blockquote>
|
||||
$blockquote-border-radius: 0 2px 2px 0; // Border radius for <blockquote>
|
||||
$blockquote-box-shadow: // Box shadow for <blockquote>
|
||||
|
@@ -53,8 +53,7 @@ $blockquote-sidebar-style: 3px solid #331e36; // Style for the sidebar o
|
||||
$blockquote-cite-font-size: 0.85em; // Font size for citation of <blockquote>
|
||||
$blockquote-cite-fore-color:#5d545f; // Text color for citation of <blockquote>
|
||||
$blockquote-cite-left-position: 10px; // Left padding for citation of <blockquote>
|
||||
$blockquote-cite-bottom-position: // Bottom padding for citation of <blockquote>
|
||||
4px;
|
||||
$blockquote-cite-bottom-position: 4px; // Bottom padding for citation of <blockquote>
|
||||
$blockquote-border-style: 0; // Border style for <blockquote>
|
||||
$blockquote-border-radius: 2px; // Border radius for <blockquote>
|
||||
$blockquote-box-shadow: // Box shadow for <blockquote>
|
||||
|
@@ -1,8 +1,24 @@
|
||||
/*
|
||||
Browsers resets and base typography.
|
||||
*/
|
||||
$apply-defaults-to-all: true !default; // Should default values be applied to all elements? (`true` or `false`).
|
||||
$base-root-font-size: 16px !default; // Root font sizing for all elements - In `px` only!
|
||||
// Should default values be applied to all elements? (`true`/`false`).
|
||||
$apply-defaults-to-all: true !default;
|
||||
// Root font sizing for all elements - Should only be specified in `px` units!
|
||||
$base-root-font-size: 16px !default;
|
||||
// Fix display of <dfn> element in older versions of Android.
|
||||
$include-dfn-fix: true !default;
|
||||
// Should <small> elements in headings be displayed as blocks (`true`/`false`).
|
||||
$make-heading-smalltext-block: false !default;
|
||||
// Should a fancy styling be applied for the <hr> element (`true`/`false`).
|
||||
$horizontal-rule-fancy-style: false !default;
|
||||
// Should a fancy sidebar be added to the left side of <pre> (`true`/`false`).
|
||||
$add-pre-element-sidebar: false !default;
|
||||
// Should an underline be applied to all <a> elements? (`true`/`false`).
|
||||
$apply-link-underline: true !default;
|
||||
// Should the :hover and :focus state of <a> elements use fade-out instead of
|
||||
// a different color (`true`/`false`).
|
||||
$apply-link-hover-fade: true !default;
|
||||
|
||||
html {
|
||||
font-size: $base-root-font-size; // Set root's font sizing.
|
||||
}
|
||||
@@ -68,8 +84,7 @@ img {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// Fix display in older versions of Android.
|
||||
$include-dfn-fix: true !default;
|
||||
// Fix display of <dfn> element in older versions of Android.
|
||||
@if $include-dfn-fix {
|
||||
dfn {
|
||||
font-style: italic;
|
||||
@@ -82,7 +97,6 @@ h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: $heading-font-weight;
|
||||
small {
|
||||
color: $heading-smalltext-fore-color;
|
||||
$make-heading-smalltext-block: false !default;
|
||||
@if $make-heading-smalltext-block {
|
||||
display: block;
|
||||
@if $heading-smalltext-b-top-margin != 0 {
|
||||
@@ -135,7 +149,6 @@ hr {
|
||||
// Actual styling using variables
|
||||
line-height: $horizontal-rule-line-height;
|
||||
margin: $horizontal-rule-margin;
|
||||
$horizontal-rule-fancy-style: false !default;
|
||||
@if $horizontal-rule-fancy-style {
|
||||
height: 1px;
|
||||
background: -webkit-linear-gradient(#{$horizontal-rule-fancy-gradient});
|
||||
@@ -238,7 +251,6 @@ pre {
|
||||
@if pre-element-margin != 0 {
|
||||
margin: $pre-element-margin;
|
||||
}
|
||||
$add-pre-element-sidebar: false !default;
|
||||
@if $add-pre-element-sidebar {
|
||||
border-left: $pre-element-sidebar-style;
|
||||
}
|
||||
@@ -375,8 +387,6 @@ $style-samp-element: false !default;
|
||||
}
|
||||
}
|
||||
|
||||
$apply-link-underline: true !default;
|
||||
$apply-link-hover-fade: true !default;
|
||||
a{
|
||||
color: $link-fore-color;
|
||||
@if $apply-link-underline {
|
||||
|
Reference in New Issue
Block a user